Print at Dec 16, 2025, 11:27:29 AM
Posts: 55   Pages: 6   [ Previous Page | 1 2 3 4 5 6 ]
View all posts in this thread on one page
Posted by Daniels118 at Feb 4, 2025, 10:59:59 PM
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:


Posted by dorin at Feb 5, 2025, 6:32:42 AM
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

Posted by dorin at Feb 5, 2025, 9:05:48 AM
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

Posted by dorin at Feb 5, 2025, 5:01:27 PM
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

Posted by Daniels118 at Feb 5, 2025, 6:01:02 PM
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! :)

Posts: 55   Pages: 6   [ Previous Page | 1 2 3 4 5 6 ]