Kernel rig: inspect cases, three isocurves each way on a cube's top, and a count of 0 refused

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jyviko
2026-10-29 17:10:20 -04:00
committed by Irakli Kourtis
parent 7b1fbb57f1
commit 5c80ef4ad8
4 changed files with 90 additions and 0 deletions
@@ -0,0 +1,28 @@
{
"sources": [],
"what": "three isocurves each way across a cube's top",
"source": "analytic",
"method": "cube 40 with a corner at the origin: its top is the plane z = 40, 0..40 each way; 3 curves each way, evenly spaced, are x = 10, 20, 30 and y = 10, 20, 30: 3 u-curves and 3 v-curves",
"results": [
{
"command": 1,
"pointer": "/faces/0/body",
"value": "Cube"
},
{
"command": 1,
"pointer": "/faces/0/count",
"value": 3
},
{
"command": 1,
"pointer": "/faces/0/u_curves",
"value": 3
},
{
"command": 1,
"pointer": "/faces/0/v_curves",
"value": 3
}
]
}
@@ -0,0 +1,27 @@
{
"commands": [
{
"command": "solid.box",
"params": {
"length": 40,
"width": 40,
"height": 40,
"body_name": "Cube",
"operation": "new"
}
},
{
"command": "inspect.isocurve",
"params": {
"faces": [
[
20,
15,
40
]
],
"count": 3
}
}
]
}
@@ -0,0 +1,8 @@
{
"sources": [],
"what": "isocurves with a count of 0",
"source": "analytic",
"method": "box 40 x 30 x 20 with a corner at the origin: a count is a whole number 1 to 100: 0 is refused",
"outcome": "refused",
"refusal": "`count` must be a whole number of curves each way"
}
@@ -0,0 +1,27 @@
{
"commands": [
{
"command": "solid.box",
"params": {
"length": 40,
"width": 30,
"height": 20,
"body_name": "Box",
"operation": "new"
}
},
{
"command": "inspect.isocurve",
"params": {
"faces": [
[
20,
15,
20
]
],
"count": 0
}
}
]
}