bernhard-42 / jupyter-cadquery

An extension to render cadquery objects in JupyterLab via pythreejs
Apache License 2.0
327 stars 45 forks source link

measure distance between 2 faces or 2 solids #101

Open shimwell opened 1 year ago

shimwell commented 1 year ago

Thanks for creating Jupyter CadQuery

Just wondering if there is any scope to add a measurement feature that allows one to measure between two faces.

Many thanks

shimwell commented 1 year ago

I see we have the bounding box of all the solids, so perhaps this is easier to get distance between solids

bernhard-42 commented 1 year ago

we are currently trying to add a measurement feature to https://github.com/bernhard-42/vscode-ocp-cad-viewer. The next version of Jupyter Cadquery will be based on the same projects like vscode-ocp-cad-viewer. However, this will still take some time

shimwell commented 1 year ago

Very nice, I shall keep any eye on that repo. Thanks for letting me know