cadquery
cadquery copied to clipboard
WIP: non-blocking show using trame/vtk
Closes #1784 (?)
API:
from cadquery.fig import Figure
from cadquery.func import sphere, torus
# this starts a server and opens a browser tab
fig = Figure()
# we can use show, the API is fluent
fig.show(torus(10, 2), color='violet').show(sphere(5))
# zoom to fit
fig.fit()
# clear
fig.clear()