|
Sweet Home 3D Forum » List all forums » » Forum: New versions » » » Thread: Staircase generator plug-in » » » » Post: Re: Staircase generator plug-in |
Print at Dec 17, 2025, 1:43:23 PM |
| Posted by dorin at Feb 4, 2025, 8:23:35 PM |
|
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,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 |
|
|
Current timezone is GMT Dec 17, 2025, 1:43:23 PM |