🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download
  • Adding child group while parent group is active

    10
    0 評價
    10 貼文
    1k 瀏覽
    M
    Well I guess I will have to get off my butt and post the answer to my own question: # clear everything out Sketchup.active_model.entities.clear! # add the parent group group1 = Sketchup.active_model.entities.add_group # set parent’s transformation group1.transformation = Geom;;Transformation.translation(Geom;;Point3d.new(10.m, 0, 0)) # add some points to the parent group group1.entities.add_cpoint(Geom;;Point3d.new(0.m, 0.m, 0.m)) group1.entities.add_cpoint(Geom;;Point3d.new(5.m, 5.m, 3.m)) # add the child group group2 = group1.entities.add_group # set child’s transformation group2.transformation = Geom;;Transformation.translation(Geom;;Point3d.new(0, 10.m, 0)) # add some points to the child group group2.entities.add_cpoint(Geom;;Point3d.new(0.m, 0.m, 0.m)) group2.entities.add_cpoint(Geom;;Point3d.new(5.m, 5.m, 3.m)) # group transformations are now correct puts Sketchup.active_model.active_path puts group1.transformation.to_a.join(', ') puts group2.transformation.to_a.join(', ') puts Sketchup.active_model.edit_transform.to_a.join(', ') # from top level active_path = nil group1.transformation = [1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 393.700787401575, 0.0, 0.0, 1.0] group2.transformation = [1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 393.700787401575, 0.0, 1.0] edit_transform = [1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0] # open group1 active_path = [group1] group1.transformation = [1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0] group2.transformation = [1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 393.700787401575, 393.700787401575, 0.0, 1.0] edit_transform = [1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 393.700787401575, 0.0, 0.0, 1.0] # open group2 active_path = [group1, group2] group1.transformation = [1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0] group2.transformation = [1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0] edit_transform = [1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 393.700787401575, 393.700787401575, 0.0, 1.0]
  • Select by area +/-"X"%?

    7
    0 評價
    7 貼文
    1k 瀏覽
    EscapeArtistE
    TIG, Thanks for the code! I haven't had a chance to implement it yet, just had a new addition to the family and have been busy since 24th Jul. No time for SU, and this is the first chance I've had to view the forums in weeks.
  • Copy along path and keep?

    11
    0 評價
    11 貼文
    3k 瀏覽
    Chris FullmerC
    Oh Hi Mike, I missed your question here in this thread, if its ok with you, I might split it out into its own topic, with a title that describes what you want - help with shapbender. You can upload your model you are working with and I'll look at it. Probably the real problem is that you probably have it installed wrong. When you unpackaged the zip file, it probably messed up all the files that go along with shape bender. You should have a clf_shape_bender_loader.rb script in your plugins folder. And a slf_shape_bender folder that has a series of other files in it. Please verify that too. Thanks, Chris
  • [Plugin] Menger Sponge 1.0

    8
    0 評價
    8 貼文
    8k 瀏覽
    R
    @starling75 said: Menger in the field Abstract art at its best.
  • Cool plugin idea

    17
    0 評價
    17 貼文
    3k 瀏覽
    BoxB
    @tig said: We're trying to find a 'cross-platform' solution though... I understand that Tig, I just mentioned it because I thought perhaps some of the coding from Win 7 might help to make it work.
  • RoundCorner Plugin

    8
    0 評價
    8 貼文
    5k 瀏覽
    J
    And in the end it was that simple..... Just create my own folder. If only the rest of life's problems were that simple Thank you DEFPARAM... and thank you Fredo!
  • Create a Button for a Plug-in

    4
    0 評價
    4 貼文
    519 瀏覽
    TIGT
    No problem - In 'Search' try several words I used 'mirror toolbar' and got it as the third hit. If you have an idea it was my bag then used 'Advanced Search' link and add author 'tig' etc - then it's the first hit...
  • Bubbled face

    6
    0 評價
    6 貼文
    921 瀏覽
    fredo6F
    @mac1 said: Fredo's Curviloft tool seems like a good candidate to me To avoid the small valley, you should skin with 4 contours, not three. The best is to draw small segments in the corners to tell where you wish to cut the contours. Then you can generate the whole shape by preselecting all edges. [image: CbOo_BubbleMac.jpg] One last suggestion: decrease the number of segments of the rounded corners, because it generates a very dense mesh on the borders of the shape. Fredo bubble_mac1 - curvi.skp
  • [Plugin] Scene Tweaker

    5
    0 評價
    5 貼文
    15k 瀏覽
    daleD
    Just when I get used to something.....
  • Is there a simple plugin that returns X,Y & Z of a point

    9
    0 評價
    9 貼文
    969 瀏覽
    D
    Perfect. Thanks, TIG.
  • [REQ] Group different color than Component

    3
    0 評價
    3 貼文
    499 瀏覽
    Dan RathbunD
    @thomthom said: Well, you could make a custom Tools that did highlight groups/components with different bounding boxes... Naw... he wishes the boxes to be colored differently using ALL tools (especially the native tools.) But wouldn't it be interesting if class ComponentDefinition had a @boundingboxcolor attribute ?? We wouldn't be limited to only a few colors (enitity, image, group, component, model.) Components of different definitions could have different boundingbox colors! Another idea... take a Group or Components boundingbox color from it's layer color!
  • [Help] Context Menu Greyout from the Start! [SOLVED]

    12
    0 評價
    12 貼文
    1k 瀏覽
    thomthomT
    @prismcnd said: Unloaded all my plugins and traced it yo Z_loader for free scale.... back up and running normal. all files have been updated to latest version prior to this. I wish I could give more info but my computer expertise ends there. I usually fix my computer problems with a hammer. Permanently. but seriously, let me know if i can help in any way to track this down as it is very annoying FreeScale is the old version - the new version is now named FredoScale.
  • Question: Folding Shutter in SketchyPhysics

    4
    0 評價
    4 貼文
    463 瀏覽
    J
    This can be done with a Dynamic Component also. Then the user of the component would not need to have SP installed to manipulate the door. Here is an example posted in the DC Forum: http://forums.sketchucation.com/viewtopic.php?f=289&t=16332
  • Clean up one error

    5
    0 評價
    5 貼文
    558 瀏覽
    L
    Thanks guy's! I did a search and deleted it. Works fine now.
  • Bills of materials

    3
    0 評價
    3 貼文
    622 瀏覽
    F
    Thanks Didier. It's nice to read french, sometimes
  • VisMap v3 Coming Soon

    3
    0 評價
    3 貼文
    995 瀏覽
    D
    Hi Martin, is VisMap v3 out? Where can I find it please? Thanks! Cheers, . Diego .
  • What Can I expect SU to do with cabinets?

    7
    0 評價
    7 貼文
    634 瀏覽
    M
    See my post ref your question ref Wood Worker fourm. Dave R will give you lots of help Good Luck
  • Text to component

    7
    0 評價
    7 貼文
    1k 瀏覽
    mariochaM
    I gave another shot at the file and succeeded in making it work on any text string of 1, 2 or 3 characters.
  • Converting 3DS to SKP

    5
    0 評價
    5 貼文
    3k 瀏覽
    TIGT
    It needs to have been made properly in the first place ?
  • [Request] Building Heights

    5
    0 評價
    5 貼文
    700 瀏覽
    H
    Humm thats intersting ill try that ...

Advertisement