cadquery icon indicating copy to clipboard operation
cadquery copied to clipboard

WIP: non-blocking show using trame/vtk

Open adam-urbanczyk opened this issue 7 months ago • 12 comments

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()

image

adam-urbanczyk avatar Mar 10 '25 07:03 adam-urbanczyk