@@ -580,7 +580,11 @@ def cut(
580
580
"Tool" : tool ,
581
581
"Refine" : refine ,
582
582
"Color" : color ,
583
- "Placement" : {"Position" : [0 , 0 , 0 ], "Axis" : [0 , 0 , 1 ], "Angle" : 0 },
583
+ "Placement" : {
584
+ "Position" : position ,
585
+ "Axis" : rotation_axis ,
586
+ "Angle" : rotation_angle ,
587
+ },
584
588
},
585
589
}
586
590
self .set_visible (base , False )
@@ -623,7 +627,12 @@ def fuse(
623
627
"parameters" : {
624
628
"Shapes" : [shape1 , shape2 ],
625
629
"Refine" : refine ,
626
- "Placement" : {"Position" : [0 , 0 , 0 ], "Axis" : [0 , 0 , 1 ], "Angle" : 0 },
630
+ "Color" : color ,
631
+ "Placement" : {
632
+ "Position" : position ,
633
+ "Axis" : rotation_axis ,
634
+ "Angle" : rotation_angle ,
635
+ },
627
636
},
628
637
}
629
638
self .set_visible (shape1 , False )
@@ -667,7 +676,12 @@ def intersect(
667
676
"parameters" : {
668
677
"Shapes" : [shape1 , shape2 ],
669
678
"Refine" : refine ,
670
- "Placement" : {"Position" : [0 , 0 , 0 ], "Axis" : [0 , 0 , 1 ], "Angle" : 0 },
679
+ "Color" : color ,
680
+ "Placement" : {
681
+ "Position" : position ,
682
+ "Axis" : rotation_axis ,
683
+ "Angle" : rotation_angle ,
684
+ },
671
685
},
672
686
}
673
687
self .set_visible (shape1 , False )
@@ -712,7 +726,12 @@ def chamfer(
712
726
"Base" : shape ,
713
727
"Edge" : edge ,
714
728
"Dist" : dist ,
715
- "Placement" : {"Position" : [0 , 0 , 0 ], "Axis" : [0 , 0 , 1 ], "Angle" : 0 },
729
+ "Color" : color ,
730
+ "Placement" : {
731
+ "Position" : position ,
732
+ "Axis" : rotation_axis ,
733
+ "Angle" : rotation_angle ,
734
+ },
716
735
},
717
736
}
718
737
self .set_visible (shape , False )
@@ -756,7 +775,12 @@ def fillet(
756
775
"Base" : shape ,
757
776
"Edge" : edge ,
758
777
"Radius" : radius ,
759
- "Placement" : {"Position" : [0 , 0 , 0 ], "Axis" : [0 , 0 , 1 ], "Angle" : 0 },
778
+ "Color" : color ,
779
+ "Placement" : {
780
+ "Position" : position ,
781
+ "Axis" : rotation_axis ,
782
+ "Angle" : rotation_angle ,
783
+ },
760
784
},
761
785
}
762
786
self .set_visible (shape , False )
0 commit comments