feat: integrate SimpleCADAPI 2.0.2 CAD workflows

This commit is contained in:
Jerry
2026-08-03 11:17:05 +08:00
parent b5738e9109
commit c3a0f269b7
481 changed files with 110229 additions and 12826 deletions
+6
View File
@@ -151,6 +151,12 @@ class TestBallBearingAssembly(unittest.TestCase):
self.assertIn("make_revolute_constraint_rassembly", ops)
self.assertEqual(ops.count("make_forward_connector_rassembly"), 2)
self.assertIn("make_compound_from_assembly_rcompound", ops)
stdlib_nodes = [
node
for node in payload["graph"]["nodes"]
if node["op"] != "make_compound_from_assembly_rcompound"
]
self.assertTrue(all("topo_delta" not in node for node in stdlib_nodes))
def test_inferred_ball_count_is_recorded(self):
bearing = scad.std.bearing.make_ball_bearing_rassembly(