Commits

iorodeo  committed 7099558

Fixe bug in newly created example.

  • Participants
  • Parent commits 3c4c318

Comments (0)

Files changed (1)

File examples/cylinder_w_hole.py

 from py2scad import *
 
 cyl = Cylinder(h=5,r1=1,r2=1)
+hole = Cylinder(h=3,r1=0.2,r2=0.2)
 if 1:
-    hole = Cylinder(h=3,r1=0.2,r2=0.2)
+    hole = Rotate(hole, v=[1,0,0],a=90) 
 else:
     # Show hole making cylinder in tranparent pink
     hole = Rotate(hole, v=[1,0,0],a=90,mod='#')