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: 56
Posts: 56   Pages: 6   [ Previous Page | 1 2 3 4 5 6 ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 113580 times and has 55 replies Next Thread
Daniels118
Advanced Member
Member's Avatar

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

Parenthesis at wrong position at line 1154. Here's the correct way:
+ " A " + spiralStairInnerRadius / width + "," + spiralStairInnerRadius / height + " 1 0,1 " + (-cosAngle * spiralStairOuterRadius + spiralStairInnerRadius) / width + "," + (height - treadDelta) / height

Joke:

[Feb 4, 2025, 11:59:59 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: 722
Status: Offline
Reply to this Post  Reply with Quote 
Re: Staircase generator plug-in

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
[Feb 5, 2025, 7:32: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: 722
Status: Offline
Reply to this Post  Reply with Quote 
Re: Staircase generator plug-in

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
----------------------------------------
[Edit 1 times, last edit by dorin at Feb 5, 2025, 10:07:19 AM]
[Feb 5, 2025, 10:05:48 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: 722
Status: Offline
Reply to this Post  Reply with Quote 
Re: Staircase generator plug-in

1) There is another line to be corrected in the plugin: 1325
- float cosSpiralStairAngle = (float)Math.sin(spiralStairAngle);
with
+ float cosSpiralStairAngle = (float)Math.cos(spiralStairAngle);

2) Uh, the age. It's more.

----------------------------------------
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 5, 2025, 6:01:27 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: 483
Status: Offline
Reply to this Post  Reply with Quote 
Re: Staircase generator plug-in

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! :)
[Feb 5, 2025, 7:01:02 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
Member
Member's Avatar


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

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
[Sep 25, 2025, 10:41:43 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: 56   Pages: 6   [ Previous Page | 1 2 3 4 5 6 ]
[ 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