Sketchucation Tools 5.0.7 | Licensing improvements and bug fixes Learn More

Alkategóriák

  • No decscription available

    20 Témakörök
    462 Hozzászólások
    HornOxxH
    @pilou said: More appetizing in chocolate! Eggs are good as well - but only very fragile when falling down in SketchyPhysics
  • Multiple Action Callbacks?

    5
    0 Szavazatok
    5 Hozzászólások
    477 Megtekintések
    M
    @jim said: One technique I have used is to pass the name of the Ruby callback to the Javascript. In many cases, you can use a single Javascript function to call any number of Ruby callbacks. Neat trick, and that tells me exactly what I wanted to know. Now where to we go to get the docs to say "add one or more callbacks ..."?
  • Hide components panel on close

    6
    0 Szavazatok
    6 Hozzászólások
    444 Megtekintések
    AdamBA
    @chris fullmer said: It has to be put into a class and you have to instantiate the class as a tool. And you also have to attach an observer to the Sketchup object. Check out the full example in the introduction paragraph on that page. It shows better how to use it in context. Chris Apart from onQuit is broken on Mac OSX which is annoying. Also be aware that these "stuff has finished / been deleted" generally get invoked after the fact so don't expect to get useful info from the objects in question. Adam
  • Dialog with Webdialog

    12
    0 Szavazatok
    12 Hozzászólások
    841 Megtekintések
    M
    @rickw said: If you give all your form fields an ID, you can reference them in ruby without relying on the info passed in the callback. In fact, there are times I don't pass any data in the callback itself, instead using dialog.get_element_value("myfield") to access the information I need. I only pass the info through the callback if the info is limited to one data set, and then only occasionally. Excellent tip. Thanks.
  • Loading a Material from SKM

    6
    0 Szavazatok
    6 Hozzászólások
    1k Megtekintések
    F
    Even better: Found the defintions.load method that will load the model into the list of definitions which then loads the materials.
  • Apply transformations to nested DC components

    2
    0 Szavazatok
    2 Hozzászólások
    236 Megtekintések
    TIGT
    You need to keep applying ' parent.transformation' to it... If it's being edited the ' model.edit_tranform' helps...
  • Scale Feature to fool Sketchup and Operator

    4
    0 Szavazatok
    4 Hozzászólások
    488 Megtekintések
    mitcorbM
    Ok, Thanks Chris. Of course that is not the answer I wanted to see, considering all of the possibilities that have arisen in this forum. But, you never know...
  • Google Example Plugin Box.rb

    2
    0 Szavazatok
    2 Hozzászólások
    364 Megtekintések
    S
    I also just found this page that might help. http://code.google.com/apis/sketchup/docs/ourdoc/material.html
  • What is the best way to find the type of an entity

    12
    0 Szavazatok
    12 Hozzászólások
    2k Megtekintések
    thomthomT
    Think I need to look over my scripts again. Review the ruby code.
  • Locking The Components Panel To The Side

    8
    0 Szavazatok
    8 Hozzászólások
    542 Megtekintések
    Chris FullmerC
    I like that you had to come back and refute your own statement Jim Chris
  • Exploding Using Ruby Script

    9
    0 Szavazatok
    9 Hozzászólások
    2k Megtekintések
    S
    @tig said: Sorry - I made a typo, try this... there was loose ) after entities ! Sketchup.active_model.active_entities.each{|e|e.explode if e.class==Sketchup::ComponentInstance} wewt! thanks man that worked a dream. ive spent so long on this thanks
  • Sutool 2009

    2
    0 Szavazatok
    2 Hozzászólások
    934 Megtekintések
    I
    See here.. http://sketchuplinks.blogspot.com/2009/04/suntools.html
  • Getting the Current Date with SketchUp Ruby API

    3
    0 Szavazatok
    3 Hozzászólások
    1k Megtekintések
    TIGT
    Built into core Ruby already... Time.now etc, see Ruby http://www.ruby-doc.org/docs/ProgrammingRuby/html/ref_c_time.html et al...
  • Wrong menu text when it contains forward slashes

    9
    0 Szavazatok
    9 Hozzászólások
    2k Megtekintések
    T
    I'm glad they fixed it. I remember reporting it as a bug some time ago.
  • Blog Post re JavaScript/Ruby Data Sharing

    2
    0 Szavazatok
    2 Hozzászólások
    195 Megtekintések
    M
    There is a link to this blog post in the WebDialog docs, but the link is broken. Is this an appropriate place for an item like this?
  • Layers Order

    13
    0 Szavazatok
    13 Hozzászólások
    912 Megtekintések
    M
    @chris fullmer said: So if you ever hit sort by color, it will be on that next time you open SU. Beautiful! No more confusion here, I was sorted by color (whatever that means). Now I'm sorted by name, as everyone has been saying.
  • Oscar Boolean plugin

    7
    0 Szavazatok
    7 Hozzászólások
    2k Megtekintések
    mitcorbM
    Well, Pilou: My version of this plugin just sits there and I have tried all combos of group, no group, select all, select some, select none and right click select operation. No results. Just for your info. mitcorb
  • Export as 2D DXF in Ruby?

    5
    0 Szavazatok
    5 Hozzászólások
    714 Megtekintések
    J
    No, it looks like you can do "only" export a 3d model, or write an image from a plugin. Thanks.
  • Odd Math

    3
    0 Szavazatok
    3 Hozzászólások
    323 Megtekintések
    J
    Thanks Adam. I still don't understand why sum (which is a Float)shown as 1 instead of 1.0 Might the .inspect method be over-ridden?
  • (Help)Is there any scripts for multi-units displaying?

    3
    0 Szavazatok
    3 Hozzászólások
    263 Megtekintések
    E
    Thanks Gaieus, and Matt for the script, it's very useful. But could you do it another way? This script just change the unit from model info... My idea is display those units in another measurement window that you can compare more easily. Thanks.
  • Plugin Request - Make Orthrographic Views

    10
    0 Szavazatok
    10 Hozzászólások
    1k Megtekintések
    JClementsJ
    @unknownuser said: . . . Do you think precise control is needed? No (at least not until there were a lot of people requesting it). I think 3 generic options would be adequate. Be interesting to see the results in the Web Dialog that rotates the model. If that process could be automated it could make for producing an impressive online parts catalog.

Advertisement