So, it seems I've managed to get the contour pretty well right. It's coming along slowly. It took me quite a while to get it to this point.
Code:
{
"op_type": "contour",
"params": {
"start_x": 0.0,
"start_z": 0.0,
"coord_mode": 0.0,
"segments": [
{
"mode": "xz",
"x": 15.0,
"z": 0.0,
"x_empty": false,
"z_empty": false,
"edge": "radius",
"edge_size": 5.0,
"arc_side": "auto",
"arc_side_raw": ""
},
{
"mode": "xz",
"x": 15.0,
"z": -15.0,
"x_empty": false,
"z_empty": false,
"edge": "none",
"edge_size": 0.0,
"arc_side": "auto",
"arc_side_raw": ""
}
],
"name": "radius"
},
"primitives": [
{
"type": "line",
"p1": [
0.0,
0.0
],
"p2": [
10.0,
0.0
]
},
{
"type": "arc",
"p1": [
10.0,
0.0
],
"p2": [
15.0,
-4.999999999999999
],
"c": [
10.0,
-5.0
],
"ccw": false
},
{
"type": "line",
"p1": [
15.0,
-4.999999999999999
],
"p2": [
15.0,
-15.0
]
}
]
}
Code:
{
"op_type": "contour",
"params": {
"start_x": 0.0,
"start_z": 0.0,
"coord_mode": 0.0,
"segments": [
{
"mode": "xz",
"x": 15.0,
"z": 0.0,
"x_empty": false,
"z_empty": false,
"edge": "chamfer",
"edge_size": 5.0,
"arc_side": "auto",
"arc_side_raw": ""
},
{
"mode": "xz",
"x": 15.0,
"z": -15.0,
"x_empty": false,
"z_empty": false,
"edge": "none",
"edge_size": 0.0,
"arc_side": "auto",
"arc_side_raw": ""
}
],
"name": "Fase"
},
"primitives": [
{
"type": "line",
"p1": [
0.0,
0.0
],
"p2": [
10.0,
0.0
]
},
{
"type": "line",
"p1": [
10.0,
0.0
],
"p2": [
15.0,
-5.0
]
},
{
"type": "line",
"p1": [
15.0,
-5.0
],
"p2": [
15.0,
-15.0
]
}
]
}