đź“· GIF Exporter 1.1 | create animated GIFs from SketchUp models with customizable settings Download
  • General Ruby Sites for SketchUp

    3
    0 Votes
    3 Posts
    7k Views
    T
    oh zeee
  • [Ruby 'Bug'] Ray stops on a hidden object

    6
    0 Votes
    6 Posts
    519 Views
    T
    No it doesn't work. In a model above the face is not hidden. It is on a layer that is turned off.
  • Contour lines on irregular surface

    15
    0 Votes
    15 Posts
    1k Views
    pbacotP
    TIG, I tried yours and it seems to work great for what I was doing (rather than duplicating planes and intersecting "by hand"). Also gives the lines as a separate group, instead of making them part of the mesh, which I like. Taff, I think your ruby will do the same thing once I fix the header. I am not sure the paint faces ruby works for the effect I was looking for, as it does not give a graduated texture, nor colors by contour. It might be useful if the model is used in analysis. I only got one color, though I picked other ones. It has an interesting look, like an iceberg. Just for your info (not complaining) where you put in a number (default 10) is is not clear what the number is and that there is a limit, seems to be about 46). The lower numbers give a very subtle effect. If you go too hight the colors repeat, starting with the dark color. Your terrain models are very helpful (wish SU were faster in flying over).It would be neat to do the model of a place you are going to visit and hike in. And I like the effect you got with the lake surface. Thank you both for the help. Peter
  • Drape command with layer functionality

    3
    0 Votes
    3 Posts
    343 Views
    GaieusG
    Hi tballman, For your original problem, see this reply in your original topic.
  • [QUE] Why doesn't this draw the polyline?

    4
    0 Votes
    4 Posts
    413 Views
    fredo6F
    [EDIT] after some quick test view.draw_polyline works fine, but are you sure you execute your code within the drawmethod of a Tool (this is the only place where view.draw methods can work)? Otherwise, if you want to draw a polyline, you could also use view.draw GL_LINESTRIP, pt1, pt2, ... If you want to draw segments with each pair of points, use view_draw_lineor view.draw_lines. Very handy to draw in one shot a complex shape that you pre-calculated.
  • Elev45shadows.rb help

    24
    0 Votes
    24 Posts
    3k Views
    TIGT
    Hooray !
  • Changing default material

    10
    0 Votes
    10 Posts
    14k Views
    TIGT
    Updated the script to fix a bug in re-materialing coloured back-faces... Please re-download this version...
  • Ruby capable text editor

    5
    0 Votes
    5 Posts
    2k Views
    M
    Noteapd +1
  • How to draw complex line ?

    4
    0 Votes
    4 Posts
    463 Views
    pilouP
    There are not exactly the same size, but have the same author Rick Wilson and same N° version 3.0 Maybe you must take the Smustard link
  • Snippet: Ordering Vertices

    3
    0 Votes
    3 Posts
    387 Views
    T
    Thanks Jim for sharing. I need to verify how SU2KT exports vertexes of a face. It looks like normals are correct but order of vertexes in a mirrored face is wrong. I will post modified snipped for faces when done. Tomasz
  • Scrambling Scripts

    6
    0 Votes
    6 Posts
    706 Views
    A
    The d/Code plugin also provides this feature. azuby
  • Defining methods inside methods

    2
    0 Votes
    2 Posts
    231 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
    813 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
    304 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
    574 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
    329 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
    498 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
    403 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
    305 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!

Advertisement