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
  • Ruby widechar filenames not supported

    2
    0 Votes
    2 Posts
    367 Views
    thomthomT
    I ran into that as well. My write-up from back then: http://forums.sketchucation.com/viewtopic.php?f=180&t=20657 (Probably outdated and not 100% correct.) I had thought of doing a CExtension available, with some basic file, read,write,exist? methods - but I'm not that familiar with C yet.
  • Points equal but distance is not larger or less?

    3
    0 Votes
    3 Posts
    414 Views
    AdamBA
    Sure you know this, but if you're comparing distances rather than interested in the absolute distance, the fastest way will be to project a vector onto itself using scalar product. p1.dot(p1) < p2.dot(p2) Adam
  • JS loading problem under Mac OS X SU

    14
    0 Votes
    14 Posts
    2k Views
    Dan RathbunD
    @richmorin said: It turns out that the relative paths to my library JS (and probably CSS) were working under the browsers, but not under SU. !@#$%^ (Thanks, Dan!) Ok that's a common booboo, nothing too bad. There's a fix we talked about in another thread where we were brainstorming how to set up a "mini" 3Dwarehouse for Eric's SketchTHIS.net website: Re: Download to Sketchup button
  • Get list of colour names?

    5
    0 Votes
    5 Posts
    492 Views
    Dan RathbunD
    @thomthom said: Thought it'd be in a collection class. Like Colors (if it had existed) It is... but the collection is inside the class, where it belongs. @thomthom said: Or Sketchup.colors - as a list of the colours SketchUp recognized. That could be implemented... but would just be a method that accessed the data structure in the Color class. Don't want to overload the parent module with too many methods.
  • WebDialog Sub Forum? (Poll added)

    25
    0 Votes
    25 Posts
    3k Views
    4
    @ webdialog votes: Yes!I have in fact been using sketchup's "UI::WebDialog.new()"frequently. The Attachment below is a webdialog that contains easy-to-access tools. Contains weld, delete complanar edges, makeface, and more.Just make sure 'ToolsInDialog.rb'(file) and 'stuff'(folder) are in "Plugins".It may have errors, but it is being checked. [image: Nyif_Capture.JPG] Tools In A Dialog
  • About generating KMZ using Ruby Script instead of "Click"

    2
    0 Votes
    2 Posts
    383 Views
    TIGT
    Use Sketchup.active_model.export("folderpath/file.kmz",false) Next for exporting to Google Earth ? Try UI.openURL("folderpath/file.kmz") ?
  • About color

    14
    0 Votes
    14 Posts
    1k Views
    Z
    Thank you all guys
  • View.zoom(entity) for entities outside the context?

    2
    0 Votes
    2 Posts
    275 Views
    thomthomT
    Using view.zoom(entity) - then transforming the camera's eye, target and up worked.
  • Getting the oriented boundingbox?

    5
    0 Votes
    5 Posts
    467 Views
    thomthomT
    Success!
  • WebDialog.write_image troubles.

    8
    0 Votes
    8 Posts
    777 Views
    TIGT
    @adamb said: you sure, TIG? I'm certain I tried doing a html+js progress bar and found its actually run from inside the Ruby execution loop. Yes I've just done it! Sleeping will slow the changes to the displayed dialog but it won't stop it loading as it is currently set...
  • Followme on multiple line

    4
    0 Votes
    4 Posts
    528 Views
    N
    haha yeah I was looking at the argument ! Arguments: edge1 An Edge object to follow. I like java for having api doc clearer Ill read the description too in the future. thanks !
  • [Resolved] How select a face created in another face?

    7
    0 Votes
    7 Posts
    629 Views
    L
    @unknownuser said: If you are using entities.add_face, the new face created is returned as the result. You can create the face with either lines (edges) or points. No big deal. Yes .. You're right. This morning I could get tested and worked properly in this way. Thanks
  • Two JavaScript Points

    2
    0 Votes
    2 Posts
    355 Views
    Dan RathbunD
    @martinrinehart said: Dan, if you know the answer, please be a little slow to post it. .. yuz callin' me Slow, cuz'n ??
  • Roller coaster animation - move TO and angle of edge

    2
    0 Votes
    2 Posts
    584 Views
    M
    My tutorial, Chapter 16 has library code to handle this. You may be able to go straight to Chapter 16 and get your work done. But as TIG points out (reincarnated as the wise old one at the fairytale SketchUCation tavern) that has its drawbacks.
  • How do I integrate a SketchUp model with a real Picture???

    4
    0 Votes
    4 Posts
    606 Views
    T
    Great!! Thanks my friend, this info is really improving my sketches! I appreciate your help
  • PC v MAC webdialog populate

    45
    0 Votes
    45 Posts
    9k Views
    thomthomT
    Updated the post. That should work. NOTE! the onChange event triggers in IE when the input looses focus - so I attached the same event handler to onClick and onKeyUp to force immediate update. But if you use the this snippet with the other example the two onClick events will override each other and only one will trigger. You'd need to attach the event instead to make both event handlers work.
  • Skp File Names

    3
    0 Votes
    3 Posts
    469 Views
    Dan RathbunD
    @brett mcallister said: I was wondering if it was possible using ruby, to get the name of the skp file that is currently open in sketchup. assume: model = Sketchup.active_model Instance method: model.path Returns the full pathname, if the model has been saved, or an empty String if not. Instance method: model.title Returns only the SKP name (filename only MINUS the extension,) if the model has been saved, or an empty String if not.* Equivalent to: File.basename(model.path).split('.')[0] File.basename(model.path) Will return the full filename (including extension,) if the model has been saved, or an empty String if not. See also: model.modified? if model.path.empty? # model is UNSAVED if model.modified? # model may need to be SAVED else # model is a NEW unmodified SKP end else # model WAS saved at some time if model.modified? # model may need to be SAVED else # model file is sync'd with that # which is currently loaded. end end %(#4000BF)[Edited for clarity: (04 AUG 2010, 4:22 GDT) Added model reference assumption, and use of: File.basename(model.path)]
  • Saving components so they "open" nicely?

    4
    0 Votes
    4 Posts
    437 Views
    RichMorinR
    Indeed, it turns out that calling refresh_thumbnail after the call to zoom_extents and before the call to save_as clears up the problem.
  • Problems with script

    4
    0 Votes
    4 Posts
    378 Views
    TIGT
    You should NOT change a collection of entities you are iterating through... NO-NO= Sketchup.active_model.entities.each{|e| e.erase! if e.layer.name=='_4D_Finish_Text' || e.layer.name=='_4D_Start_Text' } YES-YES= Sketchup.active_model.entities.to_a.each{|e| e.erase! if e.layer.name=='_4D_Finish_Text' || e.layer.name=='_4D_Start_Text' } Note how the entities is made into frozen array [.to_a] before processing... To remove such items from inside all definitions use Sketchup.active_model.definitions.each{|d|d.entities.to_a.each{|e| e.erase! if e.layer.name=='_4D_Finish_Text' || e.layer.name=='_4D_Start_Text' }) EDIT: typo corrected '.to_a' added to final example
  • [talk] Using Ruby Modules

    33
    0 Votes
    33 Posts
    31k Views
    J
    Discussion of Wiki purpose and motives moved here.

Advertisement