🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
  • Defining methods inside methods

    2
    0 Votes
    2 Posts
    251 Views
    C
    I dont think I have released any plugins that do that. But I have used it a few times to avoid copying a bunch of code into each case of a elaborate if or case statement. I have also used it when debugging to override the behavior of a function like puts
  • Ruby Scripts of the 6 will work inside the 7?

    11
    0 Votes
    11 Posts
    900 Views
    I
    @gaieus said: @kwistenbiebel said: Forget the store, forget the download, it's not even been announced by Google yet! You know kwist that it will be announced somehow like this: "SU 7 has been released" maybe like AD products and etc - GSU 2010, closer 2009 why 2010? need time to develop another version!
  • Getting ComponentInstance position

    4
    0 Votes
    4 Posts
    336 Views
    J
    Something like this... comp_instance = (Sketchup.active_model.entities.select{ |e| e.typename == "ComponentInstance"}).first Sketchup.active_model.entities.add_edges( ORIGIN, comp_instance.transformation.origin )
  • Improving IES plugin

    5
    0 Votes
    5 Posts
    592 Views
    plot-parisP
    same happened to me Dylan. therefore I deleted all my rubies in the plugin folder and copied them in again separately, thus finding the ones that were not compatible. I think most disturbing is, that the IES plugin conflicts with progressbar.rb, for this one is used by many other scripts...
  • How to draw non static Arc's?

    3
    0 Votes
    3 Posts
    345 Views
    T
    @unknownuser said: Tell me if you need some code for that in 3D. Fredo Thanks! I'll take you up on that offer. I will PM you.
  • Why is polar missing from the API?

    6
    0 Votes
    6 Posts
    528 Views
    R
    A sloped roof doesn't lie in any of the 3 standard planes, so there's a quick exception, and was the kind of thing I was talking about. It is planar, but not orthogonal to the coordinate system. And a sloped roof on a wall at a 30 degree angle to the x axis compounds the issue... @tomot said: those that wrote the API didn't think a polar method was necessary. True, because they provided vectors and transformations. Polar is simply a kind of transformation.
  • Strange GL draw method behavior

    5
    0 Votes
    5 Posts
    454 Views
    Didier BurD
    Hi, Nothing specified in the docs concerning normals. Doc is so sparse you know... I guessed that passing points in a counterclockwise order was orienting the normal up (assuming that these points are on an horizontal plane) ? You can notice that once drawn, quads are visible from both sides. Is the normal useless or am I completely wrong ?
  • Select None and ESC key

    2
    0 Votes
    2 Posts
    323 Views
    D
    I totally agree. I'm constantly closing windows on accident. Autocad has me addicted to the ESC key. Please help.
  • Creating depth in linework with Jim's Greyscale.rb

    3
    0 Votes
    3 Posts
    1k Views
    majidM
    nice tip thanx!
  • Roof Ruby is..Name?

    2
    0 Votes
    2 Posts
    303 Views
    TIGT
    Try Roof.rb... http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=3470&p=88900&hilit=+roof.rb+#p88900
  • Double Line Help

    3
    0 Votes
    3 Posts
    346 Views
    G
    OMG,it can work,just rename "dline.rb" to "fr_dline.rb". Thank didier.
  • D.B.Tools? [resolved]

    3
    0 Votes
    3 Posts
    1k Views
    pilouP
    Thx!
  • [Obsolete] Catmull-Rom Spline

    15
    0 Votes
    15 Posts
    4k Views
    pilouP
    Neat tools bar!
  • Point3D to ImputPoint

    3
    0 Votes
    3 Posts
    813 Views
    M
    Aaah !! Thank you Fredo6 !! that's exactly what I want !
  • Line shorten script ?

    3
    0 Votes
    3 Posts
    348 Views
    W
    Dear Jorgensen, You can lengthen/shorten lines of any orientation by doing the following. Select the Move tool Place the Move tool on the line to be altered (the line will change colour) Press and hold the Shift key and move the Move tool along the line to the end to be moved. Still holding down the Shift key, click on the end of the line and then drag to lengthen/shorten by a small amount. Release the Shift key and enter the required change in the VCB In many cases SU's native tools can do the job. Begards, Bob
  • Activate apps in SU for MACs

    2
    0 Votes
    2 Posts
    280 Views
    K
    would command-shift-4 do the trick ?
  • Script for quicker intersect?

    5
    0 Votes
    5 Posts
    508 Views
    plot-parisP
    not easy - but deadly useful!
  • Web Dialog on MAC

    8
    0 Votes
    8 Posts
    994 Views
    C
    On a related note. The callbacks from javascript to ruby also have issues. Both on Mac and PC the return value string can be mangled. Instead I put return values in a hidden text field in my html and fetch them via WebDialog.get_value(). As far as I can tell its foolproof.
  • [Challenge]Virtual creature in Sketchup

    4
    0 Votes
    4 Posts
    555 Views
    A
    @simon b said: Have you heard of spore? http://www.spore.com/ftl Incorporating evolution between bacterial development to galactic conquest - the creatures are not fully autonomous though. I guess they used the concept of evolution for promotion, but in fact it is still an environment where the players make decision. I found some other not-so-ancient projects related to virtual creature and this one looks pretty interesting:http: http://www.darwinathome.org/video.html. Anyway, to me Sketchup is quite a natural environment for this kind of projects to evolve.
  • Moving a group of blocks

    2
    0 Votes
    2 Posts
    263 Views
    T
    I answered this in the GSU Ruby forum.

Advertisement