lint default planes and other plane cleanup Signed-off-by: Jess Frazelle <github@jessfraz.com>
		
			
				
	
	
		
			518 lines
		
	
	
		
			10 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			518 lines
		
	
	
		
			10 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| ---
 | |
| source: kcl-lib/src/simulation_tests.rs
 | |
| description: Variables in memory after executing clone_w_shell.kcl
 | |
| ---
 | |
| {
 | |
|   "firstShell": {
 | |
|     "type": "Solid",
 | |
|     "value": {
 | |
|       "type": "Solid",
 | |
|       "id": "[uuid]",
 | |
|       "artifactId": "[uuid]",
 | |
|       "value": [
 | |
|         {
 | |
|           "faceId": "[uuid]",
 | |
|           "id": "[uuid]",
 | |
|           "sourceRange": [],
 | |
|           "tag": null,
 | |
|           "type": "extrudePlane"
 | |
|         },
 | |
|         {
 | |
|           "faceId": "[uuid]",
 | |
|           "id": "[uuid]",
 | |
|           "sourceRange": [],
 | |
|           "tag": null,
 | |
|           "type": "extrudePlane"
 | |
|         },
 | |
|         {
 | |
|           "faceId": "[uuid]",
 | |
|           "id": "[uuid]",
 | |
|           "sourceRange": [],
 | |
|           "tag": null,
 | |
|           "type": "extrudePlane"
 | |
|         },
 | |
|         {
 | |
|           "faceId": "[uuid]",
 | |
|           "id": "[uuid]",
 | |
|           "sourceRange": [],
 | |
|           "tag": null,
 | |
|           "type": "extrudePlane"
 | |
|         }
 | |
|       ],
 | |
|       "sketch": {
 | |
|         "type": "Sketch",
 | |
|         "id": "[uuid]",
 | |
|         "paths": [
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "from": [
 | |
|               -12.0,
 | |
|               12.0
 | |
|             ],
 | |
|             "tag": null,
 | |
|             "to": [
 | |
|               12.0,
 | |
|               12.0
 | |
|             ],
 | |
|             "type": "ToPoint",
 | |
|             "units": {
 | |
|               "type": "Mm"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "from": [
 | |
|               12.0,
 | |
|               12.0
 | |
|             ],
 | |
|             "tag": null,
 | |
|             "to": [
 | |
|               12.0,
 | |
|               -12.0
 | |
|             ],
 | |
|             "type": "ToPoint",
 | |
|             "units": {
 | |
|               "type": "Mm"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "from": [
 | |
|               12.0,
 | |
|               -12.0
 | |
|             ],
 | |
|             "tag": null,
 | |
|             "to": [
 | |
|               -12.0,
 | |
|               -12.0
 | |
|             ],
 | |
|             "type": "ToPoint",
 | |
|             "units": {
 | |
|               "type": "Mm"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "from": [
 | |
|               -12.0,
 | |
|               -12.0
 | |
|             ],
 | |
|             "tag": null,
 | |
|             "to": [
 | |
|               -12.0,
 | |
|               12.0
 | |
|             ],
 | |
|             "type": "ToPoint",
 | |
|             "units": {
 | |
|               "type": "Mm"
 | |
|             }
 | |
|           }
 | |
|         ],
 | |
|         "on": {
 | |
|           "artifactId": "[uuid]",
 | |
|           "id": "[uuid]",
 | |
|           "origin": {
 | |
|             "x": 0.0,
 | |
|             "y": 0.0,
 | |
|             "z": 0.0,
 | |
|             "units": {
 | |
|               "type": "Mm"
 | |
|             }
 | |
|           },
 | |
|           "type": "plane",
 | |
|           "value": "XY",
 | |
|           "xAxis": {
 | |
|             "x": 1.0,
 | |
|             "y": 0.0,
 | |
|             "z": 0.0,
 | |
|             "units": {
 | |
|               "type": "Unknown"
 | |
|             }
 | |
|           },
 | |
|           "yAxis": {
 | |
|             "x": 0.0,
 | |
|             "y": 1.0,
 | |
|             "z": 0.0,
 | |
|             "units": {
 | |
|               "type": "Unknown"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "start": {
 | |
|           "from": [
 | |
|             -12.0,
 | |
|             12.0
 | |
|           ],
 | |
|           "to": [
 | |
|             -12.0,
 | |
|             12.0
 | |
|           ],
 | |
|           "units": {
 | |
|             "type": "Mm"
 | |
|           },
 | |
|           "tag": null,
 | |
|           "__geoMeta": {
 | |
|             "id": "[uuid]",
 | |
|             "sourceRange": []
 | |
|           }
 | |
|         },
 | |
|         "artifactId": "[uuid]",
 | |
|         "originalId": "[uuid]",
 | |
|         "units": {
 | |
|           "type": "Mm"
 | |
|         }
 | |
|       },
 | |
|       "height": 6.0,
 | |
|       "startCapId": "[uuid]",
 | |
|       "endCapId": "[uuid]",
 | |
|       "units": {
 | |
|         "type": "Mm"
 | |
|       },
 | |
|       "sectional": false
 | |
|     }
 | |
|   },
 | |
|   "firstSketch": {
 | |
|     "type": "Solid",
 | |
|     "value": {
 | |
|       "type": "Solid",
 | |
|       "id": "[uuid]",
 | |
|       "artifactId": "[uuid]",
 | |
|       "value": [
 | |
|         {
 | |
|           "faceId": "[uuid]",
 | |
|           "id": "[uuid]",
 | |
|           "sourceRange": [],
 | |
|           "tag": null,
 | |
|           "type": "extrudePlane"
 | |
|         },
 | |
|         {
 | |
|           "faceId": "[uuid]",
 | |
|           "id": "[uuid]",
 | |
|           "sourceRange": [],
 | |
|           "tag": null,
 | |
|           "type": "extrudePlane"
 | |
|         },
 | |
|         {
 | |
|           "faceId": "[uuid]",
 | |
|           "id": "[uuid]",
 | |
|           "sourceRange": [],
 | |
|           "tag": null,
 | |
|           "type": "extrudePlane"
 | |
|         },
 | |
|         {
 | |
|           "faceId": "[uuid]",
 | |
|           "id": "[uuid]",
 | |
|           "sourceRange": [],
 | |
|           "tag": null,
 | |
|           "type": "extrudePlane"
 | |
|         }
 | |
|       ],
 | |
|       "sketch": {
 | |
|         "type": "Sketch",
 | |
|         "id": "[uuid]",
 | |
|         "paths": [
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "from": [
 | |
|               -12.0,
 | |
|               12.0
 | |
|             ],
 | |
|             "tag": null,
 | |
|             "to": [
 | |
|               12.0,
 | |
|               12.0
 | |
|             ],
 | |
|             "type": "ToPoint",
 | |
|             "units": {
 | |
|               "type": "Mm"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "from": [
 | |
|               12.0,
 | |
|               12.0
 | |
|             ],
 | |
|             "tag": null,
 | |
|             "to": [
 | |
|               12.0,
 | |
|               -12.0
 | |
|             ],
 | |
|             "type": "ToPoint",
 | |
|             "units": {
 | |
|               "type": "Mm"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "from": [
 | |
|               12.0,
 | |
|               -12.0
 | |
|             ],
 | |
|             "tag": null,
 | |
|             "to": [
 | |
|               -12.0,
 | |
|               -12.0
 | |
|             ],
 | |
|             "type": "ToPoint",
 | |
|             "units": {
 | |
|               "type": "Mm"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "from": [
 | |
|               -12.0,
 | |
|               -12.0
 | |
|             ],
 | |
|             "tag": null,
 | |
|             "to": [
 | |
|               -12.0,
 | |
|               12.0
 | |
|             ],
 | |
|             "type": "ToPoint",
 | |
|             "units": {
 | |
|               "type": "Mm"
 | |
|             }
 | |
|           }
 | |
|         ],
 | |
|         "on": {
 | |
|           "artifactId": "[uuid]",
 | |
|           "id": "[uuid]",
 | |
|           "origin": {
 | |
|             "x": 0.0,
 | |
|             "y": 0.0,
 | |
|             "z": 0.0,
 | |
|             "units": {
 | |
|               "type": "Mm"
 | |
|             }
 | |
|           },
 | |
|           "type": "plane",
 | |
|           "value": "XY",
 | |
|           "xAxis": {
 | |
|             "x": 1.0,
 | |
|             "y": 0.0,
 | |
|             "z": 0.0,
 | |
|             "units": {
 | |
|               "type": "Unknown"
 | |
|             }
 | |
|           },
 | |
|           "yAxis": {
 | |
|             "x": 0.0,
 | |
|             "y": 1.0,
 | |
|             "z": 0.0,
 | |
|             "units": {
 | |
|               "type": "Unknown"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "start": {
 | |
|           "from": [
 | |
|             -12.0,
 | |
|             12.0
 | |
|           ],
 | |
|           "to": [
 | |
|             -12.0,
 | |
|             12.0
 | |
|           ],
 | |
|           "units": {
 | |
|             "type": "Mm"
 | |
|           },
 | |
|           "tag": null,
 | |
|           "__geoMeta": {
 | |
|             "id": "[uuid]",
 | |
|             "sourceRange": []
 | |
|           }
 | |
|         },
 | |
|         "artifactId": "[uuid]",
 | |
|         "originalId": "[uuid]",
 | |
|         "units": {
 | |
|           "type": "Mm"
 | |
|         }
 | |
|       },
 | |
|       "height": 6.0,
 | |
|       "startCapId": "[uuid]",
 | |
|       "endCapId": "[uuid]",
 | |
|       "units": {
 | |
|         "type": "Mm"
 | |
|       },
 | |
|       "sectional": false
 | |
|     }
 | |
|   },
 | |
|   "secondShell": {
 | |
|     "type": "Solid",
 | |
|     "value": {
 | |
|       "type": "Solid",
 | |
|       "id": "[uuid]",
 | |
|       "artifactId": "[uuid]",
 | |
|       "value": [],
 | |
|       "sketch": {
 | |
|         "type": "Sketch",
 | |
|         "id": "[uuid]",
 | |
|         "paths": [
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "from": [
 | |
|               -12.0,
 | |
|               12.0
 | |
|             ],
 | |
|             "tag": null,
 | |
|             "to": [
 | |
|               12.0,
 | |
|               12.0
 | |
|             ],
 | |
|             "type": "ToPoint",
 | |
|             "units": {
 | |
|               "type": "Mm"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "from": [
 | |
|               12.0,
 | |
|               12.0
 | |
|             ],
 | |
|             "tag": null,
 | |
|             "to": [
 | |
|               12.0,
 | |
|               -12.0
 | |
|             ],
 | |
|             "type": "ToPoint",
 | |
|             "units": {
 | |
|               "type": "Mm"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "from": [
 | |
|               12.0,
 | |
|               -12.0
 | |
|             ],
 | |
|             "tag": null,
 | |
|             "to": [
 | |
|               -12.0,
 | |
|               -12.0
 | |
|             ],
 | |
|             "type": "ToPoint",
 | |
|             "units": {
 | |
|               "type": "Mm"
 | |
|             }
 | |
|           },
 | |
|           {
 | |
|             "__geoMeta": {
 | |
|               "id": "[uuid]",
 | |
|               "sourceRange": []
 | |
|             },
 | |
|             "from": [
 | |
|               -12.0,
 | |
|               -12.0
 | |
|             ],
 | |
|             "tag": null,
 | |
|             "to": [
 | |
|               -12.0,
 | |
|               12.0
 | |
|             ],
 | |
|             "type": "ToPoint",
 | |
|             "units": {
 | |
|               "type": "Mm"
 | |
|             }
 | |
|           }
 | |
|         ],
 | |
|         "on": {
 | |
|           "artifactId": "[uuid]",
 | |
|           "id": "[uuid]",
 | |
|           "origin": {
 | |
|             "x": 0.0,
 | |
|             "y": 0.0,
 | |
|             "z": 0.0,
 | |
|             "units": {
 | |
|               "type": "Mm"
 | |
|             }
 | |
|           },
 | |
|           "type": "plane",
 | |
|           "value": "XY",
 | |
|           "xAxis": {
 | |
|             "x": 1.0,
 | |
|             "y": 0.0,
 | |
|             "z": 0.0,
 | |
|             "units": {
 | |
|               "type": "Unknown"
 | |
|             }
 | |
|           },
 | |
|           "yAxis": {
 | |
|             "x": 0.0,
 | |
|             "y": 1.0,
 | |
|             "z": 0.0,
 | |
|             "units": {
 | |
|               "type": "Unknown"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "start": {
 | |
|           "from": [
 | |
|             -12.0,
 | |
|             12.0
 | |
|           ],
 | |
|           "to": [
 | |
|             -12.0,
 | |
|             12.0
 | |
|           ],
 | |
|           "units": {
 | |
|             "type": "Mm"
 | |
|           },
 | |
|           "tag": null,
 | |
|           "__geoMeta": {
 | |
|             "id": "[uuid]",
 | |
|             "sourceRange": []
 | |
|           }
 | |
|         },
 | |
|         "artifactId": "[uuid]",
 | |
|         "originalId": "[uuid]",
 | |
|         "units": {
 | |
|           "type": "Mm"
 | |
|         }
 | |
|       },
 | |
|       "height": 6.0,
 | |
|       "startCapId": null,
 | |
|       "endCapId": null,
 | |
|       "units": {
 | |
|         "type": "Mm"
 | |
|       },
 | |
|       "sectional": false
 | |
|     }
 | |
|   }
 | |
| }
 |