* Declare std::offsetPlane in KCL Signed-off-by: Nick Cameron <nrc@ncameron.org> * Use two axes to define planes in KCL Signed-off-by: Nick Cameron <nrc@ncameron.org> --------- Signed-off-by: Nick Cameron <nrc@ncameron.org>
		
			
				
	
	
		
			161 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			161 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
---
 | 
						|
source: kcl-lib/src/simulation_tests.rs
 | 
						|
description: Variables in memory after executing neg_xz_plane.kcl
 | 
						|
---
 | 
						|
{
 | 
						|
  "part001": {
 | 
						|
    "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"
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "sketch": {
 | 
						|
        "type": "Sketch",
 | 
						|
        "id": "[uuid]",
 | 
						|
        "paths": [
 | 
						|
          {
 | 
						|
            "__geoMeta": {
 | 
						|
              "id": "[uuid]",
 | 
						|
              "sourceRange": []
 | 
						|
            },
 | 
						|
            "from": [
 | 
						|
              0.0,
 | 
						|
              0.0
 | 
						|
            ],
 | 
						|
            "tag": null,
 | 
						|
            "to": [
 | 
						|
              100.0,
 | 
						|
              100.0
 | 
						|
            ],
 | 
						|
            "type": "ToPoint",
 | 
						|
            "units": {
 | 
						|
              "type": "Mm"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "__geoMeta": {
 | 
						|
              "id": "[uuid]",
 | 
						|
              "sourceRange": []
 | 
						|
            },
 | 
						|
            "from": [
 | 
						|
              100.0,
 | 
						|
              100.0
 | 
						|
            ],
 | 
						|
            "tag": null,
 | 
						|
            "to": [
 | 
						|
              100.0,
 | 
						|
              0.0
 | 
						|
            ],
 | 
						|
            "type": "ToPoint",
 | 
						|
            "units": {
 | 
						|
              "type": "Mm"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          {
 | 
						|
            "__geoMeta": {
 | 
						|
              "id": "[uuid]",
 | 
						|
              "sourceRange": []
 | 
						|
            },
 | 
						|
            "from": [
 | 
						|
              100.0,
 | 
						|
              0.0
 | 
						|
            ],
 | 
						|
            "tag": null,
 | 
						|
            "to": [
 | 
						|
              0.0,
 | 
						|
              0.0
 | 
						|
            ],
 | 
						|
            "type": "ToPoint",
 | 
						|
            "units": {
 | 
						|
              "type": "Mm"
 | 
						|
            }
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "on": {
 | 
						|
          "type": "plane",
 | 
						|
          "id": "[uuid]",
 | 
						|
          "artifactId": "[uuid]",
 | 
						|
          "value": "XZ",
 | 
						|
          "origin": {
 | 
						|
            "x": 0.0,
 | 
						|
            "y": 0.0,
 | 
						|
            "z": 0.0,
 | 
						|
            "units": {
 | 
						|
              "type": "Mm"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "xAxis": {
 | 
						|
            "x": -1.0,
 | 
						|
            "y": 0.0,
 | 
						|
            "z": 0.0,
 | 
						|
            "units": {
 | 
						|
              "type": "Mm"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "yAxis": {
 | 
						|
            "x": 0.0,
 | 
						|
            "y": 0.0,
 | 
						|
            "z": 1.0,
 | 
						|
            "units": {
 | 
						|
              "type": "Mm"
 | 
						|
            }
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "start": {
 | 
						|
          "from": [
 | 
						|
            0.0,
 | 
						|
            0.0
 | 
						|
          ],
 | 
						|
          "to": [
 | 
						|
            0.0,
 | 
						|
            0.0
 | 
						|
          ],
 | 
						|
          "units": {
 | 
						|
            "type": "Mm"
 | 
						|
          },
 | 
						|
          "tag": null,
 | 
						|
          "__geoMeta": {
 | 
						|
            "id": "[uuid]",
 | 
						|
            "sourceRange": []
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "artifactId": "[uuid]",
 | 
						|
        "originalId": "[uuid]",
 | 
						|
        "units": {
 | 
						|
          "type": "Mm"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "height": 12.0,
 | 
						|
      "startCapId": "[uuid]",
 | 
						|
      "endCapId": "[uuid]",
 | 
						|
      "units": {
 | 
						|
        "type": "Mm"
 | 
						|
      },
 | 
						|
      "sectional": false
 | 
						|
    }
 | 
						|
  }
 | 
						|
}
 |