🏢 PlaceMaker | 25% off for February including new Google Earth data imports! Learn more
  • Error Message

    8
    0 Votes
    8 Posts
    275 Views
    thomthomT
    @chris88 said: the problem is solved I'm curious to what it was...
  • Problem with FFD

    10
    0 Votes
    10 Posts
    2k Views
    D
    Sounds to me like you made a component instead of a group...
  • Unix-like 'which' utility for Windows users

    2
    0 Votes
    2 Posts
    136 Views
    thomthomT
  • Problem with color

    14
    0 Votes
    14 Posts
    287 Views
    C
    Great! Thank you, i like this forum more and more. Merry Christmas and happy holidays to all!
  • Material area?

    4
    0 Votes
    4 Posts
    1k Views
    thomthomT
    And remember that a group or component can be skewed, affecting the area calculation as well.
  • Help needed to test cabinet plugin

    7
    0 Votes
    7 Posts
    460 Views
    F
    Hi Keith, Thanks for the input. As stated some features aren't working yet... as you found out right now you can't mix and match doors and drawers. Which in turn is why you're not asked anything about drawer size... when adding drawers to base cabinets they automatically divided equally in the size of the cabinet entered. Ecepth when selecting 3 drawers then the top is smaller then the bottom 2... I'll be adding the option to have 3 equally sized drawers. Like I said this was for personal use with the way I build cabinets so I understand that some deatures seem limited... but I figured it was hard enough to get what I wanted without adding options I would never use. But I'm kinda getting the hang of this and add different features as I go along and have the time. So far it's proven very useful in getting exact measurements for things like stile and rails which I use to have to calculate individually for different cabinets, now it's all done automatically which to me is a huge time saver. As per Dan's suggestions I'm working 'standardizing' the pluggin and when I'm done with that I'll start a new thread dedicated to the plugin with updated. I guess till then this thread can be used for suggestions. Frank @ktkoh said: Tested your cabinet plug-in and was impressed. However I was trying to design a base cabinet with 2 drawers at the top and then doors on the lower part of the cabinet. What I got was a 30" tall base cabinet with 2 doors and then 2 drawers on top of the base cabinet with a total height of about 50". Also when I specified drawers I was not asked anything about size. I'm sure there are too many options to please all cabinet designs but I would think this would be able to get a kitchen design started and the individual could add/change some details with less work than starting from scratch. Keith
  • HookProc

    10
    0 Votes
    10 Posts
    1k Views
    A
    First of all, I'm also russian, you can write the post in russian and in english (if want to)and i'll reply in two languages. So, what you wanted was to get hotkeys input? The actual plugin hookproc can't get hotkeys (key-combinations) input, though there should be a way to get it. I'll do some research on it... and then write a plugin for that.
  • Ruby, Undo Stack and dynamic components

    6
    0 Votes
    6 Posts
    1k Views
    thomthomT
    You could try with the transparency flags of .start_operation .
  • Face between two arc curve

    3
    0 Votes
    3 Posts
    1k Views
    sdmitchS
    hermann, The problem is that if you use edges or curves to add a face, they must form a closed figure which yours doesn't. What you need to do is extract and use the vertices of the two arcs to define the face. So after the first arc, add verts=arccurve.vertices. After the second arc, add verts+=arccurve.vertices. The add_face statement would then be face=entities.add_face verts. model = Sketchup.active_model entities = model.entities group = entities.add_group entities = group.entities # Halbkreis nach rechts / half curve to right center = Geom;;Point3d.new 150.mm,0,0 normal = Geom;;Vector3d.new 0,0,1 xaxis = Geom;;Vector3d.new 1,0,0 start_a = Math;;PI/-2 end_a = Math;;PI/2 edgearray = entities.add_arc center, xaxis, normal, 50.mm, start_a, end_a edge = edgearray[0] arccurve = edge.curve verts = arccurve.vertices # Halbkreis nach links / half curve to left center = Geom;;Point3d.new 50.mm,0,0 normal = Geom;;Vector3d.new 0,0,1 xaxis = Geom;;Vector3d.new 0,1,0 start_a = 0.0 end_a = Math;;PI edgearray = entities.add_arc center, xaxis, normal, 50.mm, start_a, end_a edge = edgearray[0] arccurve = edge.curve verts += arccurve.vertices face = entities.add_face verts status = face.pushpull 20.mm
  • YouTube Ruby

    14
    0 Votes
    14 Posts
    1k Views
    G
    [image: XV2M_su.png] That helps me inject "Help" codes into each script i do not remember how it is operated. just changed a few codes on youtube embed. m.add_item('HELP..clean3..') { link_value='<object style="height; 390px; width; 640px"><param name="movie" value="http://www.youtube.com/v/seJYub0LCmQ?version=3&feature=player_profilepage"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><embed src="http://www.youtube.com/v/seJYub0LCmQ?version=3&feature=player_profilepage" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="360"></object> ' @dlg = UI;;WebDialog.new "CleanUp³ YouTube Help " html_string = "<html><body leftmargin=1 topmargin=1 bottommargin=0 marginwidth=0 marginheight=0>" + link_value + " </body></html>" @dlg.set_html html_string @dlg.set_size 680, 410 @dlg.show p html_string }
  • *.rbz installer

    4
    0 Votes
    4 Posts
    1k Views
    Q
    Hmm thanks TIG, i'm going to look into that. Quintus
  • Drawing a parallel line

    3
    0 Votes
    3 Posts
    614 Views
    TIGT
    If you are drawing these double lines on a 'surface' then picked-point at point1 can be used to return the best face below it - get the axis=face.normal... If it's not on any face or you want it flat then axis=Z_AXIS Then next picked_point point2 needs to be on that face, so get it's initial value and then use point2=point2.project_to_plane(face.plane) or if it's to be 'flat' use point2.z=point1.z instead so it's level with point1... This gives you the first edge edge12=entities.add_line(point1,point2) To make it's offset 'clone'... Assuming ' width' is the offset required. point3=point1.offset(edge12.line[1],width) rotate it into place... tr=Geom::Transformation.rotation(point1,axis,90.degrees) point3.transform!(tr) get the other end point point4=point3.offset(edge12.line[1],edge12.length) and then draw the offset edge edge34=entities.add_line(point3,point4)
  • Extension manager hooks?

    8
    0 Votes
    8 Posts
    228 Views
    Dan RathbunD
    @jim said: My understanding is that at least some of the SketchupExtension instance methods are meant to be called by SketchUp rather than by plugins. Yep. If interested, just read comments in the new extensions.rb file in the Tools dir.
  • Set/Get Attribute

    7
    0 Votes
    7 Posts
    246 Views
    A
    @dan rathbun said: Not in the global Objectspace, no... ... all your code should be inside your unique toplevel module, and all your classes should be inside that as well. Okay, that's what I thought. It was just the wrong use of variables, and people who were learning ruby from sketchy physcics scripts did the same thing, so now I know, Thanks
  • Webdialog

    6
    0 Votes
    6 Posts
    364 Views
    M
    Hello, Thank you very much, I am going to look at that.
  • [Code] Parsing arithmetic formulas

    6
    0 Votes
    6 Posts
    2k Views
    K
    I used this code in my joint tools and found it very useful as the user could enter equation if they do not know the actual value. However I could not make it work if the user entered the " for inches as sketch-up does. Keith
  • Problem with Joint Pushpull

    4
    0 Votes
    4 Posts
    442 Views
    fredo6F
    @hrland said: I have the same problem and when I made the change it won't let me save, tells me "access denied". Any way to get this fixed? Thanks. The problem derives from a wrong installation: i.e. For whatever reasons, the image files JPP_....png icon files cannot be found in the JPP_Dir_xx directory. I suggest you check if the files are present. Fredo
  • Moving object in steps

    6
    0 Votes
    6 Posts
    163 Views
    P
    i got it, will post solution later
  • Get form data from webdialogs?

    27
    0 Votes
    27 Posts
    1k Views
    P
    I always do as chris does: collect in one string, send to SU, split there if needed
  • Section Plane

    14
    0 Votes
    14 Posts
    651 Views
    P
    ThomThom, thx for the answers! With auto-creation I mean this: The creation through ruby of a section plane in each of the 20 groups that are in the model.

Advertisement