295ec703fb
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop. - 425c8ed42 jyviko: Kernel rig: a blend between coplanar sheets is flat, a step blend meets both sheets at the order asked, and unchained edges are refused Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
130 lines
1.5 KiB
JSON
130 lines
1.5 KiB
JSON
{
|
|
"commands": [
|
|
{
|
|
"command": "sketch.create",
|
|
"params": {
|
|
"plane": {
|
|
"origin": [
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"x_dir": [
|
|
1,
|
|
0,
|
|
0
|
|
],
|
|
"y_dir": [
|
|
0,
|
|
1,
|
|
0
|
|
]
|
|
},
|
|
"name": "A sketch"
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.rectangle.two_point",
|
|
"params": {
|
|
"p0": [
|
|
0,
|
|
0
|
|
],
|
|
"p1": [
|
|
10,
|
|
20
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.finish",
|
|
"params": {}
|
|
},
|
|
{
|
|
"command": "surface.patch",
|
|
"params": {
|
|
"sketch": "A sketch",
|
|
"body_name": "A"
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.create",
|
|
"params": {
|
|
"plane": {
|
|
"origin": [
|
|
0,
|
|
0,
|
|
10
|
|
],
|
|
"x_dir": [
|
|
1,
|
|
0,
|
|
0
|
|
],
|
|
"y_dir": [
|
|
0,
|
|
1,
|
|
0
|
|
]
|
|
},
|
|
"name": "Bs"
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.rectangle.two_point",
|
|
"params": {
|
|
"p0": [
|
|
20,
|
|
0
|
|
],
|
|
"p1": [
|
|
30,
|
|
20
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"command": "sketch.finish",
|
|
"params": {}
|
|
},
|
|
{
|
|
"command": "surface.patch",
|
|
"params": {
|
|
"sketch": "Bs",
|
|
"body_name": "B"
|
|
}
|
|
},
|
|
{
|
|
"command": "surface.blend",
|
|
"params": {
|
|
"from": {
|
|
"body": "A",
|
|
"edges": [
|
|
[
|
|
10,
|
|
10,
|
|
0
|
|
]
|
|
]
|
|
},
|
|
"to": {
|
|
"body": "B",
|
|
"edges": [
|
|
[
|
|
20,
|
|
10,
|
|
10
|
|
]
|
|
]
|
|
},
|
|
"continuity": [
|
|
"g2",
|
|
"g2"
|
|
],
|
|
"stitch": true,
|
|
"body_name": "Bridge"
|
|
}
|
|
}
|
|
]
|
|
}
|