FredoBend | Powerful new bending tool for 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
  • Snap Alignment

    13
    0 Votes
    13 Posts
    3k Views
    R
    My ideas was do create a Fence-Builder where you can plan fences for your garden. So you could be able to snap the fences vertically and horizontally. Add doors and so on. Thats what snap alignment would be great for.
  • Create zip files with sketchup ruby api

    4
    0 Votes
    4 Posts
    1k Views
    TIGT
    That's one but there's also http://rubyzip.sourceforge.net/
  • Get Mouse x,y on "resume"

    2
    0 Votes
    2 Posts
    278 Views
    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 Votes
    2 Posts
    439 Views
    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 Votes
    10 Posts
    894 Views
    S
    And it work ! Thank y'all for your help...
  • Latitude/longitude not working ?

    3
    0 Votes
    3 Posts
    443 Views
    Didier BurD
    Thanks a million TIG
  • The results of "line.strip"

    3
    0 Votes
    3 Posts
    309 Views
    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 Votes
    3 Posts
    380 Views
    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 Votes
    3 Posts
    263 Views
    honoluludesktopH
    OK, thanks.
  • Create a group and manipulate add geom

    11
    0 Votes
    11 Posts
    1k Views
    S
    Perfect I made a stupid mistake I investigate not thanks a lot
  • Down to Top traversal

    6
    0 Votes
    6 Posts
    415 Views
    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 Votes
    14 Posts
    3k Views
    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 Votes
    32 Posts
    2k Views
    D
    YAY! Thanks a ton thomthom, your solution works.
  • UI.messagebox "beep"

    20
    0 Votes
    20 Posts
    1k Views
    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 Votes
    2 Posts
    250 Views
    thomthomT
    UI.savepanel "Test", "C:/Test/", "test.tmp" This also returns nil in SU6.
  • Layer color by ruby-code?

    16
    0 Votes
    16 Posts
    1k Views
    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 Votes
    17 Posts
    1k Views
    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 Votes
    10 Posts
    455 Views
    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 Votes
    3 Posts
    267 Views
    honoluludesktopH
    Tom, thanks.
  • Ruby 1.8.6

    13
    0 Votes
    13 Posts
    2k Views
    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.)

Advertisement