| 
									
										
										
										
											2025-03-27 18:48:55 -04:00
										 |  |  | --- | 
					
						
							|  |  |  | source: kcl-lib/src/simulation_tests.rs | 
					
						
							|  |  |  | description: Operations executed union_cubes.kcl | 
					
						
							|  |  |  | --- | 
					
						
							|  |  |  | [ | 
					
						
							|  |  |  |   { | 
					
						
							| 
									
										
										
										
											2025-05-02 16:08:12 -05:00
										 |  |  |     "labeledArgs": {}, | 
					
						
							| 
									
										
										
										
											2025-04-29 06:38:52 -07:00
										 |  |  |     "name": "startSketchOn", | 
					
						
							|  |  |  |     "sourceRange": [], | 
					
						
							|  |  |  |     "type": "StdLibCall", | 
					
						
							| 
									
										
										
										
											2025-05-02 16:08:12 -05:00
										 |  |  |     "unlabeledArg": { | 
					
						
							|  |  |  |       "value": { | 
					
						
							|  |  |  |         "type": "Plane", | 
					
						
							|  |  |  |         "artifact_id": "[uuid]" | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |       "sourceRange": [] | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2025-03-27 18:48:55 -04:00
										 |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							| 
									
										
										
										
											2025-05-02 16:08:12 -05:00
										 |  |  |     "labeledArgs": {}, | 
					
						
							| 
									
										
										
										
											2025-03-27 18:48:55 -04:00
										 |  |  |     "name": "startSketchOn", | 
					
						
							|  |  |  |     "sourceRange": [], | 
					
						
							|  |  |  |     "type": "StdLibCall", | 
					
						
							| 
									
										
										
										
											2025-05-02 16:08:12 -05:00
										 |  |  |     "unlabeledArg": { | 
					
						
							|  |  |  |       "value": { | 
					
						
							|  |  |  |         "type": "Plane", | 
					
						
							|  |  |  |         "artifact_id": "[uuid]" | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |       "sourceRange": [] | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2025-03-27 18:48:55 -04:00
										 |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     "labeledArgs": { | 
					
						
							|  |  |  |       "length": { | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "type": "Number", | 
					
						
							| 
									
										
										
										
											2025-04-10 18:30:57 -07:00
										 |  |  |           "value": 20.0, | 
					
						
							| 
									
										
										
										
											2025-03-27 18:48:55 -04:00
										 |  |  |           "ty": { | 
					
						
							|  |  |  |             "type": "Default", | 
					
						
							|  |  |  |             "len": { | 
					
						
							|  |  |  |               "type": "Mm" | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  |             "angle": { | 
					
						
							|  |  |  |               "type": "Degrees" | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "sourceRange": [] | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     "name": "extrude", | 
					
						
							|  |  |  |     "sourceRange": [], | 
					
						
							|  |  |  |     "type": "StdLibCall", | 
					
						
							|  |  |  |     "unlabeledArg": { | 
					
						
							|  |  |  |       "value": { | 
					
						
							|  |  |  |         "type": "Sketch", | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "artifactId": "[uuid]" | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |       "sourceRange": [] | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     "labeledArgs": { | 
					
						
							|  |  |  |       "length": { | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "type": "Number", | 
					
						
							|  |  |  |           "value": 10.0, | 
					
						
							|  |  |  |           "ty": { | 
					
						
							|  |  |  |             "type": "Default", | 
					
						
							|  |  |  |             "len": { | 
					
						
							|  |  |  |               "type": "Mm" | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  |             "angle": { | 
					
						
							|  |  |  |               "type": "Degrees" | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "sourceRange": [] | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     "name": "extrude", | 
					
						
							|  |  |  |     "sourceRange": [], | 
					
						
							|  |  |  |     "type": "StdLibCall", | 
					
						
							|  |  |  |     "unlabeledArg": { | 
					
						
							|  |  |  |       "value": { | 
					
						
							|  |  |  |         "type": "Sketch", | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "artifactId": "[uuid]" | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |       "sourceRange": [] | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							| 
									
										
										
										
											2025-04-29 06:38:52 -07:00
										 |  |  |     "type": "GroupBegin", | 
					
						
							|  |  |  |     "group": { | 
					
						
							|  |  |  |       "type": "FunctionCall", | 
					
						
							|  |  |  |       "name": "cube", | 
					
						
							|  |  |  |       "functionSourceRange": [], | 
					
						
							|  |  |  |       "unlabeledArg": null, | 
					
						
							| 
									
										
										
										
											2025-05-01 11:36:51 -05:00
										 |  |  |       "labeledArgs": { | 
					
						
							|  |  |  |         "pos": { | 
					
						
							|  |  |  |           "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" | 
					
						
							|  |  |  |                   } | 
					
						
							|  |  |  |                 } | 
					
						
							|  |  |  |               } | 
					
						
							|  |  |  |             ] | 
					
						
							|  |  |  |           }, | 
					
						
							|  |  |  |           "sourceRange": [] | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "scale": { | 
					
						
							|  |  |  |           "value": { | 
					
						
							|  |  |  |             "type": "Number", | 
					
						
							|  |  |  |             "value": 10.0, | 
					
						
							|  |  |  |             "ty": { | 
					
						
							|  |  |  |               "type": "Default", | 
					
						
							|  |  |  |               "len": { | 
					
						
							|  |  |  |                 "type": "Mm" | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               "angle": { | 
					
						
							|  |  |  |                 "type": "Degrees" | 
					
						
							|  |  |  |               } | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           }, | 
					
						
							|  |  |  |           "sourceRange": [] | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       } | 
					
						
							| 
									
										
										
										
											2025-04-29 06:38:52 -07:00
										 |  |  |     }, | 
					
						
							|  |  |  |     "sourceRange": [] | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     "type": "GroupBegin", | 
					
						
							|  |  |  |     "group": { | 
					
						
							|  |  |  |       "type": "FunctionCall", | 
					
						
							|  |  |  |       "name": "cube", | 
					
						
							|  |  |  |       "functionSourceRange": [], | 
					
						
							|  |  |  |       "unlabeledArg": null, | 
					
						
							| 
									
										
										
										
											2025-05-01 11:36:51 -05:00
										 |  |  |       "labeledArgs": { | 
					
						
							|  |  |  |         "pos": { | 
					
						
							|  |  |  |           "value": { | 
					
						
							|  |  |  |             "type": "Array", | 
					
						
							|  |  |  |             "value": [ | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "type": "Number", | 
					
						
							|  |  |  |                 "value": 7.0, | 
					
						
							|  |  |  |                 "ty": { | 
					
						
							|  |  |  |                   "type": "Default", | 
					
						
							|  |  |  |                   "len": { | 
					
						
							|  |  |  |                     "type": "Mm" | 
					
						
							|  |  |  |                   }, | 
					
						
							|  |  |  |                   "angle": { | 
					
						
							|  |  |  |                     "type": "Degrees" | 
					
						
							|  |  |  |                   } | 
					
						
							|  |  |  |                 } | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "type": "Number", | 
					
						
							|  |  |  |                 "value": 3.0, | 
					
						
							|  |  |  |                 "ty": { | 
					
						
							|  |  |  |                   "type": "Default", | 
					
						
							|  |  |  |                   "len": { | 
					
						
							|  |  |  |                     "type": "Mm" | 
					
						
							|  |  |  |                   }, | 
					
						
							|  |  |  |                   "angle": { | 
					
						
							|  |  |  |                     "type": "Degrees" | 
					
						
							|  |  |  |                   } | 
					
						
							|  |  |  |                 } | 
					
						
							|  |  |  |               } | 
					
						
							|  |  |  |             ] | 
					
						
							|  |  |  |           }, | 
					
						
							|  |  |  |           "sourceRange": [] | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "scale": { | 
					
						
							|  |  |  |           "value": { | 
					
						
							|  |  |  |             "type": "Number", | 
					
						
							|  |  |  |             "value": 5.0, | 
					
						
							|  |  |  |             "ty": { | 
					
						
							|  |  |  |               "type": "Default", | 
					
						
							|  |  |  |               "len": { | 
					
						
							|  |  |  |                 "type": "Mm" | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               "angle": { | 
					
						
							|  |  |  |                 "type": "Degrees" | 
					
						
							|  |  |  |               } | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           }, | 
					
						
							|  |  |  |           "sourceRange": [] | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       } | 
					
						
							| 
									
										
										
										
											2025-04-29 06:38:52 -07:00
										 |  |  |     }, | 
					
						
							|  |  |  |     "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-03-27 18:48:55 -04:00
										 |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							| 
									
										
										
										
											2025-05-02 16:08:12 -05:00
										 |  |  |     "labeledArgs": {}, | 
					
						
							| 
									
										
										
										
											2025-03-27 18:48:55 -04:00
										 |  |  |     "name": "union", | 
					
						
							|  |  |  |     "sourceRange": [], | 
					
						
							|  |  |  |     "type": "StdLibCall", | 
					
						
							| 
									
										
										
										
											2025-05-02 16:08:12 -05:00
										 |  |  |     "unlabeledArg": { | 
					
						
							|  |  |  |       "value": { | 
					
						
							|  |  |  |         "type": "Array", | 
					
						
							|  |  |  |         "value": [ | 
					
						
							|  |  |  |           { | 
					
						
							|  |  |  |             "type": "Solid", | 
					
						
							|  |  |  |             "value": { | 
					
						
							|  |  |  |               "artifactId": "[uuid]" | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           }, | 
					
						
							|  |  |  |           { | 
					
						
							|  |  |  |             "type": "Solid", | 
					
						
							|  |  |  |             "value": { | 
					
						
							|  |  |  |               "artifactId": "[uuid]" | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         ] | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |       "sourceRange": [] | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2025-04-29 06:38:52 -07:00
										 |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     "type": "GroupEnd" | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     "type": "GroupEnd" | 
					
						
							| 
									
										
										
										
											2025-03-27 18:48:55 -04:00
										 |  |  |   } | 
					
						
							|  |  |  | ] |