Staircase generator plug-in

This topic has been viewed 1147926 times and has 72 replies
Thread status: Active
Test the features and bug fixes of future versions [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
User avatar
Daniels118
Posts: 503
Joined: Wed Nov 17, 2021 9:04 pm
Country: Italy

Re: Staircase generator plug-in

Post by Daniels118 »

Parenthesis at wrong position at line 1154. Here's the correct way:

Code: Select all

+ " A " + spiralStairInnerRadius / width + "," + spiralStairInnerRadius / height + " 1 0,1 " + (-cosAngle * spiralStairOuterRadius + spiralStairInnerRadius) / width + "," + (height - treadDelta) / height
Joke:
Image
User avatar
dorin
Posts: 824
Joined: Thu Apr 24, 2014 9:14 am
Country: Vatra Dornei, Suceava, Romania

Re: Staircase generator plug-in

Post by dorin »

1) Thanks! I will test it today.
2) The joke is a test. There is at least 10 differences.
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
User avatar
dorin
Posts: 824
Joined: Thu Apr 24, 2014 9:14 am
Country: Vatra Dornei, Suceava, Romania

Re: Staircase generator plug-in

Post by dorin »

1) Of course it work!
2) +2. Probably that's all.
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
User avatar
dorin
Posts: 824
Joined: Thu Apr 24, 2014 9:14 am
Country: Vatra Dornei, Suceava, Romania

Re: Staircase generator plug-in

Post by dorin »

1) There is another line to be corrected in the plugin: 1325

Code: Select all

- float cosSpiralStairAngle = (float)Math.sin(spiralStairAngle);
with

Code: Select all

+ float cosSpiralStairAngle = (float)Math.cos(spiralStairAngle);

2) Uh, the age. It's more.
Image
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
User avatar
Daniels118
Posts: 503
Joined: Wed Nov 17, 2021 9:04 pm
Country: Italy

Re: Staircase generator plug-in

Post by Daniels118 »

1) Glad it works!
2) The joke was about finding small unnoticeable differences, like the position of a parenthesis in a formula, or a "sin" that should be a "cos". Well, you got the point! :)
User avatar
Xlance
Posts: 122
Joined: Mon Mar 23, 2020 8:36 am

Re: Staircase generator plug-in

Post by Xlance »

Hello all
If anyone is interested in refining/ improving the upgraded version of Staircase Generator plugin (7000 lines of cide) , please PM

It goes without saying that he /she must know java and sweethome api very well 😀

Windows 64bit | Intel i7 | 8GB Ram | SH3D 7.5 + Plugins
User avatar
Xlance
Posts: 122
Joined: Mon Mar 23, 2020 8:36 am

Re: Staircase generator plug-in

Post by Xlance »

Work in Progress
Introducing advanced Midrails and custom 3D Midrails

https://freeimage.host/i/fNp9rGa

Windows 64bit | Intel i7 | 8GB Ram | SH3D 7.5 + Plugins
User avatar
Xlance
Posts: 122
Joined: Mon Mar 23, 2020 8:36 am

Re: Staircase generator plug-in

Post by Xlance »

Work in Progress
Introducing closed Staircase and custom Mid pole

https://freeimage.host/i/fNpFZu4

Windows 64bit | Intel i7 | 8GB Ram | SH3D 7.5 + Plugins
User avatar
Xlance
Posts: 122
Joined: Mon Mar 23, 2020 8:36 am

Re: Staircase generator plug-in

Post by Xlance »

Work in Progress
Introducing 16 flights Staircase with custom Handrail, custom Balusters, custom Midrails and custom corner Poles.

https://freeimage.host/i/fOH3yOJ

Windows 64bit | Intel i7 | 8GB Ram | SH3D 7.5 + Plugins
User avatar
Xlance
Posts: 122
Joined: Mon Mar 23, 2020 8:36 am

Advanced Staircase generator plug-in v4.0

Post by Xlance »

The Staircase Generator is a plug-in designed for Sweet Home 3D that allows users to create highly customizable 3D staircases. The tool features a comprehensive parameters menu for fine-tuning dimensions, structural elements, handrails, and midrails. It also includes an integrated 2D Shape Designer for creating custom handrail profiles.

Real-World Application: Whether you are an interior designer pitching a sleek, modern glass-railing loft, or an architect ensuring a multi-story traditional home meets building codes, this plug-in provides the exact geometrical control you need.

https://sourceforge.net/p/sweethome3d/plug-ins/60/

Windows 64bit | Intel i7 | 8GB Ram | SH3D 7.5 + Plugins
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest