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 ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 78882 times and has 54 replies Next Thread
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

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, 10: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: 627
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, 6: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: 627
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, 9:07:19 AM]
[Feb 5, 2025, 9: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: 627
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, 5: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: 449
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, 6: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 
Posts: 55   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