| 
									
										
										
										
											2025-05-16 16:22:50 -07:00
										 |  |  | --- | 
					
						
							|  |  |  | source: kcl-lib/src/simulation_tests.rs | 
					
						
							|  |  |  | description: Operations executed subtract_with_pattern_cut_thru.kcl | 
					
						
							|  |  |  | --- | 
					
						
							|  |  |  | [ | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     "type": "StdLibCall", | 
					
						
							| 
									
										
										
										
											2025-05-19 16:50:15 +12:00
										 |  |  |     "name": "startSketchOn", | 
					
						
							| 
									
										
										
										
											2025-05-16 16:22:50 -07:00
										 |  |  |     "unlabeledArg": { | 
					
						
							|  |  |  |       "value": { | 
					
						
							|  |  |  |         "type": "Plane", | 
					
						
							|  |  |  |         "artifact_id": "[uuid]" | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |       "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-05-19 16:50:15 +12:00
										 |  |  |     }, | 
					
						
							|  |  |  |     "labeledArgs": {}, | 
					
						
							|  |  |  |     "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-05-16 16:22:50 -07:00
										 |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							| 
									
										
										
										
											2025-05-19 16:50:15 +12:00
										 |  |  |     "type": "StdLibCall", | 
					
						
							|  |  |  |     "name": "extrude", | 
					
						
							|  |  |  |     "unlabeledArg": { | 
					
						
							|  |  |  |       "value": { | 
					
						
							|  |  |  |         "type": "Sketch", | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "artifactId": "[uuid]" | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |       "sourceRange": [] | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2025-05-16 16:22:50 -07:00
										 |  |  |     "labeledArgs": { | 
					
						
							|  |  |  |       "length": { | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "type": "Number", | 
					
						
							|  |  |  |           "value": 500.0, | 
					
						
							|  |  |  |           "ty": { | 
					
						
							|  |  |  |             "type": "Default", | 
					
						
							|  |  |  |             "len": { | 
					
						
							|  |  |  |               "type": "Mm" | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  |             "angle": { | 
					
						
							|  |  |  |               "type": "Degrees" | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "sourceRange": [] | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2025-05-19 16:50:15 +12:00
										 |  |  |     "sourceRange": [] | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							| 
									
										
										
										
											2025-05-16 16:22:50 -07:00
										 |  |  |     "type": "StdLibCall", | 
					
						
							| 
									
										
										
										
											2025-05-19 16:50:15 +12:00
										 |  |  |     "name": "startSketchOn", | 
					
						
							| 
									
										
										
										
											2025-05-16 16:22:50 -07:00
										 |  |  |     "unlabeledArg": { | 
					
						
							|  |  |  |       "value": { | 
					
						
							| 
									
										
										
										
											2025-05-19 16:50:15 +12:00
										 |  |  |         "type": "Plane", | 
					
						
							|  |  |  |         "artifact_id": "[uuid]" | 
					
						
							| 
									
										
										
										
											2025-05-16 16:22:50 -07:00
										 |  |  |       }, | 
					
						
							|  |  |  |       "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-05-19 16:50:15 +12:00
										 |  |  |     }, | 
					
						
							|  |  |  |     "labeledArgs": {}, | 
					
						
							|  |  |  |     "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-05-16 16:22:50 -07:00
										 |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     "type": "StdLibCall", | 
					
						
							| 
									
										
										
										
											2025-05-19 16:50:15 +12:00
										 |  |  |     "name": "extrude", | 
					
						
							| 
									
										
										
										
											2025-05-16 16:22:50 -07:00
										 |  |  |     "unlabeledArg": { | 
					
						
							|  |  |  |       "value": { | 
					
						
							| 
									
										
										
										
											2025-05-19 16:50:15 +12:00
										 |  |  |         "type": "Sketch", | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "artifactId": "[uuid]" | 
					
						
							|  |  |  |         } | 
					
						
							| 
									
										
										
										
											2025-05-16 16:22:50 -07:00
										 |  |  |       }, | 
					
						
							|  |  |  |       "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-05-19 16:50:15 +12:00
										 |  |  |     }, | 
					
						
							| 
									
										
										
										
											2025-05-16 16:22:50 -07:00
										 |  |  |     "labeledArgs": { | 
					
						
							|  |  |  |       "length": { | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "type": "Number", | 
					
						
							|  |  |  |           "value": 50.0, | 
					
						
							|  |  |  |           "ty": { | 
					
						
							|  |  |  |             "type": "Default", | 
					
						
							|  |  |  |             "len": { | 
					
						
							|  |  |  |               "type": "Mm" | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  |             "angle": { | 
					
						
							|  |  |  |               "type": "Degrees" | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "sourceRange": [] | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2025-05-19 16:50:15 +12:00
										 |  |  |     "sourceRange": [] | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							| 
									
										
										
										
											2025-05-16 16:22:50 -07:00
										 |  |  |     "type": "StdLibCall", | 
					
						
							| 
									
										
										
										
											2025-05-19 16:50:15 +12:00
										 |  |  |     "name": "patternLinear3d", | 
					
						
							| 
									
										
										
										
											2025-05-16 16:22:50 -07:00
										 |  |  |     "unlabeledArg": { | 
					
						
							|  |  |  |       "value": { | 
					
						
							| 
									
										
										
										
											2025-05-19 16:50:15 +12:00
										 |  |  |         "type": "Solid", | 
					
						
							| 
									
										
										
										
											2025-05-16 16:22:50 -07:00
										 |  |  |         "value": { | 
					
						
							|  |  |  |           "artifactId": "[uuid]" | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |       "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-05-19 16:50:15 +12:00
										 |  |  |     }, | 
					
						
							| 
									
										
										
										
											2025-05-16 16:22:50 -07:00
										 |  |  |     "labeledArgs": { | 
					
						
							|  |  |  |       "axis": { | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "type": "Array", | 
					
						
							|  |  |  |           "value": [ | 
					
						
							|  |  |  |             { | 
					
						
							|  |  |  |               "type": "Number", | 
					
						
							|  |  |  |               "value": 0.0, | 
					
						
							|  |  |  |               "ty": { | 
					
						
							|  |  |  |                 "type": "Default", | 
					
						
							|  |  |  |                 "len": { | 
					
						
							|  |  |  |                   "type": "Mm" | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |                 "angle": { | 
					
						
							|  |  |  |                   "type": "Degrees" | 
					
						
							|  |  |  |                 } | 
					
						
							|  |  |  |               } | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  |             { | 
					
						
							|  |  |  |               "type": "Number", | 
					
						
							|  |  |  |               "value": 0.0, | 
					
						
							|  |  |  |               "ty": { | 
					
						
							|  |  |  |                 "type": "Default", | 
					
						
							|  |  |  |                 "len": { | 
					
						
							|  |  |  |                   "type": "Mm" | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |                 "angle": { | 
					
						
							|  |  |  |                   "type": "Degrees" | 
					
						
							|  |  |  |                 } | 
					
						
							|  |  |  |               } | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  |             { | 
					
						
							|  |  |  |               "type": "Number", | 
					
						
							|  |  |  |               "value": 1.0, | 
					
						
							|  |  |  |               "ty": { | 
					
						
							|  |  |  |                 "type": "Default", | 
					
						
							|  |  |  |                 "len": { | 
					
						
							|  |  |  |                   "type": "Mm" | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |                 "angle": { | 
					
						
							|  |  |  |                   "type": "Degrees" | 
					
						
							|  |  |  |                 } | 
					
						
							|  |  |  |               } | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           ] | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "sourceRange": [] | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |       "distance": { | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "type": "Number", | 
					
						
							|  |  |  |           "value": 80.0, | 
					
						
							|  |  |  |           "ty": { | 
					
						
							|  |  |  |             "type": "Default", | 
					
						
							|  |  |  |             "len": { | 
					
						
							|  |  |  |               "type": "Mm" | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  |             "angle": { | 
					
						
							|  |  |  |               "type": "Degrees" | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "sourceRange": [] | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |       "instances": { | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "type": "Number", | 
					
						
							|  |  |  |           "value": 5.0, | 
					
						
							|  |  |  |           "ty": { | 
					
						
							|  |  |  |             "type": "Default", | 
					
						
							|  |  |  |             "len": { | 
					
						
							|  |  |  |               "type": "Mm" | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  |             "angle": { | 
					
						
							|  |  |  |               "type": "Degrees" | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "sourceRange": [] | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2025-05-19 16:50:15 +12:00
										 |  |  |     "sourceRange": [] | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							| 
									
										
										
										
											2025-05-16 16:22:50 -07:00
										 |  |  |     "type": "StdLibCall", | 
					
						
							| 
									
										
										
										
											2025-05-19 16:50:15 +12:00
										 |  |  |     "name": "subtract", | 
					
						
							| 
									
										
										
										
											2025-05-16 16:22:50 -07:00
										 |  |  |     "unlabeledArg": { | 
					
						
							|  |  |  |       "value": { | 
					
						
							| 
									
										
										
										
											2025-05-19 16:50:15 +12:00
										 |  |  |         "type": "Array", | 
					
						
							|  |  |  |         "value": [ | 
					
						
							|  |  |  |           { | 
					
						
							|  |  |  |             "type": "Solid", | 
					
						
							|  |  |  |             "value": { | 
					
						
							|  |  |  |               "artifactId": "[uuid]" | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         ] | 
					
						
							| 
									
										
										
										
											2025-05-16 16:22:50 -07:00
										 |  |  |       }, | 
					
						
							|  |  |  |       "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-05-19 16:50:15 +12:00
										 |  |  |     }, | 
					
						
							| 
									
										
										
										
											2025-05-16 16:22:50 -07:00
										 |  |  |     "labeledArgs": { | 
					
						
							|  |  |  |       "tools": { | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "type": "Array", | 
					
						
							|  |  |  |           "value": [ | 
					
						
							|  |  |  |             { | 
					
						
							|  |  |  |               "type": "Array", | 
					
						
							|  |  |  |               "value": [ | 
					
						
							|  |  |  |                 { | 
					
						
							|  |  |  |                   "type": "Solid", | 
					
						
							|  |  |  |                   "value": { | 
					
						
							|  |  |  |                     "artifactId": "[uuid]" | 
					
						
							|  |  |  |                   } | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |                 { | 
					
						
							|  |  |  |                   "type": "Solid", | 
					
						
							|  |  |  |                   "value": { | 
					
						
							|  |  |  |                     "artifactId": "[uuid]" | 
					
						
							|  |  |  |                   } | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |                 { | 
					
						
							|  |  |  |                   "type": "Solid", | 
					
						
							|  |  |  |                   "value": { | 
					
						
							|  |  |  |                     "artifactId": "[uuid]" | 
					
						
							|  |  |  |                   } | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |                 { | 
					
						
							|  |  |  |                   "type": "Solid", | 
					
						
							|  |  |  |                   "value": { | 
					
						
							|  |  |  |                     "artifactId": "[uuid]" | 
					
						
							|  |  |  |                   } | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |                 { | 
					
						
							|  |  |  |                   "type": "Solid", | 
					
						
							|  |  |  |                   "value": { | 
					
						
							|  |  |  |                     "artifactId": "[uuid]" | 
					
						
							|  |  |  |                   } | 
					
						
							|  |  |  |                 } | 
					
						
							|  |  |  |               ] | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           ] | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "sourceRange": [] | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2025-05-19 16:50:15 +12:00
										 |  |  |     "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-05-16 16:22:50 -07:00
										 |  |  |   } | 
					
						
							|  |  |  | ] |