Seraph round 7: the hip drum is the 0.6 m slew ring between a narrow pelvis and the thigh; chest, pauldron and thigh fits iterated until their scores levelled
Match scores, round 6 to round 7 at the matched cameras: pauldron 0.76 to 0.92, chest 0.68 to 0.87, thigh 0.82 to 0.86; the hips as the hero view shows them 0.47 to 0.77 (shown area 0.0160 to 0.0105 of the figure's height squared, the concept's 0.0131). Shin 0.73, knee 0.69 and foot 0.77 are unchanged parts. The elbow's discs stand on its sides. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
parent
0681b6e6d3
commit
8f5d9a34ec
2 changed files with 16 additions and 16 deletions
|
|
@ -1957,11 +1957,11 @@
|
|||
"side": [
|
||||
[
|
||||
0.4,
|
||||
-0.5
|
||||
-0.7
|
||||
],
|
||||
[
|
||||
1.2,
|
||||
-0.5
|
||||
1.15,
|
||||
-0.7
|
||||
],
|
||||
[
|
||||
1.35,
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@ metres at the sheet's 9.8 m: x to the mech's right, y forward, z up, unless its
|
|||
part_bench.py builds one alone and renders it from the inset's side; compare.py sets it beside the crop.
|
||||
VIEWS: per component (azimuth, elevation, margin, pitch of the part in degrees) for the bench.
|
||||
The pauldron, chest and thigh plates are brokkr_kitbash.shell sheets (M.shell_action), cut by cut_many and framed by ribs:
|
||||
they are objects on the host, not geometry in the Build."""
|
||||
they are objects on the host, not geometry in the Build. Their rings are placed by fit.py from outlines traced on the
|
||||
sheet (concepts.json "outlines"), and compare.py scores each against its crop's traced mask (MASKS below)."""
|
||||
import math
|
||||
from mathutils import Matrix, Vector
|
||||
import fit
|
||||
|
|
@ -312,17 +313,17 @@ def block_sheet(front, back):
|
|||
|
||||
|
||||
def chest(b):
|
||||
"""CHEST PLATES. Origin at the middle of the chest; the plates' lower edge is z = -0.5. One breast shell,
|
||||
"""CHEST PLATES. Origin at the middle of the chest; the plates' lower edge is z = -0.7. One breast shell,
|
||||
mirrored, its rings placed by fit.wrap from the crop's traced outline and a side outline (concepts.json
|
||||
"outlines"): a flat centre panel between two creases, a pectoral facet each side, a flank, a brow line where
|
||||
the upper facets lean back to the collar. Every facet is planar and 0.4 m or more across, so the wall is 0.14 m.
|
||||
Cut into it: two slots in the upper facet, a break under the number, a seam and a ring mark on the right
|
||||
pectoral. On the mech's left a boxed pectoral block standing proud, a shell of its own with a recessed panel.
|
||||
A row of five vent teeth under the front edge; a two-tier sternum block hung below; under that the dark
|
||||
A row of five vent teeth under the front edge; a sternum block hung below; under that the dark
|
||||
abdomen column with three stacked lames and a ribbed hose each side."""
|
||||
k, d = b["khaki"], b["gunmetal"]
|
||||
front, side, az, el = fit.load("seraph", "chest.breast")
|
||||
rings = fit.wrap(front, side, az, el, [(-0.5, 1.5, -0.36), (-0.1, 1.12), 0.32, (0.95, 0.85, 0.88)], flat=0.42, chamfer=0.3, flare=0.06)
|
||||
rings = fit.wrap(front, side, az, el, [(-0.7, 1.25, -0.4), (-0.1, 1.1), 0.32, (0.95, 0.85, 0.88)], flat=0.42, chamfer=0.3, flare=0.06)
|
||||
breast = {"mirror": True, "flip": True, "rings": rings, "creases": fit.creased(rings)}
|
||||
name = b.name + ".breast"
|
||||
M.shell_action(name, breast, b, "khaki", thickness=0.14, levels=1, bevel=0.014)
|
||||
|
|
@ -331,7 +332,7 @@ def chest(b):
|
|||
M.cuts_action(name, [
|
||||
{"name": name + ".slot_a", "part": "box", "params": "width=0.2; height=0.3; depth=0.03", "origin": [-0.34, 2.9, 2.55], **upper},
|
||||
{"name": name + ".slot_b", "part": "box", "params": "width=0.2; height=0.3; depth=0.03", "origin": [-0.08, 2.9, 2.55], **upper},
|
||||
{"name": name + ".break", "part": "slab", "params": "gap=0.025; length=0.7; depth=0.03", "origin": [0, 3, -0.3], "direction": [0, -1, 0], "up": [1, 0, 0]},
|
||||
{"name": name + ".break", "part": "slab", "params": "gap=0.025; length=0.7; depth=0.03", "origin": [0, 3, -0.4], "direction": [0, -1, 0], "up": [1, 0, 0]},
|
||||
{"name": name + ".mark", "part": "cyl", "params": "r=0.075; depth=0.025", "origin": [0.3, 3, 0.05], "direction": [0, -1, 0]},
|
||||
])
|
||||
hw = rings[1][1][0]
|
||||
|
|
@ -339,12 +340,11 @@ def chest(b):
|
|||
M.shell_action(block, block_sheet([[(-hw - 0.08, yf + 0.16, -0.3), (-hw - 0.7, yf - 0.2, -0.32)], [(-hw - 0.1, yf + 0.1, 0.26), (-hw - 0.7, yf - 0.26, 0.24)]],
|
||||
[[(-hw, yf - 0.2, -0.42), (-hw - 0.86, yf - 0.7, -0.44)], [(-hw - 0.02, yf - 0.3, 0.38), (-hw - 0.86, yf - 0.8, 0.36)]]), b, "khaki", thickness=0.08, levels=1, bevel=0.012)
|
||||
for j in range(5):
|
||||
k.box(T((-0.44 + 0.22 * j, yf - 0.1, -0.58)), (0.13, 0.12, 0.14))
|
||||
d.box(T((0, yf - 0.18, -0.58)), (1.1, 0.1, 0.12))
|
||||
k.box(T((-0.44 + 0.22 * j, yf - 0.1, -0.78)), (0.13, 0.12, 0.14))
|
||||
d.box(T((0, yf - 0.18, -0.78)), (1.1, 0.1, 0.12))
|
||||
sternum = lambda x0, y0, z0, x1, y1, z1: {"mirror": True, "flip": True, "rings": [ # noqa: E731 a hung block: a front face and a flank each side
|
||||
[[0, y1, z1], [x1, y1, z1], [x1, 0.5, z1]], [[0, y0, z0], [x0, y0, z0], [x0, 0.5, z0]]], "creases": [{"column": 1, "from": 0, "to": 1, "weight": 1.0}]}
|
||||
M.shell_action(b.name + ".sternum", sternum(0.42, yf - 0.08, -0.5, 0.36, yf - 0.14, -0.82), b, "khaki", thickness=0.12, levels=1, bevel=0.012)
|
||||
M.shell_action(b.name + ".sternum_low", sternum(0.3, yf - 0.18, -0.82, 0.24, yf - 0.26, -1.0), b, "khaki", thickness=0.1, levels=1, bevel=0.012)
|
||||
M.shell_action(b.name + ".sternum", sternum(0.5, yf - 0.1, -0.7, 0.4, yf - 0.2, -1.1), b, "khaki", thickness=0.12, levels=1, bevel=0.012)
|
||||
d.hull([(0.6, -0.5, -0.4), (0.6, 0.75, -0.4), (0.45, -0.4, -2.3), (0.45, 0.6, -2.3)], mirror=True) # the abdomen column
|
||||
for j in range(3):
|
||||
z = -1.36 - 0.3 * j
|
||||
|
|
@ -365,7 +365,7 @@ def pauldron(b, arm=False):
|
|||
slot down the outer face. In front, the emblem's shield: a six-sided plate of its own hung before the shoulder,
|
||||
its outline the crop's, bent down its middle. Under the cap its frame: three ribs with lightening holes."""
|
||||
front, side, az, el = fit.load("seraph", "pauldron.cap")
|
||||
rings = fit.arch(front, side, az, el, [("in", 0.45), ("top", 0.32), ("top", 1.02), ("out", 0.25), ("out", -0.52)], [1.1, 0.7, 0.0, -0.7, -1.1], plan=[0.9, 0.98, 1.0, 0.98, 0.9])
|
||||
rings = fit.arch(front, side, az, el, [("in", 0.45), ("top", 0.32), ("top", 1.02), ("out", 0.25), ("out", -0.44)], [1.1, 0.7, 0.0, -0.7, -1.1], plan=[0.9, 0.98, 1.0, 0.98, 0.9])
|
||||
cap = {"rings": rings, "creases": fit.creased(rings)}
|
||||
name = b.name + ".cap"
|
||||
M.shell_action(name, cap, b, "khaki", thickness=0.16, levels=1, bevel=0.016)
|
||||
|
|
@ -413,7 +413,7 @@ def thigh(b):
|
|||
lower part a second shell, the lapped plate with its centre notch; down the outboard side a strip plate turned
|
||||
back along the leg. It straddles the hip's axis: the hip stands 0.1 m above its middle."""
|
||||
front, side, az, el = fit.load("seraph", "thigh.plate")
|
||||
rings = fit.wrap(front, side, az, el, [(-1.03, 1.0, -0.88), -0.5, 0.05, 0.7, (1.03, 1.0, 0.7)], flat=0.5, chamfer=0.3, flare=0.03)
|
||||
rings = fit.wrap(front, side, az, el, [(-1.03, 0.82, -0.88), -0.5, 0.05, 0.7, (1.03, 0.8, 0.7)], flat=0.5, chamfer=0.3, flare=0.03)
|
||||
main = {"mirror": True, "flip": True, "rings": rings, "creases": fit.creased(rings)}
|
||||
name = b.name + ".plate"
|
||||
M.shell_action(name, main, b, "khaki", thickness=0.13, levels=1, bevel=0.014)
|
||||
|
|
@ -428,10 +428,10 @@ def thigh(b):
|
|||
M.shell_action(over, lower, b, "khaki", thickness=0.09, levels=1, bevel=0.012)
|
||||
M.cuts_action(over, [{"name": over + ".tab", "part": "box", "params": "width=0.3; height=0.24; depth=0.3", "origin": [0, 3, -0.52], "direction": [0, -1, 0]}])
|
||||
edge_x = rings[2][3][0]
|
||||
strip = {"rings": [[[-edge_x - 0.03, yf - 0.22, z0], [-edge_x - 0.06, yf - 0.62, z1]] for z0, z1 in ((-0.5, -0.6), (0.9, 0.8))]}
|
||||
strip = {"rings": [[[-edge_x - 0.08, yf - 0.22, z0], [-edge_x - 0.12, yf - 0.62, z1]] for z0, z1 in ((-0.6, -0.7), (0.55, 0.45))]}
|
||||
edge = b.name + ".strip"
|
||||
M.shell_action(edge, strip, b, "khaki", thickness=0.1, levels=1, bevel=0.012)
|
||||
M.cuts_action(edge, [{"name": f"{edge}.bolt{j}", "part": "cyl", "params": "r=0.045; depth=0.03", "origin": [-3, yf - 0.4, z], "direction": [1, 0, 0]} for j, z in enumerate((0.55, -0.2))])
|
||||
M.cuts_action(edge, [{"name": f"{edge}.bolt{j}", "part": "cyl", "params": "r=0.045; depth=0.03", "origin": [-3, yf - 0.4, z], "direction": [1, 0, 0]} for j, z in enumerate((0.25, -0.35))])
|
||||
|
||||
|
||||
def shin(b):
|
||||
|
|
|
|||
Loading…
Reference in a new issue