[Plugin] Stair Maker
-
@sdmitch said:
- As I like to say, "Anything is possible"
Sam, Just wanted to say have a look at model.place_component before you re-invent the "Anything." It may be what you need.
Always use the 2nd argument to model.start_operation - it make a huge difference especially when people have the Outliner open during a script. Actually, the 2nd argument was added in version 7, so if you want to support version 6 and earlier, you will need to check versions and pass the corect number of arguments.
And change
require 'Sketchup'
torequire 'sketchup'
Other than that, thanks for the recent plugins and keep up the good work.
-
@sdmitch said:
Andrew,
- No, not without editing the file.
- Ok.
- Reversed? How so?
- Yes, for some reason an enternal face doesn't get grouped.
- Currently by the riser. How should it be determined.
- As I like to say, "Anything is possible"
Thanks Sam, reply to you comments below:
- no problem
- the faces are reversed; you can see by the front face ' back face color....
- actually, leave it like this. It's pretty close to what an in-situ stair would look like...
Another thing I have always wanted with a stair builder is the ability to input the total flight rise then total number of risers which determines your individual riser. So many times risers are decimal [fraction in your case ] and it's a pain to have to work it all out.
A simple way around it would be to nominate your total stair height and number of risers have the maths done for you! Many times setting stair configurations is a 'trial by process' anyway so another reason to work back from the total height....Cheers,
-
Andrew, I hope this will complete your wish list.
-
@sdmitch said:
Andrew, I hope this will complete your wish list.
It would be nice to see happen but if you can't no problem. I really appreciate you taking the time to extend your plugin, Sam!
-
Hello Sam,
First of all thanks for a great work,
I wanted to ask if you can put in the spiral staircase to the number of steps.
thank you very much. -
Just wondering, would it be possible to include ladder maker in the stairs plugin? Two rails with step between, and with a vertical orientation.
Thanks in advance
Ken
-
dizian, yes.
Ken, what shape rails?
-
Its a good time to celebrate more people writing ruby code. Welcome!
Now for some constructive criticism regarding stair design.
Spiral stair:
As the primary means of egress from any floor to an exit
your design would probably not be legal code wise, and if it is let me know
I will email the jurisdiction your in to explain why it should not.
Most people would not be able to negotiate a spiral stair where the stair
width approaches 0" inches in width around a central column.In the event of fire, most elevators are programmed to go to the main floor, to be used by rescue and fire personnel, the exiting stairs are for the people that require vacating the building. Just like those that made it via stairs to exit in the 9/11 World Trade Centers Towers. Hence stairs are very important aspects of a buildings design.
Insitu:
Casting concrete to a narrow wedge shaped point as is the case is with your stair from the land to the upper floor is bound to be a concrete casting failure.In a high rise building stairs and a stair wells are still required as the primary means of egress in the event of fire. A prudent contractor may well cast all the landing and stair well walls in place. followed by lifting in place by crane precast stair lengths that simply drop in place from landing to landing starting at the first floor to finishing at the top floor.
Handrails:
Heights of handrails at landings are NOT the same as on stairs, by code.
Handrails must also be continuous, not interrupted.Stair math problem: divide total floor height/2 for where landing is supposed to occur.
Have a look at http://rhin.crai.archi.fr/rld/plugin_details.php?id=406
a script I wrote under another alias 7 years ago.good luck, keep going!
-
@sdmitch said:
dizian, yes.
Ken, what shape rails?
I would make the rails line running up the side connecting each step, then it would be easy to make the rail any shape you wanted by using other plugins.
Thank you for your interest.
Ken
-
tomat, I was never under any illusion that my stair maker was for anything more than creating a illustration and never was intended to be structually correct and/or code complient. I have never made such a claim and have no intention of ever doing so.
-
@sdmitch said:
tomat, I was never under any illusion that my stair maker was for anything more than creating a illustration and never was intended to be structually correct and/or code complient. I have never made such a claim and have no intention of ever doing so.
Please don't misunderstand me! I have learned a lot from your code, My intent was only to encourage you to improve the content of your stair design, that's all, that's what I meant when I used the words constructive criticism
-
the one thing about designing/drawing stairs is the there always is one less tread than risers, so when you ask for number of steps its not clear if your asking for the number of risers or treads. After trying each I'm assuming your asking for the number of treads, because the top tread should be one riser below the floor level. And the riser height is always determined from dividing the floor to floor height by the number of risers, which by code is usually around 7" height. But at the same time both stair plug ins are great at a graphical stair layouts!
-
tomot,
your totally wrong in your assessment. This is a plugin for a quick staircase. It's free . If he was to do what you asked it would be not free. Saying something is constructive criticism does not cover your argument. Its responses like yours that make others who donate their time and effort for free plugins say " why bother" -
SD, I just tried that latest version, I can make straight stairs, open and in-situ, and that is it, no ushape. If I select u-shape I get straight.
Am I missing something? -
@tspco said:
SD, I just tried that latest version, I can make straight stairs, open and in-situ, and that is it, no ushape. If I select u-shape I get straight.
Am I missing something?U-Shape refers to two sections of straight stairs connected by a landing. It does not mean the the stairs themselves are curved. I downloaded a copy of the posted plugin and it works just as it was designed to do.
-
Well heck, I guess I am not doing something right. The spiral,and normal stair works OK, but. I can't get the u-shape to work.
-
tspco, open the Ruby Console window then run the plugin. Maybe something is causing an error and thats why it appears to be doing nothing.
-
I will try the ruby console. but in the meantime here is what I get
-
Houston we have an error.
Error: #<NoMethodError: undefined methodentities' for nil:NilClass> C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker3 (1).rb:348:in
ushape_stair'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Stair Maker3 (1).rb:147:in `onLButtonDown' -
tspco, after the first half of the u-shape is created, it makes a copy to use for the second half but for some reason that isn't happening. I did make a change in that code on the suggestion of TIG and that version is on My Plugins blog, http://sdmitch.blogspot.com. Try that version and see if it works for you.
Both versions work on my Vista system.
Advertisement