Staircase generator plug-in
This topic has been viewed 1147908 times and has 72 replies
Re: Staircase generator plug-in
@architectech
As Keet said You don't disturb anyone.
I considering you as a friend and, as friend, I prefer to talk with you short and frankly, not politically correct.
Probably I'm wrong. I'm sorry if I offense you somehow!
Somewhere you've said "My problem is I'm an architect".
That's not a problem, not your true problem.
I think your expertise in this area is invaluable for us, for the majority of SH3D users. You could help and advice us in this sense.
IMO your true problem is that you came from ArchiCAD with the accordingly heritage.
I think it is like you have drive last past 10 years a modern fully automatic car and, for some reasons, you can't used anymore (let say irremediable broken).
Someone give you for free an old but functionally car. Well, is not the same:
Have clutch, only 4 manual gear, no break and direction aid and assistance BUT fit the main condition: exist.
Next optionally conditions: work and is free.
Well, it don't came totally free of problems. You have to remember the old times when you've drive something like this. That's is!
Just for my curiosity: how long took to you to learn to use ArchiCAD?? and how many help you've received from the ArchiCAD community?
I've tried to use it in the past (~20 years ago) but I've quickly realize I'm too dump for this.
It need more brain and knowledge (architecture studies) and I'm in lack of both.
So for me the SH3D is the perfect compromise.
With SH3D I'm able to make planes very close as those made by some of my colleagues with ACAD.
Indeed with more work and effort in some parts.
Finally I hope you will still be here at least time-to-time with some advice's for us.
As Keet said You don't disturb anyone.
I considering you as a friend and, as friend, I prefer to talk with you short and frankly, not politically correct.
Probably I'm wrong. I'm sorry if I offense you somehow!
Somewhere you've said "My problem is I'm an architect".
That's not a problem, not your true problem.
I think your expertise in this area is invaluable for us, for the majority of SH3D users. You could help and advice us in this sense.
IMO your true problem is that you came from ArchiCAD with the accordingly heritage.
I think it is like you have drive last past 10 years a modern fully automatic car and, for some reasons, you can't used anymore (let say irremediable broken).
Someone give you for free an old but functionally car. Well, is not the same:
Have clutch, only 4 manual gear, no break and direction aid and assistance BUT fit the main condition: exist.
Next optionally conditions: work and is free.
Well, it don't came totally free of problems. You have to remember the old times when you've drive something like this. That's is!
Just for my curiosity: how long took to you to learn to use ArchiCAD?? and how many help you've received from the ArchiCAD community?
I've tried to use it in the past (~20 years ago) but I've quickly realize I'm too dump for this.
It need more brain and knowledge (architecture studies) and I'm in lack of both.
So for me the SH3D is the perfect compromise.
With SH3D I'm able to make planes very close as those made by some of my colleagues with ACAD.
Indeed with more work and effort in some parts.
Finally I hope you will still be here at least time-to-time with some advice's for us.
A computer program does what you tell it to do, not what you want it to do. Murphy's Law
When all else fails, read the instructions. Murphy's Law
If you don't like "AS IS", DIY. Dorin's law
When all else fails, read the instructions. Murphy's Law
If you don't like "AS IS", DIY. Dorin's law
Re: Staircase generator plug-in
Wonderful plugin. Thanks.
Wanted to check if the following is possible
I want a staircase with three flight around and elevator. The outer dimensions of the elevator hoistway is 5'x6'x5'. The total ceiling height is 11'. The staircase should go in the clockwise direction.
Many thanks in advance for any input or direction that anyone has/provides.
Wanted to check if the following is possible
I want a staircase with three flight around and elevator. The outer dimensions of the elevator hoistway is 5'x6'x5'. The total ceiling height is 11'. The staircase should go in the clockwise direction.
Many thanks in advance for any input or direction that anyone has/provides.
Re: Staircase generator plug-in
thank you 
-
Segadreamer
- Posts: 1
- Joined: Tue Jul 23, 2024 6:01 pm
- Country: España
Re: Staircase generator plug-in
Just came to say thank you!!
Re: Staircase generator plug-in
Thank you for this!!!
Re: Staircase generator plug-in
Good Day
I managed to add to the plugin 4 more parameters for stair generation. 4 more are work in progress (actually all are welcomed to complete the task as it's a bit beyond my expertise
Working:
* Sides Count : Controls number of sides of Baluster (ex: 4 sides for square, 2 sides for thin glass panels, 32 sides for circular ... etc.)
* Handrail Width : Controls width of upper Handrail.
* Foot Depth : Controls depth of footing under first step.
* Baluster Gap : Controls spacing between balusters.
Need to be completed
-Left Stringer Thickness
-Right Stringer Thickness
-Handrail Bracket Diameter
-Handrail Bracket Height
If interested drop me a line and I'll send the updated version.
https://imgur.com/a/b6tn0jG
I managed to add to the plugin 4 more parameters for stair generation. 4 more are work in progress (actually all are welcomed to complete the task as it's a bit beyond my expertise
Working:
* Sides Count : Controls number of sides of Baluster (ex: 4 sides for square, 2 sides for thin glass panels, 32 sides for circular ... etc.)
* Handrail Width : Controls width of upper Handrail.
* Foot Depth : Controls depth of footing under first step.
* Baluster Gap : Controls spacing between balusters.
Need to be completed
-Left Stringer Thickness
-Right Stringer Thickness
-Handrail Bracket Diameter
-Handrail Bracket Height
If interested drop me a line and I'll send the updated version.
https://imgur.com/a/b6tn0jG
Windows 64bit | Intel i7 | 8GB Ram | SH3D 7.5 + Plugins
Re: Staircase generator plug-in
Windows 64bit | Intel i7 | 8GB Ram | SH3D 7.5 + Plugins
Re: Staircase generator plug-in
Could someone verify this?
With this input data:

I have this output for cut out shape

I suppose the problem is between lines 1149~1156
It happened only in this range 90~180 degrees with inner radius > half pole.
As you can see there is a lot of math which I don't know.
Any opinion (or help) is highly appreciated.
Thanks in advance!
With this input data:

I have this output for cut out shape

I suppose the problem is between lines 1149~1156
Code: Select all
} else if (spiralStaircaseAngle <= Math.PI) {
float width = (1 - cosAngle) * spiralStairOuterRadius;
float height = spiralStairOuterRadius + treadDelta;
cutOutShape = "M 1," + (height - treadDelta) / height
+ " A " + spiralStairOuterRadius / width + "," + (height - treadDelta) / height + " 1 0,0 0," + (1 - sinAngle)
+ " L " + cosAngle * (spiralStairInnerRadius - spiralStairOuterRadius) / width + "," + (spiralStairOuterRadius - sinAngle * spiralStairInnerRadius) / height
+ " A " + spiralStairInnerRadius / width + "," + spiralStairInnerRadius / height + " 1 0,1 "
+ -cosAngle * (spiralStairOuterRadius + spiralStairInnerRadius) / width + "," + (height - treadDelta) / height
+ " z";As you can see there is a lot of math which I don't know.
Any opinion (or help) is highly appreciated.
Thanks in advance!
A computer program does what you tell it to do, not what you want it to do. Murphy's Law
When all else fails, read the instructions. Murphy's Law
If you don't like "AS IS", DIY. Dorin's law
When all else fails, read the instructions. Murphy's Law
If you don't like "AS IS", DIY. Dorin's law
- Daniels118
- Posts: 503
- Joined: Wed Nov 17, 2021 9:04 pm
- Country: Italy
Re: Staircase generator plug-in
What measurement is "half pole"?
Re: Staircase generator plug-in
Hi Daniele,
At line 1078
At line 2246~2249
In my sample Thickness = 1.5 cm. (default value)
That mean half pole = 1.5*5/2=3.75 cm.
If inner radius is bigger than half pole the plugin will don't compute an cylindrical pole but a hole in the center of the spiral staircase.
In the part for generating cut out shape strings this two cases are treated separated.
The major problem is with the end point of the second arc.
In some circumstances even the end point of the first arc is not quite accurate.
A workaround is to set the X of the end point of the second arc like:
At line 1078
Code: Select all
float poleWidth = getDefaultPoleWidth(StaircaseType.ROUND_SPIRAL, treadThickness, treadThickness);At line 2246~2249
Code: Select all
private static float getDefaultPoleWidth(StaircaseType staircaseType,
float stringerThickness, float handrailWidth) {
return 5 * stringerThickness;
}That mean half pole = 1.5*5/2=3.75 cm.
If inner radius is bigger than half pole the plugin will don't compute an cylindrical pole but a hole in the center of the spiral staircase.
In the part for generating cut out shape strings this two cases are treated separated.
The major problem is with the end point of the second arc.
In some circumstances even the end point of the first arc is not quite accurate.
A workaround is to set the X of the end point of the second arc like:
Code: Select all
(width-(spiralStairOuterRadius - spiralStairInnerRadius)) / widthA computer program does what you tell it to do, not what you want it to do. Murphy's Law
When all else fails, read the instructions. Murphy's Law
If you don't like "AS IS", DIY. Dorin's law
When all else fails, read the instructions. Murphy's Law
If you don't like "AS IS", DIY. Dorin's law
Who is online
Users browsing this forum: No registered users and 1 guest