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
  • Create zip files with sketchup ruby api

    4
    0 Szavazatok
    4 Hozzászólások
    1k Megtekintések
    TIGT
    That's one but there's also http://rubyzip.sourceforge.net/
  • Get Mouse x,y on "resume"

    2
    0 Szavazatok
    2 Hozzászólások
    278 Megtekintések
    thomthomT
    Don't think you can. It's one of the several annoying limitations of the Tool class. (Why doesn't activate return an view argument?)
  • Using printf to help trace ruby errors

    2
    0 Szavazatok
    2 Hozzászólások
    439 Megtekintések
    Al HartA
    I was trying to get the function name in the trace as well. It turns out that adding this line after every function definition may work well. It displays the rotuine name as well as the file and line number. puts("TRACE: " + caller(1)[0].to_s) if $rps_show_traces
  • Load an object and attached it to the pointer

    10
    0 Szavazatok
    10 Hozzászólások
    888 Megtekintések
    S
    And it work ! Thank y'all for your help...
  • Latitude/longitude not working ?

    3
    0 Szavazatok
    3 Hozzászólások
    443 Megtekintések
    Didier BurD
    Thanks a million TIG
  • The results of "line.strip"

    3
    0 Szavazatok
    3 Hozzászólások
    309 Megtekintések
    honoluludesktopH
    Tom, Thanks, I previous looked at that page, and tried to correct my code, but couldn't make it work. Guess it's another case where I am asking the wrong question. It's late, I will take another stab at it tomorrow. Except for speed, parsing, layers, block names, and nested blocks the plugin is (beta) usable. [image: Mkj1_temp09.jpg] This is a import of a Dxf file. The coding is very basic, but modular enough to add other Dxf features in the future.
  • Different styles

    3
    0 Szavazatok
    3 Hozzászólások
    378 Megtekintések
    D
    mm. a shame. would be good to ask the google team to enable this option. no? thanks for replying
  • To space or not to space ".add_circle[@entity[0]...."

    3
    0 Szavazatok
    3 Hozzászólások
    263 Megtekintések
    honoluludesktopH
    OK, thanks.
  • Create a group and manipulate add geom

    11
    0 Szavazatok
    11 Hozzászólások
    1k Megtekintések
    S
    Perfect I made a stupid mistake I investigate not thanks a lot
  • Down to Top traversal

    6
    0 Szavazatok
    6 Hozzászólások
    415 Megtekintések
    thomthomT
    Yea - you'd need to keep store the path to where you found the group in the first place.
  • Running SketchUp with command line redirection

    14
    0 Szavazatok
    14 Hozzászólások
    3k Megtekintések
    Al HartA
    All this work trying to redirect output led me to come up with a ruby script which will redirect output, and flush the output file. See: http://forums.sketchucation.com/viewtopic.php?f=180&t=31160
  • How to add entities to a nested group?

    32
    0 Szavazatok
    32 Hozzászólások
    2k Megtekintések
    D
    YAY! Thanks a ton thomthom, your solution works.
  • UI.messagebox "beep"

    20
    0 Szavazatok
    20 Hozzászólások
    1k Megtekintések
    thomthomT
    @runnerpack said: @thomthom said: Use the bitwise And operator to combine flags: Messagebox with Yes/No button and question mark icon: UI.messagebox('Hello World', MB_YESNO | 32) That's actually the Or operator... but you knew that Doh! I swear there's a little brain-gnome that intercepts and swaps words before they reach the hands...
  • UI.savepanel & SU6

    2
    0 Szavazatok
    2 Hozzászólások
    250 Megtekintések
    thomthomT
    UI.savepanel "Test", "C:/Test/", "test.tmp" This also returns nil in SU6.
  • Layer color by ruby-code?

    16
    0 Szavazatok
    16 Hozzászólások
    1k Megtekintések
    A
    @thomthom said: I see an issue with this method: It has multiple .start_operation and commit_operation inside the code flow - which will interfere with any start_operation you started yourself - since SU doesn't handle nested start_operations: ` model.start_operation ... layer.color = 'red' # this breaks the undo stack ... model.commit_operation` Though, it is not related to the error you got. Sorry, I don´t understand that. I tried now that: def layer_color model = Sketchup.active_model layer = model.layers.add "Test_Layer" layer.color = [255,255,255] end if( not file_loaded?("test.rb") ) plugins_menu = UI.menu("Plugins") plugins_menu.add_item("LayerColor") {layer_color} end #----------------------------------------------------------------------------- file_loaded("test.rb") That works without error - but the new layer has the color 102,68,0 and not 255,255,255!!!??? I test that: def layer_color model = Sketchup.active_model layer = model.layers.add "Test_Layer" layer.color = "Blue" end if( not file_loaded?("test.rb") ) plugins_menu = UI.menu("Plugins") plugins_menu.add_item("LayerColor") {layer_color} end #----------------------------------------------------------------------------- file_loaded("test.rb") The same result like before - Color 102,68,0 instead of blue Than I test that: def layer_color model = Sketchup.active_model my_mat = materials.add "Ahorn" my_mat.texture = "O;\\Sketchup\\Mat\\Ahorn.jpg" layer = model.layers.add "Test_Layer" layer.color = my_mat end if( not file_loaded?("test.rb") ) plugins_menu = UI.menu("Plugins") plugins_menu.add_item("LayerColor") {layer_color} end #----------------------------------------------------------------------------- file_loaded("test.rb") There was no error but also no layer!!
  • Help with grouping groups

    17
    0 Szavazatok
    17 Hozzászólások
    1k Megtekintések
    thomthomT
    It is safer in any case - as you don't risk your edges/faces merging with stuff it should not merge with.
  • Trapping error messages

    10
    0 Szavazatok
    10 Hozzászólások
    451 Megtekintések
    TIGT
    Add Sketchup.send_action "showRubyPanel:" into the start of your script just after require 'sketchup.rb' BUT remember to ### it out when you are done!
  • My_progress_bar

    3
    0 Szavazatok
    3 Hozzászólások
    267 Megtekintések
    honoluludesktopH
    Tom, thanks.
  • Ruby 1.8.6

    13
    0 Szavazatok
    13 Hozzászólások
    2k Megtekintések
    Dan RathbunD
    Hmmmm.. so when Microsoft stops supporting XP SP3 soon will SU end support as well? What about about when Microsoft only supports 64bit Windows ? (Yes I'm being a bit sarcastic.)
  • Materials vs. Entities in model (screenshot)

    13
    0 Szavazatok
    13 Hozzászólások
    857 Megtekintések
    TIGT
    There is a reported difference between materials.current on PC and MAC. On a PC it's the currently selected material On a MAC it's the last used material and this ignores what might now be selected IF it's never been used...

Advertisement