mirror of
https://github.com/gumyr/build123d.git
synced 2026-01-04 08:12:40 -08:00
Convert Shape methods to properties: is_null, is_valid, shape_type
This commit is contained in:
parent
f445de32c9
commit
560a5369b7
14 changed files with 75 additions and 82 deletions
|
|
@ -59,7 +59,7 @@ class TestSolid(unittest.TestCase):
|
|||
box = Solid(box_shell)
|
||||
self.assertAlmostEqual(box.area, 6, 5)
|
||||
self.assertAlmostEqual(box.volume, 1, 5)
|
||||
self.assertTrue(box.is_valid())
|
||||
self.assertTrue(box.is_valid)
|
||||
|
||||
def test_extrude(self):
|
||||
v = Edge.extrude(Vertex(1, 1, 1), (0, 0, 1))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue