ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
  • Soap Skin & Bubble Bugsplat [resolved]

    6
    0 Votes
    6 Posts
    681 Views
    A
    this was an error on my part. I recently switched from Windows explorer, to XYplorer. When I was extracting zip archive with native windows zip into XYplorer for some reason files get corrupted. I noticed it later when i unpacked a few photos. A simple switch to 7zip, fixed the problem. It just i was very surprised to see such an error, it always worked before, and from website it was clear that the only thing that was updated was time limit. So essentially it was same script. Just had no idea it was mt recent switch to XYplorer.
  • How do I select the built-in Rotate Tool in a script?

    8
    0 Votes
    8 Posts
    445 Views
    J
    Well, progress of a useful kind. I've worked out from the sketchy API for observers how to define an observer to monitor the 'onComponentInstanceAdded' event, and got it to pop up a messagebox when the user has picked the insertion point after the script generates and inserts the component. Now to add the code to select the Rotate tool, instead of the messagebox (which is where I came in!)
  • Animate geometry.

    5
    0 Votes
    5 Posts
    526 Views
    P
    Thanks Morisdov, I'll be looking at those. New Plugins for me to learn
  • Help on loading skin ruby

    5
    0 Votes
    5 Posts
    347 Views
    D
    It is cheffey. It will create a skin between two selected lines.
  • [Obsolete] F-Spline (extension to BezierSpline)

    20
    0 Votes
    20 Posts
    4k Views
    CadFatherC
    my pleasure Fredo Bezier Icons.zip
  • Assign continuous UV coordinates to all selected faces?

    4
    0 Votes
    4 Posts
    437 Views
    plot-parisP
    you are welcome, numerobis. yes indeed. the "projected" function is the only way to get organic models textured half decently. there is a ruby for spherical/cylindrical mapping. but it doesn't always work for me. my hopes lie with SketchUp7 and that they took in some of the suggestions that were made here in the forum (like a multipin-mapping system)
  • 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 )

Advertisement