Turn on units of measure (BREAKING CHANGE) (#6343)
* Turn on uom checks Signed-off-by: Nick Cameron <nrc@ncameron.org> * Convert all lengths to mm for engine calls Signed-off-by: Nick Cameron <nrc@ncameron.org> --------- Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
@ -29,14 +29,6 @@ description: Artifact commands i-beam.kcl
|
||||
"hidden": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "set_scene_units",
|
||||
"unit": "in"
|
||||
}
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [],
|
||||
@ -93,7 +85,7 @@ description: Artifact commands i-beam.kcl
|
||||
"path": "[uuid]",
|
||||
"to": {
|
||||
"x": 0.0,
|
||||
"y": 2.0,
|
||||
"y": 50.8,
|
||||
"z": 0.0
|
||||
}
|
||||
}
|
||||
@ -114,7 +106,7 @@ description: Artifact commands i-beam.kcl
|
||||
"segment": {
|
||||
"type": "line",
|
||||
"end": {
|
||||
"x": 1.3315,
|
||||
"x": 33.8201,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
@ -132,7 +124,7 @@ description: Artifact commands i-beam.kcl
|
||||
"type": "line",
|
||||
"end": {
|
||||
"x": 0.0,
|
||||
"y": -0.293,
|
||||
"y": -7.4422,
|
||||
"z": 0.0
|
||||
},
|
||||
"relative": true
|
||||
@ -148,8 +140,8 @@ description: Artifact commands i-beam.kcl
|
||||
"segment": {
|
||||
"type": "line",
|
||||
"end": {
|
||||
"x": 0.5535,
|
||||
"y": 1.707,
|
||||
"x": 14.0589,
|
||||
"y": 43.3578,
|
||||
"z": 0.0
|
||||
},
|
||||
"relative": false
|
||||
@ -164,7 +156,7 @@ description: Artifact commands i-beam.kcl
|
||||
"path": "[uuid]",
|
||||
"segment": {
|
||||
"type": "tangential_arc",
|
||||
"radius": 0.457,
|
||||
"radius": 11.6078,
|
||||
"offset": {
|
||||
"unit": "degrees",
|
||||
"value": 90.0
|
||||
@ -181,7 +173,7 @@ description: Artifact commands i-beam.kcl
|
||||
"segment": {
|
||||
"type": "line",
|
||||
"end": {
|
||||
"x": 0.0965,
|
||||
"x": 2.4511,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
@ -267,7 +259,7 @@ description: Artifact commands i-beam.kcl
|
||||
"command": {
|
||||
"type": "extrude",
|
||||
"target": "[uuid]",
|
||||
"distance": 72.0,
|
||||
"distance": 1828.8,
|
||||
"faces": null,
|
||||
"opposite": "None"
|
||||
}
|
||||
@ -635,37 +627,5 @@ description: Artifact commands i-beam.kcl
|
||||
"edge_id": "[uuid]",
|
||||
"face_id": "[uuid]"
|
||||
}
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "set_scene_units",
|
||||
"unit": "mm"
|
||||
}
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "set_scene_units",
|
||||
"unit": "mm"
|
||||
}
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "set_scene_units",
|
||||
"unit": "mm"
|
||||
}
|
||||
},
|
||||
{
|
||||
"cmdId": "[uuid]",
|
||||
"range": [],
|
||||
"command": {
|
||||
"type": "set_scene_units",
|
||||
"unit": "mm"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user