* Add warning when using a module with no return value * Update output files since changing source range of the pipeline argument * Change wording of error message to not use the term unlabeled
		
			
				
	
	
		
			371 lines
		
	
	
		
			6.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			371 lines
		
	
	
		
			6.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
---
 | 
						|
source: kcl-lib/src/simulation_tests.rs
 | 
						|
description: Operations executed 80-20-rail.kcl
 | 
						|
---
 | 
						|
[
 | 
						|
  {
 | 
						|
    "type": "UserDefinedFunctionCall",
 | 
						|
    "name": "rail8020",
 | 
						|
    "functionSourceRange": [
 | 
						|
      214,
 | 
						|
      7478,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "unlabeledArg": null,
 | 
						|
    "labeledArgs": {},
 | 
						|
    "sourceRange": [
 | 
						|
      7521,
 | 
						|
      7546,
 | 
						|
      0
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "labeledArgs": {
 | 
						|
      "data": {
 | 
						|
        "value": {
 | 
						|
          "type": "String",
 | 
						|
          "value": "-XZ"
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          312,
 | 
						|
          317,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "name": "startSketchOn",
 | 
						|
    "sourceRange": [
 | 
						|
      298,
 | 
						|
      318,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "type": "StdLibCall",
 | 
						|
    "unlabeledArg": null
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "labeledArgs": {
 | 
						|
      "holeSketch": {
 | 
						|
        "value": {
 | 
						|
          "type": "Sketch",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          5817,
 | 
						|
          5994,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "sketch": {
 | 
						|
        "value": {
 | 
						|
          "type": "Sketch",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          5996,
 | 
						|
          5997,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "name": "hole",
 | 
						|
    "sourceRange": [
 | 
						|
      5812,
 | 
						|
      5998,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "type": "StdLibCall",
 | 
						|
    "unlabeledArg": null
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "labeledArgs": {
 | 
						|
      "length": {
 | 
						|
        "value": {
 | 
						|
          "type": "Number",
 | 
						|
          "value": 48.0,
 | 
						|
          "ty": {
 | 
						|
            "type": "Default",
 | 
						|
            "len": {
 | 
						|
              "type": "Inches"
 | 
						|
            },
 | 
						|
            "angle": {
 | 
						|
              "type": "Degrees"
 | 
						|
            }
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          6023,
 | 
						|
          6033,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "name": "extrude",
 | 
						|
    "sourceRange": [
 | 
						|
      6006,
 | 
						|
      6034,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "type": "StdLibCall",
 | 
						|
    "unlabeledArg": {
 | 
						|
      "value": {
 | 
						|
        "type": "Sketch",
 | 
						|
        "value": {
 | 
						|
          "artifactId": "[uuid]"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "sourceRange": [
 | 
						|
        6006,
 | 
						|
        6034,
 | 
						|
        0
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "labeledArgs": {
 | 
						|
      "radius": {
 | 
						|
        "value": {
 | 
						|
          "type": "Number",
 | 
						|
          "value": 0.06,
 | 
						|
          "ty": {
 | 
						|
            "type": "Default",
 | 
						|
            "len": {
 | 
						|
              "type": "Inches"
 | 
						|
            },
 | 
						|
            "angle": {
 | 
						|
              "type": "Degrees"
 | 
						|
            }
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          6068,
 | 
						|
          6072,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "tags": {
 | 
						|
        "value": {
 | 
						|
          "type": "Array",
 | 
						|
          "value": [
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          6090,
 | 
						|
          6737,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "name": "fillet",
 | 
						|
    "sourceRange": [
 | 
						|
      6042,
 | 
						|
      6746,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "type": "StdLibCall",
 | 
						|
    "unlabeledArg": {
 | 
						|
      "value": {
 | 
						|
        "type": "Solid",
 | 
						|
        "value": {
 | 
						|
          "artifactId": "[uuid]"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "sourceRange": [
 | 
						|
        6042,
 | 
						|
        6746,
 | 
						|
        0
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "labeledArgs": {
 | 
						|
      "radius": {
 | 
						|
        "value": {
 | 
						|
          "type": "Number",
 | 
						|
          "value": 0.03,
 | 
						|
          "ty": {
 | 
						|
            "type": "Default",
 | 
						|
            "len": {
 | 
						|
              "type": "Inches"
 | 
						|
            },
 | 
						|
            "angle": {
 | 
						|
              "type": "Degrees"
 | 
						|
            }
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          6780,
 | 
						|
          6784,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "tags": {
 | 
						|
        "value": {
 | 
						|
          "type": "Array",
 | 
						|
          "value": [
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          6802,
 | 
						|
          7448,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "name": "fillet",
 | 
						|
    "sourceRange": [
 | 
						|
      6754,
 | 
						|
      7457,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "type": "StdLibCall",
 | 
						|
    "unlabeledArg": {
 | 
						|
      "value": {
 | 
						|
        "type": "Solid",
 | 
						|
        "value": {
 | 
						|
          "artifactId": "[uuid]"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "sourceRange": [
 | 
						|
        6754,
 | 
						|
        7457,
 | 
						|
        0
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "type": "UserDefinedFunctionReturn"
 | 
						|
  }
 | 
						|
]
 |