openscad / openscad

OpenSCAD - The Programmers Solid 3D CAD Modeller
https://www.openscad.org
Other
7.02k stars 1.21k forks source link

Add pitch argument to roof #5354

Open MethylBromide opened 3 weeks ago

MethylBromide commented 3 weeks ago

Is your feature request related to a problem? Please describe. About 80% of the time, when I use roof, I then need to scale the result because I didn't want a 45 degree slope. It's not immediately obvious what scaling factor to use to get a desired slope angle. It's a PITA for each developer to have to figure out that formula and keep track of it.

Describe the solution you'd like Could we please have a pitch argument, default value 45, to have the function do that math? It's just to scale Z by tan of the desired angle, but again, not obvious to the typical user.

Describe alternatives you've considered Wrote my own roof module to keep track of the formula for this.

kintel commented 3 weeks ago

Note: roof() has fallen out of maintenance and needs significant love to survive: https://github.com/openscad/openscad/labels/Feature%3A%20Roof

gsohler commented 3 weeks ago

I think that Roof IS still Working and i would regret seeing it Leave. I need IT for my Greensand Molds.

Marius Kintel @.***> schrieb am Fr., 4. Okt. 2024, 16:46:

Note: roof() has fallen out of maintenance and needs significant love to survive: Feature: Roof https://github.com/openscad/openscad/labels/Feature%3A%20Roof

— Reply to this email directly, view it on GitHub https://github.com/openscad/openscad/issues/5354#issuecomment-2393881053, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCO4MS54C5IYKLQL7VNORDZZ2S3RAVCNFSM6AAAAABPL5DYNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJTHA4DCMBVGM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

MethylBromide commented 3 weeks ago

Please don't let it fade away. It's super useful and I don't know an alternative.