mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-03 13:27:29 +02:00
update comment
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
module ellipse_extrude(semi_minor_axis, height, center = false, convexity = 10, twist = 0, slices = 20) {
|
module ellipse_extrude(semi_minor_axis, height, center = false, convexity = 10, twist = 0, slices = 20) {
|
||||||
h = height == undef ? semi_minor_axis : (
|
h = height == undef ? semi_minor_axis : (
|
||||||
// `semi_minor_axis` is always equal to or greater than than `height`.
|
// `semi_minor_axis` is always equal to or greater than `height`.
|
||||||
height > semi_minor_axis ? semi_minor_axis : height
|
height > semi_minor_axis ? semi_minor_axis : height
|
||||||
);
|
);
|
||||||
angle = asin(h / semi_minor_axis) / slices;
|
angle = asin(h / semi_minor_axis) / slices;
|
||||||
|
Reference in New Issue
Block a user