Lorenz

Results 139 comments of Lorenz

I'm looking for a way to preserve a custom zoom and viewer position on `clear` all. Could there be an option for that? Say I'm iterating in ipython repeating runs...

Try copy: ```py import cadquery as cq import copy sk1 = cq.Sketch().segment((0, 0), (0.25, 1)).segment((1, 2)) sk2 = copy.copy(sk1) sk1.assemble() ``` or using `compound`: ```py import cadquery as cq from...

You could also visualize the list of edges directly in CQ-Editor or with cadquery.vis: ```py sk1 = cq.Sketch().segment((0, 0), (0.25, 1)).segment((1, 2)) edges_list = sk1.vals() sk1.assemble() show_object(edges_list) ```

I had some interest in a VTK.js based viewer (maybe as a separate project not built-in to CadQuery). I suppose the viewer could be implemented in other frameworks so Trame...

I reproduced the error with master and OCP 7.8.1.1. As a workaround you might try the following. Note also that the `Solid.interpPlate` is deprecated. ```py from cadquery.func import * pts1...

>Note also that the Solid.interpPlate is deprecated. Nevermind, you're calling the `Workplane` method which uses `Face.makeNSidedSurface`.

The original code works after changing with `degree=2` to `degree=3` (degree=2 also results in error in the free func version). I don't think it's a CQ issue.

I noticed some corruption in the Sphinx docs for new Workplane special methods. It's important to add empty line separating the field list in the docstring. ![image](https://github.com/user-attachments/assets/acede26f-0bcb-42f5-a529-fa395658e0a0)

I can reproduce the issue without cadquery (with same trace). This hangs: ``` lorenzn@fedora:/tmp/1799$ uname -a Linux fedora 6.13.7-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Mar 13 17:46:13 UTC 2025 x86_64 GNU/Linux...