* 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
		
			
				
	
	
		
			355 lines
		
	
	
		
			5.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			355 lines
		
	
	
		
			5.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
---
 | 
						|
source: kcl-lib/src/simulation_tests.rs
 | 
						|
description: Operations executed mounting-plate.kcl
 | 
						|
---
 | 
						|
[
 | 
						|
  {
 | 
						|
    "type": "UserDefinedFunctionCall",
 | 
						|
    "name": "rectShape",
 | 
						|
    "functionSourceRange": [
 | 
						|
      519,
 | 
						|
      889,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "unlabeledArg": null,
 | 
						|
    "labeledArgs": {},
 | 
						|
    "sourceRange": [
 | 
						|
      1043,
 | 
						|
      1085,
 | 
						|
      0
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "labeledArgs": {
 | 
						|
      "data": {
 | 
						|
        "value": {
 | 
						|
          "type": "String",
 | 
						|
          "value": "XY"
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          554,
 | 
						|
          558,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "name": "startSketchOn",
 | 
						|
    "sourceRange": [
 | 
						|
      540,
 | 
						|
      559,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "type": "StdLibCall",
 | 
						|
    "unlabeledArg": null
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "type": "UserDefinedFunctionReturn"
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "labeledArgs": {
 | 
						|
      "holeSketch": {
 | 
						|
        "value": {
 | 
						|
          "type": "Sketch",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          1106,
 | 
						|
          1250,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "sketch": {
 | 
						|
        "value": {
 | 
						|
          "type": "Sketch",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          1252,
 | 
						|
          1253,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "name": "hole",
 | 
						|
    "sourceRange": [
 | 
						|
      1101,
 | 
						|
      1254,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "type": "StdLibCall",
 | 
						|
    "unlabeledArg": null
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "labeledArgs": {
 | 
						|
      "holeSketch": {
 | 
						|
        "value": {
 | 
						|
          "type": "Sketch",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          1265,
 | 
						|
          1408,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "sketch": {
 | 
						|
        "value": {
 | 
						|
          "type": "Sketch",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          1410,
 | 
						|
          1411,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "name": "hole",
 | 
						|
    "sourceRange": [
 | 
						|
      1260,
 | 
						|
      1412,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "type": "StdLibCall",
 | 
						|
    "unlabeledArg": null
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "labeledArgs": {
 | 
						|
      "holeSketch": {
 | 
						|
        "value": {
 | 
						|
          "type": "Sketch",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          1423,
 | 
						|
          1568,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "sketch": {
 | 
						|
        "value": {
 | 
						|
          "type": "Sketch",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          1570,
 | 
						|
          1571,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "name": "hole",
 | 
						|
    "sourceRange": [
 | 
						|
      1418,
 | 
						|
      1572,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "type": "StdLibCall",
 | 
						|
    "unlabeledArg": null
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "labeledArgs": {
 | 
						|
      "holeSketch": {
 | 
						|
        "value": {
 | 
						|
          "type": "Sketch",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          1583,
 | 
						|
          1727,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "sketch": {
 | 
						|
        "value": {
 | 
						|
          "type": "Sketch",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          1729,
 | 
						|
          1730,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "name": "hole",
 | 
						|
    "sourceRange": [
 | 
						|
      1578,
 | 
						|
      1731,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "type": "StdLibCall",
 | 
						|
    "unlabeledArg": null
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "labeledArgs": {
 | 
						|
      "holeSketch": {
 | 
						|
        "value": {
 | 
						|
          "type": "Sketch",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          1742,
 | 
						|
          1815,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "sketch": {
 | 
						|
        "value": {
 | 
						|
          "type": "Sketch",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          1817,
 | 
						|
          1818,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "name": "hole",
 | 
						|
    "sourceRange": [
 | 
						|
      1737,
 | 
						|
      1819,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "type": "StdLibCall",
 | 
						|
    "unlabeledArg": null
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "labeledArgs": {
 | 
						|
      "length": {
 | 
						|
        "value": {
 | 
						|
          "type": "Number",
 | 
						|
          "value": 0.5,
 | 
						|
          "ty": {
 | 
						|
            "type": "Default",
 | 
						|
            "len": {
 | 
						|
              "type": "Inches"
 | 
						|
            },
 | 
						|
            "angle": {
 | 
						|
              "type": "Degrees"
 | 
						|
            }
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          1842,
 | 
						|
          1856,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "name": "extrude",
 | 
						|
    "sourceRange": [
 | 
						|
      1825,
 | 
						|
      1857,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "type": "StdLibCall",
 | 
						|
    "unlabeledArg": {
 | 
						|
      "value": {
 | 
						|
        "type": "Sketch",
 | 
						|
        "value": {
 | 
						|
          "artifactId": "[uuid]"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "sourceRange": [
 | 
						|
        1825,
 | 
						|
        1857,
 | 
						|
        0
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "labeledArgs": {
 | 
						|
      "radius": {
 | 
						|
        "value": {
 | 
						|
          "type": "Number",
 | 
						|
          "value": 0.5,
 | 
						|
          "ty": {
 | 
						|
            "type": "Default",
 | 
						|
            "len": {
 | 
						|
              "type": "Inches"
 | 
						|
            },
 | 
						|
            "angle": {
 | 
						|
              "type": "Degrees"
 | 
						|
            }
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          1887,
 | 
						|
          1899,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "tags": {
 | 
						|
        "value": {
 | 
						|
          "type": "Array",
 | 
						|
          "value": [
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "type": "Uuid",
 | 
						|
              "value": "[uuid]"
 | 
						|
            }
 | 
						|
          ]
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          1915,
 | 
						|
          2120,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "name": "fillet",
 | 
						|
    "sourceRange": [
 | 
						|
      1863,
 | 
						|
      2127,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "type": "StdLibCall",
 | 
						|
    "unlabeledArg": {
 | 
						|
      "value": {
 | 
						|
        "type": "Solid",
 | 
						|
        "value": {
 | 
						|
          "artifactId": "[uuid]"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "sourceRange": [
 | 
						|
        1863,
 | 
						|
        2127,
 | 
						|
        0
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  }
 | 
						|
]
 |