+ "example": "// CreateProprietaryToKcl: Converts a proprietary CAD format to KCL.\n// \n// This endpoint is used to convert a proprietary CAD format to KCL. The file passed MUST have feature tree data.\n// \n// A STEP file does not have feature tree data, so it will not work. A sldprt file does have feature tree data, so it will work.\n// \n// Input filepaths will be normalized and re-canonicalized to be under the current working directory -- so returned paths may differ from provided paths, and care must be taken when handling user provided paths.\n// \n// \n// Parameters\n// \n// \t- `codeOption`: Code option for running and verifying kcl.\n// \t\t\n// \t\t\u003cdetails\u003e\u003csummary\u003eJSON schema\u003c/summary\u003e\n// \t\t\n// \t\t```json { \"title\": \"CodeOption\", \"description\": \"Code option for running and verifying kcl.\", \"type\": \"string\", \"enum\": [ \"parse\", \"execute\", \"cleanup\", \"mock_execute\" ] } ``` \u003c/details\u003e\n// \t- `body`\n// \n// CreateProprietaryToKcl: Converts a proprietary CAD format to KCL.\n// This endpoint is used to convert a proprietary CAD format to KCL. The file passed MUST have feature tree data.\n//\n// A STEP file does not have feature tree data, so it will not work. A sldprt file does have feature tree data, so it will work.\n//\n// Input filepaths will be normalized and re-canonicalized to be under the current working directory -- so returned paths may differ from provided paths, and care must be taken when handling user provided paths.\n//\n// Parameters\n//\n// - `codeOption`: Code option for running and verifying kcl.\n//\n// \u003cdetails\u003e\u003csummary\u003eJSON schema\u003c/summary\u003e\n//\n// ```json { \"title\": \"CodeOption\", \"description\": \"Code option for running and verifying kcl.\", \"type\": \"string\", \"enum\": [ \"parse\", \"execute\", \"cleanup\", \"mock_execute\" ] } ``` \u003c/details\u003e\n//\n// - `body`\nfunc ExampleMlService_CreateProprietaryToKcl() {\n\tclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tbuf := new(bytes.Buffer)\n\n\tresult, err := client.Ml.CreateProprietaryToKcl(kittycad.CodeOptionParse, buf)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n",
0 commit comments