Isocurve Analysis: count curves each way, evenly spaced across the face
The curves were held on a 1-2-5 ladder from the world origin, so count 3 on a 40 x 30 face gave 3 one way and 2 the other. They now follow the command's contract: the held parameter at lo + k (hi - lo) / (count + 1), k = 1…count, over the face's extent. Faces of the body on the same surface record are spaced together over their combined extent, so a face a boss splits still shows the same lines straight across the split. New case cov-isocurve-40-by-30-face-count-3: x = 10, 20, 30 and y = 7.5, 15, 22.5, to 1e-9 mm. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
16d467e14a
commit
ffb1e650df
4 files changed
+154
-91
No files matched your search
@@ -0,0 +1,102 @@
|
||||
{
|
||||
"sources": [],
|
||||
"what": "three isocurves each way across a 40 x 30 face",
|
||||
"source": "analytic",
|
||||
"method": "box 40 x 30 x 10 with a corner at the origin: its top is the plane z = 10, x 0..40 and y 0..30. count 3 curves each way, evenly spaced across it (the command's contract), divide each side into 4: x = 10, 20, 30 (each from y 0 to 30) and y = 7.5, 15, 22.5 (each from x 0 to 40), every curve the straight line across the face. In the order the reply lists them (along the surface's first parameter first, as its parameters run), to 1e-9 mm",
|
||||
"results": [
|
||||
{
|
||||
"step": 2,
|
||||
"pointer": "/faces/0/count",
|
||||
"json": 3
|
||||
},
|
||||
{
|
||||
"step": 2,
|
||||
"pointer": "/faces/0/u_curves",
|
||||
"json": 3
|
||||
},
|
||||
{
|
||||
"step": 2,
|
||||
"pointer": "/faces/0/v_curves",
|
||||
"json": 3
|
||||
},
|
||||
{
|
||||
"step": 2,
|
||||
"pointer": "/curves",
|
||||
"json": [
|
||||
[
|
||||
[
|
||||
30.0,
|
||||
0.0,
|
||||
10.0
|
||||
],
|
||||
[
|
||||
30.0,
|
||||
30.0,
|
||||
10.0
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
20.0,
|
||||
0.0,
|
||||
10.0
|
||||
],
|
||||
[
|
||||
20.0,
|
||||
30.0,
|
||||
10.0
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
10.0,
|
||||
0.0,
|
||||
10.0
|
||||
],
|
||||
[
|
||||
10.0,
|
||||
30.0,
|
||||
10.0
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
40.0,
|
||||
7.5,
|
||||
10.0
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
7.5,
|
||||
10.0
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
40.0,
|
||||
15.0,
|
||||
10.0
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
15.0,
|
||||
10.0
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
40.0,
|
||||
22.5,
|
||||
10.0
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
22.5,
|
||||
10.0
|
||||
]
|
||||
]
|
||||
],
|
||||
"abs_mm": 1e-09
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"commands": [
|
||||
{
|
||||
"command": "solid.box",
|
||||
"params": {
|
||||
"length": 40,
|
||||
"width": 30,
|
||||
"height": 10,
|
||||
"body_name": "Slab",
|
||||
"operation": "new"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "inspect.isocurve",
|
||||
"params": {
|
||||
"faces": [
|
||||
[
|
||||
20,
|
||||
15,
|
||||
10
|
||||
]
|
||||
],
|
||||
"count": 3
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user