Check out Febhouse | New extensions for Shadow Analysis in SketchUp Download

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
  • Having trouble ending a simple script

    3
    0 Votes
    3 Posts
    260 Views
    B
    Chris, Thanks so much for the help, the revised script works beautifully. Proof positive that I was and still am in way over my head. Rob
  • Multiple Action Callbacks?

    5
    0 Votes
    5 Posts
    533 Views
    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 Votes
    6 Posts
    473 Views
    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 Votes
    12 Posts
    928 Views
    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 Votes
    6 Posts
    1k Views
    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 Votes
    2 Posts
    259 Views
    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 Votes
    4 Posts
    511 Views
    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 Votes
    2 Posts
    393 Views
    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 Votes
    12 Posts
    2k Views
    thomthomT
    Think I need to look over my scripts again. Review the ruby code.
  • Locking The Components Panel To The Side

    8
    0 Votes
    8 Posts
    578 Views
    Chris FullmerC
    I like that you had to come back and refute your own statement Jim Chris
  • Exploding Using Ruby Script

    9
    0 Votes
    9 Posts
    2k Views
    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 Votes
    2 Posts
    960 Views
    I
    See here.. http://sketchuplinks.blogspot.com/2009/04/suntools.html
  • Getting the Current Date with SketchUp Ruby API

    3
    0 Votes
    3 Posts
    1k Views
    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 Votes
    9 Posts
    2k Views
    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 Votes
    2 Posts
    207 Views
    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 Votes
    13 Posts
    1k Views
    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 Votes
    7 Posts
    2k Views
    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 Votes
    5 Posts
    755 Views
    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 Votes
    3 Posts
    336 Views
    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 Votes
    3 Posts
    290 Views
    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.

Advertisement