218 lines
		
	
	
		
			4.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			218 lines
		
	
	
		
			4.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
|   | --- | ||
|  | source: kcl-lib/src/simulation_tests.rs | ||
|  | description: Operations executed subtract_regression04.kcl | ||
|  | --- | ||
|  | [ | ||
|  |   { | ||
|  |     "labeledArgs": {}, | ||
|  |     "name": "startSketchOn", | ||
|  |     "sourceRange": [], | ||
|  |     "type": "StdLibCall", | ||
|  |     "unlabeledArg": { | ||
|  |       "value": { | ||
|  |         "type": "Plane", | ||
|  |         "artifact_id": "[uuid]" | ||
|  |       }, | ||
|  |       "sourceRange": [] | ||
|  |     } | ||
|  |   }, | ||
|  |   { | ||
|  |     "type": "KclStdLibCall", | ||
|  |     "name": "revolve", | ||
|  |     "unlabeledArg": { | ||
|  |       "value": { | ||
|  |         "type": "Array", | ||
|  |         "value": [ | ||
|  |           { | ||
|  |             "type": "Sketch", | ||
|  |             "value": { | ||
|  |               "artifactId": "[uuid]" | ||
|  |             } | ||
|  |           } | ||
|  |         ] | ||
|  |       }, | ||
|  |       "sourceRange": [] | ||
|  |     }, | ||
|  |     "labeledArgs": { | ||
|  |       "angle": { | ||
|  |         "value": { | ||
|  |           "type": "Number", | ||
|  |           "value": 360.0, | ||
|  |           "ty": { | ||
|  |             "type": "Default", | ||
|  |             "len": { | ||
|  |               "type": "Inches" | ||
|  |             }, | ||
|  |             "angle": { | ||
|  |               "type": "Degrees" | ||
|  |             } | ||
|  |           } | ||
|  |         }, | ||
|  |         "sourceRange": [] | ||
|  |       }, | ||
|  |       "axis": { | ||
|  |         "value": { | ||
|  |           "type": "Object", | ||
|  |           "value": { | ||
|  |             "direction": { | ||
|  |               "type": "Array", | ||
|  |               "value": [ | ||
|  |                 { | ||
|  |                   "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" | ||
|  |                     } | ||
|  |                   } | ||
|  |                 } | ||
|  |               ] | ||
|  |             }, | ||
|  |             "origin": { | ||
|  |               "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": [] | ||
|  |       } | ||
|  |     }, | ||
|  |     "sourceRange": [] | ||
|  |   }, | ||
|  |   { | ||
|  |     "labeledArgs": {}, | ||
|  |     "name": "startSketchOn", | ||
|  |     "sourceRange": [], | ||
|  |     "type": "StdLibCall", | ||
|  |     "unlabeledArg": { | ||
|  |       "value": { | ||
|  |         "type": "Plane", | ||
|  |         "artifact_id": "[uuid]" | ||
|  |       }, | ||
|  |       "sourceRange": [] | ||
|  |     } | ||
|  |   }, | ||
|  |   { | ||
|  |     "labeledArgs": { | ||
|  |       "bidirectionalLength": { | ||
|  |         "value": { | ||
|  |           "type": "Number", | ||
|  |           "value": 0.6, | ||
|  |           "ty": { | ||
|  |             "type": "Default", | ||
|  |             "len": { | ||
|  |               "type": "Inches" | ||
|  |             }, | ||
|  |             "angle": { | ||
|  |               "type": "Degrees" | ||
|  |             } | ||
|  |           } | ||
|  |         }, | ||
|  |         "sourceRange": [] | ||
|  |       }, | ||
|  |       "length": { | ||
|  |         "value": { | ||
|  |           "type": "Number", | ||
|  |           "value": 0.6, | ||
|  |           "ty": { | ||
|  |             "type": "Default", | ||
|  |             "len": { | ||
|  |               "type": "Inches" | ||
|  |             }, | ||
|  |             "angle": { | ||
|  |               "type": "Degrees" | ||
|  |             } | ||
|  |           } | ||
|  |         }, | ||
|  |         "sourceRange": [] | ||
|  |       } | ||
|  |     }, | ||
|  |     "name": "extrude", | ||
|  |     "sourceRange": [], | ||
|  |     "type": "StdLibCall", | ||
|  |     "unlabeledArg": { | ||
|  |       "value": { | ||
|  |         "type": "Array", | ||
|  |         "value": [ | ||
|  |           { | ||
|  |             "type": "Sketch", | ||
|  |             "value": { | ||
|  |               "artifactId": "[uuid]" | ||
|  |             } | ||
|  |           } | ||
|  |         ] | ||
|  |       }, | ||
|  |       "sourceRange": [] | ||
|  |     } | ||
|  |   }, | ||
|  |   { | ||
|  |     "labeledArgs": { | ||
|  |       "tools": { | ||
|  |         "value": { | ||
|  |           "type": "Solid", | ||
|  |           "value": { | ||
|  |             "artifactId": "[uuid]" | ||
|  |           } | ||
|  |         }, | ||
|  |         "sourceRange": [] | ||
|  |       } | ||
|  |     }, | ||
|  |     "name": "subtract", | ||
|  |     "sourceRange": [], | ||
|  |     "type": "StdLibCall", | ||
|  |     "unlabeledArg": { | ||
|  |       "value": { | ||
|  |         "type": "Solid", | ||
|  |         "value": { | ||
|  |           "artifactId": "[uuid]" | ||
|  |         } | ||
|  |       }, | ||
|  |       "sourceRange": [] | ||
|  |     } | ||
|  |   } | ||
|  | ] |