| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  | --- | 
					
						
							|  |  |  | source: kcl-lib/src/simulation_tests.rs | 
					
						
							|  |  |  | description: Operations executed scale_after_fillet.kcl | 
					
						
							|  |  |  | --- | 
					
						
							|  |  |  | [ | 
					
						
							|  |  |  |   { | 
					
						
							| 
									
										
										
										
											2025-04-03 22:10:39 -04:00
										 |  |  |     "type": "GroupBegin", | 
					
						
							|  |  |  |     "group": { | 
					
						
							|  |  |  |       "type": "FunctionCall", | 
					
						
							|  |  |  |       "name": "cos", | 
					
						
							|  |  |  |       "functionSourceRange": [ | 
					
						
							|  |  |  |         0, | 
					
						
							|  |  |  |         0, | 
					
						
							|  |  |  |         0 | 
					
						
							|  |  |  |       ], | 
					
						
							|  |  |  |       "unlabeledArg": null, | 
					
						
							|  |  |  |       "labeledArgs": {} | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |     "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							| 
									
										
										
										
											2025-04-03 22:10:39 -04:00
										 |  |  |     "type": "GroupEnd" | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							| 
									
										
										
										
											2025-04-03 22:10:39 -04:00
										 |  |  |     "type": "GroupBegin", | 
					
						
							|  |  |  |     "group": { | 
					
						
							|  |  |  |       "type": "FunctionCall", | 
					
						
							|  |  |  |       "name": "bolt", | 
					
						
							|  |  |  |       "functionSourceRange": [ | 
					
						
							|  |  |  |         264, | 
					
						
							|  |  |  |         1573, | 
					
						
							|  |  |  |         0 | 
					
						
							|  |  |  |       ], | 
					
						
							|  |  |  |       "unlabeledArg": null, | 
					
						
							|  |  |  |       "labeledArgs": {} | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |     "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     "labeledArgs": { | 
					
						
							|  |  |  |       "data": { | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "type": "String", | 
					
						
							|  |  |  |           "value": "XZ" | 
					
						
							|  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |         "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |       } | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     "name": "startSketchOn", | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |     "sourceRange": [], | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |     "type": "StdLibCall", | 
					
						
							|  |  |  |     "unlabeledArg": null | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     "labeledArgs": { | 
					
						
							|  |  |  |       "length": { | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "type": "Number", | 
					
						
							|  |  |  |           "value": -0.625, | 
					
						
							|  |  |  |           "ty": { | 
					
						
							|  |  |  |             "type": "Default", | 
					
						
							|  |  |  |             "len": { | 
					
						
							|  |  |  |               "type": "Mm" | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  |             "angle": { | 
					
						
							|  |  |  |               "type": "Degrees" | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |         "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |       } | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     "name": "extrude", | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |     "sourceRange": [], | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |     "type": "StdLibCall", | 
					
						
							|  |  |  |     "unlabeledArg": { | 
					
						
							|  |  |  |       "value": { | 
					
						
							|  |  |  |         "type": "Sketch", | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "artifactId": "[uuid]" | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       }, | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |       "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |     } | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     "labeledArgs": { | 
					
						
							|  |  |  |       "radius": { | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "type": "Number", | 
					
						
							|  |  |  |           "value": 0.02, | 
					
						
							|  |  |  |           "ty": { | 
					
						
							|  |  |  |             "type": "Default", | 
					
						
							|  |  |  |             "len": { | 
					
						
							|  |  |  |               "type": "Mm" | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  |             "angle": { | 
					
						
							|  |  |  |               "type": "Degrees" | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |         "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |       }, | 
					
						
							|  |  |  |       "tags": { | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "type": "Array", | 
					
						
							|  |  |  |           "value": [ | 
					
						
							|  |  |  |             { | 
					
						
							|  |  |  |               "type": "TagIdentifier", | 
					
						
							|  |  |  |               "value": "topEdge", | 
					
						
							|  |  |  |               "artifact_id": "[uuid]" | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  |             { | 
					
						
							|  |  |  |               "type": "Uuid", | 
					
						
							|  |  |  |               "value": "[uuid]" | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           ] | 
					
						
							|  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |         "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |       } | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     "name": "fillet", | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |     "sourceRange": [], | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |     "type": "StdLibCall", | 
					
						
							|  |  |  |     "unlabeledArg": { | 
					
						
							|  |  |  |       "value": { | 
					
						
							|  |  |  |         "type": "Solid", | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "artifactId": "[uuid]" | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       }, | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |       "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |     } | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     "labeledArgs": { | 
					
						
							|  |  |  |       "data": { | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "type": "Solid", | 
					
						
							|  |  |  |           "value": { | 
					
						
							|  |  |  |             "artifactId": "[uuid]" | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |         "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |       }, | 
					
						
							|  |  |  |       "tag": { | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "type": "String", | 
					
						
							|  |  |  |           "value": "start" | 
					
						
							|  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |         "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |       } | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     "name": "startSketchOn", | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |     "sourceRange": [], | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |     "type": "StdLibCall", | 
					
						
							|  |  |  |     "unlabeledArg": null | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     "labeledArgs": { | 
					
						
							|  |  |  |       "length": { | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "type": "Number", | 
					
						
							|  |  |  |           "value": -0.46875, | 
					
						
							|  |  |  |           "ty": { | 
					
						
							| 
									
										
										
										
											2025-04-07 16:13:15 +12:00
										 |  |  |             "type": "Default", | 
					
						
							|  |  |  |             "len": { | 
					
						
							|  |  |  |               "type": "Mm" | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  |             "angle": { | 
					
						
							|  |  |  |               "type": "Degrees" | 
					
						
							|  |  |  |             } | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |           } | 
					
						
							|  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |         "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |       } | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     "name": "extrude", | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |     "sourceRange": [], | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |     "type": "StdLibCall", | 
					
						
							|  |  |  |     "unlabeledArg": { | 
					
						
							|  |  |  |       "value": { | 
					
						
							|  |  |  |         "type": "Sketch", | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "artifactId": "[uuid]" | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       }, | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |       "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |     } | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     "labeledArgs": { | 
					
						
							|  |  |  |       "data": { | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "type": "Solid", | 
					
						
							|  |  |  |           "value": { | 
					
						
							|  |  |  |             "artifactId": "[uuid]" | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |         "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |       }, | 
					
						
							|  |  |  |       "tag": { | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "type": "String", | 
					
						
							|  |  |  |           "value": "end" | 
					
						
							|  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |         "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |       } | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     "name": "startSketchOn", | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |     "sourceRange": [], | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |     "type": "StdLibCall", | 
					
						
							|  |  |  |     "unlabeledArg": null | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     "labeledArgs": { | 
					
						
							|  |  |  |       "length": { | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "type": "Number", | 
					
						
							|  |  |  |           "value": 2.5, | 
					
						
							|  |  |  |           "ty": { | 
					
						
							|  |  |  |             "type": "Default", | 
					
						
							|  |  |  |             "len": { | 
					
						
							|  |  |  |               "type": "Mm" | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  |             "angle": { | 
					
						
							|  |  |  |               "type": "Degrees" | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |         "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |       } | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     "name": "extrude", | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |     "sourceRange": [], | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |     "type": "StdLibCall", | 
					
						
							|  |  |  |     "unlabeledArg": { | 
					
						
							|  |  |  |       "value": { | 
					
						
							|  |  |  |         "type": "Sketch", | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "artifactId": "[uuid]" | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       }, | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |       "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |     } | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     "labeledArgs": { | 
					
						
							|  |  |  |       "radius": { | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "type": "Number", | 
					
						
							|  |  |  |           "value": 0.02, | 
					
						
							|  |  |  |           "ty": { | 
					
						
							|  |  |  |             "type": "Default", | 
					
						
							|  |  |  |             "len": { | 
					
						
							|  |  |  |               "type": "Mm" | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  |             "angle": { | 
					
						
							|  |  |  |               "type": "Degrees" | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |         "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |       }, | 
					
						
							|  |  |  |       "tags": { | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "type": "Array", | 
					
						
							|  |  |  |           "value": [ | 
					
						
							|  |  |  |             { | 
					
						
							|  |  |  |               "type": "Uuid", | 
					
						
							|  |  |  |               "value": "[uuid]" | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           ] | 
					
						
							|  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |         "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |       } | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     "name": "fillet", | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |     "sourceRange": [], | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |     "type": "StdLibCall", | 
					
						
							|  |  |  |     "unlabeledArg": { | 
					
						
							|  |  |  |       "value": { | 
					
						
							|  |  |  |         "type": "Solid", | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "artifactId": "[uuid]" | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       }, | 
					
						
							| 
									
										
										
										
											2025-03-19 16:43:10 -07:00
										 |  |  |       "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |     } | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							| 
									
										
										
										
											2025-04-03 22:10:39 -04:00
										 |  |  |     "type": "GroupEnd" | 
					
						
							| 
									
										
										
										
											2025-03-19 12:28:56 -07:00
										 |  |  |   } | 
					
						
							|  |  |  | ] |