.. 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.
4 lines
151 B
Text
4 lines
151 B
Text
e = Edge().createEllipse(center=(0.,0.,0.),normal=(0.,0.,1.), rMajor = .5, rMinor=.2)
|
|
f = Face().createFace(e)
|
|
Revolve(f, (1.,0.,0.), (1.,1.,0.), 90)
|
|
|