⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
  • Looking for ruby that deletes extra lines on a plane

    4
    0 Szavazatok
    4 Hozzászólások
    379 Megtekintések
    brodieB
    That looks perfect, thanks guys -Brodie
  • Ruby MySQL module in Sketchup

    2
    0 Szavazatok
    2 Hozzászólások
    364 Megtekintések
    daikuD
    Hi Pauline. If I understand correctly, your problem is executing a "require" command from the console window? If so, here are 2 things to keep in mind: Specify the full path (note how in my example, the first fails, but the second works) Use the '/' character, not '' for the separator. @unknownuser said: require 'reglue.rb' false require 'C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/reglue.rb' true
  • Plugin to move everything inside a group to specific layer?

    9
    0 Szavazatok
    9 Hozzászólások
    8k Megtekintések
    Chris FullmerC
    Try NOT leaving the layers panel open. Turn on the Layers toolbar instead. And then ALWAYS stay on layer 0. And model things on zero, then turn everything into groups and components. And then move those onto the desired layer through the layer toolbar. That way you never change from layer 0. But you can move components and groups easily onto the correct layer. I like to do it that way, Chris Oh, and its still possible to get raw geometry to change layers accidentally. So then I use TIG's move all geometry to layer 0 plugin. It moves all loose geometry to layer 0, while leaving all components and groups on the layer they are on.
  • How do we view methods, (And their Arguments) of a Class

    4
    0 Szavazatok
    4 Hozzászólások
    238 Megtekintések
    Chris FullmerC
    Thank you so much for that runnerpack. I really like how cleanly that outputs the methods. I've been trying to figure that out for a while. I think Jim or Todd showed me once, but I forgot where that thread was. I need to bookmark that line of code somewhere. It is quite lovely, Chris
  • Re-define SU Axis in Ruby

    5
    0 Szavazatok
    5 Hozzászólások
    411 Megtekintések
    G
    To the best of my knowledge Chris. I find I need to create new geometry on non-existing planes. By not setting the Axis I can easily get my 2D sketch geometry off kilter. With the Axis aligned properly I get feedback. See the attached pic. The original Axis was at the lower left corner of the block. Picking the odd face (Which is planar to the block face) does not give me the desired X,Y Axis. Sure it defines the plane surface but not the way I need it. This is not the biggest issue though. The hardest one is where the Axis origin is in the correct position inside the part but I need to rotate it say.... about he Y axis. The only work-around I've found is to hide the entire model move (rotate) my Axis then un-hide the model. I don't eyeball my models I create to real world dimensions as best I can. [Edit]Should have done a screen capture. Export removed the Axis from my sample. (It was aligned with the bottom of the extruded feature.)[/Edit] [image: LheS_Sample_BadAxis.jpg]
  • What do you prefer? (about a function)

    3
    0 Szavazatok
    3 Hozzászólások
    167 Megtekintések
    P
    A bit like the outliner in Sketchup. But, instead of a list based upon hierarchy/type of entity, the Sketchup entities are organized in another way (like Building 1-level 1 slab, Building 1-Level2 slab,...) So if you click on the text 'Building 1-level 1' in a window it highlights those entities.
  • Entity info: is it possible to add another drop down?

    11
    0 Szavazatok
    11 Hozzászólások
    528 Megtekintések
    BepB
    @aadbuild said: Hey Bep glad to see you had a crack at a ruby. I will have a play with it and see if I can improve it (remembering I am a builder. I work mainly with timber, bricks, roofing and sketchup).. Can any one show me an example of a web dialogue? I will give that a go as well. It will help me get an understanding of the task at least. Bep do you want to try post your ruby here. Attach screen shot or 2 of the the exported data. Or PM it to me if you please. My wife is having a baby at 7 am in the morning (induced) so I may not get a chance to reply in the next couple of days. I hope its a boy. Give your wife all the love and support you can give. I wish all your and your wifes whishes will come true. Bep
  • Rubys not wokring...(RoundCorner+LibFredo)

    5
    0 Szavazatok
    5 Hozzászólások
    1k Megtekintések
    GaieusG
    @unknownuser said: ...there should be two libfredo items in the plugin folder a folder named: LIBFREDO6_Dir_34 and a file named: LibFredo6.rb are both of those in there? OR they are wrapped into a Libfredo folder (Windows creates when you unzip something)? If so, move them up one level, straight under the Plugins folder.
  • Pipe along path question

    2
    0 Szavazatok
    2 Hozzászólások
    384 Megtekintések
    TIGT
    Because PipeAlongPath effectively uses FollowMe it is fettered by that method's limitations. Didier Bur made a 'line to tube' tool [ http://www.crai.archi.fr/RubyLibraryDepot/Ruby/EM/line2cyl.rb ] that will add a cylinder to every selected edge irrespective of their branching etc BUT it doesn't tidy the ends up...
  • SketchUp Product Configurator Plug-in?

    3
    0 Szavazatok
    3 Hozzászólások
    1k Megtekintések
    Roguer1R
    Thanks for the reply Chris, I think I may be able to do this whole thing with dynamic components...Now, just to figure out how the thing works...
  • Delete your scenes via the API - working?

    6
    0 Szavazatok
    6 Hozzászólások
    219 Megtekintések
    R
    @chris fullmer said: Interesting. I had not found it in the API, rather in the blog post here: http://sketchupapi.blogspot.com/2008/11/whats-new-in-sketchup-7.html and the only hint it gives is this: Delete your scenes via the API my_page.erase So I assumed it was a page thing. Then when I looked for it in the API, it was not in the "page" class section. So I see it now, and I'll go give it a shot. Thanks Rick, Chris Yes, it does give that impression. I can see why it was confusing.
  • Request: Rset world Axes match GC Axse

    7
    0 Szavazatok
    7 Hozzászólások
    498 Megtekintések
    L
    @xrok1 said: right click your component; select change axes; then triple click any point or even close to the component. this will not set the world axes to your component but it will set your component to the world axes. hope this helps? yes,this is wonderful, thank you.
  • Vector3d.samedirection? tolerance is not what is expected

    4
    0 Szavazatok
    4 Hozzászólások
    272 Megtekintések
    thomthomT
    @tig said: For deleting coplanar edges I successfully use if e.faces[0].normal.dot(e.faces[1].normal) > 0.99999999 && e.faces[0].material==e.faces[1].material && e.faces[0].back_material==e.faces[1].back_material This avoids the problem of erasing edges that remove the face as the normals aren't quite == I've been using nearly the same: (after some testing I came down to: 0.9999999991) But the problem is that there seem to be a range of dot products of edges that can be removed and those that can't overlaps. http://forums.sketchucation.com/viewtopic.php?f=180&t=22920&start=0#p193613 I could set the precision to a safe value - but that'd leave edges that still could be deleted.
  • Cross linking two web dialogs

    10
    0 Szavazatok
    10 Hozzászólások
    1k Megtekintések
    chrisglasierC
    Cross linked thanks to Jim! [image: a1B7_OneTwoAnimated.gif]
  • Method to identify what context the user is in?

    11
    0 Szavazatok
    11 Hozzászólások
    484 Megtekintések
    L
    [quote="fizgig"] If the user does double-click into a group, the active context is that group and the local coordinate system associated with that group. yes,I want this too.I ask the same qus here http://forums.sketchucation.com/viewtopic.php?f=180&t=22915&p=193698#p193698
  • Detect if Scene is used in Animation?

    7
    0 Szavazatok
    7 Hozzászólások
    269 Megtekintések
    Chris FullmerC
    Aha! there it is, thanks Rick! I had noticed the .label method. I had checked the .name method to see if it would return the name in praenthesis (like .label apprently does), but obviously found nothing. Thanks for pointing that method out. Not a bad suggestion for the .skx I think. Chris
  • Select face to deselect edges or faces -ruby ?

    3
    0 Szavazatok
    3 Hozzászólások
    890 Megtekintések
    A
    Thank you Thomas for answering and providing that script...I'll give it a go :O)
  • Getting the material of a face not directly assigned...

    12
    0 Szavazatok
    12 Hozzászólások
    543 Megtekintések
    TIGT
    Why not have a method that picks a face and returns its material. If it's nil and it's not in the model then the picked point could also return the 'container' - i.e. group or component and it's material - if it's not nil then that's the nil face's material too... Your 'pick-helper' can return two values ?
  • RE: date.rb error

    7
    0 Szavazatok
    7 Hozzászólások
    335 Megtekintések
    C
    Cheers
  • RE: Zorro Ruby Overlap

    3
    0 Szavazatok
    3 Hozzászólások
    445 Megtekintések
    C
    Did some digging and found out that the wco_zorrocut is the one with the Z icon. Zorro2 is access from tools menu and works with parallel projection.

Advertisement