🏒 PlaceMaker | 25% off for February including new Google Earth data imports! Learn more
  • Contour lines

    4
    0 Votes
    4 Posts
    364 Views
    coulteriC
    Yes. Maybe good idea to do it in another software (like AutoCAD). Thanks.
  • How to use lock_inference ?

    2
    0 Votes
    2 Posts
    194 Views
    Chris FullmerC
    You need to have an inputpoint for inference to work. Check out the InputPoint class for how that works. That's about all I can say. I am currently working on inputpoints too, and its going slowly. There is a good example in the utilities directory. Open utilitiestools.rb and look at the TrackMouseTool in there. It is found in Tools>Utilities>Query Tool inside of Sketchup. It uses inference points. It seems more complex than I thought it should be, but it definitely works. Chris
  • UI.play_sound on mac

    2
    0 Votes
    2 Posts
    137 Views
    Chris FullmerC
    Check out this post tothe Ruby API blog. It should help hopefully, http://sketchupapi.blogspot.com/2009/01/playing-sounds-in-sketchup.html Chris
  • Line thickness plugin?

    7
    0 Votes
    7 Posts
    10k Views
    R
    @gaieus said: Yup, in LO 2 you can now explode your model and assign any kind of line style (thickness,dashes and such) to the individual lines (2D only and cannot be reverted).LO has finally grown up and if some tweaks and a couple of "feature requests" are implemented,it can be a full featured presentational as well as drafting tool - still keeping updateable relation with the 3D SU model. Do you have to export 2d as jpeg to do that in LO?
  • Problem with UVHelper

    3
    0 Votes
    3 Posts
    281 Views
    thomthomT
    Ah! I see it now. Use tw = Sketchup.create_texture_writer instead of tw = Sketchup::TextureWriter.new. I'll add it to the list of errors in the manual: http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=17047
  • ( req) automatic zoom

    7
    0 Votes
    7 Posts
    506 Views
    bagateloB
    3dsmax have tool called "zoom selection", is fantastic. Sketchup have script to emulate this, I use key Z to activate. If no selection is active, Sketchup show me zoom extents...
  • Move entities to a group?

    7
    0 Votes
    7 Posts
    406 Views
    TIGT
    @thomthom said: But that's the problem. I want to add it to a group. But I experience crashes. Like the manual says. So how do you add entities to a group after you make an empty group? See here... http://www.sketchucation.com/forums/scf/viewtopic.php?p=140959#p140959
  • "include" vs "require"

    2
    0 Votes
    2 Posts
    244 Views
    tbdT
    5 sec search on google - What's the difference between "include" and "require" in Ruby? Answer: The include and require methods do very different things. The require method does what include does in most other programming languages: run another file. It also tracks what you've required in the past and won't require the same file twice. To run another file without this added functionality, you can use the load method. The include method takes all the methods from another module and includes them into the current module. This is a language-level thing as opposed to a file-level thing as with require. The include method is the primary way to "extend" classes with other modules (usually referred to as mix-ins). For example, if your class defines the method "each", you can include the mixin module Enumerable and it can act as a collection.
  • FaceMe Components have extra large BoundingBox?

    9
    0 Votes
    9 Posts
    383 Views
    AdamBA
    Mea culpa AABB = Axis aligned Bounding box (blue box) OBB = Oriented Bounding box (red box) [image: 5gTb_SketchUpScreenSnapz035.png]
  • Observers removed when entity is deleted?

    2
    0 Votes
    2 Posts
    234 Views
    AdamBA
    I've found it to be a "theological gray area"! Because if you have an observer on an object there is an argument that this is a reference and therefore the observee is going to hang around and not be GCed. Let alone the Observer proper. As a general rule for Ruby programming - particularly for SU where the Ruby objects are essentially proxies - if you have the opportunity to break references, do so. Adam
  • Windowizer4 now available!

    55
    0 Votes
    55 Posts
    14k Views
    R
    I had noticed problems with wxSU as well (one reason I didn't adopt), but not specifically with Windowizer4. I'll have to dig in and see what I find out. Thanks,
  • How to read/parse XML files inside SU

    5
    0 Votes
    5 Posts
    791 Views
    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 Votes
    6 Posts
    637 Views
    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 Votes
    5 Posts
    448 Views
    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 Votes
    2 Posts
    166 Views
    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 Votes
    3 Posts
    202 Views
    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 Votes
    5 Posts
    883 Views
    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 Votes
    4 Posts
    472 Views
    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 Votes
    12 Posts
    465 Views
    PixeroP
    Big thanks. Will test it now.
  • Select smoothed faces as if they were one face?

    6
    0 Votes
    6 Posts
    400 Views
    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

Advertisement