mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-17 14:18:13 +01:00
678 B
678 B
ellipse
Creates an ellipse.
Parameters
axes
: 2 element vector[x, y]
where x is the semi-major axis and y is the semi-minor axis.$fa
,$fs
,$fn
: The shape created by this module can be viewd asresize([x, y]) circle(r = x)
(but not the real implementation inside the module) so you can use these global variables to control it. Check the circle module for more details.
Examples
include <ellipse.scad>;
ellipse([40, 20]);
include <ellipse.scad>;
$fn = 8;
ellipse([20, 40]);