mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 02:30:55 -08:00
Added Compound constructor and deprecated make_compound Issue #523
This commit is contained in:
parent
e6b9ca6e66
commit
d520fc40da
15 changed files with 182 additions and 83 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue