⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
  • How to read/parse XML files inside SU

    5
    0 Szavazatok
    5 Hozzászólások
    895 Megtekintések
    A
    If I remember right, I had a fully installed Ruby on my PC and took the REXML lib from it. The directory contains 55 files and five folders. I loaded it this way from my script: require 'rexml/document' unless defined? REXML If you also want to load this way you have to make sure that the Ruby interpreter search in the right place. Put the REXML folder to Plugins or Tools folder - should work with the above code. To make sure that your script only runs if REXML is loaded, put this condition to your codee: if defined? REXML # YOUR CODE HERE else UI.messagebox "REXML is missed, can't load plugin." end Sorry for my late answer - I'm moving from town to town at the moment. azuby
  • Function: toggle toolbar

    6
    0 Szavazatok
    6 Hozzászólások
    715 Megtekintések
    Chris FullmerC
    Woohoo! That might be my first correct response in this forum I'm glad it helped, Chris
  • Objects (grouped) Selection to Components

    5
    0 Szavazatok
    5 Hozzászólások
    497 Megtekintések
    M
    This kind of thing? It will probably need for a question "Do you want to convert all entities into components in the selection?" EDIT : Please see below for the plugin.
  • Observer event BEFORE entity is deleted

    2
    0 Szavazatok
    2 Hozzászólások
    187 Megtekintések
    thomthomT
    hrmm... I tried using an extra hash to keep a reference list. But as it turns out, the entity that onEraseEntity returns doesn't match the ones I've stored...
  • Some plugin changed my MOVE command

    3
    0 Szavazatok
    3 Hozzászólások
    226 Megtekintések
    mitcorbM
    Thanks, Jim: I will check this out. EventRelay also appears to pop up the Ruby console when I start Sketchup 6. I usually just click it off, as I have not had time to really utilize the plugin. mitcorb ps I hope you were able to contact ArchitectBoy, ref: skin.
  • Move a face perpendicular to it's normal

    5
    0 Szavazatok
    5 Hozzászólások
    937 Megtekintések
    thomthomT
    I think I could also have used Point3d.offset http://code.google.com/apis/sketchup/docs/ourdoc/point3d.html#offset, generating an transformation from the offset point, but it doesn't look like the code would be any shorter...
  • Arc joining 2 lines

    4
    0 Szavazatok
    4 Hozzászólások
    508 Megtekintések
    jeff hammondJ
    while searching for k-tools, i came across 2Dfillet (fillet.rb) that's exactly what i wanted http://www.ohyeahcad.com/download/ [edit] oh, and TIG.. are you talking about 1001bit tools instead of k-tools? http://1oo1bit.com/
  • Req: Scale group of items around each center

    12
    0 Szavazatok
    12 Hozzászólások
    642 Megtekintések
    PixeroP
    Big thanks. Will test it now.
  • Select smoothed faces as if they were one face?

    6
    0 Szavazatok
    6 Hozzászólások
    439 Megtekintések
    Chris FullmerC
    Whaat, its taken me some time to get back to this, but a HUGE thank you! This does the trick quite well. I send it a face and it gives me back all connected faces. I then can remove those faces from my selection set so as to not re-examine them. Absolutely brilliant. This will get written into my components onto faces script. Hopefully have it done and updated tonight. Thanks a million, Chris
  • Suggestion for sandbox-like tool

    5
    0 Szavazatok
    5 Hozzászólások
    320 Megtekintések
    X
    BTW, you can hold down shift while using smoove to solve your first problem. it will move (smoove) in the direction of normals.
  • Finding a Component/group axis?

    8
    0 Szavazatok
    8 Hozzászólások
    367 Megtekintések
    thomthomT
    Actually, I think I said it returned a vector... ... ...I'm going to go to bed now. Wires are getting crossed again...
  • Volume calculation

    4
    0 Szavazatok
    4 Hozzászólások
    441 Megtekintések
    TIGT
    @mhp said: Okay, thanks. What's the name of the reliable one?? Same name... but without a '2' on the end - but might have been renamed with a '1' on some sites...
  • Dimensions returned as Sketchup::Drawingelement?

    5
    0 Szavazatok
    5 Hozzászólások
    460 Megtekintések
    TIGT
    The, as yet, unstated downside of all of this is that there are virtually no methods in SUp Ruby to make or manipulate Dimensions anyway... There has been some work over the years using a unit length dimension component that is imported and scaled in its length to suit, and then perhaps exploded. You could also do things by grouping pre-existing dims etc... .
  • Script Selection and Loading

    6
    0 Szavazatok
    6 Hozzászólások
    501 Megtekintések
    Chris FullmerC
    Hmm, thats a great idea. I'm excited to look at the script more now. This whole thread might almost be merged into that script thread with the valuable info your providing. Chris
  • Close opens vers. extendcloselines

    2
    0 Szavazatok
    2 Hozzászólások
    407 Megtekintések
    R
    The difference is explained here: http://www.smustard.com/script/ExtendCloseLines
  • "A Shiny, New Ruby API Site"

    4
    0 Szavazatok
    4 Hozzászólások
    509 Megtekintések
    scottliningerS
    We already have pushed some small updates since the initial release, and we're planning another in the next few days. So please post any typos or suggestions. Thank you, everyone! We also created a new homepage for the Google Developer's Group, which includes a link back here to Sketchucation: http://groups.google.com/group/google-sketchup-developers Cheers,
  • Webdialogs on Mac.

    6
    0 Szavazatok
    6 Hozzászólások
    2k Megtekintések
    scottliningerS
    Bugs noted. Thanks, guys! We fixed some WebDialog mac bugs with 7.0, but there's obviously still work to be done. Cheers,
  • Google IO Conference

    2
    0 Szavazatok
    2 Hozzászólások
    268 Megtekintések
    scottliningerS
    I'll be there. I went last year and it was incredibly fun. I'm not sure who else on the team will be going or what exactly we'll be presenting. But there are lots of fun and exciting things going on with Google APIs, and IO is a fun way to learn more. We don't know exactly what will be presented yet. We'll have a booth and there are always parties and stuff where you can hang out and network. -Scott
  • Reporting component geometry data into Ruby Console

    4
    0 Szavazatok
    4 Hozzászólások
    332 Megtekintések
    TIGT
    Try component_instance.transformation.to_a - it returns a 16 item array that has all of the stuff you need like scaling rotation and location. You really need to use all of these to compare distances between components etc as they might be rotated, scaled etc as well as moved in XYZ... The 16 item array has items 12,13,14 == x,y,z .
  • Little help?

    7
    0 Szavazatok
    7 Hozzászólások
    403 Megtekintések
    M
    gimme ten mins

Advertisement