Alternatively, when passing the coordinates used to define the wires to
surf_edges, and coordinates at the midpoint between these edges to
surf_pts, and using a thickness of zero,
face = cq.Solid.interpPlate(surface_edges, surface_pts, 0)
I receive the following error:
Traceback (most recent call last):
File "/home/camoreno/Research/magnets_cq/magnets_from_wires.py", line 119, in <module>
face = cq.Solid.interpPlate(
^^^^^^^^^^^^^^^^^^^^^
File "/home/camoreno/miniforge3/envs/parastell_env/lib/python3.11/site-packages/cadquery/utils.py", line 41, in wrapped
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/home/camoreno/miniforge3/envs/parastell_env/lib/python3.11/site-packages/cadquery/occ_impl/shapes.py", line 3025, in interpPlate
face = Face.makeNSidedSurface(
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/camoreno/miniforge3/envs/parastell_env/lib/python3.11/site-packages/cadquery/occ_impl/shapes.py", line 2512, in makeNSidedSurface
face = n_sided.Shape()
^^^^^^^^^^^^^^^
OCP.StdFail.StdFail_NotDone: BRep_API: command not done