[Plugin] Stair Maker
-
thank you for reply am using su 2013 , i don't find any problem when its loading, but check through ruby console as below.
Error: #<Errno::EACCES: Permission denied - C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.txt>
C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:295:ininitialize' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:295:in
open'
C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:295:input_defaults' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:96:in
reset'
C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:68:ininitialize' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:25:in
new'
C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:25
C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:295:in `call'
C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:295how to fix this?
thank you
-
The first line is the clue:
Error: #<Errno::EACCES: Permission denied - C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.txt>
You do not have full permission to your Plugins folder and its contents, and this particular tool makes use of a txt file kept inside that folder-tree.
In PC v2014 there is no problem, because you get FULL permissions by default, but earlier PC versions put the Plugins folder within the ../Programs Files/..SketchUp folder and Windows limits your access, unless you change it manually.
Read this tutorial and reset your Plugins folder's permissions to FULL - ensure all of the contents get the FULL permissions too...
http://sketchucation.com/resources/tutorials/36-intermediate/811-setting-security-permissions-in-sketchup -
@sdmitch said:
@luhrzeznik said:
Hi, I'm having a bit of trouble here!
I used the plugin once and it worked fine. But when I tried to use it again, it doesn't get past the Stair Type. I click my option and the screen just disappear and then nothing. Do you have any idea why that could be happening?
I assume this happens regardless of which stair option is selected?
Locate and delete the Stair Maker.txt file and try the plugin again.
What Units system are you using, 1.00 or 1,00?
I have the same problem here...
Try to make a L-shaped stair... but after putting the measurements in the dialog box and clicking ok... nothing happens. The dialog box just dissapears. That's it. No stairs to see.Grtz
cboy -
Thanks for updating this Mitch...
-
@cboy1980 said:
@sdmitch said:
@luhrzeznik said:
Hi, I'm having a bit of trouble here!
I used the plugin once and it worked fine. But when I tried to use it again, it doesn't get past the Stair Type. I click my option and the screen just disappear and then nothing. Do you have any idea why that could be happening?
I assume this happens regardless of which stair option is selected?
Locate and delete the Stair Maker.txt file and try the plugin again.
What Units system are you using, 1.00 or 1,00?
I have the same problem here...
Try to make a L-shaped stair... but after putting the measurements in the dialog box and clicking ok... nothing happens. The dialog box just dissapears. That's it. No stairs to see.Grtz
cboyAfter clicking OK, you need to pick the model point to locate where the stairs are to originate. You should see a red "+" at the end of the mouse pointer.
-
@sdmitch said:
@cboy1980 said:
@sdmitch said:
@luhrzeznik said:
Hi, I'm having a bit of trouble here!
I used the plugin once and it worked fine. But when I tried to use it again, it doesn't get past the Stair Type. I click my option and the screen just disappear and then nothing. Do you have any idea why that could be happening?
I assume this happens regardless of which stair option is selected?
Locate and delete the Stair Maker.txt file and try the plugin again.
What Units system are you using, 1.00 or 1,00?
I have the same problem here...
Try to make a L-shaped stair... but after putting the measurements in the dialog box and clicking ok... nothing happens. The dialog box just dissapears. That's it. No stairs to see.Grtz
cboyAfter clicking OK, you need to pick the model point to locate where the stairs are to originate. You should see a red "+" at the end of the mouse pointer.
Hey I still have no stair appearing... not even the red cross at the pointer.
Even when clicking somewhere it does not happen.Grtz.
cboy -
You may need to download a new copy since this plugin was recently modified to be 2014 compliant.
Otherwise, open the Ruby Console window and execute the plugin to see what if any errors occur.
-
@sdmitch said:
You may need to download a new copy since this plugin was recently modified to be 2014 compliant.
Otherwise, open the Ruby Console window and execute the plugin to see what if any errors occur.
I checked with the ruby console...
It mentioned the 'full acces problem' I tried to follow the steps given in the link by Tig but only got 1 stair then it stopped again. Also when changing the sketchup program to run under administrator, my orbitting with mouse did not work anymore...seems like I need to research further...
-
I still did not manage to get the plug in working...
When changing my folder options (only read / full acces) sometimes I manage to get 1 stair... but after that it stops...ruby output:
Error: #<ArgumentError: Cannot convert "9.84251968503937" to Length>
C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:267:into_l' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:267:in
get_defaults'
C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:77:inreset' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:68:in
initialize'
C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:25:innew' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:25 C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:267:in
call'
C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:267
Error: #<ArgumentError: Cannot convert "9.84251968503937" to Length>
C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:267:into_l' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:267:in
get_defaults'
C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:120:inreset' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:68:in
initialize'
C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:25:innew' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:25 C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:267:in
call'
C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:267 -
I get this when pasting into the Ruby Console [in Model-Units=mm, in v2013 & v2014]:
"9.84251968503937".to_l 0.38750077500155
So it seems to work as a Ruby method [mm --> "]...
Although the level of 'accuracy is somewhat extreme
So something else is adrift with the script itself -
Hey TIG / sdmitch
So when deleting the 'Stair Maker.txt' I'm allways able to make 1 stair.
When trying to make another one...
same problem as before:Error: #<ArgumentError: Cannot convert "3.76640419947507" to Length>
C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:267:into_l' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:267:in
get_defaults'
C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:77:inreset' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:68:in
initialize'
C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:25:in `new'
C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:25same problem different values
-
@cboy1980 said:
Hey TIG / sdmitch
So when deleting the 'Stair Maker.txt' I'm allways able to make 1 stair.
When trying to make another one...
same problem as before:Error: #<ArgumentError: Cannot convert "3.76640419947507" to Length>
C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:267:into_l' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:267:in
get_defaults'
C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:77:inreset' C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:68:in
initialize'
C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:25:in `new'
C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/Stair Maker.rb:25same problem different values
I have made a few minor changes and have attached the plugin to a Personal Message. Please try it and let me know if there is any difference. Delete Stair Maker.txt file first.
-
My Sketchup(2014) is configured to use decimal comma instead of point (the European way). If I make L-stairs/Open, everything works fine repeatedly. But if I make L-stairs/in-situ, some numbers are written to Stair Maker.txt with decimal points and Sketchup doesn't like that, so Stair Maker stops working. If I change those decimal points to decimal commas in Stair Maker.txt and save it, Stair Maker works again. I think this is the issue here: some internally calculated results are written to Stair Maker.txt with points instead of commas.
-
@gudmhr said:
My Sketchup(2014) is configured to use decimal comma instead of point (the European way). If I make L-stairs/Open, everything works fine repeatedly. But if I make L-stairs/in-situ, some numbers are written to Stair Maker.txt with decimal points and Sketchup doesn't like that, so Stair Maker stops working. If I change those decimal points to decimal commas in Stair Maker.txt and save it, Stair Maker works again. I think this is the issue here: some internally calculated results are written to Stair Maker.txt with points instead of commas.
I know this is a problem for some but I have no way of duplicating it myself. Usually working in whole mm's is at least a partial solution. I will attempt a fix and send it to you by personal message.
-
GudmHr, Please check your personal messages for an attempted fix to the "," versus "." problem.
-
Thank you, sdmitch.
-
Hi.
I too am having the same problem using Stair Maker as posted above.
The error I am getting in Ruby Console:
"
Error: #<ArgumentError: Cannot convert "12.3031496062992" to Length>
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267:into_l' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267:in
get_defaults'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:77:inreset' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:68:in
initialize'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:25:innew' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:25 C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267:in
call'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267
Error: #<ArgumentError: Cannot convert "12.3031496062992" to Length>
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267:into_l' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267:in
get_defaults'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:77:inreset' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:68:in
initialize'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:25:innew' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:25 C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267:in
call'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267
"I'm working in EU comma separated units (e.g. 14,54m).
Is there any known solution to that problem?
-
@bprzybytkowski said:
Hi.
I too am having the same problem using Stair Maker as posted above.
The error I am getting in Ruby Console:
"
Error: #<ArgumentError: Cannot convert "12.3031496062992" to Length>
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267:into_l' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267:in
get_defaults'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:77:inreset' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:68:in
initialize'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:25:innew' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:25 C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267:in
call'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267
Error: #<ArgumentError: Cannot convert "12.3031496062992" to Length>
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267:into_l' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267:in
get_defaults'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:77:inreset' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:68:in
initialize'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:25:innew' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:25 C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267:in
call'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker.rb:267
"I'm working in EU comma separated units (e.g. 14,54m).
Is there any known solution to that problem?
I have sent you by PM the version that fixed GudmHr's problem. Hopefully it will do the same for you.
-
The version you provided me by PM seems to be working without problem - thanks!
-
how can i learn to work on this plugin?
i see the parameter window under my sketchup, but the result are blank.
Advertisement