* Move turns to a submodule of std Signed-off-by: Nick Cameron <nrc@ncameron.org> * Cache module infos as well as memory; fix a bug with deprecated constants Signed-off-by: Nick Cameron <nrc@ncameron.org> --------- Signed-off-by: Nick Cameron <nrc@ncameron.org>
		
			
				
	
	
		
			117 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			117 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| ---
 | |
| source: kcl-lib/src/simulation_tests.rs
 | |
| description: Variables in memory after executing import_whole.kcl
 | |
| ---
 | |
| {
 | |
|   "bar": {
 | |
|     "type": "Solid",
 | |
|     "value": {
 | |
|       "type": "Solid",
 | |
|       "id": "[uuid]",
 | |
|       "artifactId": "[uuid]",
 | |
|       "value": [
 | |
|         {
 | |
|           "faceId": "[uuid]",
 | |
|           "id": "[uuid]",
 | |
|           "sourceRange": [],
 | |
|           "tag": null,
 | |
|           "type": "extrudeArc"
 | |
|         }
 | |
|       ],
 | |
|       "sketch": {
 | |
|         "type": "Sketch",
 | |
|         "id": "[uuid]",
 | |
|         "paths": [
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "ccw": true,
 | |
|             "center": [
 | |
|               5.0,
 | |
|               5.0
 | |
|             ],
 | |
|             "from": [
 | |
|               15.0,
 | |
|               5.0
 | |
|             ],
 | |
|             "radius": 10.0,
 | |
|             "tag": null,
 | |
|             "to": [
 | |
|               15.0,
 | |
|               5.0
 | |
|             ],
 | |
|             "type": "Circle",
 | |
|             "units": {
 | |
|               "type": "Inches"
 | |
|             }
 | |
|           }
 | |
|         ],
 | |
|         "on": {
 | |
|           "type": "plane",
 | |
|           "id": "[uuid]",
 | |
|           "artifactId": "[uuid]",
 | |
|           "value": "XY",
 | |
|           "origin": {
 | |
|             "x": 0.0,
 | |
|             "y": 0.0,
 | |
|             "z": 0.0
 | |
|           },
 | |
|           "xAxis": {
 | |
|             "x": 1.0,
 | |
|             "y": 0.0,
 | |
|             "z": 0.0
 | |
|           },
 | |
|           "yAxis": {
 | |
|             "x": 0.0,
 | |
|             "y": 1.0,
 | |
|             "z": 0.0
 | |
|           },
 | |
|           "zAxis": {
 | |
|             "x": 0.0,
 | |
|             "y": 0.0,
 | |
|             "z": 1.0
 | |
|           },
 | |
|           "units": {
 | |
|             "type": "Inches"
 | |
|           }
 | |
|         },
 | |
|         "start": {
 | |
|           "from": [
 | |
|             15.0,
 | |
|             5.0
 | |
|           ],
 | |
|           "to": [
 | |
|             15.0,
 | |
|             5.0
 | |
|           ],
 | |
|           "units": {
 | |
|             "type": "Inches"
 | |
|           },
 | |
|           "tag": null,
 | |
|           "__geoMeta": {
 | |
|             "id": "[uuid]",
 | |
|             "sourceRange": []
 | |
|           }
 | |
|         },
 | |
|         "artifactId": "[uuid]",
 | |
|         "originalId": "[uuid]",
 | |
|         "units": {
 | |
|           "type": "Inches"
 | |
|         }
 | |
|       },
 | |
|       "height": 10.0,
 | |
|       "startCapId": "[uuid]",
 | |
|       "endCapId": "[uuid]",
 | |
|       "units": {
 | |
|         "type": "Inches"
 | |
|       }
 | |
|     }
 | |
|   },
 | |
|   "foo": {
 | |
|     "type": "Module",
 | |
|     "value": 5
 | |
|   }
 | |
| }
 |