@niffler said:
@sdmitch said:
Niffler, The .txt file is automatically created when it doesn't exist and just keeps the last input parameters for future runs.
The only problems I have had with the plugin relate to the .start_operation/commit_operation block but those are not active in the plugin I posted.
If you would please open the Ruby Console before running the plugin and post any errors that appear there.
Greetings Sdmitch,
As you requested...
Error: #<ArgumentError: Cannot convert "0.167'
" to Length>
C:/Program Files/Google/Google SketchUp 8/Plugins/Bolt Maker.rb:48:in to_l' C:/Program Files/Google/Google SketchUp 8/Plugins/Bolt Maker.rb:48:in
dialog'
C:/Program Files/Google/Google SketchUp 8/Plugins/Bolt Maker.rb:41:in initialize' C:/Program Files/Google/Google SketchUp 8/Plugins/Bolt Maker.rb:25:in
new'
C:/Program Files/Google/Google SketchUp 8/Plugins/Bolt Maker.rb:25
Niffler
[UPDATE] I have found it! I found the bug!
Last night, I went into my old system and deleted all remenants of Bolt-maker.rb from SketchUp8/Plugins. I then copied the latest version of Bolt-maker.rb I had downloaded from sdmitch.blogspot.com.
I fired-up SketchUp 8, and clicked on Bolt-maker 7 in the menu bar. It worked! Now, I was very cautious about the parameters I set. So I stayed with the 1/4 inch bolt-size.
After a number of dry runs, I was finally able to confidently create a half-dozen bolts "joining" those plates. Great!
Now, I decided to push the limits. I clicked the Boltmaker7 (button) in the menu bar. After the dialog box appeared, I set the bolt's size to 2 inches. The plugin worked. However, when I went to repeat my thought experiment, the dialog box failed to appear, which is good, too.
I clicked open the Ruby Console. After I clicked the Bolt-maker7 (button), the same error appeared as it had in the lines above.
Sdmitch, made a good program, but needs to adjust the parameters of the bolt sizes from: Tiny to Colossal (for all you D&D fans). I think that might set it right.
Peace