| 
									
										
										
										
											2024-12-16 13:10:31 -05:00
										 |  |  | --- | 
					
						
							| 
									
										
										
										
											2025-03-12 14:05:18 -04:00
										 |  |  | source: kcl-lib/src/simulation_tests.rs | 
					
						
							| 
									
										
										
										
											2024-12-16 13:10:31 -05:00
										 |  |  | description: Operations executed riddle_small.kcl | 
					
						
							|  |  |  | --- | 
					
						
							|  |  |  | [ | 
					
						
							|  |  |  |   { | 
					
						
							| 
									
										
										
										
											2025-04-03 22:10:39 -04:00
										 |  |  |     "type": "GroupBegin", | 
					
						
							|  |  |  |     "group": { | 
					
						
							|  |  |  |       "type": "FunctionCall", | 
					
						
							|  |  |  |       "name": "t", | 
					
						
							| 
									
										
										
										
											2025-04-28 14:20:38 +12:00
										 |  |  |       "functionSourceRange": [], | 
					
						
							| 
									
										
										
										
											2025-05-02 16:08:12 -05:00
										 |  |  |       "unlabeledArg": { | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "type": "Number", | 
					
						
							|  |  |  |           "value": 205804.0, | 
					
						
							|  |  |  |           "ty": { | 
					
						
							|  |  |  |             "type": "Default", | 
					
						
							|  |  |  |             "len": { | 
					
						
							|  |  |  |               "type": "Mm" | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  |             "angle": { | 
					
						
							|  |  |  |               "type": "Degrees" | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "sourceRange": [] | 
					
						
							|  |  |  |       }, | 
					
						
							| 
									
										
										
										
											2025-04-03 22:10:39 -04:00
										 |  |  |       "labeledArgs": {} | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2025-06-05 12:24:34 -04:00
										 |  |  |     "nodePath": { | 
					
						
							|  |  |  |       "steps": [ | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |           "type": "ProgramBodyItem", | 
					
						
							|  |  |  |           "index": 4 | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |           "type": "VariableDeclarationDeclaration" | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |           "type": "VariableDeclarationInit" | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |           "type": "BinaryRight" | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |           "type": "BinaryLeft" | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       ] | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |     "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2024-12-16 13:10:31 -05:00
										 |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							| 
									
										
										
										
											2025-04-03 22:10:39 -04:00
										 |  |  |     "type": "GroupBegin", | 
					
						
							|  |  |  |     "group": { | 
					
						
							|  |  |  |       "type": "FunctionCall", | 
					
						
							|  |  |  |       "name": "t", | 
					
						
							| 
									
										
										
										
											2025-04-28 14:20:38 +12:00
										 |  |  |       "functionSourceRange": [], | 
					
						
							| 
									
										
										
										
											2025-05-02 16:08:12 -05:00
										 |  |  |       "unlabeledArg": { | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "type": "Number", | 
					
						
							|  |  |  |           "value": 71816.0, | 
					
						
							|  |  |  |           "ty": { | 
					
						
							|  |  |  |             "type": "Default", | 
					
						
							|  |  |  |             "len": { | 
					
						
							|  |  |  |               "type": "Mm" | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  |             "angle": { | 
					
						
							|  |  |  |               "type": "Degrees" | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "sourceRange": [] | 
					
						
							|  |  |  |       }, | 
					
						
							| 
									
										
										
										
											2025-04-03 22:10:39 -04:00
										 |  |  |       "labeledArgs": {} | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2025-06-05 12:24:34 -04:00
										 |  |  |     "nodePath": { | 
					
						
							|  |  |  |       "steps": [ | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |           "type": "ProgramBodyItem", | 
					
						
							|  |  |  |           "index": 5 | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |           "type": "VariableDeclarationDeclaration" | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |           "type": "VariableDeclarationInit" | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |           "type": "BinaryRight" | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |           "type": "BinaryLeft" | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       ] | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |     "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2024-12-16 13:10:31 -05:00
										 |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     "type": "StdLibCall", | 
					
						
							| 
									
										
										
										
											2025-05-19 16:50:15 +12:00
										 |  |  |     "name": "startSketchOn", | 
					
						
							| 
									
										
										
										
											2025-05-02 16:08:12 -05:00
										 |  |  |     "unlabeledArg": { | 
					
						
							|  |  |  |       "value": { | 
					
						
							|  |  |  |         "type": "Plane", | 
					
						
							|  |  |  |         "artifact_id": "[uuid]" | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |       "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-05-19 16:50:15 +12:00
										 |  |  |     }, | 
					
						
							|  |  |  |     "labeledArgs": {}, | 
					
						
							| 
									
										
										
										
											2025-06-05 12:24:34 -04:00
										 |  |  |     "nodePath": { | 
					
						
							|  |  |  |       "steps": [ | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |           "type": "ProgramBodyItem", | 
					
						
							|  |  |  |           "index": 6 | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |           "type": "VariableDeclarationDeclaration" | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |           "type": "VariableDeclarationInit" | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |           "type": "PipeBodyItem", | 
					
						
							|  |  |  |           "index": 0 | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       ] | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2025-05-19 16:50:15 +12:00
										 |  |  |     "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2024-12-16 13:10:31 -05:00
										 |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							| 
									
										
										
										
											2025-05-19 16:50:15 +12:00
										 |  |  |     "type": "StdLibCall", | 
					
						
							|  |  |  |     "name": "extrude", | 
					
						
							|  |  |  |     "unlabeledArg": { | 
					
						
							|  |  |  |       "value": { | 
					
						
							|  |  |  |         "type": "Sketch", | 
					
						
							|  |  |  |         "value": { | 
					
						
							|  |  |  |           "artifactId": "[uuid]" | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |       "sourceRange": [] | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2024-12-16 13:10:31 -05:00
										 |  |  |     "labeledArgs": { | 
					
						
							|  |  |  |       "length": { | 
					
						
							| 
									
										
										
										
											2025-02-21 10:24:12 -05:00
										 |  |  |         "value": { | 
					
						
							|  |  |  |           "type": "Number", | 
					
						
							|  |  |  |           "value": 1.0, | 
					
						
							|  |  |  |           "ty": { | 
					
						
							|  |  |  |             "type": "Default", | 
					
						
							|  |  |  |             "len": { | 
					
						
							|  |  |  |               "type": "Mm" | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  |             "angle": { | 
					
						
							|  |  |  |               "type": "Degrees" | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |         "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2024-12-16 13:10:31 -05:00
										 |  |  |       } | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2025-06-05 12:24:34 -04:00
										 |  |  |     "nodePath": { | 
					
						
							|  |  |  |       "steps": [ | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |           "type": "ProgramBodyItem", | 
					
						
							|  |  |  |           "index": 6 | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |           "type": "VariableDeclarationDeclaration" | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |           "type": "VariableDeclarationInit" | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |           "type": "PipeBodyItem", | 
					
						
							|  |  |  |           "index": 6 | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       ] | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2025-05-19 16:50:15 +12:00
										 |  |  |     "sourceRange": [] | 
					
						
							| 
									
										
										
										
											2025-04-29 06:38:52 -07:00
										 |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     "type": "GroupEnd" | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     "type": "GroupEnd" | 
					
						
							| 
									
										
										
										
											2024-12-16 13:10:31 -05:00
										 |  |  |   } | 
					
						
							|  |  |  | ] |