Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 55
Posts: 55   Pages: 6   [ Previous Page | 1 2 3 4 5 6 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 78870 times and has 54 replies Next Thread
dorin
Advanced Member
Member's Avatar

Romania
Joined: Apr 24, 2014
Post Count: 627
Status: Offline
Reply to this Post  Reply with Quote 
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.
----------------------------------------
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
[Jan 18, 2024, 6:43:11 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
kregai
Newbie



India
Joined: Mar 7, 2024
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
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.
[Mar 7, 2024, 11:43:11 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
greatway
Newbie



United Arab Emirates
Joined: Jun 23, 2024
Post Count: 2
Status: Offline
Reply to this Post  Reply with Quote 
Re: Staircase generator plug-in

thank you :)
[Jul 21, 2024, 8:37:58 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Segadreamer
Newbie



España
Joined: Jul 23, 2024
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
Re: Staircase generator plug-in

Just came to say thank you!!
[Jul 24, 2024, 9:59:40 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
rococo22
Newbie




Joined: Oct 7, 2024
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
Re: Staircase generator plug-in

Thank you for this!!!
[Oct 8, 2024, 7:46:01 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Xlance
Newbie
Member's Avatar


Joined: Mar 23, 2020
Post Count: 19
Status: Offline
Reply to this Post  Reply with Quote 
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
----------------------------------------
Windows 64bit | Intel i7 | 8GB Ram | SH3D 7.2 + Plugins
[Nov 18, 2024, 8:43:16 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Xlance
Newbie
Member's Avatar


Joined: Mar 23, 2020
Post Count: 19
Status: Offline
Reply to this Post  Reply with Quote 
Re: Staircase generator plug-in

OR simply download the plugin from:

https://www.mediafire.com/file/mzhxnv1ngwfl3d...Generator-1.1.0.sh3p/file
----------------------------------------
Windows 64bit | Intel i7 | 8GB Ram | SH3D 7.2 + Plugins
[Nov 18, 2024, 8:46:42 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
dorin
Advanced Member
Member's Avatar

Romania
Joined: Apr 24, 2014
Post Count: 627
Status: Offline
Reply to this Post  Reply with Quote 
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

} 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";

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!
----------------------------------------
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
[Feb 3, 2025, 6:08:06 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Daniels118
Advanced Member
Member's Avatar

Italy
Joined: Nov 17, 2021
Post Count: 449
Status: Offline
Reply to this Post  Reply with Quote 
Re: Staircase generator plug-in

What measurement is "half pole"?
[Feb 4, 2025, 5:39:51 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
dorin
Advanced Member
Member's Avatar

Romania
Joined: Apr 24, 2014
Post Count: 627
Status: Offline
Reply to this Post  Reply with Quote 
Re: Staircase generator plug-in

Hi Daniele,
At line 1078
float poleWidth = getDefaultPoleWidth(StaircaseType.ROUND_SPIRAL, treadThickness, treadThickness);

At line 2246~2249
private static float getDefaultPoleWidth(StaircaseType staircaseType,
float stringerThickness, float handrailWidth) {
return 5 * stringerThickness;
}

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:
(width-(spiralStairOuterRadius - spiralStairInnerRadius)) / width

----------------------------------------
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
[Feb 4, 2025, 8:23:35 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 55   Pages: 6   [ Previous Page | 1 2 3 4 5 6 | Next Page ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved