Convenience methods for cylinders

This commit is contained in:
Elod Csirmaz 2023-12-10 23:41:28 +00:00
parent 1981dcf420
commit 787a3689e0
3 changed files with 96 additions and 22 deletions

7
test.py Normal file
View file

@ -0,0 +1,7 @@
from openscad_py import Cube, Cylinder
print(Cube([1,1,1]).render())
print(Cylinder(h=5, r=2).render())
print(Cylinder.from_ends(2, [0,0,0], [1,0,0]).render())