.. this requires reverting to python2 due to lack of python3 vtk packages in debian stretch. pythonocc-core is much more verbose, but it exposes the whole oce API to Python, which means that I'm not stuck when I want to expose something not in occmodel. I hope that it's a better way forward.
5 lines
216 B
Text
5 lines
216 B
Text
e1 = Edge().createCircle(center=(.25,0.,0.),normal=(-.25,0.,1.),radius = .25)
|
|
e2 = Edge().createCircle(center=(.25,0.,.5),normal=(0.,.25,1.),radius = .5)
|
|
v1 = Vertex(.25,0.,1.)
|
|
|
|
Loft((e1, Wire.createWire((e2)), v1))
|