393 lines
		
	
	
		
			6.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			393 lines
		
	
	
		
			6.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
---
 | 
						|
source: kcl/src/simulation_tests.rs
 | 
						|
description: Operations executed sketch-on-chamfer-two-times-different-order.kcl
 | 
						|
---
 | 
						|
[
 | 
						|
  {
 | 
						|
    "labeledArgs": {
 | 
						|
      "data": {
 | 
						|
        "value": {
 | 
						|
          "type": "String",
 | 
						|
          "value": "XZ"
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          26,
 | 
						|
          30,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "name": "startSketchOn",
 | 
						|
    "sourceRange": [
 | 
						|
      12,
 | 
						|
      31,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "type": "StdLibCall",
 | 
						|
    "unlabeledArg": null
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "labeledArgs": {
 | 
						|
      "length": {
 | 
						|
        "value": {
 | 
						|
          "type": "Number",
 | 
						|
          "value": 100.0,
 | 
						|
          "ty": {
 | 
						|
            "type": "Default",
 | 
						|
            "len": {
 | 
						|
              "type": "Mm"
 | 
						|
            },
 | 
						|
            "angle": {
 | 
						|
              "type": "Degrees"
 | 
						|
            }
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          482,
 | 
						|
          485,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "name": "extrude",
 | 
						|
    "sourceRange": [
 | 
						|
      454,
 | 
						|
      486,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "type": "StdLibCall",
 | 
						|
    "unlabeledArg": {
 | 
						|
      "value": {
 | 
						|
        "type": "Sketch",
 | 
						|
        "value": {
 | 
						|
          "artifactId": "[uuid]"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "sourceRange": [
 | 
						|
        462,
 | 
						|
        471,
 | 
						|
        0
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "labeledArgs": {
 | 
						|
      "data": {
 | 
						|
        "value": {
 | 
						|
          "type": "Object",
 | 
						|
          "value": {
 | 
						|
            "radius": {
 | 
						|
              "type": "Number",
 | 
						|
              "value": 20.0,
 | 
						|
              "ty": {
 | 
						|
                "type": "Default",
 | 
						|
                "len": {
 | 
						|
                  "type": "Mm"
 | 
						|
                },
 | 
						|
                "angle": {
 | 
						|
                  "type": "Degrees"
 | 
						|
                }
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "tags": {
 | 
						|
              "type": "Array",
 | 
						|
              "value": [
 | 
						|
                {
 | 
						|
                  "type": "TagIdentifier",
 | 
						|
                  "value": "seg01",
 | 
						|
                  "artifact_id": "[uuid]"
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            }
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          499,
 | 
						|
          530,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "solid": {
 | 
						|
        "value": {
 | 
						|
          "type": "Solid",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          532,
 | 
						|
          533,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "name": "fillet",
 | 
						|
    "sourceRange": [
 | 
						|
      492,
 | 
						|
      534,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "type": "StdLibCall",
 | 
						|
    "unlabeledArg": null
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "labeledArgs": {
 | 
						|
      "data": {
 | 
						|
        "value": {
 | 
						|
          "type": "Object",
 | 
						|
          "value": {
 | 
						|
            "length": {
 | 
						|
              "type": "Number",
 | 
						|
              "value": 50.0,
 | 
						|
              "ty": {
 | 
						|
                "type": "Default",
 | 
						|
                "len": {
 | 
						|
                  "type": "Mm"
 | 
						|
                },
 | 
						|
                "angle": {
 | 
						|
                  "type": "Degrees"
 | 
						|
                }
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "tags": {
 | 
						|
              "type": "Array",
 | 
						|
              "value": [
 | 
						|
                {
 | 
						|
                  "type": "Uuid",
 | 
						|
                  "value": "[uuid]"
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            }
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          548,
 | 
						|
          615,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "solid": {
 | 
						|
        "value": {
 | 
						|
          "type": "Solid",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          617,
 | 
						|
          618,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "tag": {
 | 
						|
        "value": {
 | 
						|
          "type": "TagDeclarator",
 | 
						|
          "name": "seg03"
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          620,
 | 
						|
          626,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "name": "chamfer",
 | 
						|
    "sourceRange": [
 | 
						|
      540,
 | 
						|
      627,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "type": "StdLibCall",
 | 
						|
    "unlabeledArg": null
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "labeledArgs": {
 | 
						|
      "data": {
 | 
						|
        "value": {
 | 
						|
          "type": "Object",
 | 
						|
          "value": {
 | 
						|
            "length": {
 | 
						|
              "type": "Number",
 | 
						|
              "value": 50.0,
 | 
						|
              "ty": {
 | 
						|
                "type": "Default",
 | 
						|
                "len": {
 | 
						|
                  "type": "Mm"
 | 
						|
                },
 | 
						|
                "angle": {
 | 
						|
                  "type": "Degrees"
 | 
						|
                }
 | 
						|
              }
 | 
						|
            },
 | 
						|
            "tags": {
 | 
						|
              "type": "Array",
 | 
						|
              "value": [
 | 
						|
                {
 | 
						|
                  "type": "TagIdentifier",
 | 
						|
                  "value": "seg02",
 | 
						|
                  "artifact_id": "[uuid]"
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            }
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          641,
 | 
						|
          672,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "solid": {
 | 
						|
        "value": {
 | 
						|
          "type": "Solid",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          674,
 | 
						|
          675,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "tag": {
 | 
						|
        "value": {
 | 
						|
          "type": "TagDeclarator",
 | 
						|
          "name": "seg04"
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          677,
 | 
						|
          683,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "name": "chamfer",
 | 
						|
    "sourceRange": [
 | 
						|
      633,
 | 
						|
      684,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "type": "StdLibCall",
 | 
						|
    "unlabeledArg": null
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "labeledArgs": {
 | 
						|
      "data": {
 | 
						|
        "value": {
 | 
						|
          "type": "Solid",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          712,
 | 
						|
          722,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "tag": {
 | 
						|
        "value": {
 | 
						|
          "type": "TagIdentifier",
 | 
						|
          "value": "seg04",
 | 
						|
          "artifact_id": "[uuid]"
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          724,
 | 
						|
          729,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "name": "startSketchOn",
 | 
						|
    "sourceRange": [
 | 
						|
      698,
 | 
						|
      730,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "type": "StdLibCall",
 | 
						|
    "unlabeledArg": null
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "labeledArgs": {
 | 
						|
      "data": {
 | 
						|
        "value": {
 | 
						|
          "type": "Solid",
 | 
						|
          "value": {
 | 
						|
            "artifactId": "[uuid]"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          1160,
 | 
						|
          1170,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "tag": {
 | 
						|
        "value": {
 | 
						|
          "type": "TagIdentifier",
 | 
						|
          "value": "seg03",
 | 
						|
          "artifact_id": "[uuid]"
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          1172,
 | 
						|
          1177,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "name": "startSketchOn",
 | 
						|
    "sourceRange": [
 | 
						|
      1146,
 | 
						|
      1178,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "type": "StdLibCall",
 | 
						|
    "unlabeledArg": null
 | 
						|
  },
 | 
						|
  {
 | 
						|
    "labeledArgs": {
 | 
						|
      "length": {
 | 
						|
        "value": {
 | 
						|
          "type": "Number",
 | 
						|
          "value": 50.0,
 | 
						|
          "ty": {
 | 
						|
            "type": "Default",
 | 
						|
            "len": {
 | 
						|
              "type": "Mm"
 | 
						|
            },
 | 
						|
            "angle": {
 | 
						|
              "type": "Degrees"
 | 
						|
            }
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "sourceRange": [
 | 
						|
          1625,
 | 
						|
          1627,
 | 
						|
          0
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "name": "extrude",
 | 
						|
    "sourceRange": [
 | 
						|
      1597,
 | 
						|
      1628,
 | 
						|
      0
 | 
						|
    ],
 | 
						|
    "type": "StdLibCall",
 | 
						|
    "unlabeledArg": {
 | 
						|
      "value": {
 | 
						|
        "type": "Sketch",
 | 
						|
        "value": {
 | 
						|
          "artifactId": "[uuid]"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "sourceRange": [
 | 
						|
        1605,
 | 
						|
        1614,
 | 
						|
        0
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  }
 | 
						|
]
 |