Sketchucation Tools 5.0.7 | Licensing improvements and bug fixes Learn More

Subcategories

  • No decscription available

    20 Topics
    462 Posts
    HornOxxH
    @pilou said: More appetizing in chocolate! Eggs are good as well - but only very fragile when falling down in SketchyPhysics
  • Problem with UVHelper

    3
    0 Votes
    3 Posts
    401 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
    671 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
    668 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
    302 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
    686 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
    320 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
    16k 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
    1k 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
    846 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
    585 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
    237 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
    275 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
    1k 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
    584 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
    878 Views
    PixeroP
    Big thanks. Will test it now.
  • Select smoothed faces as if they were one face?

    6
    0 Votes
    6 Posts
    539 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
  • Suggestion for sandbox-like tool

    5
    0 Votes
    5 Posts
    404 Views
    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 Votes
    8 Posts
    482 Views
    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 Votes
    4 Posts
    497 Views
    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 Votes
    5 Posts
    568 Views
    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... .

Advertisement