Added Compound constructor and deprecated make_compound Issue #523

This commit is contained in:
gumyr 2024-02-02 09:22:52 -05:00
parent e6b9ca6e66
commit d520fc40da
15 changed files with 182 additions and 83 deletions

View file

@ -17,7 +17,7 @@ class TestPersistence(unittest.TestCase):
wire = Wire.make_circle(10)
face = Face.make_rect(10, 5)
solid = Solid.make_box(10, 5, 2)
compound = Compound.make_compound([edge, wire, face, solid])
compound = Compound([edge, wire, face, solid])
buffer = serialize_shape(edge.wrapped)
retrived_edge = deserialize_shape(buffer)