コード例 #1
0
 def get_shape():
     shape = BRepPrimAPI_MakeBox(10., 10., 10.).Shape()
     self.assertEqual(shape.IsNull(), False)
     return shape
コード例 #2
0
 def get_shape() -> TopoDS_Shape:
     shape = BRepPrimAPI_MakeBox(10.0, 10.0, 10.0).Shape()
     self.assertEqual(shape.IsNull(), False)
     return shape