* 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
		
			
				
	
	
		
			173 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			173 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
---
 | 
						|
source: kcl-lib/src/simulation_tests.rs
 | 
						|
description: Operations executed sketch_on_face_start.kcl
 | 
						|
---
 | 
						|
[
 | 
						|
  {
 | 
						|
    "type": "UserDefinedFunctionCall",
 | 
						|
    "name": "cube",
 | 
						|
    "functionSourceRange": [
 | 
						|
      7,
 | 
						|
      184,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "unlabeledArg": null,
 | 
						|
    "labeledArgs": {},
 | 
						|
    "sourceRange": [
 | 
						|
      195,
 | 
						|
      211,
 | 
						|
      0
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "labeledArgs": {
 | 
						|
      "data": {
 | 
						|
        "value": {
 | 
						|
          "type": "String",
 | 
						|
          "value": "XY"
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          43,
 | 
						|
          47,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "name": "startSketchOn",
 | 
						|
    "sourceRange": [
 | 
						|
      29,
 | 
						|
      48,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "type": "StdLibCall",
 | 
						|
    "unlabeledArg": null
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "type": "UserDefinedFunctionReturn"
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "labeledArgs": {
 | 
						|
      "length": {
 | 
						|
        "value": {
 | 
						|
          "type": "Number",
 | 
						|
          "value": 20.0,
 | 
						|
          "ty": {
 | 
						|
            "type": "Default",
 | 
						|
            "len": {
 | 
						|
              "type": "Mm"
 | 
						|
            },
 | 
						|
            "angle": {
 | 
						|
              "type": "Degrees"
 | 
						|
            }
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          248,
 | 
						|
          250,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "name": "extrude",
 | 
						|
    "sourceRange": [
 | 
						|
      231,
 | 
						|
      251,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "type": "StdLibCall",
 | 
						|
    "unlabeledArg": {
 | 
						|
      "value": {
 | 
						|
        "type": "Sketch",
 | 
						|
        "value": {
 | 
						|
          "artifactId": "[uuid]"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "sourceRange": [
 | 
						|
        231,
 | 
						|
        251,
 | 
						|
        0
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "labeledArgs": {
 | 
						|
      "data": {
 | 
						|
        "value": {
 | 
						|
          "type": "Solid",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          284,
 | 
						|
          287,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "tag": {
 | 
						|
        "value": {
 | 
						|
          "type": "String",
 | 
						|
          "value": "start"
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          289,
 | 
						|
          296,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "name": "startSketchOn",
 | 
						|
    "sourceRange": [
 | 
						|
      270,
 | 
						|
      297,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "type": "StdLibCall",
 | 
						|
    "unlabeledArg": null
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "labeledArgs": {
 | 
						|
      "length": {
 | 
						|
        "value": {
 | 
						|
          "type": "Number",
 | 
						|
          "value": 5.0,
 | 
						|
          "ty": {
 | 
						|
            "type": "Default",
 | 
						|
            "len": {
 | 
						|
              "type": "Mm"
 | 
						|
            },
 | 
						|
            "angle": {
 | 
						|
              "type": "Degrees"
 | 
						|
            }
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          441,
 | 
						|
          442,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "name": "extrude",
 | 
						|
    "sourceRange": [
 | 
						|
      424,
 | 
						|
      443,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "type": "StdLibCall",
 | 
						|
    "unlabeledArg": {
 | 
						|
      "value": {
 | 
						|
        "type": "Sketch",
 | 
						|
        "value": {
 | 
						|
          "artifactId": "[uuid]"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "sourceRange": [
 | 
						|
        424,
 | 
						|
        443,
 | 
						|
        0
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  }
 | 
						|
]
 |