FredoBend | Powerful new bending tool for SketchUp Download

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
  • About generating KMZ using Ruby Script instead of "Click"

    2
    0 Szavazatok
    2 Hozzászólások
    343 Megtekintések
    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 Szavazatok
    14 Hozzászólások
    865 Megtekintések
    Z
    Thank you all guys
  • View.zoom(entity) for entities outside the context?

    2
    0 Szavazatok
    2 Hozzászólások
    236 Megtekintések
    thomthomT
    Using view.zoom(entity) - then transforming the camera's eye, target and up worked.
  • Getting the oriented boundingbox?

    5
    0 Szavazatok
    5 Hozzászólások
    406 Megtekintések
    thomthomT
    Success!
  • WebDialog.write_image troubles.

    8
    0 Szavazatok
    8 Hozzászólások
    664 Megtekintések
    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 Szavazatok
    4 Hozzászólások
    461 Megtekintések
    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 Szavazatok
    7 Hozzászólások
    520 Megtekintések
    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 Szavazatok
    2 Hozzászólások
    306 Megtekintések
    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 Szavazatok
    2 Hozzászólások
    539 Megtekintések
    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 Szavazatok
    4 Hozzászólások
    489 Megtekintések
    T
    Great!! Thanks my friend, this info is really improving my sketches! I appreciate your help
  • PC v MAC webdialog populate

    45
    0 Szavazatok
    45 Hozzászólások
    8k Megtekintések
    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 Szavazatok
    3 Hozzászólások
    417 Megtekintések
    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 Szavazatok
    4 Hozzászólások
    386 Megtekintések
    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 Szavazatok
    4 Hozzászólások
    320 Megtekintések
    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 Szavazatok
    33 Hozzászólások
    30k Megtekintések
    J
    Discussion of Wiki purpose and motives moved here.
  • Class similar to Length class

    8
    0 Szavazatok
    8 Hozzászólások
    592 Megtekintések
    Dan RathbunD
    @viskiz said: I'm interested how Length class is made? It is simply a subclass, which inherits methods from it's superclass. class Distance < Float # add custom methods here end P.S.: DO NOT make changes to the Length class and then publish this in a plugin or script !!
  • Can i draw the whole building structure with code?

    31
    0 Szavazatok
    31 Hozzászólások
    4k Megtekintések
    chrisglasierC
    I see that you are progressing well with the "technology" side of csv data storage but I wonder (because I am interested in alternative methods) how you are coping with the complexity of the information itself. I have been always wary of csv because I associate it with spreadsheets and though I have tried very hard from the early days of Lotus 123 I have not found a way to use them to "turn" data to cope with its 3D nature. What I mean by turn is illustrated by the diagram to the left which suggests it is natural to use a cross section to review the number of floors in a building but plan section to review each floor's spaces. I think this is sufficient to demonstrate data is 3d in nature (or perhaps more accurately access to it). The animation I have demonstrated before allows me to cope with it in a 2D UI. Information that is often presented as schedules - rebar, door, sanitaryware, ironmongery(hardware) and so on - can be dealt with in the same way, but the properties of the real (as opposed to code) objects require a data or backup display so that you can see collections of key/value pairs for editting. So assuming you agree basically with what I describe, it would be would interesting to see both a UI design and the structure of the csv or hash solution to compare with the UI and Javascript object notation (json) that I currently use. Cheers!
  • Ruby Singleton Class

    4
    0 Szavazatok
    4 Hozzászólások
    2k Megtekintések
    Dan RathbunD
    @kwalkerman said: I thought this was one of the Ruby native classes? There are 2 catagories of Ruby Base Classes: Standard Included These are loaded along with the Ruby Interpreter. (They are bundled inside the DLL.) Extended Library These must be loaded when needed by using the require('libfilename') method. @kwalkerman said: Any idea why SU can't find it? Because Windows Sketchup does not come with a full Ruby Installation. (Some platforms: Linux, Apple OSX, etc. come "out-of-the-box" with a full Ruby Installation, but this is the OS OEM's doing, and not Google's.) In either case Sketchup is not preset to find the Standard Ruby Library folders. You would need to run a script like my example: See: [code] Ruby LOAD PATHs script for (Win32) @kwalkerman said: Is there any way to restore the file and/or the source code so that I can reference it? On Windows you need to go get the Windows One-Click Installer to install Ruby on your system. See the section: Ruby on Windows on the RubyLang.org Downloads page: http://www.ruby-lang.org/en/downloads/ I have not tried v.1.8.7 with Sketchup yet, I usually recommend the latest v.1.8.6 After install... you'd need to backup the 'msvcrt-ruby18.dll' file in the Sketchup program folder (or rename it to: 'msvcrt-ruby180_p10.dll' as that is the actual version and patch level that ships with Win32 Sketchup.) Then COPY (not move,) the interpreter dll from your new install's bin folder (usually C:/ruby{ver}/bin/) to the Sketchup program folder, renaming the copy to: 'msvcrt-ruby18.dll' (The Ruby guys have started putting all 3 version numbers into the filenames, so you might see it named: 'msvcrt-ruby187.dll'. Just be sure to leave it named as is, in the real Ruby bin folder; But Sketchup is hard-coded to load an exact interpreter dll filename.) The purpose / idea here is to be using the same version Library files as the interpreter your running.
  • Adding Entities without modifying the undo stack

    4
    0 Szavazatok
    4 Hozzászólások
    352 Megtekintések
    TIGT
    The model.start_operation() options are notoriously flaky... but might improve if the API ever gets updated...
  • Dynamically Associated Text

    6
    0 Szavazatok
    6 Hozzászólások
    574 Megtekintések
    TIGT
    Search out my Height above Datum Text Tag code... http://forums.sketchucation.com/viewtopic.php?p=193238#p193238 This tool adds a piece of text at the picked point and later if that text is moved its observer reads its Z value and updates itself automatically. In your case instead of it checking its location have it check the area of a given face [don't use ids as these change session to session instead stamp each bit of text AND it associated face with a guid - perhaps based on the time * rand] and have the face update the text. I already have an 'AreaTag' tool on my 'to-do list' [but currently it's a far off number 9]

Advertisement