* Teaching t2c how to counterbore, countersink, and counterdrill * Delete public/kcl-samples/parametric-bearing-pillow-block directory * Update mounting-wire.kcl * new artifiacts Signed-off-by: Jess Frazelle <github@jessfraz.com> * Update kcl-samples simulation test output * Update kcl-samples simulation test output * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates 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: Jess Frazelle <jessfraz@users.noreply.github.com> Co-authored-by: Jess Frazelle <github@jessfraz.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
		
			
				
	
	
		
			194 lines
		
	
	
		
			4.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			194 lines
		
	
	
		
			4.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
---
 | 
						|
source: kcl-lib/src/simulation_tests.rs
 | 
						|
description: Result of parsing pillow-block-bearing.kcl
 | 
						|
---
 | 
						|
{
 | 
						|
  "Ok": {
 | 
						|
    "body": [
 | 
						|
      {
 | 
						|
        "commentStart": 0,
 | 
						|
        "end": 0,
 | 
						|
        "path": {
 | 
						|
          "type": "Kcl",
 | 
						|
          "filename": "parameters.kcl"
 | 
						|
        },
 | 
						|
        "preComments": [
 | 
						|
          "// Import parts and parameters"
 | 
						|
        ],
 | 
						|
        "selector": {
 | 
						|
          "commentStart": 0,
 | 
						|
          "end": 0,
 | 
						|
          "start": 0,
 | 
						|
          "type": "Glob"
 | 
						|
        },
 | 
						|
        "start": 0,
 | 
						|
        "type": "ImportStatement",
 | 
						|
        "type": "ImportStatement"
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "commentStart": 0,
 | 
						|
        "end": 0,
 | 
						|
        "path": {
 | 
						|
          "type": "Kcl",
 | 
						|
          "filename": "ball-bearing.kcl"
 | 
						|
        },
 | 
						|
        "selector": {
 | 
						|
          "type": "None",
 | 
						|
          "alias": {
 | 
						|
            "commentStart": 0,
 | 
						|
            "end": 0,
 | 
						|
            "name": "ballBearing",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Identifier"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "start": 0,
 | 
						|
        "type": "ImportStatement",
 | 
						|
        "type": "ImportStatement"
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "commentStart": 0,
 | 
						|
        "end": 0,
 | 
						|
        "path": {
 | 
						|
          "type": "Kcl",
 | 
						|
          "filename": "block.kcl"
 | 
						|
        },
 | 
						|
        "selector": {
 | 
						|
          "type": "None",
 | 
						|
          "alias": {
 | 
						|
            "commentStart": 0,
 | 
						|
            "end": 0,
 | 
						|
            "name": "block",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Identifier"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "start": 0,
 | 
						|
        "type": "ImportStatement",
 | 
						|
        "type": "ImportStatement"
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "commentStart": 0,
 | 
						|
        "end": 0,
 | 
						|
        "expression": {
 | 
						|
          "abs_path": false,
 | 
						|
          "commentStart": 0,
 | 
						|
          "end": 0,
 | 
						|
          "name": {
 | 
						|
            "commentStart": 0,
 | 
						|
            "end": 0,
 | 
						|
            "name": "ballBearing",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Identifier"
 | 
						|
          },
 | 
						|
          "path": [],
 | 
						|
          "start": 0,
 | 
						|
          "type": "Name",
 | 
						|
          "type": "Name"
 | 
						|
        },
 | 
						|
        "preComments": [
 | 
						|
          "",
 | 
						|
          "",
 | 
						|
          "// Render each part"
 | 
						|
        ],
 | 
						|
        "start": 0,
 | 
						|
        "type": "ExpressionStatement",
 | 
						|
        "type": "ExpressionStatement"
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "commentStart": 0,
 | 
						|
        "end": 0,
 | 
						|
        "expression": {
 | 
						|
          "abs_path": false,
 | 
						|
          "commentStart": 0,
 | 
						|
          "end": 0,
 | 
						|
          "name": {
 | 
						|
            "commentStart": 0,
 | 
						|
            "end": 0,
 | 
						|
            "name": "block",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Identifier"
 | 
						|
          },
 | 
						|
          "path": [],
 | 
						|
          "start": 0,
 | 
						|
          "type": "Name",
 | 
						|
          "type": "Name"
 | 
						|
        },
 | 
						|
        "start": 0,
 | 
						|
        "type": "ExpressionStatement",
 | 
						|
        "type": "ExpressionStatement"
 | 
						|
      }
 | 
						|
    ],
 | 
						|
    "commentStart": 0,
 | 
						|
    "end": 0,
 | 
						|
    "innerAttrs": [
 | 
						|
      {
 | 
						|
        "commentStart": 0,
 | 
						|
        "end": 0,
 | 
						|
        "name": {
 | 
						|
          "commentStart": 0,
 | 
						|
          "end": 0,
 | 
						|
          "name": "settings",
 | 
						|
          "start": 0,
 | 
						|
          "type": "Identifier"
 | 
						|
        },
 | 
						|
        "preComments": [
 | 
						|
          "// Pillow Block Bearing",
 | 
						|
          "// A bearing pillow block, also known as a plummer block or pillow block bearing, is a pedestal used to provide support for a rotating shaft with the help of compatible bearings and various accessories. Housing a bearing, the pillow block provides a secure and stable foundation that allows the shaft to rotate smoothly within its machinery setup. These components are essential in a wide range of mechanical systems and machinery, playing a key role in reducing friction and supporting radial and axial loads.",
 | 
						|
          "",
 | 
						|
          "",
 | 
						|
          "// Set units"
 | 
						|
        ],
 | 
						|
        "properties": [
 | 
						|
          {
 | 
						|
            "commentStart": 0,
 | 
						|
            "end": 0,
 | 
						|
            "key": {
 | 
						|
              "commentStart": 0,
 | 
						|
              "end": 0,
 | 
						|
              "name": "defaultLengthUnit",
 | 
						|
              "start": 0,
 | 
						|
              "type": "Identifier"
 | 
						|
            },
 | 
						|
            "start": 0,
 | 
						|
            "type": "ObjectProperty",
 | 
						|
            "value": {
 | 
						|
              "abs_path": false,
 | 
						|
              "commentStart": 0,
 | 
						|
              "end": 0,
 | 
						|
              "name": {
 | 
						|
                "commentStart": 0,
 | 
						|
                "end": 0,
 | 
						|
                "name": "in",
 | 
						|
                "start": 0,
 | 
						|
                "type": "Identifier"
 | 
						|
              },
 | 
						|
              "path": [],
 | 
						|
              "start": 0,
 | 
						|
              "type": "Name",
 | 
						|
              "type": "Name"
 | 
						|
            }
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "start": 0,
 | 
						|
        "type": "Annotation"
 | 
						|
      }
 | 
						|
    ],
 | 
						|
    "nonCodeMeta": {
 | 
						|
      "nonCodeNodes": {},
 | 
						|
      "startNodes": [
 | 
						|
        {
 | 
						|
          "commentStart": 0,
 | 
						|
          "end": 0,
 | 
						|
          "start": 0,
 | 
						|
          "type": "NonCodeNode",
 | 
						|
          "value": {
 | 
						|
            "type": "newLine"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    },
 | 
						|
    "start": 0
 | 
						|
  }
 | 
						|
}
 |