mirror of
https://github.com/jdegenstein/jmwright-CQ-Editor.git
synced 2025-12-19 22:24:19 +01:00
build123d compat
This commit is contained in:
@@ -69,7 +69,7 @@ def to_compound(
|
||||
and hasattr(obj[0]._obj, "wrapped")
|
||||
and isinstance(obj[0]._obj.wrapped, TopoDS_Shape)
|
||||
):
|
||||
vals.append(cq.Shape.cast(obj._obj.wrapped))
|
||||
vals.append(o for o in obj)
|
||||
elif isinstance(obj, cq.Sketch):
|
||||
if obj._faces:
|
||||
vals.append(obj._faces)
|
||||
|
||||
Reference in New Issue
Block a user