use import_step as a global function

This commit is contained in:
Bernhard 2023-03-26 13:32:21 +02:00
parent 4d47247459
commit 4ff05ad4ea

View file

@ -222,7 +222,7 @@ with BuildPart() as lid_builder:
lid = lid_builder.part
# [A screw to attach the hinge to the box]
m6_screw = Compound.import_step("M6-1x12-countersunk-screw.step")
m6_screw = import_step("M6-1x12-countersunk-screw.step")
m6_joint = RigidJoint("head", m6_screw, Location((0, 0, 0), (0, 0, 0)))
# [End of screw creation]