Greetings To CadQuery Mailing List,
In my CQ script bwy_TrackSlab.py the call to function cq.Wire.assembleEdges(...) fails. The track slab is to be an extruded concrete shape on which bicycle tires roll.
I attach:
(1) a (rough) sketch illustrating the relevant connected edge structure: BRW5C61991A4442_000164.pdf
(2) bwy_TrackSlab.py
* * *
* * *
I suspect the cq.Wire.assembleEdges(...) failure could be due to mis-match of an edge end point with the edge start point of the next edge in the edge sequence.
Inside the python script that makes the track slab solid, this is the function call that fails:
...
# make extrusion wire.
ts_extrusion_wire = cq.Wire.assembleEdges(ts_extrsn_edge_lst)
...
==> here is the relevant error log selection (emphasis added):
...
[10:34:01] ERROR: Uncaught exception occurred
Traceback (most recent call last):
File "cq_editor/widgets/debugger.py", line 309, in render
File "cq_editor/widgets/debugger.py", line 230, in _exec
File "<cq_editor-string>", line 1031, in <module>
File "<cq_editor-string>", line 172, in makeTrackSlab
File "<cq_editor-string>", line 418, in doTrackSlab
File "cadquery/occ_impl/shapes.py", line 2770, in assembleEdges
OCP.OCP.StdFail.StdFail_NotDone: BRep_API: command not done
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "cq_editor/widgets/traceback_viewer.py", line 73, in addTraceback
IndexError: list index out of range
[10:34:01] ERROR: Uncaught exception occurred
Traceback (most recent call last):
File "cq_editor/widgets/debugger.py", line 309, in render
File "cq_editor/widgets/debugger.py", line 230, in _exec
File "<cq_editor-string>", line 1031, in <module>
File "<cq_editor-string>", line 172, in makeTrackSlab
File "<cq_editor-string>", line 418, in doTrackSlab
File "cadquery/occ_impl/shapes.py", line 2770, in assembleEdges
OCP.OCP.StdFail.StdFail_NotDone: BRep_API: command not done
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "cq_editor/widgets/traceback_viewer.py", line 73, in addTraceback
IndexError: list index out of range
...
* * *
* * *
I am writing a python script that will analyze alignment of edge end points with matching edge start points.
My question to the CadQuery Mailing List: Does OCP tolerate "slight" mis-matches between edge end points and matching edge start points ?? Or must the x,y,z co-ordinates of the matching edge end and edge start points be exactly equal ??
Steve Petrie