* wip * sketch a bit more; going to pull this out of tests next * wip * lock start things * this was a bad idea * Revert "this was a bad idea" This reverts commita2092e7ed6. * prepare prelude before spawning * error * poop * yike * :( * ok * Reapply "this was a bad idea" This reverts commitfafdf41093. * chip away more * man this is bad * fix rebase add feature flag Signed-off-by: Jess Frazelle <github@jessfraz.com> * get rid of execution kind Signed-off-by: Jess Frazelle <github@jessfraz.com> * clippy Signed-off-by: Jess Frazelle <github@jessfraz.com> * logs Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * no extra executes Signed-off-by: Jess Frazelle <github@jessfraz.com> * race w batch Signed-off-by: Jess Frazelle <github@jessfraz.com> * cluppy Signed-off-by: Jess Frazelle <github@jessfraz.com> * no printlns Signed-off-by: Jess Frazelle <github@jessfraz.com> * no printlns Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix source ranges Signed-off-by: Jess Frazelle <github@jessfraz.com> * batch shit Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix some bugs Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix error Signed-off-by: Jess Frazelle <github@jessfraz.com> * cut 1 * preserve mem * re-ad deep_clone the helper we were calling was pushing a new call, which was hanging out. we can skip the middleman since we already have something properly prepared, just without a stdlib in some cases. * skip non-kcl * clean up source range bug * error message changed the uuids also changed because the error is hit before execute even starts. * typo * rensnapshot a few * order things * MAYBE REVERT LATER: attempt at an ordering * snapsnap * Revert "snapsnap" This reverts commit7350b32c7d. * Revert "MAYBE REVERT LATER:" This reverts commitab49f3e85f. * ugh * poop * poop2 * lint * tranche 1 * more * more snaps * snap * more * update * MAYBE REVERT THIS * cache multi-file Signed-off-by: Jess Frazelle <github@jessfraz.com> * addd tests Signed-off-by: Jess Frazelle <github@jessfraz.com> * set to false Signed-off-by: Jess Frazelle <github@jessfraz.com> * add test outputs Signed-off-by: Jess Frazelle <github@jessfraz.com> * clippy Signed-off-by: Jess Frazelle <github@jessfraz.com> * kcl-py-bindings uses carwheel Signed-off-by: Jess Frazelle <github@jessfraz.com> * update snapshots Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com> Co-authored-by: Paul R. Tagliamonte <paul@zoo.dev> Co-authored-by: Paul Tagliamonte <paultag@gmail.com>
		
			
				
	
	
		
			158 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			158 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| ---
 | |
| source: kcl-lib/src/simulation_tests.rs
 | |
| description: Artifact commands helix_simple.kcl
 | |
| ---
 | |
| [
 | |
|   {
 | |
|     "cmdId": "[uuid]",
 | |
|     "range": [],
 | |
|     "command": {
 | |
|       "type": "edge_lines_visible",
 | |
|       "hidden": false
 | |
|     }
 | |
|   },
 | |
|   {
 | |
|     "cmdId": "[uuid]",
 | |
|     "range": [],
 | |
|     "command": {
 | |
|       "type": "object_visible",
 | |
|       "object_id": "[uuid]",
 | |
|       "hidden": true
 | |
|     }
 | |
|   },
 | |
|   {
 | |
|     "cmdId": "[uuid]",
 | |
|     "range": [],
 | |
|     "command": {
 | |
|       "type": "object_visible",
 | |
|       "object_id": "[uuid]",
 | |
|       "hidden": true
 | |
|     }
 | |
|   },
 | |
|   {
 | |
|     "cmdId": "[uuid]",
 | |
|     "range": [],
 | |
|     "command": {
 | |
|       "type": "make_plane",
 | |
|       "origin": {
 | |
|         "x": 0.0,
 | |
|         "y": 0.0,
 | |
|         "z": 0.0
 | |
|       },
 | |
|       "x_axis": {
 | |
|         "x": 1.0,
 | |
|         "y": 0.0,
 | |
|         "z": 0.0
 | |
|       },
 | |
|       "y_axis": {
 | |
|         "x": 0.0,
 | |
|         "y": 0.0,
 | |
|         "z": 1.0
 | |
|       },
 | |
|       "size": 60.0,
 | |
|       "clobber": false,
 | |
|       "hide": true
 | |
|     }
 | |
|   },
 | |
|   {
 | |
|     "cmdId": "[uuid]",
 | |
|     "range": [],
 | |
|     "command": {
 | |
|       "type": "enable_sketch_mode",
 | |
|       "entity_id": "[uuid]",
 | |
|       "ortho": false,
 | |
|       "animated": false,
 | |
|       "adjust_camera": false,
 | |
|       "planar_normal": {
 | |
|         "x": 0.0,
 | |
|         "y": -1.0,
 | |
|         "z": 0.0
 | |
|       }
 | |
|     }
 | |
|   },
 | |
|   {
 | |
|     "cmdId": "[uuid]",
 | |
|     "range": [],
 | |
|     "command": {
 | |
|       "type": "start_path"
 | |
|     }
 | |
|   },
 | |
|   {
 | |
|     "cmdId": "[uuid]",
 | |
|     "range": [],
 | |
|     "command": {
 | |
|       "type": "move_path_pen",
 | |
|       "path": "[uuid]",
 | |
|       "to": {
 | |
|         "x": 0.0,
 | |
|         "y": 0.0,
 | |
|         "z": 0.0
 | |
|       }
 | |
|     }
 | |
|   },
 | |
|   {
 | |
|     "cmdId": "[uuid]",
 | |
|     "range": [],
 | |
|     "command": {
 | |
|       "type": "sketch_mode_disable"
 | |
|     }
 | |
|   },
 | |
|   {
 | |
|     "cmdId": "[uuid]",
 | |
|     "range": [],
 | |
|     "command": {
 | |
|       "type": "extend_path",
 | |
|       "path": "[uuid]",
 | |
|       "segment": {
 | |
|         "type": "line",
 | |
|         "end": {
 | |
|           "x": 0.0,
 | |
|           "y": 10.0,
 | |
|           "z": 0.0
 | |
|         },
 | |
|         "relative": true
 | |
|       }
 | |
|     }
 | |
|   },
 | |
|   {
 | |
|     "cmdId": "[uuid]",
 | |
|     "range": [],
 | |
|     "command": {
 | |
|       "type": "entity_make_helix_from_edge",
 | |
|       "radius": 5.0,
 | |
|       "length": 10.0,
 | |
|       "revolutions": 5.0,
 | |
|       "start_angle": {
 | |
|         "unit": "degrees",
 | |
|         "value": 0.0
 | |
|       },
 | |
|       "is_clockwise": false,
 | |
|       "edge_id": "[uuid]"
 | |
|     }
 | |
|   },
 | |
|   {
 | |
|     "cmdId": "[uuid]",
 | |
|     "range": [],
 | |
|     "command": {
 | |
|       "type": "set_scene_units",
 | |
|       "unit": "mm"
 | |
|     }
 | |
|   },
 | |
|   {
 | |
|     "cmdId": "[uuid]",
 | |
|     "range": [],
 | |
|     "command": {
 | |
|       "type": "set_scene_units",
 | |
|       "unit": "mm"
 | |
|     }
 | |
|   },
 | |
|   {
 | |
|     "cmdId": "[uuid]",
 | |
|     "range": [],
 | |
|     "command": {
 | |
|       "type": "set_scene_units",
 | |
|       "unit": "mm"
 | |
|     }
 | |
|   }
 | |
| ]
 |