import py2rhino as p2r
print p2r._version
p1 = (0,0,0)
p2 = (10,0,0)
p3 = (10,10,0)
p4 = (0,10,0)
p5 = (0,0,10)
p6 = (10,0,10)
p7 = (10,10,30)
p8 = (0,10,30)
corner_points = (p1,p2,p3,p4,p5,p6,p7,p8)
box = p2r.obj.Box.create(corner_points)
sph = p2r.obj.Sphere.create((5,5,5), 5)
sph.defm.box_morph(corner_points, True)
Thursday, August 27, 2009
Deform a sphere
This one needs to be update with getting the bounding box... (coming soon)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment