Curved Staircases
-
I like the side by side too... the length was a little much.
-
Thanks guys. Another neat thing about the web dialog is I can add a bit of mouse over help on some of the prompts and or input fields.
For instance a few of the prompts that need help are:
'Radius'
'Set to 0 and StairMaker will calculate based on degrees and Average Run''Degrees'
'Set to 0 and StairMaker will calculate based on degrees and Average Run''Average Run'
'Average Run is ignored if both Radius and Degrees are set' -
I have a StairMaker plugin that is ready to go. This is version 1.0.3.
You may go to my web site CabMaker32.com, register and download the plugin.The plugin is a zip file - unzip it to your plugins folder. There should be 1 file added to the plugins folder GKWare_StairMaker_Ext.rb and a folder called GKWare.
Please edit file GKWare/StairMaker/defaults.txt.
You will need to put in your userid and password that you received via the register process. -
-
I am interested in finding individuals who would like to test this plugin.
Specifically I'd like to know if it even works with Mac.
Is anyone experiencing any problems with the plugin.Does anyone have any suggestions?
-
I'm on PC but no issues here.
-
I'll give it a run (Mac). Let's see, where can it be DL'd?
-
@Garry K
Many thanks for the video!You must put it also on the first post!
Ps I just seen that you had another one page 2
-
@pbacot said:
I'll give it a run (Mac). Let's see, where can it be DL'd?
it's at his site: http://cabmaker32.com
you have to register which is an easy process without demanding too much info etc..
it's a little weird in that once you download the plugin, you have to find a .txt file within the folders then edit your cabmaker32 user name & password into it.
@GarryK- i'm trying this out on mac.
i've dowloaded/installed the plugin and entered my login details in the .txt file..
upon launching sketchup, there are no load errors and i get the toolbars as well as the Curved Stairs entry(s) in the plugin menu.upon clicking on an icon in the toolbar, i get this message:
i'm online while attempting to use it.
-
Garry, your Kung Fu is good! Can't believe I managed to miss this thread.
Thanks for the inspiring journey through your process.
Just seeing that I should be running this through my mac to see how it works. Will let you know...
-
Jeff,
Thanks - I see that you downloaded it. I have no idea why you couldn't reach the web site.
Perhaps try from your browser ( I know it won't work ) but you should still see a message if you can reach the web site.
http://cabmaker32.com//stairmaker_service.php
If you can reach you should get a JSON response saying invalid format.
I'm puzzled. I am getting the same thing now. First a "http Error" and the second time I click the button it says "Cannot reach web service"
I will try to dig in and see what is going on.
OK - when I tried running it my defaults.txt file was pointing to my local test web site.
I switched over to cabmaker32.com and it works - even when I am logged on to the sit.Garry
-
I'll have to get back into this in the morning - I've been up 20 hrs straight and can't think.
I am putting out both errors - obviously I should have said a bit more with the messages.
if ( xmlHttp.readyState == 4 ) { if ( xmlHttp.status == 200 ) ruby_call( xmlHttp.responseText ); else ruby_call( 'error' ); }
In the ruby_call I pass back the JSON message and then decode it.
If it doesn't come back then a hash object doesn't get created.Then this bit of code gets hit.
if ( ! defined?( @@hash_obj ) ) UI.messagebox( "Cannot reach web service" ); return; end
-
@garry k said:
Jeff,
Thanks - I see that you downloaded it. I have no idea why you couldn't reach the web site.
Perhaps try from your browser ( I know it won't work ) but you should still see a message if you can reach the web site.
http://cabmaker32.com//stairmaker_service.php
If you can reach you should get a JSON response saying invalid format.
from my browser with that link i get:
{"code":-11,"text":"invalid format","token":240583372}
@unknownuser said:
I'm puzzled. I am getting the same thing now. First a "http Error" and the second time I click the button it says "Cannot reach web service"
I will try to dig in and see what is going on.
OK - when I tried running it my defaults.txt file was pointing to my local test web site.
I switched over to cabmaker32.com and it works - even when I am logged on to the sit.i've done the following to the defaults.txt file
user information
userid=Jeff Hammond
password=(my 12digit PW)
host=http://cabmaker32.com/default non length values for input box
debug_level=0
direction=Anti Clockwise
inside_option=None
outside_option=None
inside_stringer=Sawtooth
etcetc..
i assume that's correct, right?
i tried logging out of your site and i still get the same error message when using Stair Maker.. i can click on the Extrude Handrail icon and i get the message about needing a curve selected.. so i select a curve then click the icon and i get an error:
[EDIT] oops.. ruby error removed[/edit]
i won't be able to troubleshoot too much tonight but i'll try some things in the morning if you leave instructions.
-
@garry k said:
I'll have to get back into this in the morning - I've been up 20 hrs straight and can't think.
get some rest! -
Jeff,
-
You can reach my web site
-
The defaults.txt file looks fine
-
This is the code on line 792 where the error occurs for extrude handrail.
File.join( Sketchup.find_support_file( "" ), "Plugins", "GKWare", "StairMaker", "Handrail" )
StairMaker expects the folder Plugins/GKWare/StairMaker/Handrail
It then goes through the files to create a list of the 6 default handrails.Could you run these lines of code in the Web Console
puts Sketchup.find_support_file( "" )
puts File.join( Sketchup.find_support_file( "" ), "Plugins", "GKWare", "StairMaker", "Handrail" ) -
-
I have just read an article by Thomas and now realize that I am currently not supporting plugins installed in shared location. I will change this, test and get back to you.
-
I've fixed the path issue and uploaded a new version to my website.
The new version has an rbz extension and has increased the version.
Even if your old version worked - it won't now.Please download a new version.
-
ok.. so you've made some progress
i can now activate the plugin without the previous error message.
once i'm in it though, there are a few problems with the window size/placement etc but that's not too important right now.. i can't use any of the drop down menus:
i can enter text/number in the text fields.. i can also check/uncheck the 'open risers' box.. and i can push the OK button but nothing is generated as i assume the drop downs should have some settings applied?
i get this in the ruby console:
[EDIT] no errors are being reported in the ruby console [/edit]
not sure but you may be trying to re-invent the wheel if you single handedly troubleshoot the sketchup web dialogs on mac.. thomthom, or TIG, or Fredo have already figured this stuff out and it might be best to contact one of them for some advice/tips.. ?
-
We aren't too far away. However - data from the defaults.txt file is suppose to populate the controls with defaults.
That isn't happening.
Perhaps try the extrude handrail. This one is a Sketchup input box as opposed to the web dialog. Let's see if there are 6 handrail profiles in the drop down list? That should help tell me if the problem is in reading the values or in popluating the web dialog.
-
.
yep.. handrail works.. here's a 'traditional'
Advertisement