Kernel rig: construction cases, the midplane of parallel faces, of a corner, and of a plane with itself

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jyviko
2026-10-29 17:10:12 -04:00
committed by Irakli Kourtis
parent f9c53503bd
commit e0e3798ae7
6 changed files with 138 additions and 0 deletions
@@ -0,0 +1,22 @@
{
"sources": [],
"what": "the midplane of XY and a box's top",
"source": "analytic",
"method": "box 40 x 30 x 20 with a corner at the origin (x 0..40, y 0..30, z 0..20): halfway between z = 0 and z = 20: z = 10",
"construction": {
"M": {
"plane": {
"through": [
5,
5,
10
],
"normal": [
0,
0,
1
]
}
}
}
}
@@ -0,0 +1,27 @@
{
"commands": [
{
"command": "solid.box",
"params": {
"length": 40,
"width": 30,
"height": 20,
"body_name": "Box"
}
},
{
"command": "construct.plane.midplane",
"params": {
"a": "XY",
"b": {
"face": [
20,
15,
20
]
},
"name": "M"
}
}
]
}
@@ -0,0 +1,22 @@
{
"sources": [],
"what": "the midplane of two box sides meeting at a corner",
"source": "analytic",
"method": "box 40 x 30 x 20 with a corner at the origin (x 0..40, y 0..30, z 0..20): x = 40 and y = 30 meet on the vertical line through (40,30); the plane bisecting the box's 90 deg corner holds (1,1,0) and Z: normal (1,-1,0), through (40,30,0)",
"construction": {
"M": {
"plane": {
"through": [
40,
30,
0
],
"normal": [
1,
-1,
0
]
}
}
}
}
@@ -0,0 +1,33 @@
{
"commands": [
{
"command": "solid.box",
"params": {
"length": 40,
"width": 30,
"height": 20,
"body_name": "Box"
}
},
{
"command": "construct.plane.midplane",
"params": {
"a": {
"face": [
40,
15,
10
]
},
"b": {
"face": [
20,
30,
10
]
},
"name": "M"
}
}
]
}
@@ -0,0 +1,22 @@
{
"sources": [],
"what": "the midplane of a plane and itself",
"source": "analytic",
"method": "halfway between XY and XY: XY",
"construction": {
"M": {
"plane": {
"through": [
0,
0,
0
],
"normal": [
0,
0,
1
]
}
}
}
}
@@ -0,0 +1,12 @@
{
"commands": [
{
"command": "construct.plane.midplane",
"params": {
"a": "XY",
"b": "XY",
"name": "M"
}
}
]
}