brokkr_kitbash.plate: hard plates from a plate table, in numpy alone (cut hard-plate-core) #45

Merged
eureka merged 3 commits from nibu/hard-plate-core into main 2026-12-03 14:31:54 +00:00
7 changed files with 1800 additions and 1 deletions

View file

@ -0,0 +1,821 @@
"""brokkr.plates.v0: {"schema": "brokkr.plates.v0", "plates": [row, ...]}, a table of hard armour plates.
numpy and the standard library only, tested without Blender (tests/test_plate.py); docs/kitbash.md, Hard plates,
states the format in full. A hard plate is a convex faceted solid: every facet flat, every edge a chamfer the
caller's Bevel makes. This module turns one table into each plate's solid, its detail panels, their corner bolts
and the frames of its anchors. The table alone decides the result: coordinates are metres in the table's own frame
(no host and no world reach this module), every clad carries its seed as data, and facets are ordered by a rule on
the solid as built in the table frame.
A row: name, mat, bevel, sides ("one" or "both"), mirror, exactly one solid form, clad, face, fits.
Solid forms, each a set of points whose convex hull is the plate:
faces [{at, normal} | {through: [a, b, c], out}, ...]: the corners of what the half-spaces bound
slab {at, normal, up, right, outline, thick, taper, back, gap}: an outline drawn on the outer face, the
face's rim chamfered taper, the back face thick behind and scaled back about the outline's middle;
or {corners, names, inside, lift, ...}: the outer face is the least-squares plane of the corners,
outward away from `inside`, standing lift off them
sections [[z, w, y0, y1, c], ...]: chamfered rectangles down a limb
points [[x, y, z], ...]
check(document) returns the table with every default written in, or raises PlateError naming the path.
build(table, side=1) returns one entry per plate built: name, solid (V, faces), facets, panels (V, faces),
bolts (V, faces), anchors, report. Both are pure: nothing is cached and nothing is written.
"""
from __future__ import annotations
import math
import random
import re
from typing import Any
import numpy as np
from . import core
SCHEMA = "brokkr.plates.v0"
ROWS = (1, 256)
OUTLINE = (3, 64)
FACES = (4, 32)
SECTIONS = (2, 16)
POINTS = (4, 64)
SELECTORS = (1, 8)
FITS = 64
FAR = 1e3 # a corner of a faces row farther than this from the origin: the faces bound nothing useful
FLAT = 0.05 # a corners slab's points may stand off their plane by this share of their extent
MERGE = 0.5 # degrees: facets closer than this are one facet; a two-edged vertex turning less is dropped
TIE = 1e-9 # areas (m2) and lengths (m) closer than this are equal: the tie rules decide
OUTER = 0.97 # clad facets "outer": the facet's normal on the face's normal is over this
SHARE = (0.36, 0.64) # where a split panel's cut falls along the facet's longest edge
MITER = 0.3 # an inset corner moves at most c / MITER
PANEL_MIN = (0.25, 0.02) # a panel under this share of its facet, or under this many m2, is not made
SINK, CHAMFER = 0.02, 0.02 # a panel starts this far under its facet; its far rim is chamfered this much
BOLT = 0.028
RANGES = {"thick": (0.001, 2.0), "taper": (0.0, 0.5), "back": (0.1, 1.5), "gap": (0.0, 0.5), "lift": (0.0, 1.0)}
KINDS = ("mark", "hose_port")
class PlateError(ValueError):
"""The plate table breaks a rule of the format, or a row bounds no solid; the message names the path."""
# --- reading the table ----------------------------------------------------------------------------------------------
def _number(value: Any, path: str, low: float | None = None, high: float | None = None) -> float:
if not core.finite(value):
raise PlateError(f"{path}: {value!r} is not a finite number")
if (low is not None and value < low) or (high is not None and value > high):
raise PlateError(f"{path}: {value} is outside {low} to {high}")
return float(value)
def _vector(value: Any, path: str, size: int = 3) -> list[float]:
if not isinstance(value, (list, tuple)) or len(value) != size:
raise PlateError(f"{path}: wants {size} numbers")
return [_number(v, f"{path}[{i}]") for i, v in enumerate(value)]
def _object(value: Any, path: str, required: tuple[str, ...], optional: tuple[str, ...] = ()) -> dict:
if not isinstance(value, dict):
raise PlateError(f"{path}: wants an object")
for key in value:
if key not in required and key not in optional:
raise PlateError(f"{path}.{key}: unknown key (known: {', '.join(required + optional)})")
for key in required:
if key not in value:
raise PlateError(f"{path}.{key}: missing")
return value
def _list(value: Any, path: str, bounds: tuple[int, int]) -> list:
if not isinstance(value, (list, tuple)) or not bounds[0] <= len(value) <= bounds[1]:
raise PlateError(f"{path}: wants {bounds[0]} to {bounds[1]} entries")
return list(value)
def _area2(ring: np.ndarray) -> float:
x, y = ring[:, 0], ring[:, 1]
return 0.5 * float(np.sum(x * np.roll(y, -1) - np.roll(x, -1) * y))
def _crosses(ring: np.ndarray) -> bool:
def turn(a, b, c):
return (b[0] - a[0]) * (c[1] - a[1]) - (b[1] - a[1]) * (c[0] - a[0])
n = len(ring)
for i in range(n):
a, b = ring[i], ring[(i + 1) % n]
for j in range(i + 2, n):
if (j + 1) % n == i:
continue
c, d = ring[j], ring[(j + 1) % n]
if turn(a, b, c) * turn(a, b, d) < 0 and turn(c, d, a) * turn(c, d, b) < 0:
return True
return False
def _width(ring: np.ndarray) -> float:
"""The least width of an outline: over its edges, how far the farthest point stands from the edge's line."""
least = math.inf
for i in range(len(ring)):
e = ring[(i + 1) % len(ring)] - ring[i]
off = (ring - ring[i]) @ (np.array([-e[1], e[0]]) / np.linalg.norm(e))
least = min(least, float(off.max() - off.min()))
return least
def outline_points(outline: Any) -> list[list[float]]:
"""An outline's points: the list as given, or {w, h, clip} as a w by h rectangle with its corners cut clip."""
if isinstance(outline, dict):
w, h, c = outline["w"], outline["h"], outline["clip"]
if not c:
return [[-w / 2, h / 2], [w / 2, h / 2], [w / 2, -h / 2], [-w / 2, -h / 2]]
return [[-w / 2 + c, h / 2], [w / 2 - c, h / 2], [w / 2, h / 2 - c], [w / 2, -h / 2 + c], [w / 2 - c, -h / 2], [-w / 2 + c, -h / 2], [-w / 2, -h / 2 + c], [-w / 2, h / 2 - c]]
return [list(p) for p in outline]
def _check_ring(ring: np.ndarray, path: str) -> None:
if any(np.linalg.norm(ring[i] - ring[i - 1]) < TIE for i in range(len(ring))):
raise PlateError(f"{path}: two neighbouring points are the same point")
if abs(_area2(ring)) < 1e-12:
raise PlateError(f"{path}: the outline has zero area")
if _crosses(ring):
raise PlateError(f"{path}: the outline crosses itself")
def _check_slab(slab: Any, path: str) -> dict:
if isinstance(slab, dict) and "corners" in slab:
_object(slab, path, ("corners", "inside", "thick"), ("names", "lift", "taper", "back", "gap", "up"))
out = {"corners": [_vector(p, f"{path}.corners[{i}]") for i, p in enumerate(_list(slab["corners"], f"{path}.corners", OUTLINE))], "inside": _vector(slab["inside"], f"{path}.inside")}
if slab.get("names") is not None:
names = slab["names"]
if not isinstance(names, (list, tuple)) or len(names) != len(out["corners"]) or not all(isinstance(n, str) and n for n in names) or len(set(names)) != len(names):
raise PlateError(f"{path}.names: wants one distinct name per corner")
out["names"] = list(names)
out["lift"] = _number(slab.get("lift", 0.06), f"{path}.lift", *RANGES["lift"])
else:
_object(slab, path, ("at", "normal", "outline", "thick"), ("up", "right", "taper", "back", "gap"))
out = {"at": _vector(slab["at"], f"{path}.at"), "normal": _vector(slab["normal"], f"{path}.normal")}
if slab.get("right") is not None:
out["right"] = _vector(slab["right"], f"{path}.right")
outline = slab["outline"]
if isinstance(outline, dict):
_object(outline, f"{path}.outline", ("w", "h", "clip"))
w, h = (_number(outline[k], f"{path}.outline.{k}", 1e-6, 1e3) for k in "wh")
out["outline"] = {"w": w, "h": h, "clip": _number(outline["clip"], f"{path}.outline.clip", 0.0, 0.5 * min(w, h) - 1e-9)}
else:
out["outline"] = [_vector(p, f"{path}.outline[{i}]", 2) for i, p in enumerate(_list(outline, f"{path}.outline", OUTLINE))]
out["up"] = _vector(slab.get("up", [0, 0, 1]), f"{path}.up")
for key, default in (("thick", None), ("taper", 0.04), ("back", 1.0), ("gap", 0.0)):
out[key] = _number(slab.get(key, default), f"{path}.{key}", *RANGES[key])
return out
def _check_clad(clad: Any, row: dict, path: str) -> dict:
_object(clad, path, ("mat", "min_area", "lifts", "inset", "gap", "split", "seed"), ("facets", "floor", "bolt_r"))
out = {"mat": _name(clad["mat"], f"{path}.mat", 63, None)}
facets = clad.get("facets", "outer" if "slab" in row else None)
if facets is None:
raise PlateError(f"{path}.facets: missing (only a slab has a default, its outer face)")
if facets == "outer":
if "slab" not in row and "face" not in row:
raise PlateError(f"{path}.facets: \"outer\" wants a slab or a row with a face")
elif facets != "all":
picked = []
if isinstance(facets, str):
raise PlateError(f"{path}.facets: wants \"outer\", \"all\" or selectors")
for i, sel in enumerate(_list(facets, f"{path}.facets", SELECTORS)):
at = f"{path}.facets[{i}]"
if isinstance(sel, dict) and "radial" in sel:
_object(sel, at, ("radial", "min_r", "cos"))
picked.append({"radial": _vector(sel["radial"], f"{at}.radial"), "min_r": _number(sel["min_r"], f"{at}.min_r", 0.0, FAR), "cos": _number(sel["cos"], f"{at}.cos", -1.0, 1.0)})
else:
_object(sel, at, ("n", "cos"))
picked.append({"n": _vector(sel["n"], f"{at}.n"), "cos": _number(sel["cos"], f"{at}.cos", -1.0, 1.0)})
axis = picked[-1].get("radial", picked[-1].get("n"))
if not np.linalg.norm(axis) > 0:
raise PlateError(f"{at}: the direction has no length")
facets = picked
out["facets"] = facets
if clad.get("floor") is not None:
out["floor"] = _number(clad["floor"], f"{path}.floor", -1.0, 1.0)
out["min_area"] = _number(clad["min_area"], f"{path}.min_area", 0.0, 1e6)
lifts = clad["lifts"]
if not isinstance(lifts, (list, tuple)) or len(lifts) != 2:
raise PlateError(f"{path}.lifts: wants two lifts")
out["lifts"] = [_number(v, f"{path}.lifts[{i}]", 0.0, 1.0) for i, v in enumerate(lifts)]
out["inset"] = _number(clad["inset"], f"{path}.inset", 0.0, 10.0)
out["gap"] = _number(clad["gap"], f"{path}.gap", 0.0, 10.0)
out["split"] = _number(clad["split"], f"{path}.split", 0.0, 1e6)
seed = clad["seed"]
whole = lambda v: isinstance(v, int) and not isinstance(v, bool) and 0 <= v < 2 ** 63 # noqa: E731
if isinstance(seed, (list, tuple)):
if row["sides"] != "both":
raise PlateError(f"{path}.seed: a pair of seeds is for a row with sides \"both\"")
if len(seed) != 2 or not all(whole(v) for v in seed):
raise PlateError(f"{path}.seed: wants an integer or [right, left]")
seed = list(seed)
elif not whole(seed):
raise PlateError(f"{path}.seed: wants an integer or [right, left]")
out["seed"] = seed
out["bolt_r"] = _number(clad.get("bolt_r", BOLT), f"{path}.bolt_r", 0.001, 1.0)
return out
def _name(value: Any, path: str, most: int, pattern: str | None) -> str:
if not isinstance(value, str) or not 1 <= len(value) <= most or (pattern and not re.fullmatch(pattern, value)):
raise PlateError(f"{path}: wants a name of 1 to {most} characters" + (" from a-z A-Z 0-9 _ ." if pattern else ""))
return value
def _check_row(row: Any, path: str) -> dict:
forms = ("faces", "slab", "sections", "points")
_object(row, path, ("name", "mat"), ("bevel", "sides", "mirror", "clad", "face", "fits") + forms)
out = {"name": _name(row["name"], f"{path}.name", 48, r"[A-Za-z0-9_.]+"), "mat": _name(row["mat"], f"{path}.mat", 63, None),
"bevel": _number(row.get("bevel", 0.0), f"{path}.bevel", 0.0, 0.1), "sides": row.get("sides", "one"), "mirror": row.get("mirror", False)}
if out["sides"] not in ("one", "both"):
raise PlateError(f"{path}.sides: wants \"one\" or \"both\"")
if not isinstance(out["mirror"], bool):
raise PlateError(f"{path}.mirror: wants true or false")
given = [f for f in forms if f in row]
if len(given) != 1:
raise PlateError(f"{path}: wants exactly one solid form of {', '.join(forms)} (has {', '.join(given) or 'none'})")
form = given[0]
if form == "faces":
faces = []
for i, face in enumerate(_list(row["faces"], f"{path}.faces", FACES)):
at = f"{path}.faces[{i}]"
if isinstance(face, dict) and "through" in face:
_object(face, at, ("through", "out"))
if not isinstance(face["through"], (list, tuple)) or len(face["through"]) != 3:
raise PlateError(f"{at}.through: wants three points")
faces.append({"through": [_vector(p, f"{at}.through[{k}]") for k, p in enumerate(face["through"])], "out": _vector(face["out"], f"{at}.out")})
else:
_object(face, at, ("at", "normal"))
faces.append({"at": _vector(face["at"], f"{at}.at"), "normal": _vector(face["normal"], f"{at}.normal")})
out["faces"] = faces
elif form == "slab":
out["slab"] = _check_slab(row["slab"], f"{path}.slab")
elif form == "sections":
out["sections"] = [_vector(s, f"{path}.sections[{i}]", 5) for i, s in enumerate(_list(row["sections"], f"{path}.sections", SECTIONS))]
else:
out["points"] = [_vector(p, f"{path}.points[{i}]") for i, p in enumerate(_list(row["points"], f"{path}.points", POINTS))]
if row.get("face") is not None:
if form == "slab":
raise PlateError(f"{path}.face: a slab's face is its outer face")
face = _object(row["face"], f"{path}.face", ("at", "normal"), ("up", "right"))
out["face"] = {"at": _vector(face["at"], f"{path}.face.at"), "normal": _vector(face["normal"], f"{path}.face.normal"), "up": _vector(face.get("up", [0, 0, 1]), f"{path}.face.up")}
if face.get("right") is not None:
out["face"]["right"] = _vector(face["right"], f"{path}.face.right")
out["clad"] = None if row.get("clad") is None else _check_clad(row["clad"], out, f"{path}.clad")
fits, names = [], set()
for i, fit in enumerate(_list(row.get("fits", []), f"{path}.fits", (0, FITS))):
at = f"{path}.fits[{i}]"
kind = fit.get("kind") if isinstance(fit, dict) else None
if kind not in KINDS:
raise PlateError(f"{at}.kind: {kind!r} is not a fit of this table (known: {', '.join(KINDS)})")
if form != "slab" and "face" not in out:
raise PlateError(f"{at}: a fit stands on a face; this row is no slab and names no face")
if kind == "mark":
_object(fit, at, ("kind", "id", "at", "height"))
entry = {"kind": kind, "id": _name(fit["id"], f"{at}.id", 63, None), "at": _vector(fit["at"], f"{at}.at", 2), "height": _number(fit["height"], f"{at}.height", 1e-4, 100.0)}
else:
_object(fit, at, ("kind", "name", "at"), ("lift",))
entry = {"kind": kind, "name": _name(fit["name"], f"{at}.name", 63, None), "at": _vector(fit["at"], f"{at}.at", 2), "lift": _number(fit.get("lift", 0.0), f"{at}.lift", -1.0, 1.0)}
name = entry.get("id", entry.get("name"))
if name in names:
raise PlateError(f"{at}: a second anchor named {name!r} in this row")
names.add(name)
fits.append(entry)
out["fits"] = fits
return out
def check(document: Any) -> dict:
"""The table with every default written in. Raises PlateError naming the path of what breaks the format, and
of a row that bounds no solid: every row's solid and anchors are made here once, at side +1, and build makes
them the same way, so build meets no refusal check has not."""
table = _read(document)
for i, row in enumerate(table["plates"]):
points, face = _row_points(row, f"plates[{i}]")
hull(_mirrored(points, row["mirror"]), f"plates[{i}]")
for j, fit in enumerate(row["fits"]):
_frame(face[0], face[3], (0.0, 0.0, 1.0) if fit["kind"] == "mark" else face[2], f"plates[{i}].fits[{j}]")
return table
def _read(document: Any) -> dict:
_object(document, "document", ("schema", "plates"))
if document["schema"] != SCHEMA:
raise PlateError(f"document.schema: {document['schema']!r} is not {SCHEMA}")
rows = [_check_row(row, f"plates[{i}]") for i, row in enumerate(_list(document["plates"], "plates", ROWS))]
built: dict[str, int] = {}
for i, row in enumerate(rows):
for name in ((row["name"] + ".R", row["name"] + ".L") if row["sides"] == "both" else (row["name"],)):
if name in built:
raise PlateError(f"plates[{i}].name: {name!r} is built by plates[{built[name]}] too")
built[name] = i
return {"schema": SCHEMA, "plates": rows}
# --- points of a solid form -----------------------------------------------------------------------------------------
def _frame(point, normal, up, path: str) -> np.ndarray:
try:
return core.surface_frame(point, normal, up)
except core.KitError as error:
raise PlateError(f"{path}: {error}") from None
def plane_basis(normal, up=(0.0, 0.0, 1.0), right=None, path: str = "plane"):
"""(a, b, n): unit axes of the plane facing `normal`: b the in-plane part of `up`, a across it (b cross n),
turned to the side `right` points to where one is given, so an outline's +a is a named direction."""
frame = _frame((0.0, 0.0, 0.0), normal, up, path)
a, b, n = frame[:3, 0].copy(), frame[:3, 1].copy(), frame[:3, 2].copy()
if right is not None and a @ np.asarray(right, dtype=np.float64) < 0:
a = -a
return a, b, n
def inset2d(ring, c: float) -> np.ndarray:
"""A convex counter-clockwise outline moved in by c on every edge; a sharp corner moves at most c / MITER."""
ring = np.asarray(ring, dtype=np.float64)
out = np.empty_like(ring)
for i in range(len(ring)):
p0, p1, p2 = ring[i - 1], ring[i], ring[(i + 1) % len(ring)]
e0, e1 = (p1 - p0) / np.linalg.norm(p1 - p0), (p2 - p1) / np.linalg.norm(p2 - p1)
n0, n1 = np.array([-e0[1], e0[0]]), np.array([-e1[1], e1[0]])
miter = n0 + n1
length = np.linalg.norm(miter)
miter = miter / length if length > 0 else n0
out[i] = p1 + miter * (c / max(float(miter @ n0), MITER))
return out
def slab_points(origin, a, b, n, outline, thick: float, taper: float, back: float, gap: float) -> np.ndarray:
"""A slab's corners: the outline (either winding) drawn in gap, on the plane through origin; the face is that
ring moved in taper, the ring itself stands taper behind it, and the back ring thick behind, scaled back about
the ring's middle."""
ring = np.asarray(outline, dtype=np.float64)
if _area2(ring) < 0:
ring = ring[::-1]
if gap:
ring = inset2d(ring, gap)
inner = inset2d(ring, taper) if taper else ring
middle = ring.mean(axis=0)
rear = middle + (ring - middle) * back
lift = lambda flat, z: origin + np.outer(flat[:, 0], a) + np.outer(flat[:, 1], b) + n * z # noqa: E731
parts = [lift(inner, 0.0)] + ([lift(ring, -taper)] if taper else []) + [lift(rear, -thick)]
return np.vstack(parts)
def corners_of(planes, path: str = "faces") -> np.ndarray:
"""The corners of the convex solid a set of faces [(n, d): kept where n.p <= d] bounds: every three faces'
meeting point inside all the others within 1e-6."""
normals = np.array([p[0] for p in planes], dtype=np.float64)
offsets = np.array([p[1] for p in planes], dtype=np.float64)
out: list[np.ndarray] = []
for i in range(len(planes)):
for j in range(i + 1, len(planes)):
for k in range(j + 1, len(planes)):
m = normals[[i, j, k]]
if abs(np.linalg.det(m)) < 1e-7:
continue
p = np.linalg.solve(m, offsets[[i, j, k]])
if not np.all(normals @ p <= offsets + 1e-6):
continue
if np.linalg.norm(p) >= FAR:
raise PlateError(f"{path}: faces {i}, {j} and {k} meet {np.linalg.norm(p):.0f} m away: the faces do not close the solid")
if not any(np.linalg.norm(p - q) < 1e-5 for q in out):
out.append(p)
if len(out) < 4:
raise PlateError(f"{path}: {len(planes)} faces bound no solid ({len(out)} corners)")
return np.array(out)
def section_points(sections) -> np.ndarray:
"""A housing's corners from its sections down a limb: [z, width, y0, y1, chamfer] each a chamfered rectangle."""
out = []
for z, w, y0, y1, c in sections:
out += [(x, y, z) for x, y in ((-w / 2 + c, y0), (w / 2 - c, y0), (w / 2, y0 + c), (w / 2, y1 - c), (w / 2 - c, y1), (-w / 2 + c, y1), (-w / 2, y1 - c), (-w / 2, y0 + c))]
return np.array(out, dtype=np.float64)
def _unit(v, path: str) -> np.ndarray:
v = np.asarray(v, dtype=np.float64)
length = np.linalg.norm(v)
if not length > 0:
raise PlateError(f"{path}: the direction has no length")
return v / length
def _row_points(row: dict, path: str):
"""(points, face): the row's points at side +1 and its face (origin, a, b, n), None where it has none."""
face = None
if "faces" in row:
planes = []
for i, f in enumerate(row["faces"]):
if "through" in f:
a, b, c = (np.array(p) for p in f["through"])
n = _unit(np.cross(b - a, c - a), f"{path}.faces[{i}].through")
if n @ np.array(f["out"]) < 0:
n = -n
planes.append((n, float(n @ a)))
else:
n = _unit(f["normal"], f"{path}.faces[{i}].normal")
planes.append((n, float(n @ np.array(f["at"]))))
points = corners_of(planes, f"{path}.faces")
elif "slab" in row:
slab, at = row["slab"], f"{path}.slab"
if "corners" in slab:
corners = np.array(slab["corners"])
centre = corners.mean(axis=0)
n = np.linalg.svd(corners - centre)[2][2]
extent = max(float(np.linalg.norm(p - q)) for p in corners for q in corners)
if not extent > 0 or float(np.abs((corners - centre) @ n).max()) > FLAT * extent:
raise PlateError(f"{at}.corners: the corners stand more than {FLAT} of their extent off one plane: that is not a plate")
if n @ (centre - np.array(slab["inside"])) < 0:
n = -n
origin = centre + n * slab["lift"]
a, b, n = plane_basis(n, slab["up"], None, f"{at}.up")
ring = np.column_stack(((corners - origin) @ a, (corners - origin) @ b))
else:
origin = np.array(slab["at"])
a, b, n = plane_basis(slab["normal"], slab["up"], slab.get("right"), f"{at}.normal")
ring = np.array(outline_points(slab["outline"]), dtype=np.float64)
_check_ring(ring, f"{at}.{'corners' if 'corners' in slab else 'outline'}")
drawn = inset2d(ring if _area2(ring) > 0 else ring[::-1], slab["gap"]) if slab["gap"] else ring
if slab["gap"] and _area2(drawn) <= 0:
raise PlateError(f"{at}.gap: {slab['gap']} leaves nothing of the outline")
if slab["taper"] and 2 * slab["taper"] >= _width(drawn):
raise PlateError(f"{at}.taper: {slab['taper']} is half the outline's least width ({_width(drawn):.4f}) or more")
points = slab_points(origin, a, b, n, ring, slab["thick"], slab["taper"], slab["back"], slab["gap"])
face = (origin, a, b, n)
elif "sections" in row:
points = section_points(row["sections"])
else:
points = np.array(row["points"], dtype=np.float64)
if "face" in row:
f = row["face"]
a, b, n = plane_basis(f["normal"], f["up"], f.get("right"), f"{path}.face.normal")
face = (np.array(f["at"]), a, b, n)
return points, face
def _mirrored(points: np.ndarray, mirror: bool) -> np.ndarray:
if not mirror:
return points
return np.vstack([points, points[np.abs(points[:, 0]) > 1e-6] * (-1.0, 1.0, 1.0)])
# --- the hull and its facets ------------------------------------------------------------------------------------------
def _newell(loop: np.ndarray) -> np.ndarray:
return 0.5 * np.cross(loop, np.roll(loop, -1, axis=0)).sum(axis=0)
def _angle(a: np.ndarray, b: np.ndarray) -> float:
return math.degrees(math.atan2(float(np.linalg.norm(np.cross(a, b))), float(a @ b)))
def _lexical(point) -> tuple:
return tuple(round(float(c) / TIE) for c in point)
def hull(points, path: str = "points", merge: float = MERGE):
"""(V, faces, facets): the convex hull of `points`. A facet is every supporting plane's point set, ordered by
angle; adjacent facets whose normals are within `merge` degrees are one facet, and a vertex left with two
edges turning less than `merge` is dropped. faces are wound outward; facets[i] is face i's
{"normal", "area", "centre"} (centre the mean of its vertices). Order: area descending, ties (TIE) by centre
x, y, z; each face starts at its least vertex by x, y, z."""
P = np.asarray(points, dtype=np.float64)
keep: list[int] = []
for i in range(len(P)):
if not any(np.linalg.norm(P[i] - P[k]) < TIE for k in keep):
keep.append(i)
P = P[keep]
n = len(P)
scale = float(np.linalg.norm(P.max(axis=0) - P.min(axis=0))) if n else 0.0
eps = TIE * max(1.0, scale)
found: dict[frozenset, np.ndarray] = {}
probe = P[np.linspace(0, n - 1, min(n, 12)).astype(int)] if n else P
for i in range(n - 2): # every plane through point i and two later points, at once
J, K = np.triu_indices(n - i - 1, 1)
first, second = P[J + i + 1] - P[i], P[K + i + 1] - P[i]
normals = np.cross(first, second)
lengths = np.linalg.norm(normals, axis=1)
good = lengths > 1e-6 * np.linalg.norm(first, axis=1) * np.linalg.norm(second, axis=1)
for key in found: # a plane already found is not found again from its other points
if i in key:
inside = np.zeros(n, dtype=bool)
inside[list(key)] = True
good &= ~(inside[J + i + 1] & inside[K + i + 1])
if not good.any():
continue
normals = normals[good] / lengths[good, None]
part = (probe - P[i]) @ normals.T # a plane a few points stand on both sides of supports nothing
normals = normals[(part.max(axis=0) <= eps) | (part.min(axis=0) >= -eps)]
off = (P - P[i]) @ normals.T
above, below = off.max(axis=0) <= eps, off.min(axis=0) >= -eps
support = np.nonzero(above | below)[0]
if not len(support):
continue
on = np.abs(off[:, support]) <= eps
if on.all(axis=0).any():
raise PlateError(f"{path}: the points lie in one plane: they bound no solid")
for c in np.unique(np.packbits(on, axis=0).T, axis=0, return_index=True)[1]:
key = frozenset(np.nonzero(on[:, c])[0].tolist())
if key not in found:
found[key] = normals[support[c]] if above[support[c]] else -normals[support[c]]
if n < 4 or len(found) < 4:
raise PlateError(f"{path}: {n} distinct points bound no solid")
sets = [s for s in found if not any(s < t for t in found)]
loops, normals = [], []
for on in sets:
normal = found[on]
idx = sorted(on)
centre = P[idx].mean(axis=0)
u = _unit(P[idx[0]] - centre if np.linalg.norm(P[idx[0]] - centre) > eps else P[idx[1]] - centre, path)
u = _unit(u - normal * (u @ normal), path)
v = np.cross(normal, u)
flat = np.column_stack(((P[idx] - centre) @ u, (P[idx] - centre) @ v))
loops.append([idx[k] for k in _hull2d(flat, eps)])
normals.append(normal)
# facets within `merge` degrees across an edge are one facet
group = list(range(len(loops)))
def root(k: int) -> int:
while group[k] != k:
group[k] = group[group[k]]
k = group[k]
return k
owner: dict[tuple[int, int], int] = {}
for k, loop in enumerate(loops):
for a, b in zip(loop, loop[1:] + loop[:1]):
owner[(a, b)] = k
for (a, b), k in owner.items():
other = owner.get((b, a))
if other is not None and other > k and _angle(normals[k], normals[other]) < merge:
group[root(other)] = root(k)
merged: dict[int, list[int]] = {}
for k in range(len(loops)):
merged.setdefault(root(k), []).append(k)
faces: list[list[int]] = []
for members in merged.values():
inside = set(members)
step = {a: b for k in members for a, b in zip(loops[k], loops[k][1:] + loops[k][:1]) if owner.get((b, a)) not in inside}
start = min(step)
loop, at = [start], step[start]
while at != start and len(loop) <= len(step):
loop.append(at)
at = step.get(at, start)
if len(loop) != len(step) or len(loop) < 3:
raise PlateError(f"{path}: facets within {merge} degrees of each other do not make one outline")
faces.append(loop)
# a vertex left on two edges that run on straight is no corner
while True:
edges: dict[int, set[int]] = {}
for loop in faces:
for a, b in zip(loop, loop[1:] + loop[:1]):
edges.setdefault(a, set()).add(b)
edges.setdefault(b, set()).add(a)
gone = set()
for v, ends in edges.items():
if len(ends) == 2 and not ends & gone:
a, b = sorted(ends)
if _angle(P[v] - P[a], P[b] - P[v]) < merge:
gone.add(v)
if not gone:
break
faces = [[v for v in loop if v not in gone] for loop in faces]
faces = [loop for loop in faces if len(loop) >= 3]
used = sorted({v for loop in faces for v in loop})
slot = {v: k for k, v in enumerate(used)}
V = P[used]
rows = []
for loop in faces:
loop = [slot[v] for v in loop]
first = min(range(len(loop)), key=lambda k: _lexical(V[loop[k]]))
loop = loop[first:] + loop[:first]
normal = _newell(V[loop])
area = float(np.linalg.norm(normal))
rows.append((loop, {"normal": normal / area, "area": area, "centre": V[loop].mean(axis=0)}))
rows.sort(key=lambda r: -r[1]["area"])
ordered, k = [], 0
while k < len(rows):
m = k + 1
while m < len(rows) and rows[m - 1][1]["area"] - rows[m][1]["area"] <= TIE:
m += 1
ordered += sorted(rows[k:m], key=lambda r: _lexical(r[1]["centre"]), reverse=True)
k = m
return V, [r[0] for r in ordered], [r[1] for r in ordered]
def _hull2d(flat: np.ndarray, eps: float) -> list[int]:
"""The indices of a planar point set's convex outline, counter-clockwise: the points ordered by angle about
their middle, then every point that does not turn left by more than eps (one inside, or on a straight run)
left out until none is."""
centre = flat.mean(axis=0)
loop = sorted(range(len(flat)), key=lambda k: math.atan2(flat[k][1] - centre[1], flat[k][0] - centre[0]))
changed = True
while changed and len(loop) > 3:
changed = False
for at in range(len(loop)):
a, b, c = flat[loop[at - 1]], flat[loop[at]], flat[loop[(at + 1) % len(loop)]]
if (b[0] - a[0]) * (c[1] - b[1]) - (b[1] - a[1]) * (c[0] - b[0]) <= eps * max(float(np.linalg.norm(c - a)), eps):
del loop[at]
changed = True
break
return loop
# --- detail panels and their bolts ------------------------------------------------------------------------------------
class _Mesh:
def __init__(self):
self.verts: list[np.ndarray] = []
self.faces: list[list[int]] = []
def add(self, verts, faces) -> None:
base = len(self.verts)
self.verts += [np.asarray(v, dtype=np.float64) for v in verts]
self.faces += [[base + k for k in face] for face in faces]
def done(self):
return (np.array(self.verts, dtype=np.float64).reshape(-1, 3), self.faces)
def _stand(normal: np.ndarray):
"""(x, y) across a facet whose normal is given: y the table's +z off the normal (its +y where the facet is
level), x = y cross normal. A panel's bolts are turned by it."""
y = np.array([0.0, 0.0, 1.0]) - normal * normal[2]
if np.linalg.norm(y) < 1e-4:
y = np.array([0.0, 1.0, 0.0]) - normal * normal[1]
y = y / np.linalg.norm(y)
return np.cross(y, normal), y
def clip(poly: list[np.ndarray], point: np.ndarray, normal: np.ndarray) -> list[np.ndarray]:
"""A convex polygon (3D points in one plane) kept on the side of a line the normal points away from."""
out = []
for i, a in enumerate(poly):
b = poly[(i + 1) % len(poly)]
da, db = float((a - point) @ normal), float((b - point) @ normal)
if da <= 0:
out.append(a)
if (da < 0) != (db < 0) and abs(da - db) > 1e-9:
out.append(a + (b - a) * (da / (da - db)))
return out
def prism(mesh: _Mesh, origin, x, y, z, outline: np.ndarray, depth: float, chamfer: float) -> None:
"""A block on a counter-clockwise outline, drawn depth along z, its far rim chamfered."""
c = min(chamfer, 0.45 * depth)
rings = [(outline, 0.0), (outline, depth - c), (inset2d(outline, c) if c > 1e-6 else outline, depth)]
n = len(outline)
verts = [origin + x * q[0] + y * q[1] + z * h for ring, h in rings for q in ring]
faces = [list(reversed(range(n))), [2 * n + k for k in range(n)]]
for low in (0, n):
faces += [[low + k, low + (k + 1) % n, low + n + (k + 1) % n, low + n + k] for k in range(n)]
mesh.add(verts, faces)
def hex_bolt(mesh: _Mesh, origin, x, y, z, r: float, depth: float) -> None:
"""A hexagonal head centred on origin: r to its corners, depth along z, half each way."""
ring = [(r * math.sin(k * math.pi / 3), r * math.cos(k * math.pi / 3)) for k in range(6)]
verts = [origin + x * q[0] + y * q[1] + z * h for h in (-depth / 2, depth / 2) for q in ring]
faces = [[0, 5, 4, 3, 2, 1], [6, 7, 8, 9, 10, 11]] + [[k, (k + 1) % 6, 6 + (k + 1) % 6, 6 + k] for k in range(6)]
faces = [list(reversed(f)) for f in faces] # the ring runs clockwise about z
mesh.add(verts, faces)
def panel(panels: _Mesh, bolts: _Mesh, polygon: list[np.ndarray], out: np.ndarray, lift: float, inset: float, bolt_r: float) -> bool:
"""A raised panel on a flat convex polygon: the polygon moved in inset on every edge, standing lift over it from
SINK below, its far rim chamfered; a bolt inside each of its corners. False for a polygon too small for one."""
pts = np.array(polygon)
centre = pts.mean(axis=0)
normal = np.cross(pts - centre, np.roll(pts, -1, axis=0) - centre).sum(axis=0)
if np.linalg.norm(normal) < 1e-9:
return False
normal = normal / np.linalg.norm(normal)
if normal @ out < 0:
pts, normal = pts[::-1], -normal
x, y = _stand(normal)
flat = np.column_stack(((pts - centre) @ x, (pts - centre) @ y))
inner = inset2d(flat, inset)
if _area2(inner) < PANEL_MIN[0] * _area2(flat) or _area2(inner) < PANEL_MIN[1]:
return False
prism(panels, centre - normal * SINK, x, y, normal, inner, lift + SINK, CHAMFER)
for q in inset2d(inner, 3.2 * bolt_r):
hex_bolt(bolts, centre + x * q[0] + y * q[1] + normal * (lift + 0.3 * bolt_r), x, y, normal, bolt_r, 0.6 * bolt_r)
return True
def _longest(pts: list[np.ndarray]) -> int:
"""The index of a polygon's longest edge; edges within TIE of it tie, and the tie goes to the edge whose middle
is greatest by x, y, z."""
lengths = [float(np.linalg.norm(pts[(k + 1) % len(pts)] - pts[k])) for k in range(len(pts))]
top = max(lengths)
return max((k for k in range(len(pts)) if top - lengths[k] <= TIE), key=lambda k: _lexical((pts[k] + pts[(k + 1) % len(pts)]) / 2))
def _selected(clad: dict, normal: np.ndarray, centre: np.ndarray, face_n, side: int) -> bool:
if "floor" in clad and normal[2] < clad["floor"]:
return False
if clad["facets"] == "all":
return True
if clad["facets"] == "outer":
return float(normal @ face_n) > OUTER
flip = np.array([float(side), 1.0, 1.0])
for sel in clad["facets"]:
if "radial" in sel:
axis = _unit(sel["radial"], "radial") * flip
radial = centre - axis * (centre @ axis)
length = float(np.linalg.norm(radial))
if length > sel["min_r"] and float(normal @ radial) / length > sel["cos"]:
return True
elif float(normal @ (_unit(sel["n"], "n") * flip)) > sel["cos"]:
return True
return False
def clad_layout(V: np.ndarray, faces, facets, clad: dict, seed: int, face_n, side: int):
"""(panels, bolts, count, lift on the face): the detail plating of one solid. One seeded source draws, in facet
order: for a kept facet over `split`, where its cut falls (SHARE); for every kept facet, which lift comes
first."""
rnd = random.Random(seed)
panels, bolts, made, on_face = _Mesh(), _Mesh(), 0, 0.0
for loop, facet in zip(faces, facets):
if facet["area"] < clad["min_area"]:
continue
pts = [V[k] for k in loop]
if not _selected(clad, facet["normal"], facet["centre"], face_n, side):
continue
if facet["area"] > clad["split"]:
k = _longest(pts)
a, b = pts[k], pts[(k + 1) % len(pts)]
way = (b - a) / np.linalg.norm(b - a)
at = a + (b - a) * rnd.uniform(*SHARE)
parts = [clip(pts, at - way * clad["gap"] / 2, way), clip(pts, at + way * clad["gap"] / 2, -way)]
else:
parts = [pts]
order = list(clad["lifts"]) if rnd.random() < 0.5 else list(reversed(clad["lifts"]))
for i, part in enumerate(parts):
if len(part) >= 3 and panel(panels, bolts, part, facet["normal"], order[i % 2], clad["inset"], clad["bolt_r"]):
made += 1
if face_n is not None and float(facet["normal"] @ face_n) > OUTER:
on_face = clad["lifts"][0]
return panels.done(), bolts.done(), made, on_face
# --- build ------------------------------------------------------------------------------------------------------------
def _across(mesh):
"""A mesh (V, faces) mirrored across x = 0, its faces wound outward still and starting where they did."""
V, faces = mesh
return V * (-1.0, 1.0, 1.0), [face[:1] + face[:0:-1] for face in faces]
def build(table: Any, side: int = 1) -> list[dict]:
"""One entry per plate built, in the table's order: a row with sides "both" is built at `side`, then at -side.
Names end .R at side +1 and .L at -1 on a two-sided row. A two-sided row with one seed (or no clad) is drawn
once, at side +1, and its .L is the mirror of its .R: the same facets in the same order, the same cuts and
lifts. Anywhere else (a one-sided row at side -1, a two-sided row with a pair of seeds) side -1 negates x of
every point before the hull, and facets, ties and draws are those of the mirrored solid as built, which is not
the mirror of side +1's panels; a clad selector's direction is mirrored with it. Each entry: {name, row (its
index in the table), mat, bevel, side, solid: (V, faces), facets, panels: (V, faces), bolts: (V, faces),
anchors: [{kind, name, matrix, mirrored, height?}], report: {corners, facets, panels, bolts}}."""
if side not in (1, -1):
raise PlateError(f"side: {side!r} is not 1 or -1")
table = _read(table)
built = []
for i, row in enumerate(table["plates"]):
path = f"plates[{i}]"
points, face = _row_points(row, path)
clad = row["clad"]
pair = clad is not None and not isinstance(clad["seed"], int)
drawn: dict[int, tuple] = {}
for s in ((side, -side) if row["sides"] == "both" else (side,)):
flip = np.array([float(s), 1.0, 1.0])
face_n = None if face is None else face[3] * flip
where = 1 if row["sides"] == "both" and not pair else s # the side this plate is drawn at
if where not in drawn:
turn = np.array([float(where), 1.0, 1.0])
V, faces, facets = hull(_mirrored(points * turn, row["mirror"]), path)
panels = bolts = (np.zeros((0, 3)), [])
made, top = 0, 0.0
if clad is not None:
seed = clad["seed"][0 if where > 0 else 1] if pair else clad["seed"]
panels, bolts, made, top = clad_layout(V, faces, facets, clad, seed, None if face is None else face[3] * turn, where)
drawn[where] = ((V, faces), facets, panels, bolts, made, top)
solid, facets, panels, bolts, made, top = drawn[where]
if where != s:
solid, panels, bolts = _across(solid), _across(panels), _across(bolts)
facets = [{"normal": f["normal"] * flip, "area": f["area"], "centre": f["centre"] * flip} for f in facets]
anchors = []
for j, fit in enumerate(row["fits"]):
origin, a, b, n = face
at = (origin + a * fit["at"][0] + b * fit["at"][1] + n * (top + fit.get("lift", 0.0))) * flip
up = (0.0, 0.0, 1.0) if fit["kind"] == "mark" else b * flip
anchor = {"kind": fit["kind"], "name": fit.get("id", fit.get("name")), "matrix": _frame(at, face_n, up, f"{path}.fits[{j}]").tolist(), "mirrored": s < 0}
if fit["kind"] == "mark":
anchor["height"] = fit["height"]
anchors.append(anchor)
built.append({"name": row["name"] + ((".R" if s > 0 else ".L") if row["sides"] == "both" else ""), "row": i, "mat": row["mat"], "bevel": row["bevel"], "side": s,
"solid": solid, "facets": facets, "panels": panels, "bolts": bolts, "anchors": anchors,
"report": {"corners": len(solid[0]), "facets": len(solid[1]), "panels": made, "bolts": len(bolts[0]) // 12}})
return built

View file

@ -833,6 +833,178 @@ evaluate, but deleting the copy costs the same whole evaluation (1.44 to 1.54 s
included, and the hole cut's temporary objects must be deleted too. So a hull with twenty cutters pays their
evaluation once for every `ribs` call; iterate planes on the cage before it is cut, or with its Booleans off.
## Hard plates
`brokkr_kitbash/plate.py` owns a hard armour plate's geometry: a convex faceted solid, every facet flat, with
raised detail panels, a bolt inside each panel corner, and the frames of what stands on it. It is numpy and the
standard library, as `core.py` and `route.py` are, and it is a library so far: `plate.check(document)` and
`plate.build(table, side=1)`. No action calls it yet and nothing here makes a Blender object. A plate the concept
draws curved is a shell (Making a shell); the two do not call each other.
A plate table is a data document:
```json
{"schema": "brokkr.plates.v0", "plates": [
{"name": "Thigh.Shield", "mat": "khaki", "bevel": 0.022,
"slab": {"at": [0.02, 0.9, -0.5], "normal": [0.06, 1, 0.05], "up": [0, 0, 1], "right": [1, 0, 0],
"outline": [[-0.42, 0.98], [0.42, 0.98], [0.66, 0.5], [0.66, -0.52], [0.42, -1.0], [-0.42, -1.0], [-0.66, -0.52], [-0.66, 0.5]],
"thick": 0.26, "taper": 0.04},
"clad": {"mat": "olive_light", "min_area": 0.2, "lifts": [0.05, 0.05], "inset": 0.075, "gap": 0.045, "split": 99.0, "seed": 948708},
"fits": [{"kind": "mark", "id": "tri", "at": [0.0, -0.05], "height": 0.5}]}
]}
```
Coordinates are metres in the table's own frame. The module never sees a host or a world: whoever stands the
plates somewhere owns that matrix. The table alone decides the result. A table holds 1 to 256 rows.
### A row
| key | value |
| --- | --- |
| `name` | 1 to 48 of `a-z A-Z 0-9 _ .`, unique among the plates built |
| `mat` | a material name, 1 to 63 characters; the caller resolves it |
| `bevel` | 0 to 0.1 (default 0): the width of the chamfer the caller's Bevel gives every edge; carried, not built |
| `sides` | `"one"` (default) or `"both"`: built at `side` and at `-side`, named `<name>.R` at side +1 and `<name>.L` at -1 |
| `mirror` | `true`: the solid is the hull of its points and their x-mirrors, one solid across x = 0 |
| one solid form | `faces`, `slab`, `sections` or `points` (below) |
| `clad` | `null` or the detail plating (below) |
| `face` | `{at, normal, up, right}`: the face anchors stand on, for a row that is not a slab |
| `fits` | anchors (below) |
`mirror` and `sides` are independent. A two-sided row with one seed, or with no clad, is drawn once, at side +1,
and its `.L` is the mirror of its `.R`: the same facets in the same order, the same cuts and lifts, every face
wound the other way from the vertex it started at. Everywhere else, which is a one-sided row built at side -1 and
a two-sided row with a pair of seeds, side -1 negates x of every point before the hull is built, and facets, ties
and draws are those of the mirrored solid as built. That is not the mirror of side +1's panels even under the
same seed: a cut is measured along its edge in the facet's winding, which a mirror reverses, and a tie goes to the
greater x of the mirrored solid. The mech tracks' builders work this way (paladin's left thigh is its right
thigh's table at side -1 with the same seeds, and its split panels are cut at the other share), and the fixtures
hold `build` to them.
### Solid forms
Each form gives points; the plate is their convex hull.
- `faces`: 4 to 32 half-spaces, each `{at, normal}` (kept where `n . p <= n . at`) or
`{through: [a, b, c], out}` (the plane through three points, outward toward `out`). The corners are every three
faces' meeting point that lies inside all the others within 1e-6 m. Refused with fewer than four corners or a
corner 1000 m or more away.
- `slab`: `{at, normal, up, right, outline, thick, taper, back, gap}`. The outline is drawn on the plane through
`at` facing `normal`, in (a, b): b is `up` projected into the plane, a is b cross normal, turned toward `right`
where one is given. `outline` is 3 to 64 `[a, b]` points in either winding, or `{w, h, clip}`: a w by h
rectangle with its corners cut by `clip`. The outline is drawn in by `gap` (default 0) on every edge; the outer
face is that ring moved in by `taper` (default 0.04); the ring itself stands `taper` behind the face; the back
ring stands `thick` behind, scaled by `back` (default 1) about the ring's middle (the mean of its points).
- `slab` by corners: `{corners, names, inside, lift, thick, taper, back, gap, up}`. `corners` is 3 to 64 points;
the outer face is their least-squares plane, outward away from `inside`, standing `lift` (default 0.06) off
it; the outline is the corners in that plane's frame (`core.surface_frame` at centre + normal x lift). `names`
is optional, one distinct name per corner, so a plate blocked by `brokkr_reference.block_plate` can become a
row. Corners that stand off their plane by more than 0.05 of their extent (the greatest distance between two
of them) are refused: that is not a plate.
- `sections`: 2 to 16 `[z, w, y0, y1, c]`, each a rectangle w across x from y0 to y1 at height z with its corners
cut c: a housing down a limb.
- `points`: 4 to 64 `[x, y, z]`.
Where each came from on the three mech tracks: `faces` is bastion's carapace (`massing.corners`), `slab` paladin's
limb armour (`massing.slab_points`) with raptor's `gap`, the corners slab raptor's hull plates
(`raptor_body.wedge_plate`), `sections` paladin's and raptor's limb housings, `points` all three.
### The hull and its facets
The module builds the hull itself. A facet is every plane through three points that has all points on its inner
side, taken once for the set of points on it and ordered by angle about their middle. Then two rules, both at
0.5 degrees: adjacent facets whose normals are closer than that are one facet, and a vertex left with two edges
that turn less than that is dropped.
Facets are ordered by area, largest first; areas within 1e-9 m2 tie and go to the greater centre by x, then y,
then z (the centre is the mean of the facet's vertices). The order is computed on the solid as built in the table
frame, never from where the plate stands or from a mesh's order, and it decides which facet draws from the seed
first.
### Clad
`clad` raises a panel on each chosen facet:
| key | value |
| --- | --- |
| `mat` | the panels' material |
| `facets` | `"outer"` (a slab's default): facets whose normal on the face's normal is over 0.97. `"all"`. Or 1 to 8 selectors, any of which chooses: `{n, cos}` (normal on `n` over `cos`) or `{radial: axis, min_r, cos}` (the facet's centre stands over `min_r` from the axis through the origin, and its normal on the outward radial is over `cos`). A selector's direction is mirrored with the side. |
| `floor` | optional: facets whose normal's z is below it are left bare |
| `min_area` | facets under it are left bare |
| `lifts` | `[l0, l1]`: how proud panels stand |
| `inset` | how far a panel stands in from its facet's edges |
| `gap` | the seam between the two panels of a split facet |
| `split` | a facet over this area is cut in two |
| `seed` | an integer, or `[right, left]` on a row with `sides: "both"`. There is no default. One integer on a two-sided row makes a mirrored pair; a pair of seeds draws each side on its own solid, also where the two are equal. |
| `bolt_r` | a bolt's corner radius (default 0.028) |
One `random.Random(seed)` draws, in facet order. A chosen facet over `split` is cut across its longest edge at a
share drawn from 0.36 to 0.64 of that edge, the two parts `gap` apart; edges within 1e-9 m of the longest tie and
go to the edge whose middle is greater by x, y, z. Then every chosen facet draws once: under 0.5 the parts take
`l0, l1`, otherwise `l1, l0`. A panel is its part moved in by `inset` (a sharp corner moves at most inset / 0.3),
refused under a quarter of the part's area or under 0.02 m2; it is a prism from 0.02 below the facet to its lift
above, its far rim chamfered 0.02. A hexagonal bolt of radius `bolt_r` stands inside each panel corner, 3.2
`bolt_r` in.
The inset moves each corner along its own miter and does not look at its neighbours, so where it passes the two
ends of a short edge over each other the panel's outline crosses itself. `build` makes that panel as it stands;
Blender fills a face that crosses itself by where its loop starts, so the same vertices can render differently
from another builder's mesh. Two of the 104 fixture panels do it (bastion's `Hull.Cheek.R` and paladin's
`Thigh.Outer`), and the test names them.
### Anchors
A fit is a frame on the face, at `[a, b]` in the face's (a, b), standing on the face's top: the face, plus
`lifts[0]` where a panel stands on it. Two kinds:
- `{kind: "mark", id, at, height}`: z is the face's normal and y the table's +z projected off it, so a numeral
stands upright whatever the plate's lean.
- `{kind: "hose_port", name, at, lift}`: z out of the face, y the face's up, `lift` (default 0) further out.
`build` returns each as `{kind, name, matrix, mirrored}` (and `height` for a mark). At side -1 the position, normal
and up are mirrored and the frame is made right-handed again (x = y cross z); `mirrored` says so. What stands on
an anchor is its owner's business; the fittings the mech tracks draw on a face (bolt rows, slots, vents, ports,
handles, eyes, louvres, steps) are not fits of this table yet, and any other kind is refused.
### What build returns
One entry per plate built, in the table's order: `name`, `row` (its index), `mat`, `bevel`, `side`,
`solid: (V, faces)`, `facets` (each face's `normal`, `area`, `centre`), `panels: (V, faces)`, `bolts: (V, faces)`,
`anchors`, and `report: {corners, facets, panels, bolts}`. `V` is an (N, 3) float64 array; faces are lists of
vertex indices wound outward. `check` returns the table with every default written in. Both are pure functions.
Building the three mech fixtures takes 0.5 to 0.9 s each (23 to 50 plates, medians of 5 on Starfire, Python
3.13); the hull tries every plane through three points, so a slab with a 64-point outline takes 1.5 s alone.
### Refusals
Every refusal is a `PlateError` (a `ValueError`) that names the path, as `plates[3].slab.outline[2]` or
`plates[0].clad.seed`: a schema that is not `brokkr.plates.v0`; an unknown key anywhere; a row with no solid form
or two; a name built twice; a number that is not finite; an outline under 3 points or over 64, one that crosses
itself, repeats a point or has zero area; `thick`, `taper`, `back` or `gap` outside 0.001 to 2, 0 to 0.5, 0.1 to
1.5 and 0 to 0.5; a `taper` of half the outline's least width or more; corners that are not a plate; faces that
bound nothing; points in one plane; a pair of seeds on a one-sided row, or no seed; an `up` along the normal; a
fit on a row with no face; an unknown fit kind; two anchors of one name in a row.
### Against the mech tracks' builders
`tests/fixtures/plates_bastion.json`, `plates_paladin.json` and `plates_raptor.json` each hold a table converted
from a mech branch's own numbers and the solids, panels and bolt counts that branch's builder made in Blender
5.3; `tests/test_plate.py` holds `build` to them (solid vertices within 1e-6 m, panel vertices within 1e-5 m,
facet and bolt counts equal). The branches' builders work in float32 and leave two choices to Blender's mesh
order, so eleven of the 126 fixture plates are held to something else, each named in the test's `KNOWN`:
eight stand 1 to 2 micrometres (solid) or 29 micrometres (panels) from the float64 result and are held at 4 and
40; bastion's two quarter pods lack a corner their faces do bound (the branch's inside test lost it to float32),
so the branch's solid is smaller than the table's and its panels are another solid's; and one of bastion's two
belly-side plates splits its panel from the other of two equally long edges. Those three are held, solid, facets,
panels and bolts, to `repaired` in `plates_bastion.json`: the branch's own builder run in Blender 5.3 with the
inside test at 1e-5 m, and with its clad cutting from the other tied edge.
The same test builds the three fixtures to one sha256 of every coordinate rounded to 1e-9 m and every face,
pinned from Starfire (Windows 11, numpy 2.5.4) and Yggdrasil (Debian 13, numpy 2.2.4 on the system LAPACK). The
two hosts' coordinates differ by up to 2.7e-15 m, so the bytes of `build`'s arrays are equal between runs on one
host and not between hosts.
## Hoses between sockets
`brokkr_kitbash.hose` routes a bundle of hoses from one socket to another around everything in the scene:

View file

@ -0,0 +1,50 @@
{"source": {"branch": "nibu/fable-bastion-2", "sha": "eeda8bf2defd411bebc2fd438d8934ba46e88614", "blender": "5.3.0"},
"table": {"schema": "brokkr.plates.v0", "plates": [
{"name": "Core.upper", "mat": "gunmetal", "bevel": 0.0, "mirror": true, "points": [[0.0, 5.3, 5.3], [2.2, 5.0, 5.3], [4.3, 3.6, 5.3], [4.5, 0.9, 5.2], [4.5, -1.4, 5.4], [4.3, -2.8, 5.6], [3.6, -4.4, 5.8], [2.2, -5.0, 5.9], [0.0, -5.0, 5.9], [0.0, 3.4, 6.8], [2.2, 3.4, 6.8], [4.0, 3.0, 6.6], [4.2, 0.9, 6.8], [4.2, -1.4, 6.8], [3.9, -2.8, 6.8], [3.2, -4.2, 6.8], [0.0, -4.6, 6.9], [2.6, 2.6, 7.3], [2.6, -2.6, 7.3], [0.0, 3.4, 7.0]]},
{"name": "Core.belly", "mat": "gunmetal", "bevel": 0.03, "mirror": true, "points": [[2.3, 4.7, 5.3], [2.3, -4.9, 5.9], [1.7, 4.0, 3.6], [1.8, 2.2, 3.3], [1.8, -2.6, 3.35], [1.5, -4.6, 4.0], [1.2, 4.9, 3.7]]},
{"name": "Core.cheek_tray", "mat": "gunmetal", "bevel": 0.0, "sides": "both", "faces": [{"at": [2.2479736988984707, 5.264865987629634, 5.0], "normal": [0.5429510753626048, 0.839764329894162, 0.0]}, {"at": [1.6941636020286137, 4.40830637113759, 5.0], "normal": [-0.5429510753626048, -0.839764329894162, 0.0]}, {"at": [0.0, 0.0, 4.9], "normal": [0.0, 0.0, -1.0]}, {"at": [0.0, 0.0, 5.3], "normal": [0.0, 0.0, 1.0]}, {"at": [2.5, 0.0, 0.0], "normal": [-1.0, 0.0, 0.0]}, {"at": [4.750163376895761, 0.8804114363827034, 4.6936620832203895], "normal": [1.0, 0.07, 0.38]}]},
{"name": "Hull.Brow", "mat": "olive", "bevel": 0.04, "mirror": true, "points": [[0.0, 6.3, 5.58], [1.05, 6.25, 5.72], [2.0, 5.72, 5.76], [2.28, 4.95, 5.8], [0.0, 6.14, 6.12], [1.0, 6.1, 6.14], [1.92, 5.6, 6.16], [2.2, 4.95, 6.2], [0.0, 3.25, 7.0], [2.05, 3.25, 7.0], [0.0, 3.25, 6.2], [2.28, 3.25, 6.2]], "clad": {"mat": "olive_light", "facets": [{"n": [0, 0, 1], "cos": 0.6}, {"radial": [0, 0, 1], "min_r": 1.0, "cos": 0.25}], "floor": -0.35, "min_area": 0.9, "lifts": [0.045, 0.075], "inset": 0.11, "gap": 0.05, "split": 2.2, "seed": 2}},
{"name": "Hull.Chin", "mat": "olive", "bevel": 0.04, "mirror": true, "points": [[0.0, 5.78, 5.2], [1.0, 5.78, 5.2], [2.1, 5.15, 5.2], [2.3, 4.3, 5.2], [0.0, 5.45, 3.95], [0.85, 5.45, 3.95], [1.75, 4.95, 3.98], [1.95, 4.3, 4.0], [2.3, 3.5, 5.2], [1.95, 3.5, 3.95]], "clad": {"mat": "olive_light", "facets": [{"n": [0, 0, 1], "cos": 0.6}, {"radial": [0, 0, 1], "min_r": 1.0, "cos": 0.25}], "floor": -0.35, "min_area": 0.9, "lifts": [0.045, 0.075], "inset": 0.11, "gap": 0.05, "split": 2.2, "seed": 7}},
{"name": "Hull.Sill", "mat": "olive_light", "bevel": 0.02, "mirror": true, "points": [[0.0, 5.9, 5.2], [1.05, 5.9, 5.2], [2.2, 5.22, 5.2], [0.0, 5.84, 5.3], [1.02, 5.84, 5.3], [2.14, 5.18, 5.3], [0.0, 5.3, 5.2], [2.0, 4.9, 5.2], [0.0, 5.3, 5.3], [2.0, 4.9, 5.3]]},
{"name": "Hull.Jaw", "mat": "olive_light", "bevel": 0.03, "mirror": true, "points": [[1.2, 5.3, 3.97], [1.2, 3.7, 3.97], [1.0, 5.12, 3.3], [1.0, 3.85, 3.3]]},
{"name": "Hull.Cheek", "mat": "olive", "bevel": 0.04, "sides": "both", "faces": [{"through": [[2.4, 5.5, 5.25], [4.72, 4.0, 5.25], [2.38, 5.2, 6.2]], "out": [0.5, 1.0, 0.2]}, {"at": [4.93672112563192, 0.8934704787942345, 4.76455402774013], "normal": [1.0, 0.07, 0.38]}, {"at": [4.2, 0.9, 6.95], "normal": [0.3, 0.08, 1.0]}, {"at": [2.38, 5.2, 6.2], "normal": [0.12, 0.4, 1.0]}, {"at": [0.0, 0.0, 5.25], "normal": [0.0, 0.0, -1.0]}, {"at": [0.0, 0.9, 0.0], "normal": [0.0, -1.0, 0.0]}, {"at": [2.38, 0.0, 0.0], "normal": [-1.0, 0.0, 0.0]}, {"at": [2.057666384578959, 1.9719302852215022, 0.0], "normal": [-0.7219882051154242, -0.6919053632356148, -0.0]}], "clad": {"mat": "olive_light", "facets": [{"n": [0, 0, 1], "cos": 0.6}, {"radial": [0, 0, 1], "min_r": 1.0, "cos": 0.25}], "floor": -0.35, "min_area": 0.9, "lifts": [0.045, 0.075], "inset": 0.11, "gap": 0.05, "split": 2.2, "seed": [4, 3]}},
{"name": "Hull.Skirt", "mat": "olive", "bevel": 0.035, "sides": "both", "points": [[4.622999999999999, 4.0, 5.3], [4.8016, 3.62, 4.9], [5.1695, 1.35, 4.35], [5.03, 0.9, 4.8], [4.384, 0.9, 6.5], [4.295, 3.8, 6.2], [4.324507602022145, 3.97910553214155, 5.186572888768415], [4.503107602022145, 3.59910553214155, 4.786572888768416], [4.8710076020221456, 1.3291055321415504, 4.236572888768415], [4.731507602022146, 0.8791055321415502, 4.686572888768415], [4.085507602022146, 0.8791055321415502, 6.3865728887684154], [3.9965076020221453, 3.77910553214155, 6.086572888768416]]},
{"name": "Hull.CheekLip", "mat": "olive_light", "bevel": 0.02, "sides": "both", "faces": [{"at": [2.4, 5.5, 5.0], "normal": [0.5429510753626048, 0.839764329894162, 0.0]}, {"at": [2.313127827941983, 5.365637707216934, 5.0], "normal": [-0.5429510753626048, -0.839764329894162, 0.0]}, {"at": [0.0, 0.0, 4.84], "normal": [0.0, 0.0, -1.0]}, {"at": [0.0, 0.0, 4.99], "normal": [0.0, 0.0, 1.0]}, {"at": [2.45, 0.0, 0.0], "normal": [-1.0, 0.0, 0.0]}, {"at": [4.93672112563192, 0.8934704787942345, 4.76455402774013], "normal": [1.0, 0.07, 0.38]}]},
{"name": "Hull.Quarter", "mat": "olive", "bevel": 0.04, "sides": "both", "faces": [{"at": [5.0, -1.4, 5.5], "normal": [1.0, -0.1, 0.4]}, {"at": [4.45, -3.7, 5.7], "normal": [0.904, -0.427, 0.4]}, {"at": [3.2, -4.9, 5.85], "normal": [0.351, -0.936, 0.35]}, {"at": [4.2, -2.6, 6.95], "normal": [0.28, -0.1, 1.0]}, {"at": [0.0, -1.35, 5.5], "normal": [0.0, -0.12, -1.0]}, {"at": [0.0, -1.4, 0.0], "normal": [0.0, 1.0, 0.0]}, {"at": [1.75, 0.0, 0.0], "normal": [-1.0, 0.0, 0.0]}, {"at": [2.139533523229853, -1.8827895004422703, 0.0], "normal": [-0.7507135169227553, 0.6606278948920247, -0.0]}], "clad": {"mat": "olive_light", "facets": [{"n": [0, 0, 1], "cos": 0.6}, {"radial": [0, 0, 1], "min_r": 1.0, "cos": 0.25}], "floor": -0.35, "min_area": 0.9, "lifts": [0.045, 0.075], "inset": 0.11, "gap": 0.05, "split": 2.2, "seed": [15, 14]}},
{"name": "Hull.FlankRoof", "mat": "olive_light", "bevel": 0.03, "sides": "both", "faces": [{"at": [4.3, 0.0, 7.05], "normal": [0.3, 0.0, 1.0]}, {"at": [4.7, 0.0, 0.0], "normal": [1.0, 0.0, 0.25]}, {"at": [0.0, 0.0, 6.88], "normal": [0.0, 0.0, -1.0]}, {"at": [0.0, 0.85, 0.0], "normal": [0.0, 1.0, 0.0]}, {"at": [0.0, -1.3, 0.0], "normal": [0.0, -1.0, 0.0]}, {"at": [2.8, 0.0, 0.0], "normal": [-1.0, 0.0, 0.0]}], "clad": {"mat": "olive", "facets": [{"n": [0, 0, 1], "cos": 0.6}, {"radial": [0, 0, 1], "min_r": 1.0, "cos": 0.25}], "floor": -0.35, "min_area": 0.9, "lifts": [0.045, 0.075], "inset": 0.11, "gap": 0.05, "split": 2.2, "seed": [10, 9]}},
{"name": "Hull.FlankSill", "mat": "olive", "bevel": 0.03, "sides": "both", "faces": [{"at": [4.98, 0.0, 0.0], "normal": [1.0, 0.0, 0.12]}, {"at": [3.9, 0.0, 0.0], "normal": [-1.0, 0.0, 0.0]}, {"at": [0.0, 0.0, 5.12], "normal": [0.0, 0.0, -1.0]}, {"at": [0.0, 0.0, 5.45], "normal": [0.0, 0.0, 1.0]}, {"at": [0.0, 0.85, 0.0], "normal": [0.0, 1.0, 0.0]}, {"at": [0.0, -1.3, 0.0], "normal": [0.0, -1.0, 0.0]}]},
{"name": "Hull.Tail", "mat": "olive_light", "bevel": 0.03, "mirror": true, "points": [[1.72, -2.75, 7.5], [1.72, -5.0, 7.3], [1.72, -2.75, 7.15], [1.72, -5.0, 7.0]], "clad": {"mat": "olive", "facets": [{"n": [0, 0, 1], "cos": 0.6}, {"radial": [0, 0, 1], "min_r": 1.0, "cos": 0.25}], "floor": -0.35, "min_area": 0.9, "lifts": [0.045, 0.075], "inset": 0.11, "gap": 0.05, "split": 2.2, "seed": 19}},
{"name": "Hull.BellySide", "mat": "olive_light", "bevel": 0.03, "sides": "both", "points": [[2.1, 2.2, 3.9], [2.1, -2.4, 3.95], [2.45, 2.0, 4.1], [2.45, -2.2, 4.15], [2.45, 2.0, 4.85], [2.45, -2.2, 4.9], [2.25, 2.2, 5.1], [2.25, -2.4, 5.15], [1.8, 2.2, 3.9], [1.8, -2.4, 5.15]], "clad": {"mat": "olive", "facets": [{"n": [0, 0, 1], "cos": 0.6}, {"radial": [0, 0, 1], "min_r": 1.0, "cos": 0.25}], "floor": -0.35, "min_area": 0.9, "lifts": [0.045, 0.075], "inset": 0.11, "gap": 0.05, "split": 2.2, "seed": [1, 0]}}
]},
"cases": [
{"side": 1, "truth": {
"Core.upper": {"solid":[[0.0,5.3000002,5.3000002],[2.2,5.0,5.3000002],[4.3000002,3.5999999,5.3000002],[4.5,0.9,5.1999998],[4.5,-1.4,5.4000001],[4.3000002,-2.8,5.5999999],[3.5999999,-4.4000001,5.8000002],[2.2,-5.0,5.9000001],[2.2,3.4000001,6.8000002],[4.0,3.0,6.5999999],[4.1999998,0.9,6.8000002],[4.1999998,-1.4,6.8000002],[3.9000001,-2.8,6.8000002],[3.2,-4.1999998,6.8000002],[0.0,-4.5999999,6.9000001],[2.5999999,2.5999999,7.3000002],[2.5999999,-2.5999999,7.3000002],[0.0,3.4000001,7.0],[-2.2,5.0,5.3000002],[-4.3000002,3.5999999,5.3000002],[-4.5,0.9,5.1999998],[-4.5,-1.4,5.4000001],[-4.3000002,-2.8,5.5999999],[-3.5999999,-4.4000001,5.8000002],[-2.2,-5.0,5.9000001],[-2.2,3.4000001,6.8000002],[-4.0,3.0,6.5999999],[-4.1999998,0.9,6.8000002],[-4.1999998,-1.4,6.8000002],[-3.9000001,-2.8,6.8000002],[-3.2,-4.1999998,6.8000002],[-2.5999999,2.5999999,7.3000002],[-2.5999999,-2.5999999,7.3000002]],"facets":54,"panels":[],"bolts":0},
"Core.belly": {"solid":[[2.3,4.6999998,5.3000002],[2.3,-4.9000001,5.9000001],[1.7,4.0,3.5999999],[1.8,2.2,3.3],[1.8,-2.5999999,3.3499999],[1.5,-4.5999999,4.0],[1.2,4.9000001,3.7],[-2.3,4.6999998,5.3000002],[-2.3,-4.9000001,5.9000001],[-1.7,4.0,3.5999999],[-1.8,2.2,3.3],[-1.8,-2.5999999,3.3499999],[-1.5,-4.5999999,4.0],[-1.2,4.9000001,3.7]],"facets":18,"panels":[],"bolts":0},
"Core.cheek_tray.R": {"solid":[[2.5,5.1019173,4.9000001],[4.4651914,3.8313196,4.9000001],[2.5,5.1019173,5.3000002],[4.3059859,3.9342542,5.3000002],[2.5,3.8872914,4.9000001],[4.5542455,2.5591156,4.9000001],[2.5,3.8872914,5.3000002],[4.39504,2.6620502,5.3000002]],"facets":6,"panels":[],"bolts":0},
"Core.cheek_tray.L": {"solid":[[-2.5,5.1019173,4.9000001],[-4.4651914,3.8313196,4.9000001],[-2.5,5.1019173,5.3000002],[-4.3059859,3.9342542,5.3000002],[-2.5,3.8872914,4.9000001],[-4.5542455,2.5591156,4.9000001],[-2.5,3.8872914,5.3000002],[-4.39504,2.6620502,5.3000002]],"facets":6,"panels":[],"bolts":0},
"Hull.Brow": {"solid":[[0.0,6.3000002,5.5799999],[1.05,6.25,5.7199998],[2.0,5.7199998,5.7600002],[2.28,4.9499998,5.8000002],[0.0,6.1399999,6.1199999],[1.0,6.0999999,6.1399999],[1.92,5.5999999,6.1599998],[2.2,4.9499998,6.1999998],[2.05,3.25,7.0],[2.28,3.25,6.1999998],[-1.05,6.25,5.7199998],[-2.0,5.7199998,5.7600002],[-2.28,4.9499998,5.8000002],[-1.0,6.0999999,6.1399999],[-1.92,5.5999999,6.1599998],[-2.2,4.9499998,6.1999998],[-2.05,3.25,7.0],[-2.28,3.25,6.1999998]],"facets":29,"panels":[[0.3885275,5.9889116,6.1526303],[-0.9221566,5.9889116,6.1526303],[-1.8945599,3.3495317,6.9490747],[0.3885272,3.3495317,6.9490747],[0.3885275,6.0105786,6.2244325],[-0.9221566,6.0105786,6.2244325],[-1.8945599,3.3711982,7.0208769],[0.3885272,3.3711982,7.0208769],[0.3685275,5.9972091,6.2493577],[-0.9080032,5.9972091,6.2493577],[-1.866298,3.3961234,7.0342464],[0.3685272,3.3961234,7.0342464],[1.8945597,3.3495317,6.9490747],[0.9221566,5.9889116,6.1526303],[0.6585274,5.9889116,6.1526303],[0.6585273,3.3495317,6.9490747],[1.8945597,3.3625317,6.992156],[0.9221566,6.0019116,6.1957116],[0.6585274,6.0019116,6.1957116],[0.6585273,3.3625317,6.992156],[1.866298,3.3874567,7.0055256],[0.9080032,5.9885426,6.2206364],[0.6785274,5.9885426,6.2206364],[0.6785272,3.3874567,7.0055256],[1.9754326,3.5847373,6.8687177],[1.811658,5.5343542,6.1817808],[1.1911595,5.8715816,6.168292],[1.9828436,3.60004,6.9103818],[1.8190689,5.5496569,6.2234454],[1.1985704,5.8868842,6.2099562],[1.9730231,3.6689181,6.9084315],[1.8035812,5.5455861,6.2492967],[1.2357996,5.8541627,6.2369537],[-1.811658,5.5343542,6.1817808],[-1.9754326,3.5847373,6.8687177],[-1.1911596,5.8715811,6.168292],[-1.8190689,5.5496569,6.2234454],[-1.9828436,3.60004,6.9103818],[-1.1985705,5.8868837,6.2099562],[-1.8035812,5.5455861,6.2492967],[-1.9730231,3.6689181,6.9084315],[-1.2357996,5.8541627,6.2369537]],"bolts":14},
"Hull.Chin": {"solid":[[1.0,5.7800002,5.1999998],[2.0999999,5.1500001,5.1999998],[2.3,4.3000002,5.1999998],[0.85,5.4499998,3.95],[1.75,4.9499998,3.98],[1.95,4.3000002,4.0],[2.3,3.5,5.1999998],[1.95,3.5,3.95],[-1.0,5.7800002,5.1999998],[-2.0999999,5.1500001,5.1999998],[-2.3,4.3000002,5.1999998],[-0.85,5.4499998,3.95],[-1.75,4.9499998,3.98],[-1.95,4.3000002,4.0],[-2.3,3.5,5.1999998],[-1.95,3.5,3.95]],"facets":18,"panels":[[-0.3619034,5.6700001,5.1800003],[-0.9707303,5.6700001,5.1800003],[-2.0038681,5.0782938,5.1800003],[-2.1900001,4.2872334,5.1800003],[-2.1900001,3.6100001,5.1800003],[-0.3619035,3.6100001,5.1800003],[-0.3619034,5.6700001,5.2250004],[-0.9707303,5.6700001,5.2250004],[-2.0038681,5.0782938,5.2250004],[-2.1900001,4.2872334,5.2250004],[-2.1900001,3.6100001,5.2250004],[-0.3619035,3.6100001,5.2250004],[-0.3819034,5.6500001,5.2450004],[-0.9654085,5.6500001,5.2450004],[-1.9863894,5.0652566,5.2450004],[-2.1700001,4.2849121,5.2450004],[-2.1700001,3.6300001,5.2450004],[-0.3819035,3.6300001,5.2450004],[2.1900001,4.2872334,5.1800003],[2.0038681,5.0782938,5.1800003],[0.9707303,5.6700001,5.1800003],[-0.0919034,5.6700001,5.1800003],[-0.0919033,3.6100001,5.1800003],[2.1900001,3.6100001,5.1800003],[2.1900001,4.2872334,5.2550001],[2.0038681,5.0782938,5.2550001],[0.9707303,5.6700001,5.2550001],[-0.0919034,5.6700001,5.2550001],[-0.0919033,3.6100001,5.2550001],[2.1900001,3.6100001,5.2550001],[2.1700001,4.2849121,5.2750001],[1.9863894,5.0652566,5.2750001],[0.9654086,5.6500001,5.2750001],[-0.0719035,5.6500001,5.2750001],[-0.0719033,3.6300001,5.2750001],[2.1700001,3.6300001,5.2750001],[-0.8764993,5.7325845,5.0987487],[-0.0504766,5.7325845,5.0987487],[-0.0504766,5.4587402,4.061461],[-0.7520249,5.4587402,4.061461],[-0.8764993,5.7760935,5.0872622],[-0.0504766,5.7760935,5.0872622],[-0.0504766,5.5022492,4.0499744],[-0.7520249,5.5022492,4.0499744],[-0.8540447,5.7903261,5.06282],[-0.0704766,5.7903261,5.06282],[-0.0704766,5.5266919,4.0642071],[-0.7342112,5.5266919,4.0642071],[0.2195233,5.7325845,5.0987492],[0.8764993,5.7325845,5.0987492],[0.7520248,5.4587402,4.0614614],[0.2195233,5.4587402,4.0614614],[0.2195233,5.8051,5.0796051],[0.8764993,5.8051,5.0796051],[0.7520248,5.5312557,4.0423174],[0.2195233,5.5312557,4.0423174],[0.2395233,5.8193321,5.0551624],[0.8540447,5.8193321,5.0551624],[0.7342112,5.5556984,4.05655],[0.2395233,5.5556984,4.05655],[1.6727291,5.0044794,4.0888481],[0.9496512,5.4084468,4.064147],[1.0728847,5.6800089,5.100059],[1.9638414,5.1720209,5.0994902],[1.708429,5.0671163,4.068181],[0.9853511,5.4710841,4.0434804],[1.1085846,5.7426457,5.079392],[1.9995413,5.2346578,5.0788231],[1.705741,5.0969553,4.0813947],[1.0146099,5.4830751,4.057785],[1.1331977,5.7443995,5.0546436],[1.9859257,5.2582078,5.0540991],[-1.6727293,5.0044794,4.0888476],[-1.9638416,5.1720209,5.0994897],[-1.0728848,5.6800089,5.1000586],[-0.9496514,5.4084473,4.064147],[-1.6941493,5.0420618,4.0764475],[-1.9852614,5.2096033,5.0870895],[-1.0943048,5.7175913,5.0876584],[-0.9710713,5.4460292,4.0517464],[-1.6914613,5.0719008,4.0896611],[-1.9716458,5.2331533,5.0623655],[-1.1189178,5.7193451,5.0629101],[-1.0003301,5.4580207,4.0660515]],"bolts":28},
"Hull.Sill": {"solid":[[1.05,5.9000001,5.1999998],[2.2,5.2199998,5.1999998],[1.02,5.8400002,5.3000002],[2.1400001,5.1799998,5.3000002],[2.0,4.9000001,5.1999998],[2.0,4.9000001,5.3000002],[-1.05,5.9000001,5.1999998],[-2.2,5.2199998,5.1999998],[-1.02,5.8400002,5.3000002],[-2.1400001,5.1799998,5.3000002],[-2.0,4.9000001,5.1999998],[-2.0,4.9000001,5.3000002]],"facets":12,"panels":[],"bolts":0},
"Hull.Jaw": {"solid":[[1.2,5.3000002,3.97],[1.2,3.7,3.97],[1.0,5.1199999,3.3],[1.0,3.8499999,3.3],[-1.2,5.3000002,3.97],[-1.2,3.7,3.97],[-1.0,5.1199999,3.3],[-1.0,3.8499999,3.3]],"facets":6,"panels":[],"bolts":0},
"Hull.Cheek.R": {"solid":[[4.0699725,4.0184684,6.4698162],[4.5260153,4.125421,5.25],[2.3800001,5.1999998,6.1999998],[2.3800001,5.5129309,5.25],[3.9938784,3.1328073,6.8332119],[4.0936742,0.9,6.9818964],[4.7517948,0.9,5.25],[2.3800001,2.2249999,7.3899999],[3.0849326,0.9,7.2845197],[2.3800001,1.6355822,7.4371529],[3.084933,0.9,5.25],[2.3800001,1.6355822,5.25]],"facets":8,"panels":[[4.0605597,2.097348,6.7920513],[4.1092281,1.0084592,6.8645611],[4.6863694,1.0084592,5.3457685],[4.6074672,2.1356313,5.3457685],[4.1025352,2.1002862,6.808002],[4.1512036,1.0113975,6.8805118],[4.7283449,1.0113975,5.3617191],[4.6494427,2.1385696,5.3617191],[4.1291742,2.0821021,6.7976732],[4.1760793,1.0326607,6.8675566],[4.7384973,1.0326607,5.3875098],[4.6624231,2.1194293,5.3875098],[4.0154209,3.1072907,6.7247982],[4.048501,2.3671649,6.7740841],[4.588614,2.4049726,5.345768],[4.4765992,4.0051847,5.345768],[4.0846686,3.9132679,6.3940973],[4.0853801,3.1121879,6.7513828],[4.1184602,2.372062,6.8006682],[4.6585732,2.4098697,5.3723526],[4.5465584,4.0100818,5.3723526],[4.1546278,3.918165,6.420682],[4.1113443,3.1090918,6.7400494],[4.1433125,2.3938506,6.7876778],[4.6687603,2.4306319,5.3981428],[4.5596213,3.9897637,5.3981428],[4.1793475,3.9005809,6.4152932],[2.4871092,4.9912777,6.2489614],[2.4871092,3.9125221,6.6804638],[3.9440475,3.8522353,6.5297465],[3.9538085,3.9658458,6.4831309],[2.4920921,5.0078874,6.2904863],[2.4920921,3.9291317,6.7219882],[3.9490304,3.868845,6.5712709],[3.9587915,3.9824557,6.5246553],[2.5141838,4.978662,6.3211989],[2.5141838,3.9542611,6.7309594],[3.9328942,3.895556,6.5841966],[3.9402881,3.9816122,6.5488873],[2.4871085,3.661833,6.7807398],[2.4871085,2.4007239,7.285183],[3.8869905,3.1881585,6.8022237],[3.9225841,3.6024342,6.6322427],[2.4954133,3.6895161,6.849947],[2.4954133,2.428407,7.3543901],[3.8952954,3.2158415,6.8714314],[3.9308889,3.6301172,6.7014499],[2.5175052,3.6775062,6.8737741],[2.5175049,2.4690814,7.3571434],[3.8784785,3.2346296,6.8876081],[3.9115732,3.6198206,6.7295604],[3.9776521,1.0081506,6.9871097],[3.9508991,1.6067107,6.9472508],[2.4796586,1.5705372,7.3915172],[2.4796588,1.6776093,7.3829517],[3.121223,1.0081505,7.2440386],[3.990545,1.0115887,7.030086],[3.9637921,1.6101487,6.9902272],[2.4925516,1.5739753,7.4344935],[2.4925516,1.6810473,7.4259276],[3.1341157,1.0115886,7.287015],[3.976222,1.0330583,7.053607],[3.9512725,1.5912702,7.0164351],[2.4791203,1.5550743,7.4609771],[2.4791203,1.7304838,7.4469442],[3.147486,1.0330582,7.302228],[3.9388695,1.8758466,6.9293289],[3.89083,2.9506743,6.8577552],[2.4796584,2.1568897,7.3446093],[2.4796584,1.839969,7.3699627],[3.9603574,1.8815767,7.0009561],[3.912318,2.9564044,6.9293823],[2.5011463,2.1626198,7.4162364],[2.5011463,1.8456992,7.4415898],[3.9460559,1.9025701,7.024509],[3.9003541,2.9250953,6.956418],[2.5260382,2.1520419,7.4305568],[2.5260382,1.8676562,7.4533076],[4.0081611,4.0742669,6.3467288],[4.3805432,4.1615996,5.3506866],[3.2888443,4.8674393,5.3506866],[3.1595957,4.6675353,6.2112494],[4.0474086,4.1349697,6.366724],[4.4197907,4.222302,5.3706822],[3.3280916,4.9281421,5.3706822],[3.1988432,4.7282381,6.2312446],[4.0485392,4.1642456,6.350646],[4.4057102,4.2480106,5.3952904],[3.352458,4.9289927,5.3952904],[3.2286329,4.7374768,6.2197423],[3.0621083,5.0140362,5.3506856],[2.4632707,5.4012156,5.3506856],[2.4632707,5.154366,6.1000748],[2.9381692,4.8223443,6.1758957],[3.0856566,5.050458,5.3626833],[2.486819,5.4376373,5.3626833],[2.486819,5.1907878,6.1120725],[2.9617176,4.8587661,6.1878929],[3.0764322,5.0730267,5.3872914],[2.514328,5.4364557,5.3872914],[2.514328,5.2016211,6.1002059],[2.9587035,4.8909397,6.1711535]],"bolts":34},
"Hull.Cheek.L": {"solid":[[-4.0699725,4.0184684,6.4698162],[-4.5260153,4.125421,5.25],[-2.3800001,5.1999998,6.1999998],[-2.3800001,5.5129309,5.25],[-3.9938784,3.1328073,6.8332119],[-4.0936742,0.9,6.9818964],[-4.7517948,0.9,5.25],[-2.3800001,2.2249999,7.3899999],[-3.0849326,0.9,7.2845197],[-2.3800001,1.6355822,7.4371529],[-3.084933,0.9,5.25],[-2.3800001,1.6355822,5.25]],"facets":8,"panels":[[-4.0154204,3.1072907,6.7247982],[-4.0846686,3.9132679,6.3940978],[-4.4765992,4.0051847,5.3457685],[-4.5553617,2.8800015,5.3457685],[-4.0272317,2.8430324,6.7423954],[-4.0853796,3.1121879,6.7513828],[-4.1546278,3.918165,6.4206824],[-4.5465584,4.0100818,5.3723531],[-4.6253209,2.8848987,5.3723531],[-4.0971909,2.8479295,6.76898],[-4.1113443,3.1090918,6.7400494],[-4.1793475,3.9005809,6.4152937],[-4.5596213,3.9897637,5.3981438],[-4.6355081,2.9056606,5.3981438],[-4.1220431,2.8697181,6.7559896],[-4.5742154,2.6106603,5.3457689],[-4.6863694,1.0084593,5.3457689],[-4.1092281,1.0084593,6.8645616],[-4.0392909,2.5732152,6.7603631],[-4.6161909,2.6135986,5.3617196],[-4.7283449,1.0113976,5.3617196],[-4.1512036,1.0113976,6.8805122],[-4.0812664,2.5761535,6.7763138],[-4.6291714,2.5944583,5.3875103],[-4.7384973,1.0326608,5.3875103],[-4.1760798,1.0326608,6.8675566],[-4.1079054,2.5579693,6.7659855],[-3.9058976,3.4082141,6.7119331],[-3.886991,3.1881585,6.8022237],[-2.4871092,2.4007244,7.285183],[-2.4871092,3.4669223,6.8587041],[-3.9142027,3.4358971,6.7811403],[-3.8952961,3.2158415,6.8714314],[-2.495414,2.4284074,7.3543906],[-2.495414,3.4946053,6.9279113],[-3.894887,3.4256005,6.8092508],[-3.8784792,3.2346299,6.8876081],[-2.5175056,2.4690816,7.3571439],[-2.5175056,3.4825954,6.9517384],[-2.4871089,4.9912777,6.2489614],[-3.9538083,3.9658461,6.4831309],[-3.9273598,3.6580153,6.609437],[-2.4871089,3.7176116,6.7584281],[-2.4920919,5.0078878,6.2904859],[-3.9587913,3.9824557,6.5246553],[-3.9323428,3.6746249,6.6509614],[-2.4920919,3.7342215,6.7999525],[-2.5141835,4.9786625,6.3211989],[-3.9402878,3.9816124,6.5488873],[-3.9162068,3.7013359,6.6638875],[-2.5141835,3.7593505,6.8089242],[-2.4796581,2.0325902,7.3545527],[-2.4796581,2.1568892,7.3446088],[-3.89083,2.9506741,6.8577557],[-3.93027,2.0682566,6.9165163],[-2.4925508,2.0360284,7.3975286],[-2.4925508,2.1603274,7.3875852],[-3.9037228,2.9541123,6.900732],[-3.9431629,2.0716946,6.9594927],[-2.5174427,2.0579853,7.4092464],[-2.5174427,2.1497495,7.4019055],[-3.8917589,2.9228029,6.9277678],[-3.9288611,2.0926881,6.9830456],[-3.1212225,1.0081503,7.2440386],[-2.4796584,1.6776092,7.3829513],[-2.4796584,1.7631588,7.3761072],[-3.9422991,1.7991207,6.9344378],[-3.9776518,1.0081505,6.9871097],[-3.1427104,1.0138805,7.3156652],[-2.5011466,1.6833394,7.4545784],[-2.5011466,1.768889,7.4477344],[-3.9637873,1.8048508,7.0060649],[-3.9991398,1.0138806,7.0587363],[-3.1560807,1.0353501,7.3308787],[-2.5260382,1.6927865,7.4672966],[-2.5260382,1.7509302,7.4626455],[-3.9512677,1.7859722,7.0322728],[-3.9848168,1.0353502,7.0822577],[-2.4632707,5.4012156,5.3506866],[-3.020721,5.0407953,5.3506866],[-2.8977513,4.8506017,6.1694436],[-2.4632707,5.1543655,6.1000757],[-2.5025179,5.4619184,5.3706822],[-3.0599682,5.1014977,5.3706822],[-2.9369986,4.9113045,6.1894393],[-2.5025182,5.2150683,6.1200714],[-2.5300269,5.4607368,5.3952904],[-3.0507438,5.1240664,5.3952904],[-2.9339843,4.9434781,6.1726995],[-2.5300269,5.2259021,6.1082048],[-3.2474575,4.8941984,5.3506866],[-4.3805437,4.1615996,5.3506866],[-4.0081615,4.0742669,6.3467283],[-3.1191783,4.6957932,6.2047954],[-3.2710059,4.9306197,5.3626838],[-4.4040923,4.1980209,5.3626838],[-4.0317101,4.1106887,6.358726],[-3.1427269,4.7322149,6.2167931],[-3.295372,4.9314704,5.3872919],[-4.3900118,4.2237296,5.3872919],[-4.0328407,4.1399646,6.342648],[-3.1725166,4.7414536,6.2052908]],"bolts":34},
"Hull.Skirt.R": {"solid":[[4.6230001,4.0,5.3000002],[4.8016,3.6199999,4.9000001],[5.1694999,1.35,4.3499999],[5.0300002,0.9,4.8000002],[4.3839998,0.9,6.5],[4.2950001,3.8,6.1999998],[4.3245077,3.9791055,5.186573],[4.5031075,3.5991056,4.7865729],[4.8710074,1.3291055,4.2365727],[4.7315078,0.8791055,4.686573],[4.0855074,0.8791055,6.3865728],[3.9965076,3.7791054,6.0865731]],"facets":8,"panels":[],"bolts":0},
"Hull.Skirt.L": {"solid":[[-4.6230001,4.0,5.3000002],[-4.8016,3.6199999,4.9000001],[-5.1694999,1.35,4.3499999],[-5.0300002,0.9,4.8000002],[-4.3839998,0.9,6.5],[-4.2950001,3.8,6.1999998],[-4.3245077,3.9791055,5.186573],[-4.5031075,3.5991056,4.7865729],[-4.8710074,1.3291055,4.2365727],[-4.7315078,0.8791055,4.686573],[-4.0855074,0.8791055,6.3865728],[-3.9965076,3.7791054,6.0865731]],"facets":8,"panels":[],"bolts":0},
"Hull.CheekLip.R": {"solid":[[2.45,5.4676719,4.8400002],[4.6892009,4.0199132,4.8400002],[2.45,5.4676719,4.9899998],[4.629499,4.0585136,4.9899998],[2.45,5.2771425,4.8400002],[4.7031698,3.8203516,4.8400002],[2.45,5.2771425,4.9899998],[4.6434679,3.858952,4.9899998]],"facets":6,"panels":[],"bolts":0},
"Hull.CheekLip.L": {"solid":[[-2.45,5.4676719,4.8400002],[-4.6892009,4.0199132,4.8400002],[-2.45,5.4676719,4.9899998],[-4.629499,4.0585136,4.9899998],[-2.45,5.2771425,4.8400002],[-4.7031698,3.8203516,4.8400002],[-2.45,5.2771425,4.9899998],[-4.6434679,3.858952,4.9899998]],"facets":6,"panels":[],"bolts":0},
"Hull.Quarter.R": {"solid":[[4.2910318,-2.9193861,6.8925695],[4.3936944,-1.4,7.0157642],[4.9976001,-1.4,5.506],[3.5958304,-4.3421259,6.9449539],[3.9363332,-4.6085348,5.8910241],[1.75,-4.8604336,7.409956],[1.75,-5.3931999,5.9851837],[2.5643883,-1.4,7.5279703],[1.75,-2.3254409,7.6634545],[2.5643883,-1.4,5.5060005],[1.75,-2.3254409,5.6170526]],"facets":9,"panels":[[2.6039631,-1.5075765,7.4852662],[1.8505968,-2.3636744,7.6105995],[1.8505968,-3.7839808,7.4685688],[3.7708514,-3.7307458,6.9362202],[4.181469,-2.8904121,6.9052806],[4.2749047,-1.5075765,7.0174022],[2.6160405,-1.5118898,7.5284004],[1.8626742,-2.3679876,7.6537333],[1.8626742,-3.7882941,7.5117025],[3.7829289,-3.7350593,6.9793544],[4.1935463,-2.8947253,6.9484148],[4.2869821,-1.5118899,7.0605364],[2.6295795,-1.5337148,7.543292],[1.8873084,-2.3772049,7.6667795],[1.8873082,-3.7697763,7.5275221],[3.7765129,-3.7174025,7.0037818],[4.1799693,-2.8917232,6.9733815],[4.2717276,-1.5337149,7.0834904],[1.8505965,-4.0526409,7.4417028],[1.8505965,-4.7160707,7.37536],[3.5181954,-4.2478104,6.9552579],[3.6377716,-4.0030956,6.9462481],[1.8707256,-4.0598297,7.5135922],[1.8707258,-4.7232594,7.4472499],[3.5383244,-4.2549992,7.0271478],[3.6579008,-4.0102844,7.0181379],[1.8953596,-4.0811133,7.5254316],[1.8953596,-4.6992774,7.4636159],[3.5305526,-4.2401166,7.0516772],[3.6317692,-4.0329757,7.0440507],[2.7647738,-4.5948009,7.0421376],[1.8471562,-4.8524671,7.273304],[1.8471562,-5.2996264,6.0774708],[2.8457143,-4.9412479,6.0344653],[2.7796867,-4.6345687,7.0570083],[1.862069,-4.8922348,7.2881742],[1.8620691,-5.3393941,6.0923409],[2.8606274,-4.9810157,6.049336],[2.7687323,-4.6642437,7.0491562],[1.8875668,-4.9116745,7.2711391],[1.8875669,-5.3432689,6.1169314],[2.8469315,-4.9989567,6.075614],[3.5113626,-4.385159,6.8540578],[3.0230417,-4.5222793,6.9770751],[3.0996346,-4.8501167,6.0235305],[3.7892847,-4.6026044,5.9938288],[3.5362175,-4.4514389,6.8788414],[3.0478966,-4.5885587,7.0018592],[3.1244895,-4.9163966,6.0483146],[3.8141394,-4.6688843,6.0186129],[3.5286927,-4.4801512,6.8701258],[3.0752041,-4.6074901,6.9843683],[3.1484115,-4.9208369,6.0729723],[3.7952363,-4.688694,6.0451155],[4.8567634,-1.7086165,5.6465893],[4.2893143,-2.930759,6.7566442],[4.0067,-4.2766261,5.9586406],[4.9274721,-1.7305669,5.6585679],[4.3600225,-2.9527094,6.7686234],[4.0774083,-4.2985768,5.9706192],[4.92415,-1.7936081,5.6878805],[4.3820004,-2.9616666,6.7477016],[4.1124616,-4.2452664,5.986618],[4.4087081,-1.5076799,6.8972273],[4.3302989,-2.6681259,6.8031359],[4.869947,-1.5076799,5.7441301],[4.4503107,-1.5118402,6.9138684],[4.371901,-2.672286,6.819777],[4.9115496,-1.5118402,5.7607713],[4.4748921,-1.5336035,6.9010568],[4.4008923,-2.6287878,6.8122573],[4.9101915,-1.5336035,5.8128085],[4.1558022,-3.2465746,6.7950749],[3.6602814,-4.2610569,6.831995],[3.9027374,-4.4507542,6.0815411],[4.2187653,-3.276315,6.8229346],[3.7232447,-4.2907972,6.8598547],[3.9657006,-4.4804945,6.1094007],[4.2140222,-3.3451762,6.8139858],[3.7548034,-4.285428,6.848104],[3.9794402,-4.4611835,6.1528049]],"bolts":27},
"Hull.Quarter.L": {"solid":[[-4.2910318,-2.9193861,6.8925695],[-4.3936944,-1.4,7.0157642],[-4.9976001,-1.4,5.506],[-3.5958304,-4.3421259,6.9449539],[-3.9363332,-4.6085348,5.8910241],[-1.75,-4.8604336,7.409956],[-1.75,-5.3931999,5.9851837],[-2.5643883,-1.4,7.5279703],[-1.75,-2.3254409,7.6634545],[-2.5643883,-1.4,5.5060005],[-1.75,-2.3254409,5.6170526]],"facets":9,"panels":[[-1.8505965,-4.7160707,7.3753595],[-1.8505963,-4.0014849,7.4468179],[-3.6631114,-3.9512372,6.9443383],[-3.5181952,-4.2478104,6.9552579],[-1.8707256,-4.7232594,7.4472494],[-1.8707255,-4.0086741,7.5187078],[-3.6832407,-3.9584262,7.0162282],[-3.5383244,-4.2549992,7.0271473],[-1.8953596,-4.6992774,7.4636154],[-1.8953595,-4.0299578,7.5305471],[-3.6571088,-3.9811172,7.042141],[-3.5305526,-4.2401166,7.0516772],[-1.8505961,-3.7328248,7.4736838],[-1.8505962,-2.3636742,7.6105995],[-2.6039624,-1.5075763,7.4852662],[-4.2749043,-1.5075763,7.0174017],[-4.1814685,-2.8904119,6.9052796],[-3.7961907,-3.6788878,6.93431],[-1.8626735,-3.7371383,7.5168176],[-1.8626738,-2.3679876,7.6537333],[-2.61604,-1.5118898,7.5283999],[-4.2869816,-1.5118897,7.0605354],[-4.1935458,-2.8947253,6.9484134],[-3.8082683,-3.6832011,6.9774437],[-1.8873075,-3.7186203,7.5326371],[-1.8873078,-2.3772047,7.666779],[-2.6295791,-1.5337147,7.543292],[-4.2717271,-1.5337147,7.0834894],[-4.1799688,-2.8917229,6.9733806],[-3.8018522,-3.6655443,7.0018711],[-2.781431,-4.5901232,7.037941],[-3.5113628,-4.385159,6.8540564],[-3.7892847,-4.6026049,5.9938278],[-2.8620911,-4.9353704,6.0337601],[-2.8062859,-4.6564031,7.0627251],[-3.5362177,-4.4514389,6.8788404],[-3.8141396,-4.6688848,6.0186119],[-2.886946,-5.0016503,6.0585442],[-2.8335936,-4.6753345,7.0452337],[-3.528693,-4.4801512,6.8701243],[-3.7952366,-4.6886945,6.0451145],[-2.9108679,-5.0060902,6.0832024],[-1.847156,-5.2996264,6.0774708],[-1.847156,-4.8524671,7.273304],[-2.5231628,-4.6626449,7.103004],[-2.6081707,-5.0265012,6.0446959],[-1.8620689,-5.3393941,6.0923409],[-1.862069,-4.8922348,7.2881746],[-2.5380757,-4.7024126,7.1178746],[-2.6230836,-5.0662689,6.059566],[-1.8875667,-5.3432684,6.1169314],[-1.8875668,-4.9116745,7.2711396],[-2.5271213,-4.7320881,7.1100225],[-2.6093879,-5.0842099,6.0858445],[-4.006701,-4.2766266,5.9586406],[-4.2893152,-2.9307594,6.7566447],[-4.8567643,-1.7086169,5.6465893],[-4.0491261,-4.2897968,5.9658279],[-4.3317404,-2.9439294,6.7638316],[-4.8991895,-1.721787,5.6537766],[-4.0841789,-4.2364864,5.9818268],[-4.3537178,-2.9528866,6.7429104],[-4.8958673,-1.7848281,5.6830893],[-4.3302989,-2.6681259,6.8031359],[-4.4087081,-1.5076799,6.8972273],[-4.869947,-1.5076799,5.7441301],[-4.371901,-2.672286,6.819777],[-4.4503107,-1.5118402,6.9138684],[-4.9115496,-1.5118402,5.7607713],[-4.4008923,-2.6287878,6.8122573],[-4.4748921,-1.5336035,6.9010568],[-4.9101915,-1.5336035,5.8128085],[-3.6602814,-4.2610569,6.8319945],[-4.1558022,-3.2465746,6.7950749],[-3.9027376,-4.4507546,6.0815406],[-3.7232447,-4.2907972,6.8598542],[-4.2187657,-3.276315,6.8229346],[-3.9657006,-4.4804945,6.1094003],[-3.7548034,-4.2854285,6.8481035],[-4.2140226,-3.3451762,6.8139858],[-3.9794402,-4.461184,6.1528044]],"bolts":27},
"Hull.FlankRoof.R": {"solid":[[2.8270271,0.85,7.4918909],[2.8270271,-1.3,7.4918909],[2.8,0.85,7.499999],[2.8,-1.3,7.499999],[2.9800003,0.85,6.8800001],[2.9800003,-1.3,6.8800001],[2.8,0.85,6.8800001],[2.8,-1.3,6.8800001]],"facets":6,"panels":[[2.9339185,0.7400001,6.9818645],[2.8343034,0.7400001,7.3803244],[2.8343034,-1.1899998,7.3803244],[2.9339185,-1.1899998,6.9818645],[3.0066793,0.7400001,7.0000548],[2.907064,0.7400001,7.3985143],[2.907064,-1.1899998,7.3985143],[3.0066793,-1.1899998,7.0000548],[3.0212314,0.7200001,7.0243082],[2.9313176,0.7200001,7.3839622],[2.9313176,-1.1699998,7.3839622],[3.0212314,-1.1699998,7.0243082]],"bolts":4},
"Hull.FlankRoof.L": {"solid":[[-2.8270271,0.85,7.4918909],[-2.8270271,-1.3,7.4918909],[-2.8,0.85,7.499999],[-2.8,-1.3,7.499999],[-2.9800003,0.85,6.8800001],[-2.9800003,-1.3,6.8800001],[-2.8,0.85,6.8800001],[-2.8,-1.3,6.8800001]],"facets":6,"panels":[[-2.8343034,-1.1899998,7.3803244],[-2.8343034,0.7400001,7.3803244],[-2.9339185,0.7400001,6.9818645],[-2.9339185,-1.1899998,6.9818645],[-2.8779597,-1.1899998,7.3912382],[-2.8779597,0.7400001,7.3912382],[-2.9775751,0.7400001,6.9927788],[-2.9775751,-1.1899998,6.9927788],[-2.9022133,-1.1699998,7.3766861],[-2.9022133,0.7200001,7.3766861],[-2.9921272,0.7200001,7.0170321],[-2.9921272,-1.1699998,7.0170321]],"bolts":4},
"Hull.FlankSill.R": {"solid":[[4.3656001,0.85,5.1199999],[4.3656001,-1.3,5.1199999],[4.3260002,0.85,5.4499998],[4.3260002,-1.3,5.4499998],[3.9000001,0.85,5.1199999],[3.9000001,-1.3,5.1199999],[3.9000001,0.85,5.4499998],[3.9000001,-1.3,5.4499998]],"facets":6,"panels":[],"bolts":0},
"Hull.FlankSill.L": {"solid":[[-4.3656001,0.85,5.1199999],[-4.3656001,-1.3,5.1199999],[-4.3260002,0.85,5.4499998],[-4.3260002,-1.3,5.4499998],[-3.9000001,0.85,5.1199999],[-3.9000001,-1.3,5.1199999],[-3.9000001,0.85,5.4499998],[-3.9000001,-1.3,5.4499998]],"facets":6,"panels":[],"bolts":0},
"Hull.Tail": {"solid":[[1.72,-2.75,7.5],[1.72,-5.0,7.3000002],[1.72,-2.75,7.1500001],[1.72,-5.0,7.0],[-1.72,-2.75,7.5],[-1.72,-5.0,7.3000002],[-1.72,-2.75,7.1500001],[-1.72,-5.0,7.0]],"facets":6,"panels":[[1.61,-4.8886614,7.2898178],[1.61,-2.8577971,7.4703388],[-0.0356075,-2.8577971,7.4703388],[-0.0356076,-4.8886614,7.2898178],[1.61,-4.8953018,7.3645234],[1.61,-2.8644376,7.5450439],[-0.0356075,-2.8644376,7.5450439],[-0.0356076,-4.8953018,7.3645234],[1.59,-4.877151,7.3862157],[1.59,-2.8861299,7.5631948],[-0.0156075,-2.8861299,7.5631948],[-0.0156076,-4.877151,7.3862157],[-0.3056076,-2.8577971,7.4703374],[-1.61,-2.8577971,7.4703374],[-1.61,-4.8886609,7.2898192],[-0.3056076,-4.8886609,7.2898192],[-0.3056076,-2.8617814,7.5151606],[-1.61,-2.8617814,7.5151606],[-1.61,-4.8926454,7.3346429],[-0.3056076,-4.8926454,7.3346429],[-0.3256076,-2.8834736,7.5333114],[-1.59,-2.8834736,7.5333114],[-1.59,-4.8744946,7.3563347],[-0.3256076,-4.8744946,7.3563347]],"bolts":8},
"Hull.BellySide.R": {"solid":[[2.0999999,2.2,3.9000001],[2.0999999,-2.4000001,3.95],[2.45,2.0,4.0999999],[2.45,-2.2,4.1500001],[2.45,2.0,4.8499999],[2.45,-2.2,4.9000001],[2.25,2.2,5.0999999],[2.25,-2.4000001,5.1500001],[1.8,2.2,3.9000001],[1.8,-2.4000001,5.1500001]],"facets":15,"panels":[[2.4300001,-2.0900002,4.7886829],[2.4300001,-2.0900002,4.2586985],[2.4300001,-0.6636688,4.2417183],[2.4300001,-0.6573603,4.7716274],[2.5050001,-2.0900002,4.7886829],[2.5050001,-2.0900002,4.2586985],[2.5050001,-0.6636688,4.2417183],[2.5050001,-0.6573603,4.7716274],[2.5250001,-2.0700002,4.7684431],[2.5250001,-2.0700002,4.2784615],[2.5250001,-0.6834292,4.2619548],[2.5250001,-0.677597,4.7518668],[2.4300001,-0.3936881,4.2385039],[2.4300001,1.89,4.2113171],[2.4300001,1.89,4.7413015],[2.4300001,-0.3873795,4.7684135],[2.4750001,-0.3936881,4.2385039],[2.4750001,1.89,4.2113171],[2.4750001,1.89,4.7413015],[2.4750001,-0.3873795,4.7684135],[2.4950001,-0.3734515,4.2582645],[2.4950001,1.87,4.2315569],[2.4950001,1.87,4.7215385],[2.4950001,-0.367619,4.7481766],[2.2321301,1.8335732,5.0840106],[1.9212853,-2.2902241,5.1287899],[2.1400001,-2.2902241,5.1287899],[2.2321301,1.8343884,5.1590061],[1.9212853,-2.2894089,5.2037854],[2.1400001,-2.2894089,5.2037854],[2.2288792,1.7680224,5.179728],[1.9428494,-2.2691927,5.223567],[2.1204419,-2.2691927,5.223567]],"bolts":11},
"Hull.BellySide.L": {"solid":[[-2.0999999,2.2,3.9000001],[-2.0999999,-2.4000001,3.95],[-2.45,2.0,4.0999999],[-2.45,-2.2,4.1500001],[-2.45,2.0,4.8499999],[-2.45,-2.2,4.9000001],[-2.25,2.2,5.0999999],[-2.25,-2.4000001,5.1500001],[-1.8,2.2,3.9000001],[-1.8,-2.4000001,5.1500001]],"facets":15,"panels":[[-2.4300001,-2.0900002,4.2586985],[-2.4300001,-2.0900002,4.7886829],[-2.4300001,0.1687398,4.7617931],[-2.4300001,0.1624316,4.2318835],[-2.5050001,-2.0900002,4.2586985],[-2.5050001,-2.0900002,4.7886829],[-2.5050001,0.1687398,4.7617931],[-2.5050001,0.1624316,4.2318835],[-2.5250001,-2.0700002,4.2784615],[-2.5250001,-2.0700002,4.7684431],[-2.5250001,0.1485032,4.7420325],[-2.5250001,0.1426711,4.2521205],[-2.4300001,0.4387209,4.7585793],[-2.4300001,1.89,4.7413015],[-2.4300001,1.89,4.2113171],[-2.4300001,0.4324124,4.2286692],[-2.4750001,0.4387209,4.7585793],[-2.4750001,1.89,4.7413015],[-2.4750001,1.89,4.2113171],[-2.4750001,0.4324124,4.2286692],[-2.4950001,0.4584814,4.7383423],[-2.4950001,1.87,4.7215385],[-2.4950001,1.87,4.2315569],[-2.4950001,0.4526491,4.2484298],[-2.2321301,1.8335732,5.0840106],[-2.1400001,-2.2902241,5.1287899],[-1.9212852,-2.2902241,5.1287899],[-2.2321301,1.8340623,5.1290078],[-2.1400001,-2.2897351,5.1737871],[-1.9212852,-2.2897351,5.1737871],[-2.2288792,1.7676963,5.1497297],[-2.1204419,-2.2695189,5.1935692],[-1.9428494,-2.2695189,5.1935692]],"bolts":11}
}}
],
"repaired": {"how": {"corner": "the branch's builder with massing.corners' inside test at 1e-5 m in place of 1e-6: the corner float32 lost is kept", "tie": "the branch's massing.clad cutting from the other of the split facet's two equally long edges"}, "truth": {
"Hull.Quarter.R": {"solid":[[4.2910318,-2.9193861,6.8925695],[4.7526722,-3.0549133,5.7045879],[4.3936944,-1.4,7.0157642],[4.9976001,-1.4,5.506],[3.5958304,-4.3421259,6.9449539],[3.9363332,-4.6085348,5.8910241],[1.75,-4.8604336,7.409956],[1.75,-5.3931999,5.9851837],[2.5643883,-1.4,7.5279703],[1.75,-2.3254409,7.6634545],[2.5643883,-1.4,5.5060005],[1.75,-2.3254409,5.6170526]],"facets":8,"panels":[[2.6039631,-1.5075765,7.4852662],[1.8505968,-2.3636744,7.6105995],[1.8505968,-3.7839808,7.4685688],[3.7708514,-3.7307458,6.9362202],[4.181469,-2.8904121,6.9052806],[4.2749047,-1.5075765,7.0174022],[2.6160405,-1.5118898,7.5284004],[1.8626742,-2.3679876,7.6537333],[1.8626742,-3.7882941,7.5117025],[3.7829289,-3.7350593,6.9793544],[4.1935463,-2.8947253,6.9484148],[4.2869821,-1.5118899,7.0605364],[2.6295795,-1.5337148,7.543292],[1.8873084,-2.3772049,7.6667795],[1.8873082,-3.7697763,7.5275221],[3.7765129,-3.7174025,7.0037818],[4.1799693,-2.8917232,6.9733815],[4.2717276,-1.5337149,7.0834904],[1.8505965,-4.0526409,7.4417028],[1.8505965,-4.7160707,7.37536],[3.5181954,-4.2478104,6.9552579],[3.6377716,-4.0030956,6.9462481],[1.8707256,-4.0598297,7.5135922],[1.8707258,-4.7232594,7.4472499],[3.5383244,-4.2549992,7.0271478],[3.6579008,-4.0102844,7.0181379],[1.8953596,-4.0811133,7.5254316],[1.8953596,-4.6992774,7.4636159],[3.5305526,-4.2401166,7.0516772],[3.6317692,-4.0329757,7.0440507],[2.7647738,-4.5948009,7.0421376],[1.8471562,-4.8524671,7.273304],[1.8471562,-5.2996264,6.0774708],[2.8457143,-4.9412479,6.0344653],[2.7796867,-4.6345687,7.0570083],[1.862069,-4.8922348,7.2881742],[1.8620691,-5.3393941,6.0923409],[2.8606274,-4.9810157,6.049336],[2.7687323,-4.6642437,7.0491562],[1.8875668,-4.9116745,7.2711391],[1.8875669,-5.3432689,6.1169314],[2.8469315,-4.9989567,6.075614],[3.5113626,-4.385159,6.8540578],[3.0230417,-4.5222793,6.9770751],[3.0996346,-4.8501167,6.0235305],[3.7892847,-4.6026044,5.9938288],[3.5362175,-4.4514389,6.8788414],[3.0478966,-4.5885587,7.0018592],[3.1244895,-4.9163966,6.0483146],[3.8141394,-4.6688843,6.0186129],[3.5286927,-4.4801512,6.8701258],[3.0752041,-4.6074901,6.9843683],[3.1484115,-4.9208369,6.0729723],[3.7952363,-4.688694,6.0451155],[4.3817148,-1.9071758,6.8648353],[4.3201332,-2.8185694,6.7909379],[4.710516,-2.9331768,5.7863297],[4.8316121,-2.1149623,5.6881447],[4.4233174,-1.9113361,6.8814764],[4.3617358,-2.8227296,6.8075786],[4.7521186,-2.9373369,5.8029709],[4.8732147,-2.1191227,5.7047858],[4.4476438,-1.9368703,6.8683591],[4.3888788,-2.8065846,6.7978411],[4.7663054,-2.9173882,5.8265738],[4.8817496,-2.1373634,5.7329712],[4.9214897,-1.5076798,5.6152711],[4.4087076,-1.5076798,6.8972268],[4.400281,-1.6323925,6.887115],[4.8708658,-1.8497338,5.6563177],[4.9908276,-1.5146136,5.6430063],[4.478045,-1.5146136,6.924962],[4.4696183,-1.6393265,6.9148502],[4.9402032,-1.8566676,5.6840525],[4.9988408,-1.536377,5.6716146],[4.5026264,-1.5363771,6.9121504],[4.4966955,-1.6241521,6.9050336],[4.9545536,-1.8356153,5.7075229],[4.2655559,-3.0223532,6.786387],[3.6602807,-4.2610564,6.8319945],[3.9375505,-4.4779921,5.9737864],[4.6440229,-3.1334624,5.8124413],[4.3285189,-3.0520933,6.8142467],[3.723244,-4.2907968,6.8598547],[4.0005136,-4.5077324,6.001646],[4.706986,-3.1632028,5.840301],[4.34373,-3.0801873,6.8037205],[3.7548051,-4.28543,6.8480964],[4.0205779,-4.4933701,6.0254736],[4.7070746,-3.186857,5.868691]],"bolts":30},
"Hull.Quarter.L": {"solid":[[-4.2910318,-2.9193861,6.8925695],[-4.7526722,-3.0549133,5.7045879],[-4.3936944,-1.4,7.0157642],[-4.9976001,-1.4,5.506],[-3.5958304,-4.3421259,6.9449539],[-3.9363332,-4.6085348,5.8910241],[-1.75,-4.8604336,7.409956],[-1.75,-5.3931999,5.9851837],[-2.5643883,-1.4,7.5279703],[-1.75,-2.3254409,7.6634545],[-2.5643883,-1.4,5.5060005],[-1.75,-2.3254409,5.6170526]],"facets":8,"panels":[[-1.8505965,-4.7160707,7.3753595],[-1.8505963,-4.0014849,7.4468179],[-3.6631114,-3.9512372,6.9443383],[-3.5181952,-4.2478104,6.9552579],[-1.8707256,-4.7232594,7.4472494],[-1.8707255,-4.0086741,7.5187078],[-3.6832407,-3.9584262,7.0162282],[-3.5383244,-4.2549992,7.0271473],[-1.8953596,-4.6992774,7.4636154],[-1.8953595,-4.0299578,7.5305471],[-3.6571088,-3.9811172,7.042141],[-3.5305526,-4.2401166,7.0516772],[-1.8505961,-3.7328248,7.4736838],[-1.8505962,-2.3636742,7.6105995],[-2.6039624,-1.5075763,7.4852662],[-4.2749043,-1.5075763,7.0174017],[-4.1814685,-2.8904119,6.9052796],[-3.7961907,-3.6788878,6.93431],[-1.8626735,-3.7371383,7.5168176],[-1.8626738,-2.3679876,7.6537333],[-2.61604,-1.5118898,7.5283999],[-4.2869816,-1.5118897,7.0605354],[-4.1935458,-2.8947253,6.9484134],[-3.8082683,-3.6832011,6.9774437],[-1.8873075,-3.7186203,7.5326371],[-1.8873078,-2.3772047,7.666779],[-2.6295791,-1.5337147,7.543292],[-4.2717271,-1.5337147,7.0834894],[-4.1799688,-2.8917229,6.9733806],[-3.8018522,-3.6655443,7.0018711],[-3.5113626,-4.385159,6.8540568],[-3.7892847,-4.6026049,5.9938283],[-2.8620911,-4.9353704,6.0337601],[-2.7814307,-4.5901232,7.0379415],[-3.5362175,-4.4514389,6.8788409],[-3.8141396,-4.6688843,6.0186124],[-2.8869457,-5.0016503,6.0585442],[-2.8062856,-4.6564031,7.0627251],[-3.5286927,-4.4801512,6.8701248],[-3.7952363,-4.6886945,6.0451145],[-2.9108679,-5.0060902,6.0832024],[-2.8335931,-4.6753345,7.0452342],[-2.6081707,-5.0265012,6.0446959],[-1.8471559,-5.2996264,6.0774708],[-1.8471559,-4.8524671,7.273304],[-2.5231626,-4.6626449,7.103004],[-2.6230836,-5.0662689,6.059566],[-1.8620688,-5.3393941,6.0923409],[-1.8620689,-4.8922348,7.2881746],[-2.5380757,-4.7024126,7.1178746],[-2.6093876,-5.0842099,6.0858445],[-1.8875666,-5.3432684,6.1169314],[-1.8875667,-4.9116745,7.2711396],[-2.5271213,-4.7320881,7.1100225],[-4.3919301,-1.7559885,6.8770943],[-4.4087081,-1.5076798,6.8972273],[-4.9214902,-1.5076798,5.615272],[-4.85321,-1.969032,5.6706338],[-4.4335327,-1.7601488,6.8937349],[-4.4503107,-1.5118401,6.9138684],[-4.9630928,-1.5118401,5.6319127],[-4.8948126,-1.9731923,5.6872749],[-4.4606104,-1.7449744,6.8839188],[-4.4748921,-1.5336035,6.9010572],[-4.9711065,-1.5336035,5.660521],[-4.909163,-1.95214,5.7107453],[-4.3201332,-2.8185692,6.7909379],[-4.373363,-2.0307715,6.8548145],[-4.8139558,-2.2342606,5.7024608],[-4.7105155,-2.9331768,5.7863297],[-4.3894706,-2.8255031,6.8186731],[-4.4427004,-2.0377054,6.8825493],[-4.8832932,-2.2411945,5.7301955],[-4.7798533,-2.9401107,5.814065],[-4.4166136,-2.8093579,6.8089352],[-4.4670272,-2.0632396,6.869432],[-4.8918281,-2.2594352,5.7583814],[-4.7940402,-2.920162,5.8376679],[-3.9375505,-4.4779921,5.9737859],[-3.6602805,-4.2610569,6.8319945],[-4.2655559,-3.0223532,6.7863865],[-4.6440229,-3.1334624,5.8124409],[-4.0005136,-4.5077324,6.0016456],[-3.7232437,-4.2907968,6.8598542],[-4.3285189,-3.0520935,6.8142462],[-4.706986,-3.1632028,5.8403006],[-4.0205779,-4.4933701,6.0254736],[-3.7548048,-4.28543,6.8480964],[-4.34373,-3.0801876,6.8037205],[-4.7070746,-3.1868572,5.8686905]],"bolts":30},
"Hull.BellySide.R": {"solid":[[2.0999999,2.2,3.9000001],[2.0999999,-2.4000001,3.95],[2.45,2.0,4.0999999],[2.45,-2.2,4.1500001],[2.45,2.0,4.8499999],[2.45,-2.2,4.9000001],[2.25,2.2,5.0999999],[2.25,-2.4000001,5.1500001],[1.8,2.2,3.9000001],[1.8,-2.4000001,5.1500001]],"facets":15,"panels":[[2.4300001,0.4573603,4.2283726],[2.4300001,1.89,4.2113171],[2.4300001,1.89,4.7413015],[2.4300001,0.4636687,4.7582817],[2.5050001,0.4573603,4.2283726],[2.5050001,1.89,4.2113171],[2.5050001,1.89,4.7413015],[2.5050001,0.4636687,4.7582817],[2.5250001,0.4775969,4.2481332],[2.5250001,1.87,4.2315569],[2.5250001,1.87,4.7215385],[2.5250001,0.4834292,4.7380452],[2.4300001,-2.0900002,4.7886829],[2.4300001,-2.0900002,4.2586985],[2.4300001,0.1873795,4.2315865],[2.4300001,0.193688,4.7614961],[2.4750001,-2.0900002,4.7886829],[2.4750001,-2.0900002,4.2586985],[2.4750001,0.1873795,4.2315865],[2.4750001,0.193688,4.7614961],[2.4950001,-2.0700002,4.7684431],[2.4950001,-2.0700002,4.2784615],[2.4950001,0.167619,4.2518234],[2.4950001,0.1734514,4.7417355],[2.2321301,1.8335732,5.0840106],[1.9212853,-2.2902241,5.1287899],[2.1400001,-2.2902241,5.1287899],[2.2321301,1.8343884,5.1590061],[1.9212853,-2.2894089,5.2037854],[2.1400001,-2.2894089,5.2037854],[2.2288792,1.7680224,5.179728],[1.9428494,-2.2691927,5.223567],[2.1204419,-2.2691927,5.223567]],"bolts":11}
}}}

View file

@ -0,0 +1,98 @@
{"source": {"branch": "nibu/fable-paladin-3", "sha": "c35e57ee5aa9c52e589623fcc8abb19b909f09d4", "blender": "5.3.0"},
"table": {"schema": "brokkr.plates.v0", "plates": [
{"name": "Thigh.core", "mat": "gunmetal", "bevel": 0.02, "sections": [[0.4, 0.9, -0.3, 0.5, 0.12], [0.05, 1.2, -0.34, 0.64, 0.18], [-1.45, 1.2, -0.34, 0.64, 0.18], [-1.8, 0.95, -0.3, 0.5, 0.14]]},
{"name": "Thigh.Shield", "mat": "khaki", "bevel": 0.022, "slab": {"at": [0.02, 0.9, -0.5], "normal": [0.06, 1.0, 0.05], "up": [0.0, 0.0, 1.0], "right": [1.0, 0.0, 0.0], "outline": [[-0.42, 0.98], [0.42, 0.98], [0.66, 0.5], [0.66, -0.52], [0.42, -1.0], [-0.42, -1.0], [-0.66, -0.52], [-0.66, 0.5]], "thick": 0.26, "taper": 0.04, "back": 1.0}, "clad": {"mat": "olive_light", "min_area": 0.2, "lifts": [0.05, 0.05], "inset": 0.075, "gap": 0.045, "split": 99.0, "seed": 948708}, "fits": [{"kind": "mark", "id": "tri", "at": [0.0, -0.05], "height": 0.5}]},
{"name": "Thigh.Block", "mat": "olive_light", "bevel": 0.022, "slab": {"at": [0.02, 1.0, 0.12], "normal": [0.06, 1.0, 0.05], "up": [0.0, 0.0, 1.0], "right": [1.0, 0.0, 0.0], "outline": {"w": 0.56, "h": 0.44, "clip": 0.08}, "thick": 0.16, "taper": 0.04, "back": 1.0}},
{"name": "Thigh.Lame", "mat": "olive_light", "bevel": 0.022, "slab": {"at": [0.02, 0.985, -1.17], "normal": [0.06, 1.0, 0.02], "up": [0.0, 0.0, 1.0], "right": [1.0, 0.0, 0.0], "outline": [[-0.52, 0.2], [0.52, 0.2], [0.58, 0.0], [0.4, -0.26], [-0.4, -0.26], [-0.58, 0.0]], "thick": 0.14, "taper": 0.04, "back": 1.0}},
{"name": "Thigh.Outer", "mat": "khaki", "bevel": 0.022, "slab": {"at": [0.86, 0.0, -0.45], "normal": [1.0, 0.08, 0.04], "up": [0.0, 0.0, 1.0], "right": [0.0, 1.0, 0.0], "outline": [[-0.5, 1.0], [0.36, 1.05], [0.68, 0.5], [0.68, -0.6], [0.3, -1.02], [-0.5, -0.86], [-0.74, -0.2], [-0.74, 0.5]], "thick": 0.24, "taper": 0.04, "back": 1.0}, "clad": {"mat": "olive_light", "min_area": 0.2, "lifts": [0.04, 0.07], "inset": 0.075, "gap": 0.045, "split": 0.8, "seed": 976538}},
{"name": "Thigh.OuterStep", "mat": "olive_light", "bevel": 0.022, "slab": {"at": [0.95, -0.02, -0.25], "normal": [1.0, 0.08, 0.04], "up": [0.0, 0.0, 1.0], "right": [0.0, 1.0, 0.0], "outline": {"w": 0.8, "h": 0.9, "clip": 0.2}, "thick": 0.13, "taper": 0.04, "back": 1.0}},
{"name": "Thigh.Inner", "mat": "khaki", "bevel": 0.022, "slab": {"at": [-0.82, 0.05, -0.75], "normal": [-1.0, 0.1, 0.0], "up": [0.0, 0.0, 1.0], "right": [0.0, 1.0, 0.0], "outline": [[-0.55, 0.55], [0.5, 0.55], [0.62, 0.15], [0.5, -0.7], [-0.45, -0.7], [-0.62, -0.15]], "thick": 0.2, "taper": 0.04, "back": 1.0}, "clad": {"mat": "olive_light", "min_area": 0.2, "lifts": [0.04, 0.07], "inset": 0.075, "gap": 0.045, "split": 0.8, "seed": 947561}},
{"name": "Thigh.Rear", "mat": "khaki", "bevel": 0.022, "slab": {"at": [0.0, -0.98, -0.25], "normal": [0.0, -1.0, 0.05], "up": [0.0, 0.0, 1.0], "right": [1.0, 0.0, 0.0], "outline": [[-0.46, 0.72], [0.46, 0.72], [0.64, 0.3], [0.64, -0.4], [0.42, -0.72], [-0.42, -0.72], [-0.64, -0.4], [-0.64, 0.3]], "thick": 0.22, "taper": 0.04, "back": 1.0}, "clad": {"mat": "olive_light", "min_area": 0.2, "lifts": [0.05, 0.05], "inset": 0.075, "gap": 0.045, "split": 99.0, "seed": 398253}},
{"name": "Thigh.RearStep", "mat": "olive_light", "bevel": 0.022, "slab": {"at": [0.0, -1.06, -0.3], "normal": [0.0, -1.0, 0.05], "up": [0.0, 0.0, 1.0], "right": [1.0, 0.0, 0.0], "outline": {"w": 0.7, "h": 0.5, "clip": 0.1}, "thick": 0.12, "taper": 0.04, "back": 1.0}},
{"name": "Thigh.CornerOut", "mat": "khaki", "bevel": 0.022, "slab": {"at": [0.7, 0.7, -0.45], "normal": [0.72, 0.7, 0.04], "up": [0.0, 0.0, 1.0], "right": [1.0, 0.0, 0.0], "outline": {"w": 0.3, "h": 1.5, "clip": 0.08}, "thick": 0.2, "taper": 0.04, "back": 1.0}},
{"name": "Thigh.CornerIn", "mat": "khaki", "bevel": 0.022, "slab": {"at": [-0.67, 0.7, -0.6], "normal": [-0.72, 0.7, 0.03], "up": [0.0, 0.0, 1.0], "right": [1.0, 0.0, 0.0], "outline": {"w": 0.26, "h": 1.1, "clip": 0.07}, "thick": 0.18, "taper": 0.04, "back": 1.0}},
{"name": "Thigh.Cap", "mat": "khaki", "bevel": 0.022, "slab": {"at": [0.0, 0.12, 0.66], "normal": [0.0, 0.3, 1.0], "up": [0.0, 1.0, 0.0], "right": [1.0, 0.0, 0.0], "outline": [[-0.5, -0.5], [0.5, -0.5], [0.6, 0.1], [0.36, 0.44], [-0.36, 0.44], [-0.6, 0.1]], "thick": 0.18, "taper": 0.04, "back": 1.0}, "clad": {"mat": "olive_light", "min_area": 0.2, "lifts": [0.05, 0.05], "inset": 0.075, "gap": 0.045, "split": 99.0, "seed": 387260}},
{"name": "Shin.core", "mat": "gunmetal", "bevel": 0.02, "sections": [[-0.3, 0.9, -0.3, 0.5, 0.12], [-0.65, 1.14, -0.34, 0.6, 0.18], [-1.9, 1.06, -0.34, 0.56, 0.18], [-2.5, 0.8, -0.3, 0.4, 0.12]]},
{"name": "Shin.Knee", "mat": "khaki", "bevel": 0.022, "slab": {"at": [0.0, 1.0, 0.02], "normal": [0.0, 1.0, 0.22], "up": [0.0, 0.0, 1.0], "right": [1.0, 0.0, 0.0], "outline": [[-0.4, 0.56], [0.4, 0.56], [0.62, 0.22], [0.62, -0.3], [0.42, -0.56], [-0.42, -0.56], [-0.62, -0.3], [-0.62, 0.22]], "thick": 0.28, "taper": 0.04, "back": 1.0}, "clad": {"mat": "olive_light", "min_area": 0.2, "lifts": [0.05, 0.05], "inset": 0.075, "gap": 0.045, "split": 99.0, "seed": 995246}},
{"name": "Shin.KneeSide", "mat": "khaki", "bevel": 0.022, "slab": {"at": [0.7, 0.72, 0.0], "normal": [0.75, 0.66, 0.1], "up": [0.0, 0.0, 1.0], "right": [1.0, 0.0, 0.0], "outline": {"w": 0.34, "h": 0.9, "clip": 0.1}, "thick": 0.2, "taper": 0.04, "back": 1.0}},
{"name": "Shin.KneeSideIn", "mat": "khaki", "bevel": 0.022, "slab": {"at": [-0.7, 0.72, 0.0], "normal": [-0.75, 0.66, 0.1], "up": [0.0, 0.0, 1.0], "right": [1.0, 0.0, 0.0], "outline": {"w": 0.34, "h": 0.9, "clip": 0.1}, "thick": 0.2, "taper": 0.04, "back": 1.0}},
{"name": "Shin.Greave", "mat": "khaki", "bevel": 0.022, "slab": {"at": [0.0, 0.88, -1.3], "normal": [0.0, 1.0, -0.07], "up": [0.0, 0.0, 1.0], "right": [1.0, 0.0, 0.0], "outline": [[-0.5, 0.72], [0.5, 0.72], [0.66, 0.4], [0.6, -0.5], [0.36, -0.95], [-0.36, -0.95], [-0.6, -0.5], [-0.66, 0.4]], "thick": 0.28, "taper": 0.04, "back": 1.0}, "clad": {"mat": "olive_light", "min_area": 0.2, "lifts": [0.04, 0.07], "inset": 0.075, "gap": 0.045, "split": 0.8, "seed": 564123}},
{"name": "Shin.GreaveStep", "mat": "olive_light", "bevel": 0.022, "slab": {"at": [0.0, 0.97, -1.2], "normal": [0.0, 1.0, -0.07], "up": [0.0, 0.0, 1.0], "right": [1.0, 0.0, 0.0], "outline": {"w": 0.62, "h": 0.84, "clip": 0.12}, "thick": 0.15, "taper": 0.04, "back": 1.0}},
{"name": "Shin.Outer", "mat": "khaki", "bevel": 0.022, "slab": {"at": [0.82, -0.2, -1.05], "normal": [1.0, 0.04, 0.0], "up": [0.0, 0.0, 1.0], "right": [0.0, 1.0, 0.0], "outline": [[-0.75, 0.62], [0.34, 0.74], [0.74, 0.36], [0.7, -0.55], [0.28, -0.96], [-0.6, -0.82], [-0.95, -0.1]], "thick": 0.26, "taper": 0.04, "back": 1.0}, "clad": {"mat": "olive_light", "min_area": 0.2, "lifts": [0.04, 0.07], "inset": 0.075, "gap": 0.045, "split": 0.8, "seed": 733553}},
{"name": "Shin.OuterStep", "mat": "olive_light", "bevel": 0.022, "slab": {"at": [0.92, -0.2, -1.0], "normal": [1.0, 0.04, 0.0], "up": [0.0, 0.0, 1.0], "right": [0.0, 1.0, 0.0], "outline": [[-0.42, 0.42], [0.2, 0.46], [0.46, 0.2], [0.44, -0.3], [0.16, -0.5], [-0.36, -0.44], [-0.56, -0.05]], "thick": 0.13, "taper": 0.04, "back": 1.0}, "fits": [{"kind": "mark", "id": "tri", "at": [-0.03, -0.02], "height": 0.4}]},
{"name": "Shin.Inner", "mat": "khaki", "bevel": 0.022, "slab": {"at": [-0.78, -0.12, -1.1], "normal": [-1.0, 0.04, 0.0], "up": [0.0, 0.0, 1.0], "right": [0.0, 1.0, 0.0], "outline": [[-0.7, 0.55], [0.3, 0.66], [0.66, 0.3], [0.62, -0.5], [0.25, -0.86], [-0.55, -0.74], [-0.85, -0.1]], "thick": 0.22, "taper": 0.04, "back": 1.0}, "clad": {"mat": "olive_light", "min_area": 0.2, "lifts": [0.05, 0.05], "inset": 0.075, "gap": 0.045, "split": 99.0, "seed": 299054}},
{"name": "Shin.Calf", "mat": "khaki", "bevel": 0.022, "slab": {"at": [0.0, -1.12, -0.95], "normal": [0.0, -1.0, 0.1], "up": [0.0, 0.0, 1.0], "right": [1.0, 0.0, 0.0], "outline": [[-0.5, 0.62], [0.5, 0.62], [0.68, 0.1], [0.5, -0.62], [-0.5, -0.62], [-0.68, 0.1]], "thick": 0.22, "taper": 0.04, "back": 1.0}, "clad": {"mat": "olive_light", "min_area": 0.2, "lifts": [0.05, 0.05], "inset": 0.075, "gap": 0.045, "split": 99.0, "seed": 800359}},
{"name": "Shin.CalfStep", "mat": "olive_light", "bevel": 0.022, "slab": {"at": [0.0, -1.2, -1.05], "normal": [0.0, -1.0, 0.1], "up": [0.0, 0.0, 1.0], "right": [1.0, 0.0, 0.0], "outline": {"w": 0.72, "h": 0.46, "clip": 0.1}, "thick": 0.12, "taper": 0.04, "back": 1.0}},
{"name": "Shin.Ankle", "mat": "olive_light", "bevel": 0.022, "slab": {"at": [0.0, 0.66, -2.42], "normal": [0.0, 1.0, -0.2], "up": [0.0, 0.0, 1.0], "right": [1.0, 0.0, 0.0], "outline": {"w": 0.8, "h": 0.52, "clip": 0.12}, "thick": 0.2, "taper": 0.04, "back": 1.0}, "clad": {"mat": "khaki", "min_area": 0.2, "lifts": [0.04, 0.07], "inset": 0.075, "gap": 0.045, "split": 0.8, "seed": 22775}},
{"name": "Shin.AnkleSide", "mat": "khaki", "bevel": 0.022, "slab": {"at": [0.6, 0.1, -2.35], "normal": [1.0, 0.1, -0.1], "up": [0.0, 0.0, 1.0], "right": [0.0, 1.0, 0.0], "outline": {"w": 0.7, "h": 0.5, "clip": 0.12}, "thick": 0.16, "taper": 0.04, "back": 1.0}},
{"name": "Pelvis.core", "mat": "gunmetal", "bevel": 0.02, "points": [[0.62, 0.62, 0.5], [0.62, -0.6, 0.5], [0.72, 0.7, -0.3], [0.72, -0.62, -0.3], [0.45, 0.7, 0.62], [0.45, -0.66, 0.62], [0.4, 0.55, -0.8], [0.4, -0.45, -0.8]], "mirror": true},
{"name": "Pelvis.Crown", "mat": "khaki", "bevel": 0.022, "slab": {"at": [0.0, 1.0, 0.42], "normal": [0.0, 1.0, 0.16], "up": [0.0, 0.0, 1.0], "right": [1.0, 0.0, 0.0], "outline": [[-0.32, 0.3], [0.32, 0.3], [0.48, 0.04], [0.3, -0.3], [-0.3, -0.3], [-0.48, 0.04]], "thick": 0.3, "taper": 0.04, "back": 1.0}, "clad": {"mat": "olive_light", "min_area": 0.2, "lifts": [0.05, 0.05], "inset": 0.075, "gap": 0.045, "split": 99.0, "seed": 345924}},
{"name": "Pelvis.Cod", "mat": "khaki", "bevel": 0.022, "slab": {"at": [0.0, 1.06, -0.62], "normal": [0.0, 1.0, -0.1], "up": [0.0, 0.0, 1.0], "right": [1.0, 0.0, 0.0], "outline": [[-0.36, 0.7], [0.36, 0.7], [0.44, 0.3], [0.3, -0.78], [-0.3, -0.78], [-0.44, 0.3]], "thick": 0.34, "taper": 0.04, "back": 1.0}, "clad": {"mat": "olive_light", "min_area": 0.2, "lifts": [0.04, 0.07], "inset": 0.075, "gap": 0.045, "split": 0.8, "seed": 876596}},
{"name": "Pelvis.CodStep", "mat": "olive_light", "bevel": 0.022, "slab": {"at": [0.0, 1.17, -0.3], "normal": [0.0, 1.0, -0.1], "up": [0.0, 0.0, 1.0], "right": [1.0, 0.0, 0.0], "outline": {"w": 0.5, "h": 0.42, "clip": 0.1}, "thick": 0.14, "taper": 0.04, "back": 1.0}},
{"name": "Pelvis.CodLame", "mat": "olive_light", "bevel": 0.022, "slab": {"at": [0.0, 1.15, -1.02], "normal": [0.0, 1.0, -0.1], "up": [0.0, 0.0, 1.0], "right": [1.0, 0.0, 0.0], "outline": {"w": 0.42, "h": 0.4, "clip": 0.08}, "thick": 0.13, "taper": 0.04, "back": 1.0}},
{"name": "Pelvis.Wing", "mat": "khaki", "bevel": 0.022, "sides": "both", "slab": {"at": [0.92, 0.84, 0.5], "normal": [0.3, 1.0, 0.2], "up": [0.0, 0.0, 1.0], "right": [1.0, 0.0, 0.0], "outline": [[-0.46, -0.02], [0.44, 0.36], [0.54, 0.1], [0.44, -0.26], [-0.46, -0.36]], "thick": 0.22, "taper": 0.04, "back": 1.0}, "clad": {"mat": "olive_light", "min_area": 0.2, "lifts": [0.04, 0.07], "inset": 0.075, "gap": 0.045, "split": 0.8, "seed": [876672, 589838]}},
{"name": "Pelvis.HipGuard", "mat": "olive_light", "bevel": 0.022, "sides": "both", "slab": {"at": [0.62, 0.92, -0.05], "normal": [0.2, 1.0, -0.05], "up": [0.0, 0.0, 1.0], "right": [1.0, 0.0, 0.0], "outline": {"w": 0.34, "h": 0.5, "clip": 0.08}, "thick": 0.16, "taper": 0.04, "back": 1.0}},
{"name": "Pelvis.Seat", "mat": "khaki", "bevel": 0.022, "sides": "both", "slab": {"at": [0.56, -0.86, 0.02], "normal": [0.22, -1.0, 0.1], "up": [0.0, 0.0, 1.0], "right": [1.0, 0.0, 0.0], "outline": [[-0.5, 0.66], [0.5, 0.72], [0.6, -0.2], [0.2, -0.86], [-0.5, -0.6]], "thick": 0.24, "taper": 0.04, "back": 1.0}, "clad": {"mat": "olive_light", "min_area": 0.2, "lifts": [0.05, 0.05], "inset": 0.075, "gap": 0.045, "split": 99.0, "seed": [1004746, 453014]}},
{"name": "Pelvis.SeatStep", "mat": "olive_light", "bevel": 0.022, "sides": "both", "slab": {"at": [0.6, -0.95, 0.1], "normal": [0.22, -1.0, 0.1], "up": [0.0, 0.0, 1.0], "right": [1.0, 0.0, 0.0], "outline": {"w": 0.56, "h": 0.6, "clip": 0.12}, "thick": 0.12, "taper": 0.04, "back": 1.0}},
{"name": "Pelvis.Tail", "mat": "olive_light", "bevel": 0.022, "slab": {"at": [0.0, -0.92, -0.2], "normal": [0.0, -1.0, -0.05], "up": [0.0, 0.0, 1.0], "right": [1.0, 0.0, 0.0], "outline": {"w": 0.36, "h": 1.3, "clip": 0.1}, "thick": 0.22, "taper": 0.04, "back": 1.0}, "clad": {"mat": "khaki", "min_area": 0.2, "lifts": [0.04, 0.07], "inset": 0.075, "gap": 0.045, "split": 0.8, "seed": 995407}},
{"name": "Pelvis.Roof", "mat": "khaki", "bevel": 0.022, "sides": "both", "slab": {"at": [0.62, 0.0, 0.7], "normal": [0.25, 0.0, 1.0], "up": [0.0, 1.0, 0.0], "right": [1.0, 0.0, 0.0], "outline": {"w": 0.6, "h": 1.1, "clip": 0.14}, "thick": 0.14, "taper": 0.04, "back": 1.0}}
]},
"cases": [
{"side": 1, "truth": {
"Thigh.core": {"solid":[[-0.33,-0.3,0.4],[0.33,-0.3,0.4],[0.45,-0.18,0.4],[0.45,0.38,0.4],[0.33,0.5,0.4],[-0.33,0.5,0.4],[-0.45,0.38,0.4],[-0.45,-0.18,0.4],[-0.42,-0.34,0.05],[0.42,-0.34,0.05],[0.6,-0.16,0.05],[0.6,0.46,0.05],[0.42,0.64,0.05],[-0.42,0.64,0.05],[-0.6,0.46,0.05],[-0.6,-0.16,0.05],[-0.42,-0.34,-1.45],[0.42,-0.34,-1.45],[0.6,-0.16,-1.45],[0.6,0.46,-1.45],[0.42,0.64,-1.45],[-0.42,0.64,-1.45],[-0.6,0.46,-1.45],[-0.6,-0.16,-1.45],[-0.335,-0.3,-1.8],[0.335,-0.3,-1.8],[0.475,-0.16,-1.8],[0.475,0.36,-1.8],[0.335,0.5,-1.8],[-0.335,0.5,-1.8],[-0.475,0.36,-1.8],[-0.475,-0.16,-1.8]],"facets":26,"panels":[],"bolts":0},
"Thigh.Shield": {"solid":[[-0.6003516,0.9127237,-0.0100526],[-0.5973628,0.9625379,-1.0099225],[-0.371703,0.9714425,-1.4588065],[0.4174352,0.9240942,-1.4588065],[0.6404113,0.8882715,-1.0099225],[0.6374224,0.8384573,-0.0100526],[0.4117627,0.8295527,0.4388314],[-0.3773755,0.8769009,0.4388314],[-0.6427007,0.874771,-0.0026155],[-0.6396555,0.9255249,-1.0213474],[-0.3986532,0.9350349,-1.5007508],[0.4398389,0.8847254,-1.5007508],[0.677975,0.8464671,-1.0213474],[0.6749298,0.7957132,-0.0026155],[0.4339275,0.7862031,0.4767878],[-0.4045646,0.8365127,0.4767878],[-0.6558607,0.6554389,-0.0135821],[-0.6528155,0.7061929,-1.0323141],[-0.4118131,0.7157029,-1.5117174],[0.426679,0.6653934,-1.5117174],[0.6648151,0.627135,-1.0323141],[0.6617699,0.5763811,-0.0135821],[0.4207676,0.566871,0.4658212],[-0.4177245,0.6171806,0.4658212]],"facets":18,"panels":[[0.5642967,0.8719431,-0.9932363],[0.3697456,0.9031991,-1.3848965],[-0.3268539,0.9449951,-1.3848965],[-0.5237467,0.9372256,-0.9932363],[-0.5266297,0.8891734,-0.0287326],[-0.3320786,0.8579174,0.3629277],[0.3645209,0.8161214,0.3629277],[0.5614136,0.8238909,-0.0287325],[0.5672876,0.9217913,-0.9907439],[0.3727365,0.9530473,-1.3824042],[-0.323863,0.9948433,-1.3824042],[-0.5207558,0.9870738,-0.9907439],[-0.5236388,0.9390216,-0.0262402],[-0.3290877,0.9077656,0.3654201],[0.3675118,0.8659696,0.3654201],[0.5644045,0.8737391,-0.0262401],[0.5485058,0.9426935,-0.9850315],[0.3615346,0.9727318,-1.3614321],[-0.3103879,1.0130471,-1.3614321],[-0.4996094,1.0055803,-0.9850315],[-0.5024643,0.957998,-0.0299587],[-0.3154931,0.9279597,0.346442],[0.3564294,0.8876444,0.346442],[0.5456509,0.8951111,-0.0299587]],"bolts":8},
"Thigh.Block": {"solid":[[-0.2199377,1.0082324,0.243278],[-0.2192007,1.0205159,-0.003278],[-0.1625648,1.0199426,-0.0597762],[0.2036396,0.9979704,-0.0597762],[0.2599377,0.9917676,-0.003278],[0.2592007,0.9794841,0.243278],[0.2025648,0.9800573,0.2997762],[-0.1636396,1.0020295,0.2997762],[-0.262308,0.9699251,0.257832],[-0.2614721,0.9838576,-0.0218199],[-0.1813769,0.9830468,-0.1017204],[0.2179051,0.9590899,-0.1017204],[0.2975226,0.9503179,-0.0218199],[0.2966867,0.9363854,0.257832],[0.2165914,0.9371961,0.3377326],[-0.1826905,0.9611531,0.3377326],[-0.2694862,0.8502895,0.2518502],[-0.2686502,0.8642219,-0.0278017],[-0.188555,0.8634112,-0.1077022],[0.2107269,0.8394543,-0.1077022],[0.2903445,0.8306822,-0.0278017],[0.2895085,0.8167497,0.2518502],[0.2094133,0.8175604,0.3317508],[-0.1898686,0.8415174,0.3317508]],"facets":18,"panels":[],"bolts":0},
"Thigh.Lame": {"solid":[[-0.5152019,1.0169734,-1.1630588],[-0.3580984,1.0120851,-1.3899561],[0.3986245,0.9666817,-1.3899561],[0.5551853,0.9527501,-1.1630588],[0.5091674,0.9524506,-1.0100318],[-0.46955,1.0111736,-1.0100318],[-0.561354,0.9798173,-1.1707984],[-0.3813663,0.9742171,-1.4307466],[0.4171976,0.9263031,-1.4307466],[0.5965636,0.9103422,-1.1707984],[0.5364322,0.909951,-0.9708382],[-0.5017008,0.972239,-0.9708382],[-0.5673421,0.8800166,-1.1727943],[-0.3873544,0.8744164,-1.4327425],[0.4112095,0.8265026,-1.4327425],[0.5905755,0.8105416,-1.1727943],[0.5304441,0.8101503,-0.9728342],[-0.5076889,0.8724384,-0.9728342]],"facets":14,"panels":[],"bolts":0},
"Thigh.Outer": {"solid":[[0.8963261,-0.6993303,0.0405074],[0.9234846,-0.6971576,-0.6427998],[0.9302595,-0.4659773,-1.2745335],[0.8760005,0.2877677,-1.4255476],[0.8321795,0.6398191,-1.0341262],[0.7895345,0.6364074,0.0388219],[0.7930059,0.3335055,0.55784],[0.859628,-0.475686,0.5106725],[0.8593135,-0.7424191,0.0480094],[0.8871133,-0.7401951,-0.6514348],[0.8941858,-0.4988625,-1.3109107],[0.8367438,0.299098,-1.4707837],[0.7897608,0.6765533,-1.0511172],[0.7460753,0.6730585,0.0480094],[0.749751,0.3523302,0.5975726],[0.8203176,-0.504772,0.5476124],[0.6601087,-0.7583555,0.0400412],[0.6879086,-0.7561315,-0.659403],[0.694981,-0.5147989,-1.3188789],[0.6375391,0.2831616,-1.4787519],[0.590556,0.6606169,-1.0590854],[0.5468705,0.6571221,0.0400412],[0.5505463,0.3363939,0.5896044],[0.6211129,-0.5207084,0.5396442]],"facets":18,"panels":[[0.9001193,-0.6237868,-0.7074043],[0.8970585,-0.6240321,-0.6303937],[0.9032756,-0.4118871,-1.2101107],[0.8549845,0.2589536,-1.3445147],[0.8170925,0.5633724,-1.0060527],[0.8052226,0.5624229,-0.7074043],[0.969841,-0.6182091,-0.7046154],[0.9667802,-0.6184544,-0.6276049],[0.9729972,-0.4063094,-1.2073218],[0.9247062,0.2645313,-1.3417259],[0.8868142,0.5689502,-1.0032638],[0.8749442,0.5680006,-0.7046154],[0.9921507,-0.6364881,-0.7238027],[0.9850156,-0.6285996,-0.5612047],[0.9910342,-0.3898667,-1.1891332],[0.9443345,0.2588662,-1.3191079],[0.9080236,0.5505831,-0.9947683],[0.8972539,0.5497215,-0.7238027],[0.8711027,-0.6261086,0.0226564],[0.8923752,-0.6244068,-0.5125591],[0.7974783,0.5618034,-0.5125591],[0.7763985,0.560117,0.0178105],[0.7794868,0.2906393,0.4795566],[0.8387128,-0.4287195,0.4376253],[0.9109437,-0.6229213,0.02425],[0.9322161,-0.6212195,-0.5109655],[0.8373193,0.5649906,-0.5109655],[0.8162394,0.5633042,0.0194041],[0.8193278,0.2938266,0.4811502],[0.8785537,-0.4255322,0.439219],[0.92945,-0.601377,0.020499],[0.9497474,-0.5997531,-0.4901845],[0.8580404,0.5465844,-0.4901845],[0.8379691,0.5449787,0.0148104],[0.8409553,0.2844143,0.4612839],[0.898209,-0.4109892,0.420749]],"bolts":12},
"Thigh.OuterStep": {"solid":[[0.9694378,-0.3795951,-0.0167539],[0.9879788,-0.3781119,-0.4832461],[0.9809105,-0.2015447,-0.6596745],[0.951655,0.1641499,-0.6596745],[0.9305622,0.3395951,-0.4832461],[0.9120212,0.3381118,-0.0167539],[0.9190895,0.1615447,0.1596745],[0.948345,-0.2041499,0.1596745],[0.9321286,-0.4227076,-0.0017921],[0.9519857,-0.4211191,-0.5013952],[0.9439794,-0.2211206,-0.7012363],[0.9120813,0.1776055,-0.7012363],[0.8881895,0.3763331,-0.5013952],[0.8683324,0.3747445,-0.0017921],[0.8763387,0.1747461,0.1980491],[0.9082368,-0.22398,0.1980491],[0.8424864,-0.429879,-0.0053778],[0.8623435,-0.4282905,-0.5049809],[0.8543373,-0.228292,-0.704822],[0.8224391,0.1704341,-0.704822],[0.7985473,0.3691617,-0.5049809],[0.7786903,0.3675731,-0.0053778],[0.7866965,0.1675747,0.1944634],[0.8185946,-0.2311514,0.1944634]],"facets":18,"panels":[],"bolts":0},
"Thigh.Inner": {"solid":[[-0.8776518,-0.5265174,-0.8959235],[-0.861841,-0.3684096,-1.41],[-0.7737058,0.5129414,-1.41],[-0.7623708,0.6262924,-0.603093],[-0.7732095,0.5179051,-0.24],[-0.871125,-0.4612505,-0.24],[-0.8418908,-0.5709032,-0.9],[-0.8249752,-0.4017468,-1.45],[-0.7304466,0.5435384,-1.45],[-0.7185062,0.6629429,-0.6],[-0.7304466,0.5435384,-0.2],[-0.8349255,-0.5012506,-0.2],[-0.6826848,-0.5868238,-0.9],[-0.6657692,-0.4176674,-1.45],[-0.5712407,0.5276178,-1.45],[-0.5593002,0.6470223,-0.6],[-0.5712407,0.5276178,-0.2],[-0.6757196,-0.5171711,-0.2]],"facets":14,"panels":[[-0.850175,-0.4527469,-0.88828],[-0.8444706,-0.3957034,-0.315],[-0.8004089,0.0449137,-0.3149999],[-0.8004089,0.0449137,-1.3349999],[-0.8364358,-0.3153551,-1.3349999],[-0.9198276,-0.4457816,-0.88828],[-0.9141232,-0.3887382,-0.315],[-0.8700615,0.051879,-0.3149999],[-0.8700615,0.051879,-1.3349999],[-0.9060884,-0.3083898,-1.3349999],[-0.9377081,-0.4235888,-0.8862417],[-0.932223,-0.3687381,-0.335],[-0.8919523,0.0339683,-0.3349999],[-0.8919523,0.0339683,-1.3149999],[-0.9245213,-0.2917212,-1.3149999],[-0.7810057,0.238946,-0.315],[-0.7588613,0.4603896,-0.315],[-0.7500883,0.5481198,-0.6088924],[-0.7602883,0.4461192,-1.335],[-0.7810056,0.238946,-1.335],[-0.8208072,0.2429261,-0.315],[-0.7986628,0.4643697,-0.315],[-0.7898898,0.5521,-0.6088925],[-0.8000898,0.4500993,-1.335],[-0.8208071,0.2429261,-1.335],[-0.8387178,0.2648169,-0.335],[-0.8200442,0.451553,-0.335],[-0.8118221,0.5337747,-0.610439],[-0.8217194,0.4348008,-1.3150001],[-0.8387178,0.2648169,-1.3150001]],"bolts":10},
"Thigh.Rear": {"solid":[[-0.6,-0.9654287,0.0414257],[-0.6,-0.9993547,-0.6370928],[-0.3989588,-1.0139576,-0.9291516],[0.3989588,-1.0139576,-0.9291516],[0.6,-0.9993547,-0.6370928],[0.6,-0.9654287,0.0414257],[0.4336241,-0.9460424,0.4291516],[-0.4336241,-0.9460424,0.4291516],[-0.64,-0.9250687,0.0476282],[-0.64,-0.960025,-0.6514985],[-0.42,-0.976005,-0.9710993],[0.42,-0.976005,-0.9710993],[0.64,-0.960025,-0.6514985],[0.64,-0.9250687,0.0476282],[0.46,-0.9040949,0.4671042],[-0.46,-0.9040949,0.4671042],[-0.64,-0.7452933,0.0386394],[-0.64,-0.7802496,-0.6604872],[-0.42,-0.7962296,-0.980088],[0.42,-0.7962296,-0.980088],[0.64,-0.7802496,-0.6604872],[0.64,-0.7452933,0.0386394],[0.46,-0.7243195,0.4581155],[-0.46,-0.7243195,0.4581155]],"facets":18,"panels":[[0.525,-0.9462224,0.0250518],[0.3841694,-0.9298127,0.3532465],[-0.3841694,-0.9298127,0.3532465],[-0.525,-0.9462224,0.0250518],[-0.525,-0.9782164,-0.6148264],[-0.3595065,-0.9902372,-0.8552439],[0.3595065,-0.9902372,-0.8552439],[0.525,-0.9782164,-0.6148264],[0.525,-0.99616,0.0275487],[0.3841694,-0.9797503,0.3557433],[-0.3841694,-0.9797503,0.3557433],[-0.525,-0.99616,0.0275487],[-0.525,-1.028154,-0.6123295],[-0.3595065,-1.0401748,-0.8527471],[0.3595065,-1.0401748,-0.8527471],[0.525,-1.028154,-0.6123295],[0.505,-1.0163401,0.0244474],[0.3709815,-1.0007241,0.3367671],[-0.3709815,-1.0007241,0.3367671],[-0.505,-1.0163401,0.0244474],[-0.505,-1.0478188,-0.6051267],[-0.3489859,-1.0591512,-0.8317733],[0.3489859,-1.0591512,-0.8317733],[0.505,-1.0478188,-0.6051267]],"bolts":8},
"Thigh.RearStep": {"solid":[[-0.31,-1.0533367,-0.166735],[-0.31,-1.0666631,-0.433265],[-0.2334315,-1.0704868,-0.509738],[0.2334315,-1.0704868,-0.509738],[0.31,-1.0666631,-0.433265],[0.31,-1.0533367,-0.166735],[0.2334315,-1.0495131,-0.090262],[-0.2334315,-1.0495131,-0.090262],[-0.35,-1.0125592,-0.1521847],[-0.35,-1.0275404,-0.4518104],[-0.25,-1.0325342,-0.5516856],[0.25,-1.0325342,-0.5516856],[0.35,-1.0275404,-0.4518104],[0.35,-1.0125592,-0.1521847],[0.25,-1.0075654,-0.0523094],[-0.25,-1.0075654,-0.0523094],[-0.35,-0.932659,-0.1561797],[-0.35,-0.9476403,-0.4558054],[-0.25,-0.9526341,-0.5556806],[0.25,-0.9526341,-0.5556806],[0.35,-0.9476403,-0.4558054],[0.35,-0.932659,-0.1561797],[0.25,-0.9276652,-0.0563044],[-0.25,-0.9276652,-0.0563044]],"facets":18,"panels":[],"bolts":0},
"Thigh.CornerOut": {"solid":[[0.6046741,0.7607402,0.2029137],[0.6419686,0.7969987,-1.1029136],[0.6830156,0.7580089,-1.1594374],[0.7575075,0.6813887,-1.1594374],[0.7953259,0.6392598,-1.1029136],[0.7580314,0.6030012,0.2029137],[0.7169843,0.6419911,0.2594374],[0.6424925,0.7186113,0.2594374],[0.5476611,0.7610992,0.217877],[0.5859013,0.7982771,-1.1210611],[0.6439505,0.7431371,-1.2009977],[0.7415414,0.6427579,-1.2009977],[0.7950248,0.5831786,-1.1210611],[0.7567846,0.5460007,0.217877],[0.6987353,0.6011407,0.2978136],[0.6011444,0.70152,0.2978136],[0.4330328,0.6496551,0.2115088],[0.471273,0.686833,-1.1274294],[0.5293223,0.631693,-1.207366],[0.6269132,0.5313138,-1.207366],[0.6803964,0.4717345,-1.1274294],[0.6421562,0.4345566,0.2115088],[0.584107,0.4896966,0.2914454],[0.4865161,0.5900759,0.2914454]],"facets":18,"panels":[],"bolts":0},
"Thigh.CornerIn": {"solid":[[-0.7228147,0.6258237,-0.1367753],[-0.7426594,0.6451172,-1.0632248],[-0.7111945,0.6794759,-1.1097726],[-0.6506443,0.7417562,-1.1097726],[-0.6171853,0.7741762,-1.0632248],[-0.5973406,0.7548828,-0.1367753],[-0.6288055,0.7205241,-0.0902275],[-0.6893557,0.6582438,-0.0902275],[-0.7216761,0.5689284,-0.1214086],[-0.7422302,0.5889115,-1.0809804],[-0.6949335,0.6405582,-1.1509492],[-0.6112841,0.7265977,-1.1509492],[-0.5609899,0.7753302,-1.0809804],[-0.5404358,0.755347,-0.1214086],[-0.5877325,0.7037003,-0.0514398],[-0.6713819,0.6176609,-0.0514398],[-0.6213416,0.4713809,-0.1255892],[-0.6418957,0.4913641,-1.085161],[-0.594599,0.5430108,-1.1551298],[-0.5109496,0.6290503,-1.1551298],[-0.4606554,0.6777828,-1.085161],[-0.4401013,0.6577996,-0.1255892],[-0.487398,0.6061529,-0.0556204],[-0.5710474,0.5201135,-0.0556204]],"facets":18,"panels":[],"bolts":0},
"Thigh.Cap": {"solid":[[-0.4661148,-0.3206001,0.7921801],[0.4661148,-0.3206001,0.7921801],[0.5578418,0.2065509,0.6340348],[0.3392738,0.5031305,0.5450609],[-0.3392738,0.5031305,0.5450609],[-0.5578418,0.2065509,0.6340348],[-0.4999999,-0.370407,0.765361],[0.4999999,-0.370407,0.765361],[0.6,0.2042887,0.5929522],[0.36,0.5299496,0.4952539],[-0.36,0.5299496,0.4952539],[-0.6,0.2042887,0.5929522],[-0.4999999,-0.4106357,0.6312653],[0.4999999,-0.4106357,0.6312653],[0.6,0.16406,0.4588565],[0.36,0.4897209,0.3611582],[-0.36,0.4897209,0.3611582],[-0.6,0.16406,0.4588565]],"facets":14,"panels":[[0.3004121,0.4255465,0.5474553],[-0.3004121,0.4255465,0.5474553],[-0.4787954,0.1834945,0.620071],[-0.4025803,-0.25451,0.7514725],[0.4025803,-0.25451,0.7514725],[0.4787954,0.1834945,0.620071],[0.3004121,0.4399139,0.5953466],[-0.3004121,0.4399139,0.5953466],[-0.4787954,0.1978619,0.6679623],[-0.4025803,-0.2401427,0.7993639],[0.4025803,-0.2401427,0.7993639],[0.4787954,0.1978619,0.6679623],[0.2900489,0.4265044,0.6202502],[-0.2900489,0.4265044,0.6202502],[-0.4577163,0.198993,0.6885036],[-0.3856378,-0.2152392,0.8127734],[0.3856378,-0.2152392,0.8127734],[0.4577163,0.198993,0.6885036]],"bolts":6},
"Shin.core": {"solid":[[-0.33,-0.3,-0.3],[0.33,-0.3,-0.3],[0.45,-0.18,-0.3],[0.45,0.38,-0.3],[0.33,0.5,-0.3],[-0.33,0.5,-0.3],[-0.45,0.38,-0.3],[-0.45,-0.18,-0.3],[-0.39,-0.34,-0.65],[0.39,-0.34,-0.65],[0.57,-0.16,-0.65],[0.57,0.42,-0.65],[0.39,0.6,-0.65],[-0.39,0.6,-0.65],[-0.57,0.42,-0.65],[-0.57,-0.16,-0.65],[-0.35,-0.34,-1.9],[0.35,-0.34,-1.9],[0.53,-0.16,-1.9],[0.53,0.38,-1.9],[0.35,0.56,-1.9],[-0.35,0.56,-1.9],[-0.53,0.38,-1.9],[-0.53,-0.16,-1.9],[-0.28,-0.3,-2.5],[0.28,-0.3,-2.5],[0.4,-0.18,-2.5],[0.4,0.28,-2.5],[0.28,0.4,-2.5],[-0.28,0.4,-2.5],[-0.4,0.28,-2.5],[-0.4,-0.18,-2.5]],"facets":26,"panels":[],"bolts":0},
"Shin.Knee": {"solid":[[-0.58,0.9552685,0.2233251],[-0.58,1.0615354,-0.2597062],[-0.4003039,1.1117281,-0.4878551],[0.4003039,1.1117281,-0.4878551],[0.58,1.0615354,-0.2597062],[0.58,0.9552685,0.2233251],[0.3782389,0.8882719,0.5278551],[-0.3782389,0.8882719,0.5278551],[-0.62,0.9136646,0.2262673],[-0.62,1.0253928,-0.2815878],[-0.42,1.0812569,-0.5355154],[0.42,1.0812569,-0.5355154],[0.62,1.0253928,-0.2815878],[0.62,0.9136646,0.2262673],[0.4,0.8406116,0.5583265],[-0.4,0.8406116,0.5583265],[-0.62,0.67927,0.1747005],[-0.62,0.790998,-0.3331546],[-0.42,0.8468621,-0.5870823],[0.42,0.8468621,-0.5870823],[0.62,0.790998,-0.3331546],[0.62,0.67927,0.1747005],[0.4,0.606217,0.5067596],[-0.4,0.606217,0.5067596]],"facets":18,"panels":[[0.3633738,1.0760806,-0.418904],[-0.3633738,1.0760806,-0.418904],[-0.505,1.0365214,-0.2390901],[-0.505,0.9404944,0.1973966],[-0.3374369,0.8848536,0.4503096],[0.3374369,0.8848536,0.4503096],[0.505,0.9404944,0.1973966],[0.505,1.0365214,-0.2390901],[0.3633738,1.1249127,-0.408161],[-0.3633738,1.1249127,-0.408161],[-0.505,1.0853537,-0.228347],[-0.505,0.9893267,0.2081397],[-0.3374369,0.9336858,0.4610527],[0.3374369,0.9336858,0.4610527],[0.505,0.9893267,0.2081397],[0.505,1.0853537,-0.228347],[0.3535258,1.1401484,-0.3843308],[-0.3535258,1.1401484,-0.3843308],[-0.485,1.103425,-0.2174062],[-0.485,1.0101286,0.2066686],[-0.3265564,0.957516,0.445817],[0.3265564,0.957516,0.445817],[0.485,1.0101286,0.2066686],[0.485,1.103425,-0.2174062]],"bolts":8},
"Shin.KneeSide": {"solid":[[0.589188,0.7956541,0.3317735],[0.6390487,0.8395315,-0.3317735],[0.695357,0.7870885,-0.4079614],[0.7659536,0.706865,-0.4079614],[0.810812,0.644346,-0.3317735],[0.7609513,0.6004685,0.3317735],[0.704643,0.6529116,0.4079614],[0.6340464,0.733135,0.4079614],[0.5316448,0.7982987,0.3442758],[0.5839832,0.8443565,-0.3522436],[0.6575229,0.7758648,-0.4517464],[0.7500108,0.6707649,-0.4517464],[0.8085967,0.5891139,-0.3522436],[0.7562584,0.5430561,0.3442758],[0.6827186,0.6115477,0.4437786],[0.5902307,0.7166476,0.4437786],[0.4121279,0.6931238,0.3283402],[0.4644662,0.7391816,-0.3681792],[0.5380059,0.6706899,-0.467682],[0.6304939,0.56559,-0.467682],[0.6890798,0.483939,-0.3681792],[0.6367414,0.4378812,0.3283402],[0.5632017,0.5063728,0.427843],[0.4707137,0.6114727,0.427843]],"facets":18,"panels":[],"bolts":0},
"Shin.KneeSideIn": {"solid":[[-0.7609513,0.6004685,0.3317735],[-0.810812,0.644346,-0.3317735],[-0.7659536,0.706865,-0.4079614],[-0.695357,0.7870885,-0.4079614],[-0.6390487,0.8395315,-0.3317735],[-0.589188,0.7956541,0.3317735],[-0.6340464,0.733135,0.4079614],[-0.704643,0.6529116,0.4079614],[-0.7562584,0.5430561,0.3442758],[-0.8085967,0.5891139,-0.3522436],[-0.7500108,0.6707649,-0.4517464],[-0.6575229,0.7758648,-0.4517464],[-0.5839832,0.8443565,-0.3522436],[-0.5316448,0.7982987,0.3442758],[-0.5902307,0.7166476,0.4437786],[-0.6827186,0.6115477,0.4437786],[-0.6367414,0.4378812,0.3283402],[-0.6890798,0.483939,-0.3681792],[-0.6304939,0.56559,-0.467682],[-0.5380059,0.6706899,-0.467682],[-0.4644662,0.7391816,-0.3681792],[-0.4121279,0.6931238,0.3283402],[-0.4707137,0.6114727,0.427843],[-0.5632017,0.5063728,0.427843]],"facets":18,"panels":[],"bolts":0},
"Shin.Greave": {"solid":[[-0.6193662,0.9073608,-0.9091315],[-0.5606605,0.8458702,-1.7875686],[-0.336,0.8164555,-2.2077785],[0.336,0.8164555,-2.2077785],[0.5606605,0.8458702,-1.7875686],[0.6193662,0.9073608,-0.9091315],[0.4752786,0.9274838,-0.6216599],[-0.4752786,0.9274838,-0.6216599],[-0.66,0.8680293,-0.8981832],[-0.6,0.8051831,-1.7959863],[-0.36,0.77376,-2.2448878],[0.36,0.77376,-2.2448878],[0.6,0.8051831,-1.7959863],[0.66,0.8680293,-0.8981832],[0.5,0.8903747,-0.5789643],[-0.5,0.8903747,-0.5789643],[-0.66,0.6286151,-0.8814242],[-0.6,0.565769,-1.7792274],[-0.36,0.5343457,-2.2281287],[0.36,0.5343457,-2.2281287],[0.6,0.565769,-1.7792274],[0.66,0.6286151,-0.8814242],[0.5,0.6509604,-0.5622053],[-0.5,0.6509604,-0.5622053]],"facets":18,"panels":[[-0.1732338,0.8017416,-2.1315651],[-0.291,0.8017416,-2.1315651],[-0.4868988,0.8273906,-1.7651516],[-0.5431778,0.8863394,-0.9230259],[-0.4289261,0.9022955,-0.6950803],[-0.1732337,0.9022955,-0.6950803],[-0.1732338,0.8416439,-2.1343582],[-0.291,0.8416439,-2.1343582],[-0.4868988,0.8672929,-1.7679448],[-0.5431778,0.9262417,-0.9258191],[-0.4289261,0.9421979,-0.6978735],[-0.1732337,0.9421979,-0.6978735],[-0.1932338,0.8629917,-2.1158037],[-0.279,0.8629917,-2.1158037],[-0.467229,0.8876365,-1.7637359],[-0.5228609,0.9459075,-0.9312932],[-0.4165654,0.9607525,-0.7192212],[-0.1932337,0.9607525,-0.7192212],[0.4868988,0.8273906,-1.7651516],[0.291,0.8017416,-2.1315651],[0.0217662,0.8017416,-2.1315651],[0.0217663,0.9022955,-0.6950803],[0.4289261,0.9022955,-0.6950803],[0.5431778,0.8863394,-0.9230259],[0.4868988,0.8972197,-1.7700397],[0.291,0.8715707,-2.1364532],[0.0217662,0.8715707,-2.1364532],[0.0217663,0.9721246,-0.6999683],[0.4289261,0.9721247,-0.6999683],[0.5431778,0.9561685,-0.927914],[0.467229,0.9175633,-1.7658308],[0.279,0.8929185,-2.1178985],[0.0417663,0.8929185,-2.1178985],[0.0417663,0.9906793,-0.721316],[0.4165654,0.9906793,-0.721316],[0.5228609,0.9758343,-0.9333881]],"bolts":12},
"Shin.GreaveStep": {"solid":[[-0.27,0.9897918,-0.9172604],[-0.27,0.9502082,-1.4827397],[-0.1734315,0.9434649,-1.5790725],[0.1734315,0.9434649,-1.5790725],[0.27,0.9502082,-1.4827397],[0.27,0.9897918,-0.9172604],[0.1734315,0.9965351,-0.8209276],[-0.1734315,0.9965351,-0.8209276],[-0.31,0.9510465,-0.8979391],[-0.31,0.9091489,-1.4964746],[-0.19,0.9007695,-1.6161816],[0.19,0.9007695,-1.6161816],[0.31,0.9091489,-1.4964746],[0.31,0.9510465,-0.8979391],[0.19,0.9594259,-0.7782321],[-0.19,0.9594259,-0.7782321],[-0.31,0.8413149,-0.890258],[-0.31,0.7994174,-1.4887935],[-0.19,0.7910379,-1.6085005],[0.19,0.7910379,-1.6085005],[0.31,0.7994174,-1.4887935],[0.31,0.8413149,-0.890258],[0.19,0.8496944,-0.7705509],[-0.19,0.8496944,-0.7705509]],"facets":18,"panels":[],"bolts":0},
"Shin.Outer": {"solid":[[0.8562673,-1.1066836,-1.1461235],[0.8429071,-0.7726778,-1.8337708],[0.809351,0.0662256,-1.9673394],[0.7935917,0.4602057,-1.5824323],[0.7920528,0.4986797,-0.7064488],[0.8069738,0.1256552,-0.3517922],[0.8487253,-0.9181325,-0.4667965],[0.8180016,-1.1508397,-1.15],[0.8040128,-0.8011193,-1.8699999],[0.7688409,0.0781775,-2.01],[0.7520543,0.497842,-1.5999999],[0.7504556,0.53781,-0.6899999],[0.7664428,0.1381296,-0.3099999],[0.810008,-0.9509994,-0.4299999],[0.5981774,-1.1596327,-1.15],[0.5841886,-0.8099123,-1.8699999],[0.5490167,0.0693846,-2.01],[0.5322301,0.489049,-1.5999999],[0.5306314,0.529017,-0.6899999],[0.5466186,0.1293367,-0.3099999],[0.5901837,-0.9597924,-0.4299999]],"facets":16,"panels":[[0.7751235,0.4215133,-0.7372904],[0.7880453,0.0984686,-0.4301527],[0.8063356,-0.3587885,-0.4805332],[0.8003194,-0.2083839,-1.8478006],[0.7903833,0.0400187,-1.8873508],[0.7765504,0.3858406,-1.5494928],[0.8150916,0.423112,-0.7372904],[0.8280134,0.1000673,-0.4301527],[0.8463036,-0.3571897,-0.4805332],[0.8402874,-0.2067852,-1.8478006],[0.8303514,0.0416175,-1.8873509],[0.8165184,0.3874393,-1.549493],[0.8358902,0.4035468,-0.7455149],[0.8482788,0.0938301,-0.4510488],[0.8654056,-0.3343395,-0.4982244],[0.8595436,-0.1877901,-1.8304462],[0.8506064,0.0356415,-1.8660206],[0.8372872,0.3686212,-1.5407091],[0.8140826,-0.5524625,-0.5018721],[0.8263962,-0.8603038,-0.53579],[0.8330916,-1.027688,-1.1388552],[0.82091,-0.7231468,-1.765841],[0.8083001,-0.4078998,-1.8160341],[0.8840266,-0.5496647,-0.5018721],[0.8963403,-0.857506,-0.53579],[0.9030357,-1.0248903,-1.1388552],[0.890854,-0.7203491,-1.7658411],[0.8782442,-0.405102,-1.8160342],[0.9047178,-0.5665425,-0.5239406],[0.9156989,-0.8410726,-0.5541883],[0.9221686,-1.0028123,-1.136917],[0.9103012,-0.7061283,-1.7477266],[0.8991374,-0.4270333,-1.7921635]],"bolts":11},
"Shin.OuterStep": {"solid":[[0.9406667,-0.7166683,-1.0460328],[0.933356,-0.5339003,-1.4027153],[0.9140334,-0.0508353,-1.4584981],[0.9039803,0.2004944,-1.2788334],[0.9032401,0.218997,-0.8159006],[0.9126254,-0.0156337,-0.5810822],[0.9355723,-0.5893077,-0.6181231],[0.9024141,-0.7611513,-1.05],[0.8944205,-0.5613111,-1.4400001],[0.8736371,-0.0417266,-1.5],[0.8624461,0.2380497,-1.3],[0.8616467,0.2580338,-0.8],[0.8720384,-0.0017585,-0.54],[0.8968186,-0.6212631,-0.58],[0.812486,-0.7647484,-1.05],[0.8044924,-0.5649082,-1.4400001],[0.783709,-0.0453237,-1.5],[0.772518,0.2344526,-1.3],[0.7717186,0.2544366,-0.8],[0.7821103,-0.0053556,-0.54],[0.8068905,-0.6248603,-0.58]],"facets":16,"panels":[],"bolts":0},
"Shin.Inner": {"solid":[[-0.8122908,-0.9272723,-1.1955323],[-0.8008983,-0.6424584,-1.8036211],[-0.7705547,0.1161316,-1.9175006],[-0.7567852,0.4603711,-1.582297],[-0.7552532,0.4986687,-0.815732],[-0.7685975,0.1650628,-0.4818593],[-0.806675,-0.7868745,-0.5866562],[-0.7740048,-0.9709196,-1.2],[-0.7620144,-0.6711593,-1.84],[-0.73004,0.1282015,-1.96],[-0.7152518,0.4979059,-1.6],[-0.713653,0.537874,-0.8],[-0.7280415,0.1781616,-0.44],[-0.7680096,-0.8210394,-0.55],[-0.5941486,-0.9781139,-1.2],[-0.5821582,-0.6783535,-1.84],[-0.5501838,0.1210073,-1.96],[-0.5353956,0.4907117,-1.6],[-0.5337968,0.5306797,-0.8],[-0.5481853,0.1709673,-0.44],[-0.5881534,-0.8282337,-0.55]],"facets":16,"panels":[[-0.7397362,0.3861963,-1.549104],[-0.7515959,0.0897034,-1.8378143],[-0.7788817,-0.5924411,-1.7354107],[-0.7891533,-0.8492304,-1.1871556],[-0.7842486,-0.7266124,-0.6553865],[-0.7497159,0.1367056,-0.5603455],[-0.7383296,0.421362,-0.8452296],[-0.7896963,0.3881947,-1.5491039],[-0.801556,0.0917018,-1.8378142],[-0.8288417,-0.5904427,-1.7354107],[-0.8391134,-0.847232,-1.1871556],[-0.8342086,-0.724614,-0.6553865],[-0.7996759,0.138704,-0.5603455],[-0.7882897,0.4233604,-0.8452296],[-0.810463,0.3694274,-1.5402523],[-0.8218134,0.0856668,-1.8165646],[-0.8482838,-0.5760922,-1.7172213],[-0.8582564,-0.8254083,-1.1849217],[-0.8535413,-0.7075315,-0.6737146],[-0.8199539,0.1321546,-0.5812752],[-0.8090897,0.4037578,-0.8530955]],"bolts":7},
"Shin.Calf": {"solid":[[-0.6383086,-1.1102328,-0.8523283],[-0.468769,-1.1777122,-1.5271215],[0.468769,-1.1777122,-1.5271215],[0.6383086,-1.1102328,-0.8523283],[0.4715175,-1.0622878,-0.3728784],[-0.4715175,-1.0622878,-0.3728784],[-0.68,-1.0702481,-0.8544765],[-0.5,-1.1418909,-1.5709033],[0.5,-1.1418909,-1.5709033],[0.68,-1.0702481,-0.8544765],[0.5,-1.0185062,-0.3370571],[-0.5,-1.0185062,-0.3370571],[-0.68,-0.8911414,-0.8723871],[-0.5,-0.9627842,-1.5888139],[0.5,-0.9627842,-1.5888139],[0.68,-0.8911414,-0.8723871],[0.5,-0.8393995,-0.3549677],[-0.5,-0.8393995,-0.3549677]],"facets":14,"panels":[[-0.4102107,-1.1503487,-1.4544837],[0.4102107,-1.1503487,-1.4544837],[0.5601374,-1.0906755,-0.8577533],[0.4181128,-1.0498497,-0.4494962],[-0.4181128,-1.0498497,-0.4494962],[-0.5601374,-1.0906755,-0.8577534],[-0.4102107,-1.2001004,-1.4495087],[0.4102107,-1.2001004,-1.4495087],[0.5601374,-1.1404274,-0.8527782],[0.4181128,-1.0996016,-0.444521],[-0.4181128,-1.0996016,-0.444521],[-0.5601374,-1.1404274,-0.8527782],[-0.3945952,-1.2180111,-1.4276178],[0.3945952,-1.2180111,-1.4276178],[0.5392917,-1.1604197,-0.8517041],[0.4038715,-1.1214925,-0.4624317],[-0.4038715,-1.1214925,-0.4624317],[-0.5392917,-1.1604197,-0.8517041]],"bolts":6},
"Shin.CalfStep": {"solid":[[-0.32,-1.1887132,-0.9371314],[-0.32,-1.2112869,-1.1628685],[-0.2434314,-1.2189058,-1.2390571],[0.2434314,-1.2189058,-1.2390571],[0.32,-1.2112869,-1.1628685],[0.32,-1.1887132,-0.9371314],[0.2434314,-1.1810943,-0.8609428],[-0.2434314,-1.1810943,-0.8609428],[-0.36,-1.1472631,-0.9246253],[-0.36,-1.1731341,-1.1833349],[-0.26,-1.1830844,-1.2828387],[0.26,-1.1830844,-1.2828387],[0.36,-1.1731341,-1.1833349],[0.36,-1.1472631,-0.9246253],[0.26,-1.1373128,-0.8251215],[-0.26,-1.1373128,-0.8251215],[-0.36,-1.0676601,-0.9325855],[-0.36,-1.0935311,-1.1912953],[-0.26,-1.1034814,-1.290799],[0.26,-1.1034814,-1.290799],[0.36,-1.0935311,-1.1912953],[0.36,-1.0676601,-0.9325855],[0.26,-1.0577098,-0.8330818],[-0.26,-1.0577098,-0.8330818]],"facets":18,"panels":[],"bolts":0},
"Shin.Ankle": {"solid":[[-0.36,0.6842069,-2.2989655],[-0.36,0.6357931,-2.5410347],[-0.2634315,0.6168545,-2.6357279],[0.2634315,0.6168545,-2.6357279],[0.36,0.6357931,-2.5410347],[0.36,0.6842069,-2.2989655],[0.2634315,0.7031456,-2.2042723],[-0.2634315,0.7031456,-2.2042723],[-0.4000001,0.6482331,-2.274874],[-0.4000001,0.5933205,-2.5494368],[-0.28,0.5697865,-2.6671064],[0.28,0.5697865,-2.6671064],[0.4000001,0.5933205,-2.5494368],[0.4000001,0.6482331,-2.274874],[0.28,0.671767,-2.1572044],[-0.28,0.671767,-2.1572044],[-0.4000001,0.4913402,-2.2434955],[-0.4000001,0.4364276,-2.5180583],[-0.28,0.4128937,-2.6357279],[0.28,0.4128937,-2.6357279],[0.4000001,0.4364276,-2.5180583],[0.4000001,0.4913402,-2.2434955],[0.28,0.5148741,-2.1258259],[-0.28,0.5148741,-2.1258259]],"facets":18,"panels":[[-0.285,0.6222742,-2.5066495],[-0.285,0.6585029,-2.3255057],[-0.2323655,0.6688253,-2.2738934],[0.2323655,0.6688253,-2.2738934],[0.2850001,0.6585029,-2.3255057],[0.285,0.6222742,-2.5066495],[0.2323654,0.6119516,-2.5582621],[-0.2323654,0.6119516,-2.5582621],[-0.285,0.6909148,-2.5203776],[-0.285,0.7271435,-2.3392339],[-0.2323655,0.737466,-2.2876215],[0.2323655,0.737466,-2.2876215],[0.2850001,0.7271435,-2.3392339],[0.285,0.6909148,-2.5203776],[0.2323654,0.6805923,-2.5719903],[-0.2323654,0.6805923,-2.5719903],[-0.265,0.7121511,-2.5161765],[-0.265,0.7451305,-2.3512797],[-0.2240812,0.7531553,-2.3111556],[0.2240812,0.7531553,-2.3111556],[0.265,0.7451305,-2.3512797],[0.265,0.7121511,-2.5161765],[0.2240812,0.7041262,-2.5563009],[-0.2240812,0.7041262,-2.5563009]],"bolts":8},
"Shin.AnkleSide": {"solid":[[0.6420218,-0.207344,-2.2371259],[0.6196706,-0.2095791,-2.4628739],[0.6005474,-0.1144412,-2.5589681],[0.5580729,0.3103032,-2.5589681],[0.5579782,0.407344,-2.4628739],[0.5803295,0.4095791,-2.2371259],[0.5994527,0.3144412,-2.1410317],[0.6419272,-0.1103032,-2.1410317],[0.6080284,-0.2509428,-2.2166781],[0.5824124,-0.2535044,-2.4754004],[0.5586491,-0.1352822,-2.5948107],[0.5128774,0.3224349,-2.5948107],[0.5127598,0.4430216,-2.4754004],[0.5383759,0.4455832,-2.2166781],[0.5621391,0.327361,-2.0972679],[0.6079108,-0.130356,-2.0972679],[0.4892107,-0.2628246,-2.2047963],[0.4635947,-0.2653862,-2.4635186],[0.4398314,-0.147164,-2.5829289],[0.3940597,0.3105531,-2.5829289],[0.3939421,0.4311398,-2.4635186],[0.4195582,0.4337015,-2.2047963],[0.4433214,0.3154793,-2.085386],[0.4890931,-0.1422378,-2.085386]],"facets":18,"panels":[],"bolts":0},
"Pelvis.core": {"solid":[[0.62,0.62,0.5],[0.62,-0.6,0.5],[0.72,0.7,-0.3],[0.72,-0.62,-0.3],[0.45,0.7,0.62],[0.45,-0.66,0.62],[0.4,0.55,-0.8],[0.4,-0.45,-0.8],[-0.62,0.62,0.5],[-0.62,-0.6,0.5],[-0.72,0.7,-0.3],[-0.72,-0.62,-0.3],[-0.45,0.7,0.62],[-0.45,-0.66,0.62],[-0.4,0.55,-0.8],[-0.4,-0.45,-0.8]],"facets":16,"panels":[],"bolts":0},
"Pelvis.Crown": {"solid":[[-0.4339507,0.993916,0.4580249],[-0.2759168,1.0410775,0.1632654],[0.2759168,1.0410775,0.1632654],[0.4339507,0.993916,0.4580249],[0.2976482,0.9589224,0.6767346],[-0.2976482,0.9589224,0.6767346],[-0.48,0.9541827,0.453178],[-0.3,1.0078995,0.1174481],[0.3,1.0078995,0.1174481],[0.48,0.9541827,0.453178],[0.32,0.9131052,0.7099125],[-0.32,0.9131052,0.7099125],[-0.48,0.6974481,0.4121005],[-0.3,0.7511649,0.0763706],[0.3,0.7511649,0.0763706],[0.48,0.6974481,0.4121005],[0.32,0.6563706,0.668835],[-0.32,0.6563706,0.668835]],"facets":14,"panels":[[0.2307606,1.0094794,0.2341636],[-0.2307606,1.0094794,0.2341636],[-0.3476081,0.9746091,0.4521036],[-0.2557386,0.951023,0.5995167],[0.2557386,0.951023,0.5995167],[0.3476081,0.9746091,0.4521036],[0.2307606,1.0588515,0.2420631],[-0.2307606,1.0588515,0.2420631],[-0.3476081,1.0239811,0.4600031],[-0.2557386,1.0003949,0.6074162],[0.2557386,1.0003949,0.6074162],[0.3476081,1.0239811,0.4600031],[0.218719,1.0754405,0.2649717],[-0.218719,1.0754405,0.2649717],[-0.3245834,1.0438477,0.4624265],[-0.2445627,1.0233036,0.5908272],[0.2445627,1.0233036,0.5908272],[0.3245834,1.0438477,0.4624265]],"bolts":6},
"Pelvis.Cod": {"solid":[[-0.3994854,1.089713,-0.3228698],[-0.2648505,0.9863672,-1.3563275],[0.2648505,0.9863672,-1.3563275],[0.3994854,1.089713,-0.3228698],[0.3272079,1.1256723,0.0367246],[-0.3272079,1.1256723,0.0367246],[-0.44,1.0500495,-0.3175087],[-0.3,0.9425856,-1.3921489],[0.3,0.9425856,-1.3921489],[0.44,1.0500495,-0.3175087],[0.36,1.089851,0.0805062],[-0.36,1.089851,0.0805062],[-0.44,0.7515384,-0.2876576],[-0.3,0.6440744,-1.3622978],[0.3,0.6440744,-1.3622978],[0.44,0.7515384,-0.2876576],[0.36,0.7913399,0.1103573],[-0.36,0.7913399,0.1103573]],"facets":14,"panels":[[0.3235205,1.0695533,-0.323469],[0.2698343,1.0283437,-0.7355647],[-0.2790578,1.0354236,-0.6647651],[-0.3235206,1.0695533,-0.323469],[-0.2657226,1.0983088,-0.0359131],[0.2657225,1.0983088,-0.0359132],[0.3235206,1.1093547,-0.3274492],[0.2698343,1.0681452,-0.7395448],[-0.2790578,1.0752251,-0.6687453],[-0.3235206,1.1093547,-0.3274492],[-0.2657226,1.1381103,-0.0398933],[0.2657225,1.1381103,-0.0398933],[0.3032633,1.1291864,-0.3301297],[0.2525714,1.0902753,-0.719241],[-0.2612047,1.0969024,-0.6529709],[-0.3032633,1.1291864,-0.3301297],[-0.2493265,1.156021,-0.0617841],[0.2493265,1.156021,-0.0617842],[0.2447663,1.0091016,-0.927987],[0.1989452,0.9739293,-1.2797097],[-0.1989452,0.9739293,-1.2797097],[-0.2531329,1.0155238,-0.8637649],[0.2447663,1.0787542,-0.9349523],[0.1989452,1.043582,-1.2866749],[-0.1989452,1.043582,-1.2866749],[-0.2531329,1.0851763,-0.8707301],[0.2223611,1.0969372,-0.9541196],[0.1813705,1.0654727,-1.2687643],[-0.1813705,1.0654727,-1.2687643],[-0.2299619,1.1027715,-0.8957762]],"bolts":10},
"Pelvis.CodStep": {"solid":[[-0.21,1.1792967,-0.2070322],[-0.21,1.1607032,-0.3929678],[-0.1334315,1.1530843,-0.4691563],[0.1334315,1.1530843,-0.4691563],[0.21,1.1607032,-0.3929678],[0.21,1.1792967,-0.2070322],[0.1334315,1.1869156,-0.1308437],[-0.1334315,1.1869156,-0.1308437],[-0.25,1.1411439,-0.1865658],[-0.25,1.119253,-0.4054739],[-0.15,1.1093026,-0.5049777],[0.15,1.1093026,-0.5049777],[0.25,1.119253,-0.4054739],[0.25,1.1411439,-0.1865658],[0.15,1.1510943,-0.087062],[-0.15,1.1510943,-0.087062],[-0.25,1.0416402,-0.1766154],[-0.25,1.0197493,-0.3955236],[-0.15,1.0097989,-0.4950273],[0.15,1.0097989,-0.4950273],[0.25,1.0197493,-0.3955236],[0.25,1.0416402,-0.1766154],[0.15,1.0515906,-0.0771117],[-0.15,1.0515906,-0.0771117]],"facets":18,"panels":[],"bolts":0},
"Pelvis.CodLame": {"solid":[[-0.17,1.1602918,-0.9170818],[-0.17,1.1397082,-1.1229181],[-0.1134315,1.1340793,-1.1792059],[0.1134315,1.1340793,-1.1792059],[0.17,1.1397082,-1.1229181],[0.17,1.1602918,-0.9170818],[0.1134315,1.1659206,-0.860794],[-0.1134315,1.1659206,-0.860794],[-0.21,1.122139,-0.8966154],[-0.21,1.098258,-1.1354243],[-0.13,1.0902977,-1.2150273],[0.13,1.0902977,-1.2150273],[0.21,1.098258,-1.1354243],[0.21,1.122139,-0.8966154],[0.13,1.1300993,-0.8170124],[-0.13,1.1300993,-0.8170124],[-0.21,1.0325856,-0.8876601],[-0.21,1.0087047,-1.1264689],[-0.13,1.0007443,-1.206072],[0.13,1.0007443,-1.206072],[0.21,1.0087047,-1.1264689],[0.21,1.0325856,-0.8876601],[0.13,1.0405459,-0.8080571],[-0.13,1.0405459,-0.8080571]],"facets":18,"panels":[],"bolts":0},
"Pelvis.Wing.R": {"solid":[[0.5347595,1.0175078,0.1903216],[1.323531,0.7627897,0.2807549],[1.3916267,0.679267,0.5962243],[1.3032885,0.6646943,0.8015956],[0.5202285,0.9690713,0.4543006],[0.4875739,0.9994265,0.1389033],[1.3442112,0.7227925,0.2371175],[1.4205314,0.6291823,0.5906884],[1.3106923,0.6110626,0.8460452],[0.4691925,0.9381554,0.4728314],[0.436775,0.8300968,0.1050373],[1.2934123,0.5534627,0.2032515],[1.3697325,0.4598526,0.5568224],[1.2598934,0.4417329,0.8121792],[0.4183936,0.7688256,0.4389654]],"facets":12,"panels":[[1.3106201,0.6838076,0.5887305],[1.2579452,0.7484159,0.3447013],[0.5964219,0.9620417,0.2688571],[0.5891105,0.9376703,0.4016816],[1.2625957,0.6758852,0.7003791],[1.3303752,0.7496581,0.6019005],[1.2777003,0.8142664,0.3578714],[0.616177,1.0278922,0.2820272],[0.6088656,1.0035207,0.4148517],[1.2823509,0.7417357,0.7135491],[1.3159229,0.7747005,0.6046685],[1.2673602,0.834265,0.3796901],[0.6397699,1.0369328,0.3077363],[0.6343836,1.0189787,0.4055862],[1.2786489,0.7685515,0.6913244]],"bolts":5},
"Pelvis.Wing.L": {"solid":[[-0.5347595,1.0175078,0.1903216],[-1.323531,0.7627897,0.2807549],[-1.3916267,0.679267,0.5962243],[-1.3032885,0.6646943,0.8015956],[-0.5202285,0.9690713,0.4543006],[-0.4875739,0.9994265,0.1389033],[-1.3442112,0.7227925,0.2371175],[-1.4205314,0.6291823,0.5906884],[-1.3106923,0.6110626,0.8460452],[-0.4691925,0.9381554,0.4728314],[-0.436775,0.8300968,0.1050373],[-1.2934123,0.5534627,0.2032515],[-1.3697325,0.4598526,0.5568224],[-1.2598934,0.4417329,0.8121792],[-0.4183936,0.7688256,0.4389654]],"facets":12,"panels":[[-1.2625957,0.6758852,0.700379],[-0.5891104,0.9376704,0.4016816],[-0.5964218,0.9620418,0.2688571],[-1.2579452,0.7484159,0.3447012],[-1.3106201,0.6838076,0.5887305],[-1.2823508,0.7417357,0.7135491],[-0.6088656,1.0035208,0.4148517],[-0.616177,1.0278922,0.2820272],[-1.2777003,0.8142664,0.3578713],[-1.3303752,0.7496581,0.6019005],[-1.2786489,0.7685515,0.6913244],[-0.6343836,1.0189787,0.4055862],[-0.6397698,1.0369328,0.3077363],[-1.2673602,0.834265,0.37969],[-1.315923,0.7747005,0.6046684]],"bolts":5},
"Pelvis.HipGuard.R": {"solid":[[0.4939981,0.9528628,0.1032474],[0.491051,0.9381275,-0.2032474],[0.5459777,0.9243171,-0.2597481],[0.6899887,0.8955149,-0.2597481],[0.746002,0.8871372,-0.2032474],[0.7489491,0.9018726,0.1032474],[0.6940223,0.915683,0.1597481],[0.5500113,0.9444851,0.1597481],[0.4470987,0.9223269,0.1217549],[0.4438334,0.9060003,-0.2178373],[0.5215116,0.8864695,-0.2977413],[0.6980162,0.8511686,-0.2977413],[0.7772309,0.8393208,-0.2178373],[0.7804962,0.8556474,0.1217549],[0.702818,0.8751782,0.2016589],[0.5263134,0.9104791,0.2016589],[0.423593,0.8047984,0.1276313],[0.4203277,0.7884718,-0.2119608],[0.4980058,0.768941,-0.2918648],[0.6745104,0.7336401,-0.2918648],[0.7537252,0.7217923,-0.2119608],[0.7569904,0.7381189,0.1276313],[0.6793123,0.7576497,0.2075353],[0.5028077,0.7929506,0.2075353]],"facets":18,"panels":[],"bolts":0},
"Pelvis.HipGuard.L": {"solid":[[-0.4939981,0.9528628,0.1032474],[-0.491051,0.9381275,-0.2032474],[-0.5459777,0.9243171,-0.2597481],[-0.6899887,0.8955149,-0.2597481],[-0.746002,0.8871372,-0.2032474],[-0.7489491,0.9018726,0.1032474],[-0.6940223,0.915683,0.1597481],[-0.5500113,0.9444851,0.1597481],[-0.4470987,0.9223269,0.1217549],[-0.4438334,0.9060003,-0.2178373],[-0.5215116,0.8864695,-0.2977413],[-0.6980162,0.8511686,-0.2977413],[-0.7772309,0.8393208,-0.2178373],[-0.7804962,0.8556474,0.1217549],[-0.702818,0.8751782,0.2016589],[-0.5263134,0.9104791,0.2016589],[-0.423593,0.8047984,0.1276313],[-0.4203277,0.7884718,-0.2119608],[-0.4980058,0.768941,-0.2918648],[-0.6745104,0.7336401,-0.2918648],[-0.7537252,0.7217923,-0.2119608],[-0.7569904,0.7381189,0.1276313],[-0.6793123,0.7576497,0.2075353],[-0.5028077,0.7929506,0.2075353]],"facets":18,"panels":[],"bolts":0},
"Pelvis.Seat.R": {"solid":[[0.1226936,-1.0131552,-0.5494777],[0.7555954,-0.897684,-0.7871495],[1.1097059,-0.7580597,-0.1699502],[0.9993517,-0.6958846,0.6945797],[0.0977462,-0.8997577,0.6393812],[0.075655,-0.9855092,-0.5810469],[0.7647362,-0.8597882,-0.8398157],[1.14161,-0.7111885,-0.182941],[1.0247313,-0.6453375,0.7327026],[0.0493399,-0.8658952,0.6729866],[0.0328861,-0.7911053,-0.6004874],[0.7219673,-0.6653842,-0.8592561],[1.0988411,-0.5167845,-0.2023814],[0.9819624,-0.4509336,0.7132621],[0.006571,-0.6714912,0.6535462]],"facets":12,"panels":[[1.0295707,-0.7536014,-0.1548266],[0.9314498,-0.6983188,0.6138653],[0.1681929,-0.8709082,0.5671368],[0.190576,-0.9726495,-0.4995194],[0.7181413,-0.8763967,-0.6976346],[1.0402629,-0.8022023,-0.1499665],[0.9421421,-0.7469198,0.6187254],[0.1788851,-0.9195092,0.5719969],[0.2012682,-1.0212505,-0.4946593],[0.7288335,-0.9249977,-0.6927745],[1.0243109,-0.825638,-0.1434711],[0.9294523,-0.7721934,0.5996639],[0.2030882,-0.9364405,0.5551941],[0.2247875,-1.0350735,-0.4788747],[0.7242631,-0.9439455,-0.6664414]],"bolts":5},
"Pelvis.Seat.L": {"solid":[[-0.1226936,-1.0131552,-0.5494777],[-0.7555954,-0.897684,-0.7871495],[-1.1097059,-0.7580597,-0.1699502],[-0.9993517,-0.6958846,0.6945797],[-0.0977462,-0.8997577,0.6393812],[-0.075655,-0.9855092,-0.5810469],[-0.7647362,-0.8597882,-0.8398157],[-1.14161,-0.7111885,-0.182941],[-1.0247313,-0.6453375,0.7327026],[-0.0493399,-0.8658952,0.6729866],[-0.0328861,-0.7911053,-0.6004874],[-0.7219673,-0.6653842,-0.8592561],[-1.0988411,-0.5167845,-0.2023814],[-0.9819624,-0.4509336,0.7132621],[-0.006571,-0.6714912,0.6535462]],"facets":12,"panels":[[-1.0295707,-0.7536014,-0.1548266],[-0.7181413,-0.8763967,-0.6976346],[-0.190576,-0.9726496,-0.4995195],[-0.1681929,-0.8709082,0.5671368],[-0.9314499,-0.6983188,0.6138653],[-1.0402629,-0.8022023,-0.1499665],[-0.7288336,-0.9249976,-0.6927745],[-0.2012682,-1.0212506,-0.4946594],[-0.1788851,-0.9195092,0.5719969],[-0.9421421,-0.7469198,0.6187254],[-1.0243108,-0.825638,-0.1434711],[-0.7242632,-0.9439455,-0.6664413],[-0.2247876,-1.0350735,-0.4788747],[-0.2030883,-0.9364405,0.5551941],[-0.9294524,-0.7721934,0.5996639]],"bolts":5},
"Pelvis.SeatStep.R": {"solid":[[0.3621921,-0.9860519,0.2626576],[0.3690186,-1.0170816,-0.0626576],[0.4653486,-1.0055002,-0.1587689],[0.7455117,-0.9438643,-0.1587689],[0.837808,-0.913948,-0.0626576],[0.8309814,-0.8829183,0.2626576],[0.7346514,-0.8944998,0.3587689],[0.4544884,-0.9561356,0.3587689],[0.3142265,-0.9541928,0.2752596],[0.3217451,-0.9883682,-0.0830357],[0.4414486,-0.9739767,-0.2024675],[0.7539749,-0.9052209,-0.2024675],[0.8686661,-0.8680456,-0.0830357],[0.8611474,-0.8338702,0.2752596],[0.7414439,-0.8482618,0.3946913],[0.4289176,-0.9170176,0.3946913],[0.2971189,-0.8764312,0.2674834],[0.3046375,-0.9106066,-0.0908119],[0.4243411,-0.8962151,-0.2102437],[0.7368673,-0.8274593,-0.2102437],[0.8515585,-0.790284,-0.0908119],[0.8440399,-0.7561086,0.2674834],[0.7243363,-0.7705002,0.3869152],[0.4118101,-0.839256,0.3869152]],"facets":18,"panels":[],"bolts":0},
"Pelvis.SeatStep.L": {"solid":[[-0.3621921,-0.9860519,0.2626576],[-0.3690186,-1.0170816,-0.0626576],[-0.4653486,-1.0055002,-0.1587689],[-0.7455117,-0.9438643,-0.1587689],[-0.837808,-0.913948,-0.0626576],[-0.8309814,-0.8829183,0.2626576],[-0.7346514,-0.8944998,0.3587689],[-0.4544884,-0.9561356,0.3587689],[-0.3142265,-0.9541928,0.2752596],[-0.3217451,-0.9883682,-0.0830357],[-0.4414486,-0.9739767,-0.2024675],[-0.7539749,-0.9052209,-0.2024675],[-0.8686661,-0.8680456,-0.0830357],[-0.8611474,-0.8338702,0.2752596],[-0.7414439,-0.8482618,0.3946913],[-0.4289176,-0.9170176,0.3946913],[-0.2971189,-0.8764312,0.2674834],[-0.3046375,-0.9106066,-0.0908119],[-0.4243411,-0.8962151,-0.2102437],[-0.7368673,-0.8274593,-0.2102437],[-0.8515585,-0.790284,-0.0908119],[-0.8440399,-0.7561086,0.2674834],[-0.7243363,-0.7705002,0.3869152],[-0.4118101,-0.839256,0.3869152]],"facets":18,"panels":[],"bolts":0},
"Pelvis.Tail": {"solid":[[-0.14,-0.9466383,0.3327659],[-0.14,-0.8933617,-0.7327659],[-0.0634315,-0.889538,-0.8092389],[0.0634315,-0.889538,-0.8092389],[0.14,-0.8933617,-0.7327659],[0.14,-0.9466383,0.3327659],[0.0634315,-0.950462,0.4092389],[-0.0634315,-0.950462,0.4092389],[-0.18,-0.9075156,0.3513113],[-0.18,-0.8525842,-0.7473162],[-0.08,-0.8475905,-0.8471915],[0.08,-0.8475905,-0.8471915],[0.18,-0.8525842,-0.7473162],[0.18,-0.9075156,0.3513113],[0.08,-0.9125094,0.4511865],[-0.08,-0.9125094,0.4511865],[-0.18,-0.7277402,0.3603001],[-0.18,-0.6728088,-0.7383275],[-0.08,-0.6678151,-0.8382027],[0.08,-0.6678151,-0.8382027],[0.18,-0.6728088,-0.7383275],[0.18,-0.7277402,0.3603001],[0.08,-0.732734,0.4601753],[-0.08,-0.732734,0.4601753]],"facets":18,"panels":[[-0.0323655,-0.9267415,0.3353312],[-0.065,-0.9251118,0.3027374],[-0.065,-0.874938,-0.7007399],[-0.0323655,-0.8733082,-0.7333337],[0.0323655,-0.8733082,-0.7333337],[0.065,-0.874938,-0.7007399],[0.065,-0.9251118,0.3027374],[0.0323655,-0.9267415,0.3353312],[-0.0323655,-0.9666916,0.3333337],[-0.065,-0.9650619,0.3007399],[-0.065,-0.914888,-0.7027373],[-0.0323655,-0.9132584,-0.7353312],[0.0323655,-0.9132584,-0.7353312],[0.065,-0.914888,-0.7027373],[0.065,-0.9650619,0.3007399],[0.0323655,-0.9666916,0.3333337],[-0.0240812,-0.9856679,0.31236],[-0.045,-0.9846233,0.2914672],[-0.045,-0.9352768,-0.6954622],[-0.0240812,-0.9342322,-0.716355],[0.0240812,-0.9342322,-0.716355],[0.045,-0.9352768,-0.6954622],[0.045,-0.9846233,0.2914672],[0.0240812,-0.9856679,0.31236]],"bolts":8},
"Pelvis.Roof.R": {"solid":[[0.3677629,0.3934315,0.7630593],[0.3677629,-0.3934315,0.7630593],[0.4808511,-0.51,0.7347872],[0.759149,-0.51,0.6652128],[0.8722371,-0.3934315,0.6369407],[0.8722371,0.3934315,0.6369407],[0.759149,0.51,0.6652128],[0.4808511,0.51,0.7347872],[0.3192558,0.41,0.733955],[0.3192558,-0.41,0.733955],[0.4550758,-0.55,0.7],[0.7655213,-0.55,0.6223885],[0.9013414,-0.41,0.5884336],[0.9013414,0.41,0.5884336],[0.7655213,0.55,0.6223885],[0.4550758,0.55,0.7],[0.2950023,0.41,0.6369407],[0.2950023,-0.41,0.6369407],[0.4308222,-0.55,0.6029857],[0.7412678,-0.55,0.5253743],[0.8770878,-0.41,0.4914193],[0.8770878,0.41,0.4914193],[0.7412678,0.55,0.5253743],[0.4308222,0.55,0.6029857]],"facets":18,"panels":[],"bolts":0},
"Pelvis.Roof.L": {"solid":[[-0.3677629,0.3934315,0.7630593],[-0.3677629,-0.3934315,0.7630593],[-0.4808511,-0.51,0.7347872],[-0.759149,-0.51,0.6652128],[-0.8722371,-0.3934315,0.6369407],[-0.8722371,0.3934315,0.6369407],[-0.759149,0.51,0.6652128],[-0.4808511,0.51,0.7347872],[-0.3192558,0.41,0.733955],[-0.3192558,-0.41,0.733955],[-0.4550758,-0.55,0.7],[-0.7655213,-0.55,0.6223885],[-0.9013414,-0.41,0.5884336],[-0.9013414,0.41,0.5884336],[-0.7655213,0.55,0.6223885],[-0.4550758,0.55,0.7],[-0.2950023,0.41,0.6369407],[-0.2950023,-0.41,0.6369407],[-0.4308222,-0.55,0.6029857],[-0.7412678,-0.55,0.5253743],[-0.8770878,-0.41,0.4914193],[-0.8770878,0.41,0.4914193],[-0.7412678,0.55,0.5253743],[-0.4308222,0.55,0.6029857]],"facets":18,"panels":[],"bolts":0}
}},
{"side": -1, "truth": {
"Thigh.core": {"solid":[[0.33,-0.3,0.4],[-0.33,-0.3,0.4],[-0.45,-0.18,0.4],[-0.45,0.38,0.4],[-0.33,0.5,0.4],[0.33,0.5,0.4],[0.45,0.38,0.4],[0.45,-0.18,0.4],[0.42,-0.34,0.05],[-0.42,-0.34,0.05],[-0.6,-0.16,0.05],[-0.6,0.46,0.05],[-0.42,0.64,0.05],[0.42,0.64,0.05],[0.6,0.46,0.05],[0.6,-0.16,0.05],[0.42,-0.34,-1.45],[-0.42,-0.34,-1.45],[-0.6,-0.16,-1.45],[-0.6,0.46,-1.45],[-0.42,0.64,-1.45],[0.42,0.64,-1.45],[0.6,0.46,-1.45],[0.6,-0.16,-1.45],[0.335,-0.3,-1.8],[-0.335,-0.3,-1.8],[-0.475,-0.16,-1.8],[-0.475,0.36,-1.8],[-0.335,0.5,-1.8],[0.335,0.5,-1.8],[0.475,0.36,-1.8],[0.475,-0.16,-1.8]],"facets":26,"panels":[],"bolts":0},
"Thigh.Shield": {"solid":[[0.6003516,0.9127237,-0.0100526],[0.5973628,0.9625379,-1.0099225],[0.371703,0.9714425,-1.4588065],[-0.4174352,0.9240942,-1.4588065],[-0.6404113,0.8882715,-1.0099225],[-0.6374224,0.8384573,-0.0100526],[-0.4117627,0.8295527,0.4388314],[0.3773755,0.8769009,0.4388314],[0.6427007,0.874771,-0.0026155],[0.6396555,0.9255249,-1.0213474],[0.3986532,0.9350349,-1.5007508],[-0.4398389,0.8847254,-1.5007508],[-0.677975,0.8464671,-1.0213474],[-0.6749298,0.7957132,-0.0026155],[-0.4339275,0.7862031,0.4767878],[0.4045646,0.8365127,0.4767878],[0.6558607,0.6554389,-0.0135821],[0.6528155,0.7061929,-1.0323141],[0.4118131,0.7157029,-1.5117174],[-0.426679,0.6653934,-1.5117174],[-0.6648151,0.627135,-1.0323141],[-0.6617699,0.5763811,-0.0135821],[-0.4207676,0.566871,0.4658212],[0.4177245,0.6171806,0.4658212]],"facets":18,"panels":[[-0.3645209,0.8161214,0.3629277],[0.3320785,0.8579174,0.3629277],[0.5266297,0.8891734,-0.0287326],[0.5237466,0.9372256,-0.9932363],[0.3268539,0.9449951,-1.3848965],[-0.3697456,0.9031991,-1.3848965],[-0.5642967,0.8719431,-0.9932363],[-0.5614136,0.8238909,-0.0287326],[-0.3675118,0.8659696,0.3654201],[0.3290876,0.9077656,0.3654201],[0.5236388,0.9390216,-0.0262402],[0.5207557,0.9870738,-0.9907439],[0.323863,0.9948433,-1.3824042],[-0.3727365,0.9530473,-1.3824042],[-0.5672876,0.9217913,-0.9907439],[-0.5644045,0.8737391,-0.0262402],[-0.3564294,0.8876444,0.346442],[0.3154931,0.9279597,0.346442],[0.5024643,0.957998,-0.0299587],[0.4996094,1.0055803,-0.9850315],[0.3103879,1.0130471,-1.3614321],[-0.3615346,0.9727317,-1.3614321],[-0.5485058,0.9426934,-0.9850315],[-0.5456509,0.8951111,-0.0299587]],"bolts":8},
"Thigh.Block": {"solid":[[0.2199377,1.0082324,0.243278],[0.2192007,1.0205159,-0.003278],[0.1625648,1.0199426,-0.0597762],[-0.2036396,0.9979704,-0.0597762],[-0.2599377,0.9917676,-0.003278],[-0.2592007,0.9794841,0.243278],[-0.2025648,0.9800573,0.2997762],[0.1636396,1.0020295,0.2997762],[0.262308,0.9699251,0.257832],[0.2614721,0.9838576,-0.0218199],[0.1813769,0.9830468,-0.1017204],[-0.2179051,0.9590899,-0.1017204],[-0.2975226,0.9503179,-0.0218199],[-0.2966867,0.9363854,0.257832],[-0.2165914,0.9371961,0.3377326],[0.1826905,0.9611531,0.3377326],[0.2694862,0.8502895,0.2518502],[0.2686502,0.8642219,-0.0278017],[0.188555,0.8634112,-0.1077022],[-0.2107269,0.8394543,-0.1077022],[-0.2903445,0.8306822,-0.0278017],[-0.2895085,0.8167497,0.2518502],[-0.2094133,0.8175604,0.3317508],[0.1898686,0.8415174,0.3317508]],"facets":18,"panels":[],"bolts":0},
"Thigh.Lame": {"solid":[[0.5152019,1.0169734,-1.1630588],[0.3580984,1.0120851,-1.3899561],[-0.3986245,0.9666817,-1.3899561],[-0.5551853,0.9527501,-1.1630588],[-0.5091674,0.9524506,-1.0100318],[0.46955,1.0111736,-1.0100318],[0.561354,0.9798173,-1.1707984],[0.3813663,0.9742171,-1.4307466],[-0.4171976,0.9263031,-1.4307466],[-0.5965636,0.9103422,-1.1707984],[-0.5364322,0.909951,-0.9708382],[0.5017008,0.972239,-0.9708382],[0.5673421,0.8800166,-1.1727943],[0.3873544,0.8744164,-1.4327425],[-0.4112095,0.8265026,-1.4327425],[-0.5905755,0.8105416,-1.1727943],[-0.5304441,0.8101503,-0.9728342],[0.5076889,0.8724384,-0.9728342]],"facets":14,"panels":[],"bolts":0},
"Thigh.Outer": {"solid":[[-0.8963261,-0.6993303,0.0405074],[-0.9234846,-0.6971576,-0.6427998],[-0.9302595,-0.4659773,-1.2745335],[-0.8760005,0.2877677,-1.4255476],[-0.8321795,0.6398191,-1.0341262],[-0.7895345,0.6364074,0.0388219],[-0.7930059,0.3335055,0.55784],[-0.859628,-0.475686,0.5106725],[-0.8593135,-0.7424191,0.0480094],[-0.8871133,-0.7401951,-0.6514348],[-0.8941858,-0.4988625,-1.3109107],[-0.8367438,0.299098,-1.4707837],[-0.7897608,0.6765533,-1.0511172],[-0.7460753,0.6730585,0.0480094],[-0.749751,0.3523302,0.5975726],[-0.8203176,-0.504772,0.5476124],[-0.6601087,-0.7583555,0.0400412],[-0.6879086,-0.7561315,-0.659403],[-0.694981,-0.5147989,-1.3188789],[-0.6375391,0.2831616,-1.4787519],[-0.590556,0.6606169,-1.0590854],[-0.5468705,0.6571221,0.0400412],[-0.5505463,0.3363939,0.5896044],[-0.6211129,-0.5207084,0.5396442]],"facets":18,"panels":[[-0.7794868,0.2906393,0.4795566],[-0.7763985,0.560117,0.0178105],[-0.7886124,0.5610941,-0.2894937],[-0.8835093,-0.6251161,-0.2894937],[-0.8711026,-0.6261086,0.0226564],[-0.8387128,-0.4287195,0.4376253],[-0.8492085,0.2962171,0.4823454],[-0.8461201,0.5656947,0.0205993],[-0.8583341,0.5666718,-0.2867048],[-0.9532309,-0.6195383,-0.2867049],[-0.9408243,-0.6205308,0.0254452],[-0.9084345,-0.4231417,0.4404142],[-0.870836,0.2868047,0.4624791],[-0.8678498,0.5473692,0.0160056],[-0.8790552,0.5482656,-0.2659239],[-0.9707623,-0.5980719,-0.2659239],[-0.9593307,-0.5989864,0.0216942],[-0.9280897,-0.4085987,0.4219443],[-0.7963567,0.5617135,-0.4843388],[-0.8170925,0.5633725,-1.0060527],[-0.8549845,0.2589536,-1.3445148],[-0.9032756,-0.4118871,-1.2101108],[-0.8970585,-0.624032,-0.6303939],[-0.8912535,-0.6244965,-0.4843389],[-0.8361976,0.5649008,-0.4827452],[-0.8569335,0.5665597,-1.004459],[-0.8948255,0.2621409,-1.3429213],[-0.9431165,-0.4086998,-1.2085171],[-0.9368995,-0.6208448,-0.6288003],[-0.9310944,-0.6213092,-0.4827453],[-0.8585073,0.5466217,-0.5019325],[-0.8781428,0.5481926,-0.9959635],[-0.9144538,0.2564758,-1.3203032],[-0.9611534,-0.3922571,-1.1903285],[-0.9550851,-0.5993261,-0.6244828],[-0.9502143,-0.5997157,-0.5019326]],"bolts":12},
"Thigh.OuterStep": {"solid":[[-0.9694378,-0.3795951,-0.0167539],[-0.9879788,-0.3781119,-0.4832461],[-0.9809105,-0.2015447,-0.6596745],[-0.951655,0.1641499,-0.6596745],[-0.9305622,0.3395951,-0.4832461],[-0.9120212,0.3381118,-0.0167539],[-0.9190895,0.1615447,0.1596745],[-0.948345,-0.2041499,0.1596745],[-0.9321286,-0.4227076,-0.0017921],[-0.9519857,-0.4211191,-0.5013952],[-0.9439794,-0.2211206,-0.7012363],[-0.9120813,0.1776055,-0.7012363],[-0.8881895,0.3763331,-0.5013952],[-0.8683324,0.3747445,-0.0017921],[-0.8763387,0.1747461,0.1980491],[-0.9082368,-0.22398,0.1980491],[-0.8424864,-0.429879,-0.0053778],[-0.8623435,-0.4282905,-0.5049809],[-0.8543373,-0.228292,-0.704822],[-0.8224391,0.1704341,-0.704822],[-0.7985473,0.3691617,-0.5049809],[-0.7786903,0.3675731,-0.0053778],[-0.7866965,0.1675747,0.1944634],[-0.8185946,-0.2311514,0.1944634]],"facets":18,"panels":[],"bolts":0},
"Thigh.Inner": {"solid":[[0.8776518,-0.5265174,-0.8959235],[0.861841,-0.3684096,-1.41],[0.7737058,0.5129414,-1.41],[0.7623708,0.6262924,-0.603093],[0.7732095,0.5179051,-0.24],[0.871125,-0.4612505,-0.24],[0.8418908,-0.5709032,-0.9],[0.8249752,-0.4017468,-1.45],[0.7304466,0.5435384,-1.45],[0.7185062,0.6629429,-0.6],[0.7304466,0.5435384,-0.2],[0.8349255,-0.5012506,-0.2],[0.6826848,-0.5868238,-0.9],[0.6657692,-0.4176674,-1.45],[0.5712407,0.5276178,-1.45],[0.5593002,0.6470223,-0.6],[0.5712407,0.5276178,-0.2],[0.6757196,-0.5171711,-0.2]],"facets":14,"panels":[[0.7588614,0.4603896,-0.315],[0.8041243,0.0077606,-0.315],[0.8041242,0.0077606,-1.335],[0.7602884,0.4461192,-1.335],[0.7500883,0.5481198,-0.6088924],[0.828514,0.4673549,-0.315],[0.8737769,0.0147259,-0.315],[0.8737769,0.0147259,-1.335],[0.829941,0.4530844,-1.335],[0.819741,0.5550851,-0.6088925],[0.8498954,0.4545382,-0.335],[0.8916876,0.0366167,-0.335],[0.8916875,0.0366167,-1.3150001],[0.8515706,0.437786,-1.3150001],[0.8416732,0.5367599,-0.610439],[0.8235274,-0.1862716,-0.3149999],[0.8444706,-0.3957034,-0.3149999],[0.8501749,-0.4527469,-0.88828],[0.8364357,-0.3153551,-1.3349999],[0.8235274,-0.1862716,-1.3349999],[0.8633289,-0.1822915,-0.3149999],[0.884272,-0.3917232,-0.3149999],[0.8899764,-0.4487667,-0.88828],[0.8762372,-0.3113749,-1.3349999],[0.8633289,-0.1822915,-1.3349999],[0.8852197,-0.2002021,-0.3349999],[0.9023718,-0.3717233,-0.3349999],[0.9078569,-0.4265738,-0.8862417],[0.8946701,-0.2947063,-1.3149999],[0.8852197,-0.2002021,-1.3149999]],"bolts":10},
"Thigh.Rear": {"solid":[[0.6,-0.9654287,0.0414257],[0.6,-0.9993547,-0.6370928],[0.3989588,-1.0139576,-0.9291516],[-0.3989588,-1.0139576,-0.9291516],[-0.6,-0.9993547,-0.6370928],[-0.6,-0.9654287,0.0414257],[-0.4336241,-0.9460424,0.4291516],[0.4336241,-0.9460424,0.4291516],[0.64,-0.9250687,0.0476282],[0.64,-0.960025,-0.6514985],[0.42,-0.976005,-0.9710993],[-0.42,-0.976005,-0.9710993],[-0.64,-0.960025,-0.6514985],[-0.64,-0.9250687,0.0476282],[-0.46,-0.9040949,0.4671042],[0.46,-0.9040949,0.4671042],[0.64,-0.7452933,0.0386394],[0.64,-0.7802496,-0.6604872],[0.42,-0.7962296,-0.980088],[-0.42,-0.7962296,-0.980088],[-0.64,-0.7802496,-0.6604872],[-0.64,-0.7452933,0.0386394],[-0.46,-0.7243195,0.4581155],[0.46,-0.7243195,0.4581155]],"facets":18,"panels":[[0.525,-0.9462224,0.0250518],[0.3841694,-0.9298127,0.3532465],[-0.3841694,-0.9298127,0.3532465],[-0.525,-0.9462224,0.0250518],[-0.525,-0.9782164,-0.6148264],[-0.3595065,-0.9902372,-0.8552439],[0.3595065,-0.9902372,-0.8552439],[0.525,-0.9782164,-0.6148264],[0.525,-0.99616,0.0275487],[0.3841694,-0.9797503,0.3557433],[-0.3841694,-0.9797503,0.3557433],[-0.525,-0.99616,0.0275487],[-0.525,-1.028154,-0.6123295],[-0.3595065,-1.0401748,-0.8527471],[0.3595065,-1.0401748,-0.8527471],[0.525,-1.028154,-0.6123295],[0.505,-1.0163401,0.0244474],[0.3709815,-1.0007241,0.3367671],[-0.3709815,-1.0007241,0.3367671],[-0.505,-1.0163401,0.0244474],[-0.505,-1.0478188,-0.6051267],[-0.3489859,-1.0591512,-0.8317733],[0.3489859,-1.0591512,-0.8317733],[0.505,-1.0478188,-0.6051267]],"bolts":8},
"Thigh.RearStep": {"solid":[[0.31,-1.0533367,-0.166735],[0.31,-1.0666631,-0.433265],[0.2334315,-1.0704868,-0.509738],[-0.2334315,-1.0704868,-0.509738],[-0.31,-1.0666631,-0.433265],[-0.31,-1.0533367,-0.166735],[-0.2334315,-1.0495131,-0.090262],[0.2334315,-1.0495131,-0.090262],[0.35,-1.0125592,-0.1521847],[0.35,-1.0275404,-0.4518104],[0.25,-1.0325342,-0.5516856],[-0.25,-1.0325342,-0.5516856],[-0.35,-1.0275404,-0.4518104],[-0.35,-1.0125592,-0.1521847],[-0.25,-1.0075654,-0.0523094],[0.25,-1.0075654,-0.0523094],[0.35,-0.932659,-0.1561797],[0.35,-0.9476403,-0.4558054],[0.25,-0.9526341,-0.5556806],[-0.25,-0.9526341,-0.5556806],[-0.35,-0.9476403,-0.4558054],[-0.35,-0.932659,-0.1561797],[-0.25,-0.9276652,-0.0563044],[0.25,-0.9276652,-0.0563044]],"facets":18,"panels":[],"bolts":0},
"Thigh.CornerOut": {"solid":[[-0.6046741,0.7607402,0.2029137],[-0.6419686,0.7969987,-1.1029136],[-0.6830156,0.7580089,-1.1594374],[-0.7575075,0.6813887,-1.1594374],[-0.7953259,0.6392598,-1.1029136],[-0.7580314,0.6030012,0.2029137],[-0.7169843,0.6419911,0.2594374],[-0.6424925,0.7186113,0.2594374],[-0.5476611,0.7610992,0.217877],[-0.5859013,0.7982771,-1.1210611],[-0.6439505,0.7431371,-1.2009977],[-0.7415414,0.6427579,-1.2009977],[-0.7950248,0.5831786,-1.1210611],[-0.7567846,0.5460007,0.217877],[-0.6987353,0.6011407,0.2978136],[-0.6011444,0.70152,0.2978136],[-0.4330328,0.6496551,0.2115088],[-0.471273,0.686833,-1.1274294],[-0.5293223,0.631693,-1.207366],[-0.6269132,0.5313138,-1.207366],[-0.6803964,0.4717345,-1.1274294],[-0.6421562,0.4345566,0.2115088],[-0.584107,0.4896966,0.2914454],[-0.4865161,0.5900759,0.2914454]],"facets":18,"panels":[],"bolts":0},
"Thigh.CornerIn": {"solid":[[0.7228147,0.6258237,-0.1367753],[0.7426594,0.6451172,-1.0632248],[0.7111945,0.6794759,-1.1097726],[0.6506443,0.7417562,-1.1097726],[0.6171853,0.7741762,-1.0632248],[0.5973406,0.7548828,-0.1367753],[0.6288055,0.7205241,-0.0902275],[0.6893557,0.6582438,-0.0902275],[0.7216761,0.5689284,-0.1214086],[0.7422302,0.5889115,-1.0809804],[0.6949335,0.6405582,-1.1509492],[0.6112841,0.7265977,-1.1509492],[0.5609899,0.7753302,-1.0809804],[0.5404358,0.755347,-0.1214086],[0.5877325,0.7037003,-0.0514398],[0.6713819,0.6176609,-0.0514398],[0.6213416,0.4713809,-0.1255892],[0.6418957,0.4913641,-1.085161],[0.594599,0.5430108,-1.1551298],[0.5109496,0.6290503,-1.1551298],[0.4606554,0.6777828,-1.085161],[0.4401013,0.6577996,-0.1255892],[0.487398,0.6061529,-0.0556204],[0.5710474,0.5201135,-0.0556204]],"facets":18,"panels":[],"bolts":0},
"Thigh.Cap": {"solid":[[0.4661148,-0.3206001,0.7921801],[-0.4661148,-0.3206001,0.7921801],[-0.5578418,0.2065509,0.6340348],[-0.3392738,0.5031305,0.5450609],[0.3392738,0.5031305,0.5450609],[0.5578418,0.2065509,0.6340348],[0.4999999,-0.370407,0.765361],[-0.4999999,-0.370407,0.765361],[-0.6,0.2042887,0.5929522],[-0.36,0.5299496,0.4952539],[0.36,0.5299496,0.4952539],[0.6,0.2042887,0.5929522],[0.4999999,-0.4106357,0.6312653],[-0.4999999,-0.4106357,0.6312653],[-0.6,0.16406,0.4588565],[-0.36,0.4897209,0.3611582],[0.36,0.4897209,0.3611582],[0.6,0.16406,0.4588565]],"facets":14,"panels":[[0.3004121,0.4255465,0.5474553],[-0.3004121,0.4255465,0.5474553],[-0.4787954,0.1834945,0.620071],[-0.4025803,-0.25451,0.7514725],[0.4025803,-0.25451,0.7514725],[0.4787954,0.1834945,0.620071],[0.3004121,0.4399139,0.5953466],[-0.3004121,0.4399139,0.5953466],[-0.4787954,0.1978619,0.6679623],[-0.4025803,-0.2401427,0.7993639],[0.4025803,-0.2401427,0.7993639],[0.4787954,0.1978619,0.6679623],[0.2900489,0.4265044,0.6202502],[-0.2900489,0.4265044,0.6202502],[-0.4577163,0.198993,0.6885036],[-0.3856378,-0.2152392,0.8127734],[0.3856378,-0.2152392,0.8127734],[0.4577163,0.198993,0.6885036]],"bolts":6}
}}
]}

View file

@ -0,0 +1,82 @@
{"source": {"branch": "nibu/fable-raptor-4", "sha": "0c271035b89cbf36b26977cc5a19c94e07199ae5", "blender": "5.3.0"},
"table": {"schema": "brokkr.plates.v0", "plates": [
{"name": "Torso.Jaw1", "mat": "khaki", "bevel": 0.012, "sides": "both", "slab": {"corners": [[0.27, 5.5, 4.344352800343537], [0.25, 5.5, 4.14792737789203], [0.6025, 4.75, 4.437397172236504], [0.6125, 4.75, 4.857397172236504]], "inside": [0.0, 5.125, 4.5561471722365035], "lift": 0.1, "thick": 0.14, "taper": 0.035, "back": 0.94, "gap": 0.025}, "clad": {"mat": "olive_light", "min_area": 0.12, "lifts": [0.035, 0.06], "inset": 0.07, "gap": 0.04, "split": 9.0, "seed": [1, 0]}},
{"name": "Torso.Jaw2", "mat": "olive_light", "bevel": 0.012, "sides": "both", "slab": {"corners": [[0.6131733333333336, 4.72, 4.885944978524653], [0.6160000000000002, 4.72, 4.4478971722365035], [0.88375, 3.95, 4.672185089974293], [0.85025, 3.95, 5.162396244735779]], "inside": [0.0, 4.335, 4.819518423307627], "lift": 0.13, "thick": 0.16, "taper": 0.035, "back": 0.94, "gap": 0.025}, "clad": {"mat": "khaki", "min_area": 0.12, "lifts": [0.035, 0.06], "inset": 0.07, "gap": 0.04, "split": 0.9, "seed": [18, 17]}},
{"name": "Torso.Jaw3", "mat": "khaki", "bevel": 0.012, "sides": "both", "slab": {"corners": [[0.8582000000000001, 3.92, 5.171231323471511], [0.8920000000000001, 3.92, 4.680185089974293], [1.041875, 3.05, 4.885938303341902], [1.029375, 3.25, 5.265938303341902]], "inside": [0.0, 3.535, 5.03285175664096], "lift": 0.1, "thick": 0.14, "taper": 0.035, "back": 0.94, "gap": 0.025}, "clad": {"mat": "olive_light", "min_area": 0.12, "lifts": [0.035, 0.035], "inset": 0.07, "gap": 0.04, "split": 99.0, "seed": [35, 34]}},
{"name": "Torso.JawLip1", "mat": "gunmetal", "bevel": 0.012, "sides": "both", "slab": {"corners": [[0.27666666666666656, 5.4, 4.19167737789203], [0.1577777777777777, 5.4, 4.03167737789203], [0.45000000000000007, 4.5, 4.364897172236503], [0.7150000000000001, 4.5, 4.5248971722365035]], "inside": [0.0, 4.95, 4.617397172236504], "lift": 0.04, "thick": 0.08, "taper": 0.035, "back": 0.94, "gap": 0.025}},
{"name": "Torso.JawLip2", "mat": "khaki", "bevel": 0.012, "sides": "both", "slab": {"corners": [[0.7330000000000001, 4.46, 4.536185089974293], [0.4620000000000001, 4.46, 4.3761850899742925], [0.63, 3.4, 4.655938303341902], [1.0025, 3.4, 4.815938303341902]], "inside": [0.0, 3.9299999999999997, 4.927518423307626], "lift": 0.05, "thick": 0.08, "taper": 0.035, "back": 0.94, "gap": 0.025}, "clad": {"mat": "olive_light", "min_area": 0.12, "lifts": [0.035, 0.06], "inset": 0.07, "gap": 0.04, "split": 9.0, "seed": [69, 68]}},
{"name": "Torso.CollarU", "mat": "olive_light", "bevel": 0.012, "sides": "both", "slab": {"corners": [[0.0636, 3.5, 6.0693942065828415], [0.53, 3.5, 6.007794206582841], [0.566, 3.14, 6.083710663170325], [0.06863999999999999, 3.08, 6.155219361779141]], "inside": [0.0, 3.305, 5.084938303341902], "lift": 0.17, "thick": 0.16, "taper": 0.035, "back": 0.94, "gap": 0.025}, "clad": {"mat": "khaki", "min_area": 0.12, "lifts": [0.035, 0.06], "inset": 0.07, "gap": 0.04, "split": 9.0, "seed": [86, 85]}},
{"name": "Torso.CollarF", "mat": "olive_light", "bevel": 0.012, "sides": "both", "slab": {"corners": [[0.53, 3.5, 6.007794206582841], [1.00125, 3.5, 5.212185089974293], [1.02375, 3.3, 5.255938303341902], [0.566, 3.14, 6.083710663170325]], "inside": [0.0, 3.36, 5.073938303341902], "lift": 0.16, "thick": 0.16, "taper": 0.035, "back": 0.94, "gap": 0.025}, "clad": {"mat": "khaki", "min_area": 0.12, "lifts": [0.035, 0.06], "inset": 0.07, "gap": 0.04, "split": 9.0, "seed": [103, 102]}},
{"name": "Torso.Cheek", "mat": "khaki", "bevel": 0.012, "sides": "both", "slab": {"corners": [[0.5910599999999999, 3.08, 6.0618721194416505], [1.01152, 3.24, 5.29989720287198], [1.0611000000000002, 2.5, 5.445415433520716], [0.9396, 2.32, 5.664961644345172], [0.6307200000000001, 2.32, 6.133612994552364]], "inside": [0.0, 2.692, 5.207538303341902], "lift": 0.11, "thick": 0.13, "taper": 0.035, "back": 0.94, "gap": 0.025}, "fits": [{"kind": "mark", "id": "27", "at": [0.006142872851341963, 0.0045098247937858105], "height": 0.5}]},
{"name": "Torso.CheekDeck", "mat": "khaki", "bevel": 0.012, "sides": "both", "slab": {"corners": [[0.06911999999999999, 3.04, 6.1615584474346505], [0.56448, 3.04, 6.1013584474346505], [0.6076, 2.0, 6.175354661707495], [0.0744, 2.0, 6.235554661707495]], "inside": [0.0, 2.52, 5.241938303341902], "lift": 0.07, "thick": 0.1, "taper": 0.035, "back": 0.94, "gap": 0.025}, "clad": {"mat": "olive_light", "min_area": 0.12, "lifts": [0.035, 0.06], "inset": 0.07, "gap": 0.04, "split": 0.9, "seed": [137, 136]}},
{"name": "Torso.Gill", "mat": "gunmetal", "bevel": 0.012, "sides": "both", "slab": {"corners": [[0.63168, 2.28, 6.135409293752973], [1.06132, 2.28, 5.488082927942363], [1.06038, 1.98, 5.5440385341450344], [0.6378699999999999, 1.98, 6.148364408169792]], "inside": [0.0, 2.13, 5.319938303341901], "lift": 0.05, "thick": 0.09, "taper": 0.035, "back": 0.94, "gap": 0.025}},
{"name": "Torso.Shoulder", "mat": "olive_light", "bevel": 0.012, "sides": "both", "slab": {"corners": [[0.63681, 1.94, 6.149855403487022], [1.0762500000000002, 1.94, 5.524430162810625], [0.9305714285714286, 0.62, 5.77571206803326], [0.5378933333333333, 0.42, 6.1004641922008265]], "inside": [0.0, 1.23, 5.472763496143958], "lift": 0.2, "thick": 0.16, "taper": 0.035, "back": 0.94, "gap": 0.025}, "clad": {"mat": "khaki", "min_area": 0.12, "lifts": [0.035, 0.06], "inset": 0.07, "gap": 0.04, "split": 0.7, "seed": [171, 170]}},
{"name": "Torso.ShoulderDeck", "mat": "khaki", "bevel": 0.012, "sides": "both", "slab": {"corners": [[0.07428, 1.96, 6.236924230634243], [0.6066199999999999, 1.96, 6.176724230634243], [0.51744, 0.44, 6.119364493385301], [0.06336, 0.44, 6.179564493385301]], "inside": [0.0, 1.2, 5.477763496143958], "lift": 0.09, "thick": 0.1, "taper": 0.035, "back": 0.94, "gap": 0.025}, "clad": {"mat": "olive_light", "min_area": 0.12, "lifts": [0.035, 0.06], "inset": 0.07, "gap": 0.04, "split": 0.6, "seed": [188, 187]}},
{"name": "Torso.Belt1", "mat": "khaki", "bevel": 0.012, "sides": "both", "slab": {"corners": [[1.0571000000000002, 3.0, 5.299138303341902], [1.04525, 3.02, 4.891938303341902], [1.07, 2.36, 5.023938303341902], [1.0796000000000001, 2.36, 5.427138303341902]], "inside": [0.0, 2.685, 5.208938303341902], "lift": 0.07, "thick": 0.11, "taper": 0.035, "back": 0.94, "gap": 0.025}, "clad": {"mat": "olive_light", "min_area": 0.12, "lifts": [0.035, 0.035], "inset": 0.07, "gap": 0.04, "split": 99.0, "seed": [205, 204]}},
{"name": "Torso.Belt2", "mat": "olive_light", "bevel": 0.012, "sides": "both", "slab": {"corners": [[1.0796000000000001, 2.33, 5.433138303341901], [1.07, 2.33, 5.029938303341901], [1.03875, 1.5, 5.1777634961439585], [1.0483500000000001, 1.5, 5.5809634961439585]], "inside": [0.0, 1.915, 5.358596829477292], "lift": 0.11, "thick": 0.12, "taper": 0.035, "back": 0.94, "gap": 0.025}, "clad": {"mat": "khaki", "min_area": 0.12, "lifts": [0.035, 0.06], "inset": 0.07, "gap": 0.04, "split": 9.0, "seed": [222, 221]}},
{"name": "Torso.Belt3", "mat": "khaki", "bevel": 0.012, "sides": "both", "slab": {"corners": [[1.046475, 1.47, 5.585963496143958], [1.036875, 1.47, 5.182763496143958], [0.9480000000000001, 0.78, 5.326616966580977], [0.9301714285714286, 0.62, 5.759668263975169]], "inside": [0.0, 1.085, 5.496930162810625], "lift": 0.08, "thick": 0.11, "taper": 0.035, "back": 0.94, "gap": 0.025}},
{"name": "Torso.Lip1", "mat": "gunmetal", "bevel": 0.012, "sides": "both", "slab": {"corners": [[1.0070000000000001, 3.36, 4.823938303341902], [0.632, 3.36, 4.663938303341902], [0.66, 2.4, 4.855938303341902], [1.07, 2.4, 5.015938303341902]], "inside": [0.0, 2.88, 5.169938303341902], "lift": 0.03, "thick": 0.08, "taper": 0.035, "back": 0.94, "gap": 0.025}},
{"name": "Torso.Lip2", "mat": "khaki", "bevel": 0.012, "sides": "both", "slab": {"corners": [[1.07, 2.36, 5.023938303341902], [0.66, 2.36, 4.863938303341902], [0.625, 1.3, 5.0510968294772915], [1.02625, 1.3, 5.211096829477292]], "inside": [0.0, 1.83, 5.372763496143959], "lift": 0.05, "thick": 0.08, "taper": 0.035, "back": 0.94, "gap": 0.025}, "clad": {"mat": "olive_light", "min_area": 0.12, "lifts": [0.035, 0.06], "inset": 0.07, "gap": 0.04, "split": 9.0, "seed": [273, 272]}},
{"name": "Torso.Lip3", "mat": "gunmetal", "bevel": 0.012, "sides": "both", "slab": {"corners": [[1.02375, 1.26, 5.2177634961439585], [0.623, 1.26, 5.057763496143958], [0.56, 0.5, 5.250616966580976], [0.9, 0.5, 5.410616966580976]], "inside": [0.0, 0.88, 5.546616966580976], "lift": 0.03, "thick": 0.08, "taper": 0.035, "back": 0.94, "gap": 0.025}},
{"name": "Torso.Hood1D", "mat": "khaki", "bevel": 0.012, "sides": "both", "slab": {"corners": [[0.0624, 0.4, 6.169880489976104], [0.52, 0.4, 6.108280489976104], [0.364, -0.66, 6.250353133913001], [0.04368, -0.66, 6.3119531339130015]], "inside": [0.0, -0.13, 5.896217574199579], "lift": 0.14, "thick": 0.11, "taper": 0.035, "back": 0.94, "gap": 0.025}, "clad": {"mat": "olive_light", "min_area": 0.12, "lifts": [0.035, 0.06], "inset": 0.07, "gap": 0.04, "split": 9.0, "seed": [307, 306]}},
{"name": "Torso.Hood1F", "mat": "khaki", "bevel": 0.012, "sides": "both", "slab": {"corners": [[0.5601485714285714, 0.56, 6.135829871438327], [0.9411428571428572, 0.74, 5.338616966580977], [0.6, -0.1, 5.633944846926852], [0.488, -0.66, 5.797178285195826], [0.36976, -0.66, 6.24185255718071]], "inside": [0.0, -0.024000000000000004, 5.852853937835943], "lift": 0.13, "thick": 0.12, "taper": 0.035, "back": 0.94, "gap": 0.025}, "clad": {"mat": "olive_light", "min_area": 0.12, "lifts": [0.035, 0.06], "inset": 0.07, "gap": 0.04, "split": 0.5, "seed": [324, 323]}},
{"name": "Torso.Hood2D", "mat": "olive_light", "bevel": 0.012, "sides": "both", "slab": {"corners": [[0.044399999999999995, -0.6, 6.311459761576258], [0.37, -0.6, 6.249859761576258], [0.32, -1.5, 6.226910880175944], [0.0384, -1.5, 6.288510880175944]], "inside": [0.0, -1.05, 6.070119461666414], "lift": 0.1, "thick": 0.1, "taper": 0.035, "back": 0.94, "gap": 0.025}, "clad": {"mat": "khaki", "min_area": 0.12, "lifts": [0.035, 0.06], "inset": 0.07, "gap": 0.04, "split": 9.0, "seed": [341, 340]}},
{"name": "Torso.Hood2F", "mat": "olive_light", "bevel": 0.012, "sides": "both", "slab": {"corners": [[0.37392, -0.62, 6.242114324404738], [0.496, -0.62, 5.794825344019356], [0.41, -1.5, 5.8465900499017085], [0.3244, -1.5, 6.21998395024202]], "inside": [0.0, -1.06, 6.070707696960532], "lift": 0.09, "thick": 0.11, "taper": 0.035, "back": 0.94, "gap": 0.025}},
{"name": "Torso.Hood3D", "mat": "khaki", "bevel": 0.012, "sides": "both", "slab": {"corners": [[0.03864, -1.46, 6.292862675791256], [0.322, -1.46, 6.231262675791256], [0.26, -2.3, 6.16377625008143], [0.0312, -2.3, 6.22537625008143]], "inside": [0.0, -1.88, 6.152707433134606], "lift": 0.06, "thick": 0.09, "taper": 0.035, "back": 0.94, "gap": 0.025}, "clad": {"mat": "olive_light", "min_area": 0.12, "lifts": [0.035, 0.06], "inset": 0.07, "gap": 0.04, "split": 9.0, "seed": [375, 374]}},
{"name": "Torso.Hood3F", "mat": "khaki", "bevel": 0.012, "sides": "both", "slab": {"corners": [[0.32646000000000003, -1.46, 6.22419092354263], [0.4135, -1.46, 5.844237108725237], [0.32, -2.3, 5.992069135262265], [0.2632, -2.3, 6.161355376401335]], "inside": [0.0, -1.88, 6.152707433134606], "lift": 0.05, "thick": 0.1, "taper": 0.035, "back": 0.94, "gap": 0.025}, "clad": {"mat": "olive_light", "min_area": 0.12, "lifts": [0.035, 0.06], "inset": 0.07, "gap": 0.04, "split": 9.0, "seed": [392, 391]}},
{"name": "Torso.HoodLip", "mat": "gunmetal", "bevel": 0.012, "sides": "both", "slab": {"corners": [[0.85, 0.4, 5.4406169665809765], [0.5366666666666667, 0.4, 5.280616966580976], [0.24749999999999997, -2.2, 5.810792539517585], [0.33124999999999993, -2.2, 5.970792539517585]], "inside": [0.0, -0.9000000000000001, 6.061295932254649], "lift": 0.03, "thick": 0.07, "taper": 0.035, "back": 0.94, "gap": 0.025}}
]},
"cases": [
{"side": 1, "truth": {
"Torso.Jaw1.R": {"solid":[[0.6781577,4.8458824,4.7452664],[0.668655,4.8445058,4.4767356],[0.3750727,5.4858899,4.2300553],[0.3787763,5.4840679,4.3069553],[0.6626044,4.800034,4.8098192],[0.6499786,4.7982044,4.4530377],[0.3264895,5.5049257,4.1812291],[0.3335624,5.5014462,4.3280835],[0.5565017,4.7785773,4.7914252],[0.5446335,4.7768579,4.4560513],[0.2405537,5.4411759,4.200551],[0.2472022,5.4379053,4.338594]],"facets":10,"panels":[],"bolts":0},
"Torso.Jaw1.L": {"solid":[[-0.3787763,5.4840679,4.3069553],[-0.3750727,5.4858899,4.2300553],[-0.668655,4.8445058,4.4767356],[-0.6781577,4.8458824,4.7452664],[-0.3335624,5.5014462,4.3280835],[-0.3264895,5.5049257,4.1812291],[-0.6499786,4.7982044,4.4530377],[-0.6626044,4.800034,4.8098187],[-0.2472022,5.4379053,4.338594],[-0.2405537,5.4411759,4.200551],[-0.5446335,4.7768579,4.4560513],[-0.5565017,4.7785773,4.7914252]],"facets":10,"panels":[],"bolts":0},
"Torso.Jaw2.R": {"solid":[[0.9634969,4.0501137,5.0842671],[0.9793593,4.0470967,4.7224078],[0.7621094,4.706634,4.5318127],[0.7502888,4.7032971,4.8479657],[0.9395706,4.0060921,5.1315699],[0.9587276,4.0024481,4.6945519],[0.7194206,4.7289476,4.4846058],[0.7049535,4.7248635,4.8715405],[0.8148237,3.9873223,5.106564],[0.8328313,3.9838972,4.6957669],[0.6078827,4.6668067,4.4984179],[0.5942836,4.6629677,4.8621368]],"facets":10,"panels":[[0.7623737,4.6329627,4.6227379],[0.755846,4.6311202,4.7973275],[0.9262363,4.1091132,4.9861736],[0.9355094,4.1073494,4.7746315],[0.7954733,4.644258,4.624095],[0.7889456,4.642415,4.7986841],[0.9593359,4.1204081,4.9875302],[0.968609,4.1186442,4.7759881],[0.8198669,4.6315074,4.6510701],[0.8148514,4.6300917,4.785213],[0.9730081,4.1455636,4.9605002],[0.9803985,4.1441579,4.7919059]],"bolts":4},
"Torso.Jaw2.L": {"solid":[[-0.7502887,4.7032971,4.8479657],[-0.7621094,4.706634,4.5318127],[-0.9793593,4.0470967,4.7224078],[-0.9634969,4.0501137,5.0842671],[-0.7049535,4.7248635,4.8715405],[-0.7194206,4.7289476,4.4846058],[-0.9587276,4.0024481,4.6945519],[-0.9395706,4.0060921,5.1315699],[-0.5942836,4.6629682,4.8621368],[-0.6078827,4.6668067,4.4984179],[-0.8328313,3.9838972,4.6957669],[-0.8148237,3.9873223,5.106564]],"facets":10,"panels":[[-0.9262362,4.1091132,4.9861732],[-0.7558458,4.6311202,4.797327],[-0.7623736,4.6329632,4.6227379],[-0.9355093,4.1073499,4.774631],[-0.9829783,4.1284761,4.9884992],[-0.812588,4.6504831,4.7996531],[-0.8191157,4.6523261,4.6250639],[-0.9922515,4.1267123,4.776957],[-0.9966506,4.1536317,4.9614692],[-0.8384938,4.6381598,4.7861819],[-0.8435093,4.6395755,4.6520391],[-1.004041,4.152226,4.7928748]],"bolts":4},
"Torso.Jaw3.R": {"solid":[[1.1034771,3.2995813,5.2017331],[1.1353582,3.1601076,4.9280725],[0.9894645,3.8798358,4.7565813],[0.984347,3.8839259,5.1203036],[1.0727185,3.273221,5.2393327],[1.1118007,3.1022437,4.9038582],[0.9487557,3.9065831,4.7122068],[0.9425905,3.9115105,5.1503859],[0.9666496,3.2685959,5.2238503],[1.0033869,3.107877,4.908504],[0.8501246,3.8639562,4.7283521],[0.8443294,3.868588,5.1402402]],"facets":10,"panels":[[0.9797079,3.8106408,5.0591025],[1.0768427,3.3341856,5.1254978],[1.0943214,3.2577195,4.9754639],[0.9827303,3.8082252,4.8442941],[1.0139892,3.8176858,5.0595059],[1.1111239,3.3412309,5.1259007],[1.1286026,3.2647648,4.9758673],[1.0170115,3.8152704,4.844697],[1.03785,3.8019233,5.042316],[1.1287004,3.3562937,5.1044154],[1.1420641,3.2978299,4.9897037],[1.0402737,3.7999861,4.8700538]],"bolts":4},
"Torso.Jaw3.L": {"solid":[[-0.984347,3.8839259,5.1203036],[-0.9894645,3.8798358,4.7565813],[-1.1353582,3.1601076,4.9280725],[-1.1034771,3.2995813,5.2017331],[-0.9425905,3.9115105,5.1503859],[-0.9487557,3.9065831,4.7122068],[-1.1118007,3.1022437,4.9038582],[-1.0727185,3.273221,5.2393327],[-0.8443294,3.868588,5.1402402],[-0.8501246,3.8639562,4.7283521],[-1.0033869,3.107877,4.908504],[-0.9666496,3.2685959,5.2238503]],"facets":10,"panels":[[-1.0943214,3.2577195,4.9754634],[-1.0768428,3.3341856,5.1254973],[-0.979708,3.8106406,5.0591021],[-0.9827303,3.8082252,4.8442936],[-1.1286026,3.2647645,4.9758668],[-1.111124,3.3412306,5.1259003],[-1.0139892,3.8176858,5.0595055],[-1.0170116,3.8152702,4.8446965],[-1.1420641,3.2978299,4.9897032],[-1.1287004,3.3562937,5.1044149],[-1.03785,3.801923,5.0423155],[-1.0402738,3.7999861,4.8700533]],"bolts":4},
"Torso.JawLip1.R": {"solid":[[0.6458802,4.5582738,4.4395108],[0.5161161,4.5574179,4.3403563],[0.2400006,5.3381481,4.0823326],[0.2889529,5.3373065,4.1198077],[0.6731222,4.5253091,4.5064259],[0.4764318,4.5240121,4.3561325],[0.1752755,5.375546,4.0747085],[0.2844312,5.3736696,4.1582718],[0.6295741,4.5529151,4.528182],[0.4446852,4.5516958,4.3869061],[0.1615982,5.352138,4.1223679],[0.2642045,5.3503742,4.2009172]],"facets":10,"panels":[],"bolts":0},
"Torso.JawLip1.L": {"solid":[[-0.2889529,5.3373065,4.1198077],[-0.2400006,5.3381481,4.0823326],[-0.5161161,4.5574179,4.3403563],[-0.6458802,4.5582738,4.4395108],[-0.2844312,5.3736696,4.1582718],[-0.1752755,5.375546,4.0747085],[-0.4764318,4.5240121,4.3561325],[-0.6731222,4.5253091,4.5064259],[-0.2642045,5.3503742,4.2009172],[-0.1615982,5.352138,4.1223679],[-0.4446852,4.5516958,4.3869061],[-0.6295741,4.5529151,4.528182]],"facets":10,"panels":[],"bolts":0},
"Torso.JawLip2.R": {"solid":[[0.9485517,3.4529181,4.7355824],[0.7014969,3.4510305,4.6154981],[0.5440177,4.3942752,4.3846078],[0.7175547,4.3920512,4.4695377],[0.9750648,3.4237115,4.7926283],[0.6596735,3.4213021,4.639328],[0.4905131,4.4345131,4.3913107],[0.7271858,4.4314795,4.5071402],[0.9398439,3.4604948,4.8200493],[0.6433761,3.4582298,4.6759472],[0.4843653,4.4106483,4.442811],[0.7068377,4.4077964,4.5516906]],"facets":10,"panels":[[0.6592853,4.3262753,4.4743786],[0.8565182,3.5244124,4.7015362],[0.7461367,3.5235691,4.6478839],[0.6120198,4.3268809,4.4512467],[0.6852901,4.3175545,4.4210148],[0.882523,3.5156915,4.6481724],[0.7721415,3.5148482,4.5945201],[0.6380246,4.3181601,4.3978829],[0.6797866,4.2950239,4.399528],[0.8673726,3.5323808,4.6155748],[0.7960405,3.5318358,4.5809031],[0.6685987,4.295167,4.3940525]],"bolts":4},
"Torso.JawLip2.L": {"solid":[[-0.7175547,4.3920512,4.4695377],[-0.5440177,4.3942752,4.3846078],[-0.7014969,3.4510307,4.6154981],[-0.9485517,3.4529181,4.7355824],[-0.7271858,4.4314795,4.5071402],[-0.4905131,4.4345131,4.3913107],[-0.6596735,3.4213021,4.639328],[-0.9750648,3.4237115,4.7926283],[-0.7068377,4.4077964,4.5516906],[-0.4843653,4.4106483,4.442811],[-0.6433761,3.4582298,4.6759472],[-0.9398439,3.4604948,4.8200493]],"facets":10,"panels":[[-0.6592851,4.3262753,4.4743786],[-0.6120197,4.3268809,4.4512467],[-0.7461365,3.5235691,4.6478839],[-0.8565181,3.5244124,4.7015362],[-0.6852899,4.3175545,4.4210148],[-0.6380244,4.3181601,4.3978829],[-0.7721414,3.5148482,4.5945201],[-0.8825229,3.5156915,4.6481724],[-0.6797863,4.2950234,4.399528],[-0.6685985,4.295167,4.3940525],[-0.7960405,3.5318358,4.5809031],[-0.8673725,3.5323808,4.6155748]],"bolts":4},
"Torso.CollarU.R": {"solid":[[0.1480696,3.1818228,6.300221],[0.5215798,3.2264247,6.2441702],[0.4968882,3.4767935,6.1938457],[0.1442731,3.4762638,6.2378926],[0.1096004,3.1358895,6.278759],[0.5551332,3.1890917,6.2119007],[0.5240929,3.5038362,6.1486363],[0.1048643,3.5032063,6.2010045],[0.1073099,3.1218333,6.1532855],[0.5261107,3.1718433,6.0904384],[0.4969327,3.4677031,6.0309701],[0.1028579,3.4671111,6.0801959]],"facets":10,"panels":[],"bolts":0},
"Torso.CollarU.L": {"solid":[[-0.1442731,3.4762638,6.2378926],[-0.4968882,3.4767935,6.1938457],[-0.5215798,3.2264247,6.2441702],[-0.1480696,3.1818228,6.300221],[-0.1048643,3.5032063,6.2010045],[-0.5240929,3.5038362,6.1486363],[-0.5551332,3.1890917,6.2119007],[-0.1096004,3.1358895,6.278759],[-0.1028579,3.4671111,6.0801959],[-0.4969327,3.4677031,6.0309701],[-0.5261107,3.1718433,6.0904384],[-0.1073099,3.1218333,6.1532855]],"facets":10,"panels":[],"bolts":0},
"Torso.CollarF.R": {"solid":[[0.72499,3.2426014,6.0970759],[1.1215882,3.3813784,5.3768516],[1.1122297,3.4722867,5.3575101],[0.701372,3.4719968,6.048275],[0.6817346,3.1941087,6.1187196],[1.1131568,3.3450711,5.3352547],[1.0972214,3.4998662,5.302321],[0.650287,3.4995508,6.0537405],[0.5885689,3.1813512,6.0310478],[0.9941058,3.3232558,5.294591],[0.9791265,3.4687634,5.2636328],[0.5590081,3.4684668,5.9699674]],"facets":10,"panels":[],"bolts":0},
"Torso.CollarF.L": {"solid":[[-0.701372,3.4719968,6.048275],[-1.1122297,3.4722867,5.3575101],[-1.1215882,3.3813784,5.3768516],[-0.72499,3.2426014,6.0970759],[-0.650287,3.4995508,6.0537405],[-1.0972214,3.4998662,5.302321],[-1.1131568,3.3450711,5.3352547],[-0.6817346,3.1941087,6.1187196],[-0.5590081,3.4684668,5.9699674],[-0.9791265,3.4687634,5.2636328],[-0.9941058,3.3232558,5.294591],[-0.5885689,3.1813512,6.0310478]],"facets":10,"panels":[],"bolts":0},
"Torso.Cheek.R": {"solid":[[0.7616042,2.3949468,6.1404848],[1.0143056,2.3933237,5.734005],[1.1105072,2.5457008,5.542192],[1.085451,3.1817539,5.4284258],[0.7093408,3.0426319,6.0677066],[0.7164118,2.3559163,6.155828],[0.9945078,2.3541298,5.7084999],[1.1004012,2.5218582,5.4973631],[1.0728861,3.2203295,5.3724322],[0.6590133,3.0672393,6.0758991],[0.6478956,2.3647487,6.0824809],[0.9093057,2.3630698,5.6619925],[1.0088454,2.5207343,5.4635239],[0.9829814,3.1772974,5.3460889],[0.593941,3.0333924,6.0073476]],"facets":12,"panels":[],"bolts":0},
"Torso.Cheek.L": {"solid":[[-0.7093408,3.0426319,6.0677066],[-1.085451,3.1817539,5.4284258],[-1.1105072,2.5457008,5.542192],[-1.0143056,2.3933237,5.734005],[-0.7616042,2.3949468,6.1404848],[-0.6590133,3.0672393,6.0758991],[-1.0728861,3.2203295,5.3724322],[-1.1004012,2.5218582,5.4973631],[-0.9945078,2.3541298,5.7084999],[-0.7164119,2.3559163,6.155828],[-0.5939409,3.0333924,6.0073476],[-0.9829814,3.1772974,5.3460889],[-1.0088454,2.5207343,5.4635239],[-0.9093057,2.3630698,5.6619925],[-0.6478956,2.364749,6.0824809]],"facets":12,"panels":[],"bolts":0},
"Torso.CheekDeck.R": {"solid":[[0.1419043,2.0650213,6.2945924],[0.5534907,2.0649021,6.2464862],[0.515558,2.9853468,6.1829267],[0.1370073,2.98522,6.2271891],[0.1032736,2.027564,6.266542],[0.5856587,2.0274243,6.2101612],[0.5448481,3.0177033,6.1417794],[0.0980052,3.0175533,6.1940269],[0.109527,2.0525076,6.19835],[0.562969,2.0523763,6.1453519],[0.5246071,2.9832382,6.0810733],[0.1045747,2.9830976,6.1301856]],"facets":10,"panels":[[0.4465562,2.9140482,6.1760697],[0.2045898,2.9139671,6.2043619],[0.208744,2.1333499,6.2615409],[0.4787329,2.1332717,6.2299848],[0.4506091,2.9166093,6.2107396],[0.2086427,2.9165282,6.2390318],[0.212797,2.135911,6.2962108],[0.4827859,2.1358328,6.2646546],[0.433872,2.8981199,6.2342525],[0.2309297,2.898052,6.2579818],[0.2348717,2.157315,6.3122396],[0.4644041,2.1572485,6.2854118]],"bolts":4},
"Torso.CheekDeck.L": {"solid":[[-0.1370073,2.98522,6.2271891],[-0.515558,2.9853468,6.1829267],[-0.5534908,2.0649021,6.2464862],[-0.1419043,2.0650213,6.2945924],[-0.0980052,3.0175533,6.1940269],[-0.5448481,3.0177033,6.1417794],[-0.5856587,2.0274243,6.2101612],[-0.1032736,2.027564,6.266542],[-0.1045747,2.9830976,6.1301856],[-0.5246071,2.9832382,6.0810733],[-0.5629691,2.0523763,6.1453519],[-0.109527,2.0525076,6.19835]],"facets":10,"panels":[[-0.4465562,2.9140482,6.1760697],[-0.4787329,2.1332717,6.2299848],[-0.2087439,2.1333499,6.2615409],[-0.2045898,2.9139671,6.2043619],[-0.4535041,2.9184387,6.2355042],[-0.4856809,2.1376622,6.2894192],[-0.2156919,2.1377404,6.3209753],[-0.2115377,2.9183576,6.2637963],[-0.4367669,2.8999493,6.259017],[-0.4672992,2.1590779,6.3101764],[-0.2377666,2.1591444,6.3370037],[-0.2338247,2.8998814,6.2827458]],"bolts":4},
"Torso.Gill.R": {"solid":[[0.7139895,2.0437119,6.1258149],[1.0652895,2.0431433,5.6095428],[1.0703707,2.2240007,5.5789557],[0.7057446,2.223469,6.1149549],[0.6670325,2.0063245,6.1372304],[1.0553687,2.0056958,5.5665302],[1.0624131,2.256434,5.5241241],[0.6555879,2.2558405,6.1221561],[0.6332603,2.0098648,6.0883889],[0.9982963,2.009274,5.5519304],[1.0049181,2.2449677,5.5120687],[0.6225024,2.24441,6.0742188]],"facets":10,"panels":[],"bolts":0},
"Torso.Gill.L": {"solid":[[-0.7057446,2.223469,6.1149549],[-1.0703707,2.2240007,5.5789557],[-1.0652895,2.0431433,5.6095428],[-0.7139896,2.0437119,6.1258149],[-0.6555879,2.2558405,6.1221561],[-1.0624131,2.256434,5.5241241],[-1.0553687,2.0056958,5.5665302],[-0.6670325,2.0063245,6.1372304],[-0.6225024,2.24441,6.0742188],[-1.0049181,2.2449677,5.5120687],[-0.9982963,2.009274,5.5519304],[-0.6332603,2.0098648,6.0883889]],"facets":10,"panels":[],"bolts":0},
"Torso.Shoulder.R": {"solid":[[0.766121,0.503258,6.2084999],[1.0149217,0.6597862,5.9122195],[1.2070429,1.8741268,5.7282615],[0.8078286,1.8753638,6.2140069],[0.7152762,0.4519182,6.2131157],[1.0066018,0.6351999,5.8661952],[1.208279,1.9099404,5.6730876],[0.7596377,1.9113306,6.2189732],[0.631173,0.5016816,6.120554],[0.905019,0.6739665,5.7944489],[1.0945956,1.8722225,5.6129274],[0.6728727,1.8735293,6.12606]],"facets":10,"panels":[[0.9620576,0.7113007,5.9471393],[1.1350672,1.8048418,5.7814813],[0.8347065,1.8057724,6.1469455],[0.7983067,0.6082799,6.1421394],[1.0083938,0.7097393,5.9852252],[1.1814033,1.8032804,5.8195667],[0.8810427,1.804211,6.1850314],[0.8446428,0.6067187,6.1802254],[1.013148,0.7237886,6.0115247],[1.180697,1.7828155,5.8510952],[0.9085804,1.7836586,6.1821938],[0.873697,0.6360558,6.177588]],"bolts":4},
"Torso.Shoulder.L": {"solid":[[-0.8078286,1.8753638,6.2140069],[-1.2070429,1.8741268,5.7282615],[-1.0149217,0.6597862,5.9122195],[-0.766121,0.503258,6.2084999],[-0.7596377,1.9113306,6.2189732],[-1.208279,1.9099404,5.6730876],[-1.0066018,0.6351999,5.8661952],[-0.7152762,0.4519182,6.2131157],[-0.6728727,1.8735293,6.12606],[-1.0945956,1.8722225,5.6129274],[-0.905019,0.6739665,5.7944489],[-0.631173,0.5016816,6.120554]],"facets":10,"panels":[[-0.9620576,0.7113007,5.9471393],[-0.7983067,0.6082799,6.1421394],[-0.8347066,1.8057724,6.1469455],[-1.1350672,1.8048418,5.7814813],[-1.0083938,0.7097393,5.9852252],[-0.8446428,0.6067187,6.1802254],[-0.8810427,1.804211,6.1850314],[-1.1814033,1.8032804,5.8195667],[-1.013148,0.7237886,6.0115247],[-0.873697,0.6360558,6.177588],[-0.9085804,1.7836586,6.1821938],[-1.180697,1.7828155,5.8510952]],"bolts":4},
"Torso.ShoulderDeck.R": {"solid":[[0.1338997,0.4963008,6.2615356],[0.4724211,0.4961444,6.2204647],[0.554043,1.8963948,6.2689981],[0.1444805,1.8962564,6.3186746],[0.094679,0.4627956,6.2296085],[0.5009658,0.4626078,6.180316],[0.5866662,1.9328259,6.2312741],[0.1057881,1.9326636,6.2896004],[0.100499,0.5095817,6.1653223],[0.4824086,0.5094053,6.1189871],[0.562967,1.8914104,6.1668882],[0.1109416,1.8912575,6.221715]],"facets":10,"panels":[[0.4045028,0.5669425,6.2114944],[0.4779677,1.8272576,6.2551775],[0.2110364,1.8271676,6.2875538],[0.2015125,0.5670362,6.2361221],[0.4117219,0.564459,6.2710066],[0.4851868,1.8247741,6.3146901],[0.2182556,1.824684,6.3470664],[0.2087317,0.5645527,6.2956343],[0.3954107,0.5836226,6.2939491],[0.466545,1.8039564,6.3362465],[0.2403655,1.80388,6.3636799],[0.2311435,0.5836985,6.3138785]],"bolts":4},
"Torso.ShoulderDeck.L": {"solid":[[-0.1444805,1.8962564,6.3186746],[-0.5540429,1.8963948,6.2689981],[-0.4724211,0.4961443,6.2204647],[-0.1338998,0.4963008,6.2615356],[-0.1057881,1.9326636,6.2896004],[-0.5866662,1.9328259,6.2312741],[-0.5009658,0.4626078,6.180316],[-0.094679,0.4627956,6.2296085],[-0.1109416,1.8912575,6.221715],[-0.562967,1.8914104,6.1668882],[-0.4824086,0.5094053,6.1189871],[-0.100499,0.5095817,6.1653223]],"facets":10,"panels":[[-0.4045027,0.5669426,6.211494],[-0.2015124,0.5670363,6.2361217],[-0.2110364,1.8271676,6.2875533],[-0.4779676,1.8272578,6.255177],[-0.4087139,0.5654938,6.2462096],[-0.2057236,0.5655876,6.2708373],[-0.2152475,1.8257189,6.322269],[-0.4821788,1.825809,6.2898927],[-0.3924026,0.5846575,6.2691517],[-0.2281355,0.5847334,6.2890816],[-0.2373575,1.8049148,6.3388824],[-0.4635369,1.8049912,6.3114491]],"bolts":4},
"Torso.Belt1.R": {"solid":[[1.146176,2.4221623,5.3521624],[1.1389598,2.4221458,5.071332],[1.1194549,2.9585156,4.964046],[1.1271794,2.9445682,5.2476935],[1.1133937,2.38609,5.3957429],[1.1043435,2.3860693,5.0435414],[1.0822154,2.9945703,4.9218278],[1.0919032,2.9770784,5.2775593],[1.0375291,2.4017417,5.3835039],[1.029022,2.4017222,5.0524349],[1.0082216,2.9737132,4.938024],[1.0173281,2.9572709,5.2724113]],"facets":10,"panels":[[1.104007,2.8835981,5.0507927],[1.1078055,2.8767397,5.1902728],[1.1218143,2.4914992,5.267312],[1.1182659,2.4914911,5.1292229],[1.1389785,2.88469,5.0498943],[1.1427768,2.8778317,5.189374],[1.1567856,2.4925911,5.2664132],[1.1532373,2.492583,5.1283245],[1.1602581,2.8640873,5.074019],[1.1629348,2.8592544,5.172308],[1.1755184,2.5132041,5.2415099],[1.1730181,2.5131984,5.1442046]],"bolts":4},
"Torso.Belt1.L": {"solid":[[-1.1271794,2.9445682,5.2476935],[-1.1194549,2.9585156,4.964046],[-1.1389598,2.4221458,5.071332],[-1.146176,2.4221623,5.3521624],[-1.0919032,2.9770784,5.2775593],[-1.0822154,2.9945703,4.9218278],[-1.1043435,2.3860693,5.0435414],[-1.1133937,2.38609,5.3957429],[-1.0173281,2.9572709,5.2724113],[-1.0082216,2.9737132,4.938024],[-1.029022,2.4017222,5.0524349],[-1.0375291,2.4017417,5.3835039]],"facets":10,"panels":[[-1.1040069,2.8835983,5.0507936],[-1.1182657,2.4914913,5.1292238],[-1.1218141,2.4914994,5.2673125],[-1.1078054,2.8767397,5.1902738],[-1.1389784,2.8846903,5.0498953],[-1.1532372,2.4925833,5.128325],[-1.1567855,2.4925914,5.2664137],[-1.1427768,2.8778317,5.1893749],[-1.1602579,2.8640876,5.0740199],[-1.173018,2.5131986,5.1442051],[-1.1755183,2.5132043,5.2415104],[-1.1629347,2.8592544,5.1723089]],"bolts":4},
"Torso.Belt2.R": {"solid":[[1.1590292,1.5553447,5.5067554],[1.15233,1.5553447,5.2253861],[1.1790659,2.2654498,5.0989141],[1.1857651,2.2654498,5.3802838],[1.1235993,1.5218399,5.5493498],[1.1152079,1.5218399,5.1969128],[1.144577,2.3018837,5.0579844],[1.1529684,2.3018837,5.4104218],[1.0393271,1.5487978,5.5366302],[1.0314392,1.5487978,5.2053394],[1.0590461,2.2820389,5.0747471],[1.0669341,2.2820389,5.4060378]],"facets":10,"panels":[[1.161463,2.1963477,5.3221474],[1.1399935,1.62612,5.4237065],[1.1366785,1.6261201,5.2844734],[1.1581479,2.1963477,5.1829138],[1.2213935,2.1938372,5.3207207],[1.199924,1.6236094,5.4222798],[1.196609,1.6236095,5.2830462],[1.2180784,2.1938372,5.1814871],[1.2401345,2.1730177,5.3034987],[1.2201698,1.642755,5.3979402],[1.2178216,1.6427552,5.2993169],[1.2377863,2.1730177,5.2048755]],"bolts":4},
"Torso.Belt2.L": {"solid":[[-1.1857651,2.2654498,5.3802838],[-1.1790659,2.2654498,5.0989141],[-1.15233,1.5553447,5.2253861],[-1.1590292,1.5553447,5.5067554],[-1.1529684,2.3018837,5.4104218],[-1.144577,2.3018837,5.0579844],[-1.1152079,1.5218399,5.1969128],[-1.1235993,1.5218399,5.5493498],[-1.0669341,2.2820389,5.4060383],[-1.0590461,2.2820389,5.0747471],[-1.0314392,1.5487978,5.2053394],[-1.0393271,1.5487978,5.5366302]],"facets":10,"panels":[[-1.1366785,1.62612,5.2844734],[-1.1399935,1.62612,5.4237065],[-1.161463,2.1963477,5.3221474],[-1.1581479,2.1963477,5.1829138],[-1.1716379,1.6246555,5.2836409],[-1.174953,1.6246555,5.422874],[-1.1964225,2.1948833,5.3213153],[-1.1931074,2.1948833,5.1820812],[-1.1928506,1.6438012,5.2999115],[-1.1951988,1.6438012,5.3985343],[-1.2151635,2.1740639,5.3040934],[-1.2128153,2.1740639,5.2054701]],"bolts":4},
"Torso.Belt3.R": {"solid":[[1.0221877,0.7020862,5.6781473],[1.0325204,0.81351,5.3773651],[1.1108152,1.3995476,5.2550621],[1.1154573,1.3998268,5.5356541],[0.9808402,0.6525131,5.7254996],[0.9938226,0.7925092,5.3475885],[1.0801847,1.4389318,5.2126832],[1.0860105,1.4392823,5.5648246],[0.9098068,0.6883913,5.7109475],[0.9220102,0.8199875,5.355711],[1.0031906,1.4276248,5.2289],[1.0086669,1.4279542,5.5599132]],"facets":10,"panels":[],"bolts":0},
"Torso.Belt3.L": {"solid":[[-1.1154573,1.3998268,5.5356541],[-1.1108152,1.3995476,5.2550621],[-1.0325204,0.81351,5.3773651],[-1.0221877,0.7020862,5.6781473],[-1.0860105,1.4392823,5.5648246],[-1.0801847,1.4389318,5.2126832],[-0.9938226,0.7925092,5.3475885],[-0.9808403,0.6525132,5.7254992],[-1.0086669,1.4279542,5.5599132],[-1.0031906,1.4276248,5.2289],[-0.9220102,0.8199875,5.355711],[-0.9098068,0.6883913,5.7109475]],"facets":10,"panels":[],"bolts":0},
"Torso.Lip1.R": {"solid":[[1.0201858,2.4545801,4.9563909],[0.7262938,2.4538357,4.8369279],[0.6996334,3.2962456,4.6738377],[0.9670646,3.2954555,4.7828097],[1.0420594,2.4259324,5.0087824],[0.6817942,2.4250197,4.8623395],[0.6529431,3.3366497,4.6858482],[0.9845879,3.33567,4.8209863],[1.0132276,2.4606547,5.0400338],[0.6745782,2.4597969,4.9023776],[0.6474582,3.3167291,4.7364755],[0.9592044,3.3158081,4.8635054]],"facets":10,"panels":[],"bolts":0},
"Torso.Lip1.L": {"solid":[[-0.9670646,3.2954555,4.7828097],[-0.6996334,3.2962456,4.6738377],[-0.7262938,2.4538357,4.8369279],[-1.0201858,2.4545801,4.9563909],[-0.9845879,3.33567,4.8209863],[-0.652943,3.3366497,4.6858482],[-0.6817942,2.4250197,4.8623395],[-1.0420594,2.4259324,5.0087824],[-0.9592044,3.3158081,4.8635054],[-0.6474582,3.3167291,4.7364755],[-0.6745782,2.4597969,4.9023776],[-1.0132276,2.4606547,5.0400338]],"facets":10,"panels":[],"bolts":0},
"Torso.Lip2.R": {"solid":[[0.9911727,1.3502163,5.1321969],[0.7006019,1.3504183,5.0175533],[0.7322098,2.2920723,4.8499608],[1.0295374,2.2922714,4.9671926],[1.0096952,1.3218635,5.1831384],[0.6542254,1.3221107,5.0428891],[0.6881451,2.3326383,4.8630385],[1.0508684,2.3328812,5.0060549],[0.9839019,1.360075,5.2147918],[0.6497603,1.3603073,5.0829573],[0.6816448,2.3102033,4.9138975],[1.0226047,2.3104317,5.0483332]],"facets":10,"panels":[[0.9216167,1.4226836,5.1127429],[0.7608439,1.4227954,5.0493107],[0.7878281,2.226702,4.9062343],[0.9543645,2.2268133,4.9718971],[0.9342599,1.416554,5.080687],[0.7734872,1.4166658,5.0172548],[0.8004714,2.2205722,4.8741784],[0.9670078,2.2206838,4.9398413],[0.9236757,1.4327556,5.0515776],[0.799988,1.4328415,5.0027776],[0.8256512,2.1973917,4.8667054],[0.9548187,2.1974781,4.917634]],"bolts":4},
"Torso.Lip2.L": {"solid":[[-1.0295374,2.2922711,4.9671926],[-0.7322098,2.2920723,4.8499608],[-0.7006019,1.3504183,5.0175533],[-0.9911727,1.3502163,5.1321969],[-1.0508684,2.3328812,5.0060549],[-0.6881451,2.3326383,4.8630385],[-0.6542254,1.3221107,5.0428891],[-1.0096952,1.3218635,5.1831384],[-1.0226047,2.3104315,5.0483332],[-0.6816448,2.3102033,4.9138975],[-0.6497603,1.3603073,5.0829573],[-0.9839019,1.360075,5.2147918]],"facets":10,"panels":[[-0.9216166,1.4226835,5.1127429],[-0.9543644,2.2268131,4.9718971],[-0.7878281,2.2267017,4.9062343],[-0.7608438,1.4227953,5.0493107],[-0.9432907,1.4121755,5.0577903],[-0.9760386,2.2163053,4.916944],[-0.8095022,2.2161939,4.8512812],[-0.7825179,1.4122874,4.9943581],[-0.9327064,1.4283772,5.0286808],[-0.9638494,2.1930995,4.8947372],[-0.834682,2.1930132,4.8438082],[-0.8090188,1.4284631,4.9798803]],"bolts":4},
"Torso.Lip3.R": {"solid":[[0.8676552,0.5484633,5.3409948],[0.629285,0.5507765,5.2378912],[0.6864839,1.1930634,5.0655351],[0.9688227,1.1951368,5.1861811],[0.8812362,0.5239664,5.3939147],[0.5808482,0.5268815,5.2639861],[0.6439989,1.2360016,5.0736952],[0.9930302,1.2385647,5.2228398],[0.8577532,0.5576117,5.4243941],[0.5753885,0.5603519,5.3022614],[0.6347501,1.2269248,5.1233878],[0.9628395,1.2293341,5.2635837]],"facets":10,"panels":[],"bolts":0},
"Torso.Lip3.L": {"solid":[[-0.9688227,1.1951368,5.1861811],[-0.6864839,1.1930634,5.0655351],[-0.629285,0.5507765,5.2378912],[-0.8676552,0.5484633,5.3409948],[-0.9930302,1.2385647,5.2228398],[-0.6439989,1.2360016,5.0736952],[-0.5808482,0.5268815,5.2639861],[-0.8812362,0.5239664,5.3939147],[-0.9628395,1.2293341,5.2635837],[-0.6347501,1.2269248,5.1233878],[-0.5753885,0.5603519,5.3022614],[-0.8577532,0.5576117,5.4243941]],"facets":10,"panels":[],"bolts":0},
"Torso.Hood1D.R": {"solid":[[0.12437,-0.5841965,6.4268317],[0.3345847,-0.5832529,6.3944097],[0.4716979,0.3567483,6.2592425],[0.1423651,0.3574846,6.3097682],[0.0838059,-0.6232779,6.4021449],[0.3593167,-0.6220412,6.3596516],[0.5065353,0.3872391,6.2145228],[0.1031336,0.388141,6.276412],[0.0832575,-0.6018638,6.3232055],[0.3422377,-0.6007013,6.2832618],[0.4806232,0.3480221,6.1468406],[0.1014256,0.3488699,6.2050166]],"facets":10,"panels":[[0.3884488,0.2850463,6.2603598],[0.2072538,0.2854514,6.2881584],[0.1919241,-0.5167541,6.3878837],[0.2715463,-0.5163967,6.3756032],[0.3974983,0.2921931,6.3192415],[0.2163033,0.2925983,6.3470402],[0.2009735,-0.5096073,6.4467649],[0.2805958,-0.5092499,6.4344845],[0.3775912,0.2747698,6.3447957],[0.2387213,0.2750803,6.3661008],[0.224153,-0.4872751,6.4608717],[0.2664632,-0.4870851,6.4543462]],"bolts":4},
"Torso.Hood1D.L": {"solid":[[-0.1423651,0.3574846,6.3097682],[-0.4716979,0.3567483,6.2592425],[-0.3345847,-0.5832529,6.3944097],[-0.12437,-0.5841965,6.4268317],[-0.1031336,0.388141,6.276412],[-0.5065353,0.3872391,6.2145228],[-0.3593167,-0.6220412,6.3596516],[-0.0838059,-0.6232779,6.4021449],[-0.1014256,0.3488699,6.2050166],[-0.4806232,0.3480221,6.1468406],[-0.3422377,-0.6007013,6.2832618],[-0.0832575,-0.6018638,6.3232055]],"facets":10,"panels":[[-0.1919241,-0.516754,6.3878837],[-0.2072538,0.2854515,6.2881584],[-0.3884487,0.2850464,6.2603598],[-0.2715462,-0.5163966,6.3756032],[-0.1972029,-0.512585,6.4222312],[-0.2125326,0.2896205,6.322506],[-0.3937276,0.2892154,6.2947073],[-0.2768251,-0.5122277,6.4099507],[-0.2203824,-0.4902529,6.4363379],[-0.2349506,0.2721025,6.341567],[-0.3738205,0.2717921,6.3202615],[-0.2626925,-0.490063,6.4298124]],"bolts":4},
"Torso.Hood1F.R": {"solid":[[0.4889922,-0.6167604,6.2126741],[0.6078163,-0.6218183,5.8866138],[0.9811482,0.6417188,5.4644799],[0.7089781,0.487129,6.133101],[0.4376203,-0.6451254,6.2363691],[0.5786441,-0.6511283,5.8493915],[0.9770675,0.6957217,5.3981285],[0.6700795,0.5213558,6.1522841],[0.3732574,-0.5951188,6.1853604],[0.5058198,-0.6007615,5.8216019],[0.8803378,0.6652775,5.3974147],[0.5917692,0.5013735,6.1063209]],"facets":11,"panels":[[0.6432545,0.1313842,6.0858674],[0.5083398,-0.5456179,6.1346684],[0.5838301,-0.5488312,5.9275188],[0.7427546,-0.0109527,5.7478194],[0.6988522,0.1217758,6.1062775],[0.5639374,-0.5552263,6.1550784],[0.6394277,-0.5584396,5.9479289],[0.7983524,-0.0205611,5.76823],[0.7187667,0.0906101,6.0961523],[0.5932928,-0.5390178,6.1415386],[0.6564021,-0.5417041,5.9683633],[0.8062518,-0.0345391,5.7989254],[0.7033786,0.4330879,6.0641189],[0.6795222,0.3133766,6.0727487],[0.7913266,0.1534384,5.6928978],[0.9083525,0.5495109,5.5605745],[0.7358106,0.427483,6.076025],[0.7119542,0.3077717,6.0846543],[0.8237587,0.1478335,5.7048035],[0.9407845,0.543906,5.5724802],[0.7580383,0.4079248,6.065063],[0.7399283,0.3170487,6.0716138],[0.8424519,0.1703869,5.7232943],[0.9438132,0.513443,5.6086831]],"bolts":8},
"Torso.Hood1F.L": {"solid":[[-0.7089781,0.487129,6.133101],[-0.9811482,0.6417188,5.4644799],[-0.6078163,-0.6218184,5.8866138],[-0.4889922,-0.6167604,6.2126741],[-0.6700795,0.5213558,6.1522841],[-0.9770675,0.6957217,5.3981285],[-0.5786441,-0.6511284,5.8493915],[-0.4376203,-0.6451254,6.2363691],[-0.5917692,0.5013735,6.1063209],[-0.8803378,0.6652775,5.3974147],[-0.5058198,-0.6007615,5.8216019],[-0.3732574,-0.5951188,6.1853604]],"facets":11,"panels":[[-0.7033787,0.4330879,6.0641189],[-0.9083524,0.5495109,5.5605745],[-0.7575487,0.0391177,5.7310915],[-0.654301,0.1868157,6.0818715],[-0.7589764,0.4234796,6.0845289],[-0.9639502,0.5399025,5.5809851],[-0.8131465,0.0295093,5.751502],[-0.7098987,0.1772073,6.1022816],[-0.7812041,0.4039214,6.0735674],[-0.9669788,0.5094395,5.617188],[-0.8318397,0.0520627,5.7699924],[-0.7378727,0.1864843,6.089241],[-0.7089766,-0.1252735,5.7860131],[-0.5838298,-0.5488313,5.9275193],[-0.5083395,-0.5456179,6.1346688],[-0.6180329,0.0048233,6.0949907],[-0.7414086,-0.1308784,5.7979188],[-0.6162618,-0.5544362,5.939425],[-0.5407715,-0.5512229,6.146575],[-0.6504649,-0.0007816,6.1068964],[-0.7493081,-0.1448564,5.8286147],[-0.6332361,-0.5377007,5.9598594],[-0.5701269,-0.5350143,6.1330347],[-0.6703794,-0.0319473,6.0967712]],"bolts":8},
"Torso.Hood2D.R": {"solid":[[0.1169894,-1.4431006,6.374145],[0.2846297,-1.4431865,6.3402987],[0.3272185,-0.6630456,6.3564939],[0.1229361,-0.6631249,6.3977323],[0.0754922,-1.4769762,6.3457222],[0.3101459,-1.4770966,6.2983465],[0.3565559,-0.6269588,6.3159947],[0.0819721,-0.6270654,6.3714247],[0.0704687,-1.4494553,6.2812676],[0.2910432,-1.4495684,6.2367344],[0.3346686,-0.6504388,6.2533236],[0.0765598,-0.650539,6.3054276]],"facets":10,"panels":[],"bolts":0},
"Torso.Hood2D.L": {"solid":[[-0.1229361,-0.6631249,6.3977323],[-0.3272185,-0.6630456,6.3564939],[-0.2846297,-1.4431865,6.3402987],[-0.1169894,-1.4431006,6.374145],[-0.0819721,-0.6270654,6.3714247],[-0.3565559,-0.6269588,6.3159947],[-0.3101459,-1.4770966,6.2983465],[-0.0754922,-1.4769762,6.3457222],[-0.0765598,-0.650539,6.3054276],[-0.3346686,-0.6504388,6.2533236],[-0.2910432,-1.4495684,6.2367344],[-0.0704687,-1.4494553,6.2812676]],"facets":10,"panels":[],"bolts":0},
"Torso.Hood2F.R": {"solid":[[0.4256355,-1.4462472,6.1845303],[0.4919126,-1.4467067,5.924593],[0.5590963,-0.6859823,5.8780618],[0.4755452,-0.6863772,6.2054691],[0.3808642,-1.4786416,6.2088552],[0.4636741,-1.4792155,5.8840771],[0.5370334,-0.6485647,5.8332686],[0.4353537,-0.6490453,6.2317157],[0.3127733,-1.4484841,6.1801996],[0.3906146,-1.4490235,5.874908],[0.4595724,-0.6682117,5.827148],[0.3639935,-0.6686635,6.2016883]],"facets":10,"panels":[],"bolts":0},
"Torso.Hood2F.L": {"solid":[[-0.4755452,-0.6863772,6.2054691],[-0.5590963,-0.6859823,5.8780618],[-0.4919126,-1.4467067,5.924593],[-0.4256355,-1.4462472,6.1845303],[-0.4353537,-0.6490453,6.2317157],[-0.5370334,-0.6485647,5.8332686],[-0.4636741,-1.4792155,5.8840771],[-0.3808642,-1.4786416,6.2088552],[-0.3639935,-0.6686635,6.2016883],[-0.4595724,-0.6682117,5.827148],[-0.3906146,-1.4490235,5.874908],[-0.3127733,-1.4484841,6.1801996]],"facets":10,"panels":[],"bolts":0},
"Torso.Hood3D.R": {"solid":[[0.1032437,-2.2453222,6.2714987],[0.2205016,-2.2456303,6.2435641],[0.2724218,-1.5248752,6.2962074],[0.1108723,-1.5251584,6.33463],[0.0607521,-2.277041,6.2426353],[0.244008,-2.2775223,6.1989779],[0.3009622,-1.4868872,6.2567248],[0.0691178,-1.4872937,6.3118663],[0.0545442,-2.2485428,6.1899295],[0.2268047,-2.2489953,6.1488914],[0.2803416,-1.5057983,6.2031736],[0.0624079,-1.5061804,6.2550068]],"facets":10,"panels":[],"bolts":0},
"Torso.Hood3D.L": {"solid":[[-0.1108722,-1.5251584,6.33463],[-0.2724218,-1.5248752,6.2962074],[-0.2205016,-2.2456303,6.2435641],[-0.1032437,-2.2453222,6.2714987],[-0.0691178,-1.4872937,6.3118663],[-0.3009622,-1.4868872,6.2567248],[-0.244008,-2.2775223,6.1989779],[-0.0607521,-2.277041,6.2426353],[-0.0624079,-1.5061804,6.2550068],[-0.2803416,-1.5057983,6.2031736],[-0.2268047,-2.2489953,6.1488914],[-0.0545442,-2.2485428,6.1899295]],"facets":10,"panels":[],"bolts":0},
"Torso.Hood3F.R": {"solid":[[0.3368095,-2.2442985,6.1210251],[0.3540591,-2.2438414,6.0513573],[0.4430484,-1.5238899,5.9266953],[0.3822896,-1.5235535,6.1727257],[0.2923129,-2.2766652,6.144166],[0.3244511,-2.2758133,6.0143657],[0.4220367,-1.4863158,5.8776622],[0.3422129,-1.4858738,6.2008915],[0.2325801,-2.2478509,6.1235294],[0.2627901,-2.24705,6.0015173],[0.3545205,-1.5049223,5.8730159],[0.2794862,-1.5045068,6.1768513]],"facets":10,"panels":[],"bolts":0},
"Torso.Hood3F.L": {"solid":[[-0.3822896,-1.5235535,6.1727257],[-0.4430485,-1.5238899,5.9266953],[-0.3540591,-2.2438414,6.0513573],[-0.3368095,-2.2442985,6.1210251],[-0.3422129,-1.4858738,6.2008915],[-0.4220367,-1.4863158,5.8776622],[-0.3244511,-2.2758133,6.0143661],[-0.2923129,-2.2766652,6.144166],[-0.2794861,-1.5045068,6.1768513],[-0.3545205,-1.5049223,5.8730159],[-0.2627901,-2.24705,6.0015173],[-0.2325801,-2.2478509,6.1235294]],"facets":10,"panels":[],"bolts":0},
"Torso.HoodLip.R": {"solid":[[0.3319675,-2.1517057,5.8672805],[0.2972293,-2.1460621,5.8425512],[0.6060616,0.3312727,5.2865472],[0.7946815,0.3373919,5.4095373],[0.3353004,-2.1816168,5.9219961],[0.2456244,-2.1670485,5.8581576],[0.5622626,0.3729025,5.2881007],[0.8116803,0.380994,5.4507341],[0.3257884,-2.0959625,5.932734],[0.241493,-2.0822682,5.872726],[0.5391329,0.3052856,5.3368726],[0.7735855,0.3128915,5.4897475]],"facets":10,"panels":[],"bolts":0},
"Torso.HoodLip.L": {"solid":[[-0.7946815,0.3373919,5.4095373],[-0.6060616,0.3312727,5.2865472],[-0.2972293,-2.1460621,5.8425512],[-0.3319675,-2.1517057,5.8672805],[-0.8116803,0.380994,5.4507341],[-0.5622626,0.3729025,5.2881007],[-0.2456244,-2.1670485,5.8581576],[-0.3353004,-2.1816168,5.9219961],[-0.7735855,0.3128915,5.4897475],[-0.5391329,0.3052856,5.3368726],[-0.241493,-2.0822682,5.872726],[-0.3257884,-2.0959625,5.932734]],"facets":10,"panels":[],"bolts":0}
}}
]}

View file

@ -2267,7 +2267,7 @@ class OwnershipTests(unittest.TestCase):
return {p.name: p.read_text(encoding="utf-8") for p in sorted((SURFACE / "brokkr_kitbash").rglob("*")) if p.suffix in (".py", ".json")}
def test_no_pattern_matches(self):
self.assertEqual(sorted(self.sources()), ["__init__.py", "brokkr_actions.json", "core.py", "cutters.v0.json", "frame.v0.json", "mechanical.v0.json", "ram.py", "route.py"])
self.assertEqual(sorted(self.sources()), ["__init__.py", "brokkr_actions.json", "core.py", "cutters.v0.json", "frame.v0.json", "mechanical.v0.json", "plate.py", "ram.py", "route.py"])
for pattern in self.PACKAGE:
for name, text in self.sources().items():
if pattern is self.PACKAGE[2] and name == "__init__.py":
@ -2279,6 +2279,9 @@ class OwnershipTests(unittest.TestCase):
self.assertIn('modifier.solver = "MANIFOLD"', source.split("class BROKKR_KITBASH_OT_ribs(")[1].split("class BROKKR_KITBASH_OT_")[0])
self.assertIn('"COLLECTION", "EXACT", True', source.split("def operation_collection(")[1].split("\n\n\n")[0])
self.assertIsNone(re.search(self.CORE, self.sources()["core.py"], re.M))
# plate.py is core's kind: no Blender, no experiment module, and no random source but a seeded one
self.assertIsNone(re.search(self.CORE, self.sources()["plate.py"], re.M))
self.assertIsNone(re.search(r"Random\(\)|^\s*(import|from)\s+(massing|mechlib|surface|mathutils)", self.sources()["plate.py"], re.M))
schemas = [p for p in (SURFACE.parents[1] / "schemas").rglob("*") if p.is_file()]
self.assertTrue(schemas)
for path in schemas:

View file

@ -0,0 +1,573 @@
"""Hard plate tests. No Blender: brokkr_kitbash/plate.py against solids with known corners and against the three mech
tracks' own builders (fixtures/plates_*.json: each a table and the truth its branch's builder made in Blender 5.3).
Run: python3 -m unittest discover -s surfaces/blender/tests -v (needs numpy; skipped without it)
The truth is float32 (mathutils and Blender meshes) and plate.py is float64; KNOWN lists every fixture plate where
that, a corner the branch's builder lost, or a tie Blender's mesh order decided keeps the two apart, with what it
is held to instead.
"""
from __future__ import annotations
import copy
import hashlib
import importlib
import inspect
import json
import math
import sys
import types
import unittest
from pathlib import Path
SURFACE = Path(__file__).resolve().parents[1]
FIXTURES = Path(__file__).resolve().parent / "fixtures"
try:
import numpy as np
except ImportError: # pragma: no cover
np = None
if np is not None:
package = types.ModuleType("brokkr_kitbash_plates") # the package's own __init__ wants bpy
package.__path__ = [str(SURFACE / "brokkr_kitbash")]
sys.modules["brokkr_kitbash_plates"] = package
plate = importlib.import_module("brokkr_kitbash_plates.plate")
BOX = [{"at": [1, 0, 0], "normal": [1, 0, 0]}, {"at": [-1, 0, 0], "normal": [-1, 0, 0]}, {"at": [0, 1, 0], "normal": [0, 1, 0]},
{"at": [0, -1, 0], "normal": [0, -1, 0]}, {"at": [0, 0, 1], "normal": [0, 0, 1]}, {"through": [[0, 0, -1], [1, 0, -1], [0, 1, -1]], "out": [0, 0, -1]}]
CLAD = {"mat": "olive_light", "min_area": 0.2, "lifts": [0.04, 0.07], "inset": 0.075, "gap": 0.045, "split": 0.8, "seed": 5}
SLAB = {"at": [0.5, 1.0, 0.0], "normal": [0.06, 1, 0.05], "outline": {"w": 0.8, "h": 1.2, "clip": 0.1}, "thick": 0.2}
def doc(*rows):
return {"schema": "brokkr.plates.v0", "plates": [copy.deepcopy(r) for r in rows]}
def row(name="p", **more):
out = {"name": name, "mat": "olive"}
out.update(copy.deepcopy(more))
if not any(k in out for k in ("faces", "slab", "sections", "points")):
out["faces"] = copy.deepcopy(BOX)
return out
def volume(mesh):
V, faces = mesh
return sum(float(np.dot(V[f[0]], np.cross(V[f[i]], V[f[i + 1]]))) for f in faces for i in range(1, len(f) - 1)) / 6
def apart(a, b):
"""How far two point sets stand from each other: the farthest any point of one is from the other's nearest."""
a, b = np.asarray(a, dtype=float).reshape(-1, 3), np.asarray(b, dtype=float).reshape(-1, 3)
if not len(a) or not len(b):
return 0.0 if len(a) == len(b) else math.inf
d = np.linalg.norm(a[:, None, :] - b[None, :, :], axis=2)
return float(max(d.min(axis=1).max(), d.min(axis=0).max()))
def fixture(mech):
return json.loads((FIXTURES / f"plates_{mech}.json").read_text(encoding="utf-8"))
def across(mesh):
"""A mesh mirrored across x = 0, each face wound the other way from where it started."""
return mesh[0] * (-1, 1, 1), [face[:1] + face[:0:-1] for face in mesh[1]]
def rings(panels):
"""Every panel's three rings (under the facet, under the rim, the rim), each flat in its own plane as (n, 2)."""
V, faces = panels
at = 0
while at < len(faces):
n = len(faces[at])
cap = V[faces[at + 1]]
normal = np.cross(cap - cap.mean(axis=0), np.roll(cap, -1, axis=0) - cap.mean(axis=0)).sum(axis=0)
x, y = plate._stand(normal / np.linalg.norm(normal))
low = min(faces[at])
yield [np.column_stack((V[low + k * n:low + (k + 1) * n] @ x, V[low + k * n:low + (k + 1) * n] @ y)) for k in range(3)]
at += 2 + 2 * n
@unittest.skipIf(np is None, "numpy is not installed")
class CheckTests(unittest.TestCase):
def refused(self, document, path):
with self.assertRaises(plate.PlateError) as caught:
plate.check(document)
self.assertIn(path, str(caught.exception))
def test_defaults_are_written_in_and_check_takes_its_own_answer(self):
table = plate.check(doc(row(slab=SLAB, clad=CLAD)))
slab = table["plates"][0]["slab"]
self.assertEqual((slab["taper"], slab["back"], slab["gap"], slab["up"]), (0.04, 1.0, 0.0, [0.0, 0.0, 1.0]))
self.assertEqual((table["plates"][0]["sides"], table["plates"][0]["mirror"], table["plates"][0]["clad"]["facets"], table["plates"][0]["clad"]["bolt_r"]), ("one", False, "outer", 0.028))
self.assertEqual(plate.check(table), table)
def test_schema(self):
self.refused({"schema": "brokkr.plates.v1", "plates": [row()]}, "document.schema")
def test_unknown_key(self):
self.refused(doc(row(colour="red")), "plates[0].colour")
self.refused(doc(row(slab=dict(SLAB, depth=1))), "plates[0].slab.depth")
self.refused(doc(row(slab=SLAB, clad=dict(CLAD, lift=0.1))), "plates[0].clad.lift")
self.refused(dict(doc(row()), units="m"), "document.units")
def test_no_solid_form_and_two(self):
bare = {"name": "p", "mat": "olive"}
self.refused(doc(bare), "plates[0]: wants exactly one solid form")
self.refused(doc(row(points=[[0, 0, 0], [1, 0, 0], [0, 1, 0], [0, 0, 1]], faces=BOX)), "plates[0]: wants exactly one solid form")
def test_duplicate_name(self):
self.refused(doc(row("a"), row("a")), "plates[1].name")
self.refused(doc(row("a", sides="both"), row("a.L")), "plates[1].name")
def test_name(self):
self.refused(doc(row("a b")), "plates[0].name")
self.refused(doc(row("a" * 49)), "plates[0].name")
def test_non_finite_number(self):
self.refused(doc(row(slab=dict(SLAB, at=[0, math.nan, 0]))), "plates[0].slab.at[1]")
self.refused(doc(row(points=[[0, 0, 0], [1, 0, 0], [0, 1, 0], [0, 0, math.inf]])), "plates[0].points[3][2]")
self.refused(doc(row(slab=dict(SLAB, thick=True))), "plates[0].slab.thick")
def test_outline_under_three_points(self):
self.refused(doc(row(slab=dict(SLAB, outline=[[0, 0], [1, 0]]))), "plates[0].slab.outline")
def test_outline_of_sixty_five_points(self):
ring = [[math.cos(2 * math.pi * k / 65), math.sin(2 * math.pi * k / 65)] for k in range(65)]
self.refused(doc(row(slab=dict(SLAB, outline=ring))), "plates[0].slab.outline")
plate.check(doc(row(slab=dict(SLAB, outline=ring[:64]))))
def test_outline_crossing_itself(self):
self.refused(doc(row(slab=dict(SLAB, outline=[[0, 0], [2, 2], [2, 0], [0, 1]]))), "plates[0].slab.outline: the outline crosses itself")
def test_outline_of_zero_area(self):
self.refused(doc(row(slab=dict(SLAB, outline=[[0, 0], [1, 0], [2, 0]]))), "plates[0].slab.outline: the outline has zero area")
def test_slab_ranges(self):
for key, low, high in (("thick", 0.0005, 2.5), ("taper", -0.01, 0.6), ("back", 0.05, 1.6), ("gap", -0.01, 0.6)):
for value in (low, high):
self.refused(doc(row(slab=dict(SLAB, **{key: value}))), f"plates[0].slab.{key}")
def test_taper_half_the_least_width(self):
self.refused(doc(row(slab=dict(SLAB, outline=[[0, 0], [1, 0], [1, 0.2], [0, 0.2]], taper=0.1))), "plates[0].slab.taper")
plate.check(doc(row(slab=dict(SLAB, outline=[[0, 0], [1, 0], [1, 0.2], [0, 0.2]], taper=0.09))))
def test_corners_off_their_plane(self):
slab = {"corners": [[0, 0, 0], [1, 0, 0], [1, 1, 0.5], [0, 1, 0]], "inside": [0.5, 0.5, -1], "thick": 0.1}
self.refused(doc(row(slab=slab)), "plates[0].slab.corners")
plate.check(doc(row(slab=dict(slab, corners=[[0, 0, 0], [1, 0, 0], [1, 1, 0.1], [0, 1, 0]]))))
def test_faces_that_bound_nothing(self):
self.refused(doc(row(faces=BOX[:4])), "plates[0].faces")
self.refused(doc(row(faces=BOX[:5] + [{"at": [0, 0, 2], "normal": [0, 0, -1]}])), "plates[0].faces")
open_box = BOX[:5] + [{"at": [0, 0, -5000], "normal": [0, 0, -1]}]
self.refused(doc(row(faces=open_box)), "plates[0].faces")
def test_coplanar_points(self):
self.refused(doc(row(points=[[0, 0, 0], [1, 0, 0], [0, 1, 0], [1, 1, 0], [0.3, 0.2, 0]])), "plates[0]: the points lie in one plane")
def test_seed_pair_on_a_one_sided_row(self):
self.refused(doc(row(slab=SLAB, clad=dict(CLAD, seed=[1, 2]))), "plates[0].clad.seed")
plate.check(doc(row(slab=SLAB, sides="both", clad=dict(CLAD, seed=[1, 2]))))
def test_no_default_seed(self):
self.refused(doc(row(slab=SLAB, clad={k: v for k, v in CLAD.items() if k != "seed"})), "plates[0].clad.seed")
self.refused(doc(row(slab=SLAB, clad=dict(CLAD, seed=1.5))), "plates[0].clad.seed")
def test_up_along_the_normal(self):
self.refused(doc(row(slab=dict(SLAB, normal=[0, 0, 1]))), "plates[0].slab.normal")
plate.check(doc(row(slab=dict(SLAB, normal=[0, 0, 1], up=[0, 1, 0]))))
def test_unknown_fit_kind(self):
with self.assertRaises(plate.PlateError) as caught:
plate.check(doc(row(slab=SLAB, fits=[{"kind": "bolts", "at": [0, 0]}])))
self.assertIn("plates[0].fits[0].kind", str(caught.exception))
self.assertIn("mark, hose_port", str(caught.exception))
def test_duplicate_anchor_name(self):
fits = [{"kind": "mark", "id": "a", "at": [0, 0], "height": 0.3}, {"kind": "hose_port", "name": "a", "at": [0.1, 0]}]
self.refused(doc(row(slab=SLAB, fits=fits)), "plates[0].fits[1]")
def test_fit_without_a_face(self):
self.refused(doc(row(fits=[{"kind": "hose_port", "name": "a", "at": [0, 0]}])), "plates[0].fits[0]")
self.refused(doc(row(slab=SLAB, face={"at": [0, 0, 0], "normal": [0, 1, 0]})), "plates[0].face")
def test_outer_wants_a_face(self):
self.refused(doc(row(clad=dict(CLAD, facets="outer"))), "plates[0].clad.facets")
self.refused(doc(row(clad=CLAD)), "plates[0].clad.facets")
def test_rows(self):
self.refused({"schema": "brokkr.plates.v0", "plates": [row(f"p{k}") for k in range(257)]}, "plates: wants 1 to 256")
self.refused({"schema": "brokkr.plates.v0", "plates": []}, "plates: wants 1 to 256")
def test_side(self):
with self.assertRaises(plate.PlateError):
plate.build(doc(row()), 0)
@unittest.skipIf(np is None, "numpy is not installed")
class SolidTests(unittest.TestCase):
def test_a_cube_from_six_faces(self):
made = plate.build(doc(row()))[0]
self.assertEqual(made["report"], {"corners": 8, "facets": 6, "panels": 0, "bolts": 0})
self.assertEqual(sorted(map(tuple, np.round(made["solid"][0]).astype(int).tolist())), sorted((x, y, z) for x in (-1, 1) for y in (-1, 1) for z in (-1, 1)))
self.assertAlmostEqual(volume(made["solid"]), 8.0, places=12)
def test_a_slab_has_a_flat_outer_face_and_its_taper_ring(self):
made = plate.build(doc(row(slab=dict(SLAB, back=0.9))))[0]
V, faces = made["solid"]
n = np.array(SLAB["normal"]) / np.linalg.norm(SLAB["normal"])
depth = np.round((V - np.array(SLAB["at"])) @ n, 9)
self.assertEqual(sorted(set(depth.tolist())), [-0.2, -0.04, 0.0])
self.assertEqual([int((depth == d).sum()) for d in (0.0, -0.04, -0.2)], [8, 8, 8])
outer = [f for f, facet in zip(faces, made["facets"]) if facet["normal"] @ n > 0.999]
self.assertEqual(len(outer), 1)
self.assertEqual(len(outer[0]), 8)
self.assertAlmostEqual(made["facets"][faces.index(outer[0])]["area"], (0.8 - 0.08) * (1.2 - 0.08) - 2 * (0.1 - 0.04 * (2 - math.sqrt(2))) ** 2, places=9)
ring, rear = V[depth == -0.04], V[depth == -0.2]
middle = ring.mean(axis=0) - n * 0.16
self.assertLess(apart(rear, middle + (ring - n * 0.16 - middle) * 0.9), 1e-12)
def test_an_outline_as_a_clipped_rectangle_is_its_eight_points(self):
ring = [[-0.3, 0.6], [0.3, 0.6], [0.4, 0.5], [0.4, -0.5], [0.3, -0.6], [-0.3, -0.6], [-0.4, -0.5], [-0.4, 0.5]]
a, b = plate.build(doc(row(slab=SLAB)))[0], plate.build(doc(row(slab=dict(SLAB, outline=ring[::-1]))))[0]
self.assertLess(apart(a["solid"][0], b["solid"][0]), 1e-12)
self.assertEqual(len(plate.build(doc(row(slab=dict(SLAB, outline={"w": 0.8, "h": 1.2, "clip": 0}))))[0]["solid"][0]), 12)
def test_a_gap_draws_the_outline_in(self):
wide, drawn = (plate.build(doc(row(slab=dict(SLAB, outline=[[0, 0], [1, 0], [1, 1], [0, 1]], taper=0.0, gap=g))))[0] for g in (0.0, 0.1))
self.assertAlmostEqual(wide["facets"][0]["area"], 1.0, places=12)
self.assertAlmostEqual(drawn["facets"][0]["area"], 0.64, places=12)
def test_a_corners_slab_stands_its_lift_off_coplanar_corners(self):
corners = [[1, 0, 0], [0, 1, 0], [0, 1, 1], [1, 0, 1]] # all on x + y = 1
made = plate.build(doc(row(slab={"corners": corners, "names": ["a", "b", "c", "d"], "inside": [0, 0, 0.5], "lift": 0.06, "thick": 0.1, "taper": 0.03})))[0]
n = np.array([1.0, 1.0, 0.0]) / math.sqrt(2)
off = np.round(made["solid"][0] @ n - 1 / math.sqrt(2), 12)
self.assertEqual(sorted(set(off.tolist())), [-0.04, 0.03, 0.06])
flipped = plate.build(doc(row(slab={"corners": corners, "inside": [2, 2, 0.5], "thick": 0.1, "taper": 0.03})))[0]
self.assertEqual(sorted(set(np.round(flipped["solid"][0] @ -n + 1 / math.sqrt(2), 12).tolist())), [-0.04, 0.03, 0.06])
def test_sections(self):
made = plate.build(doc(row(sections=[[0.4, 0.9, -0.3, 0.5, 0.12], [-1.8, 0.95, -0.3, 0.5, 0.14]])))[0]
self.assertEqual(made["report"]["corners"], 16)
self.assertEqual(made["report"]["facets"], 10)
self.assertEqual(sorted(set(np.round(made["solid"][0][:, 2], 12).tolist())), [-1.8, 0.4])
def test_mirror_is_one_solid_across_the_centre(self):
half = [[0.5, 0, 0], [0.5, 1, 0], [0.5, 0, 1], [0.5, 1, 1], [0, 0, 0], [0, 1, 0], [0, 0, 1], [0, 1, 1]]
made = plate.build(doc(row(points=half, mirror=True)))[0]
self.assertEqual(made["report"]["corners"], 8)
self.assertAlmostEqual(volume(made["solid"]), 1.0, places=12)
self.assertEqual(sorted(set(made["solid"][0][:, 0].tolist())), [-0.5, 0.5])
def test_side_minus_one_is_the_mirror_and_both_sides_are_named(self):
right, left = plate.build(doc(row(slab=SLAB, sides="both")))
self.assertEqual((right["name"], right["side"], left["name"], left["side"]), ("p.R", 1, "p.L", -1))
self.assertLess(apart(right["solid"][0] * (-1, 1, 1), left["solid"][0]), 1e-12)
self.assertAlmostEqual(volume(left["solid"]), volume(right["solid"]), places=12)
self.assertEqual([e["name"] for e in plate.build(doc(row(slab=SLAB, sides="both")), -1)], ["p.L", "p.R"])
self.assertLess(apart(plate.build(doc(row(slab=SLAB)), -1)[0]["solid"][0], left["solid"][0]), 1e-12)
@unittest.skipIf(np is None, "numpy is not installed")
class HullTests(unittest.TestCase):
def roof(self, degrees):
"""A box whose top is two facets meeting on a ridge, their normals `degrees` apart."""
h = math.tan(math.radians(degrees / 2))
return [[x, y, 0] for x in (-1, 1) for y in (-1, 1)] + [[x, y, 1] for x in (-1, 1) for y in (-1, 1)] + [[0, -1, 1 + h], [0, 1, 1 + h]]
def test_facets_are_flat_closed_and_face_out(self):
for case in (row(), row(slab=SLAB), row(sections=[[0.4, 0.9, -0.3, 0.5, 0.12], [-1.8, 0.95, -0.3, 0.5, 0.14]])):
made = plate.build(doc(case))[0]
V, faces = made["solid"]
edges = {}
for face, facet in zip(faces, made["facets"]):
self.assertLess(float(np.abs((V[face] - V[face[0]]) @ facet["normal"]).max()), 1e-9)
self.assertGreater(float((facet["centre"] - V.mean(axis=0)) @ facet["normal"]), 0)
for a, b in zip(face, face[1:] + face[:1]):
edges[(a, b)] = edges.get((a, b), 0) + 1
self.assertTrue(all(count == 1 and edges.get((b, a)) == 1 for (a, b), count in edges.items()))
self.assertGreater(volume(made["solid"]), 0)
def test_facets_within_half_a_degree_are_one(self):
V, faces, facets = plate.hull(self.roof(0.4))
self.assertEqual((len(V), len(faces)), (8, 6)) # the ridge's ends turn 0.4 degrees on the gables: dropped
def test_facets_over_half_a_degree_stay_two(self):
V, faces, facets = plate.hull(self.roof(0.6))
self.assertEqual((len(V), len(faces)), (10, 7))
def test_a_vertex_on_a_straight_run_is_dropped(self):
V, faces, facets = plate.hull(self.roof(0.3))
self.assertEqual(sorted(len(f) for f in faces), [4] * 6)
def test_points_inside_and_on_edges_are_no_corners(self):
cube = [[x, y, z] for x in (0, 1) for y in (0, 1) for z in (0, 1)]
V, faces, facets = plate.hull(cube + [[0.5, 0.5, 0.5], [0.5, 0, 0], [0.5, 0.5, 0], [1, 1, 1]])
self.assertEqual((len(V), len(faces)), (8, 6))
def test_order_is_area_then_the_greater_centre(self):
V, faces, facets = plate.hull([[x, y, z] for x in (-1, 1) for y in (-2, 2) for z in (-3, 3)])
self.assertEqual([round(f["area"]) for f in facets], [24, 24, 12, 12, 8, 8])
self.assertEqual([f["normal"].round().astype(int).tolist() for f in facets], [[1, 0, 0], [-1, 0, 0], [0, 1, 0], [0, -1, 0], [0, 0, 1], [0, 0, -1]])
self.assertTrue(all(tuple(V[face[0]]) == min(tuple(V[k]) for k in face) for face in faces))
@unittest.skipIf(np is None, "numpy is not installed")
class CladTests(unittest.TestCase):
def test_same_seed_same_bytes(self):
table = doc(row("a", slab=SLAB, clad=CLAD), row("b", clad=dict(CLAD, facets="all", seed=9)))
one, two = plate.build(table), plate.build(copy.deepcopy(table))
for a, b in zip(one, two):
for key in ("solid", "panels", "bolts"):
self.assertEqual(a[key][0].tobytes(), b[key][0].tobytes())
self.assertEqual(a[key][1], b[key][1])
self.assertEqual(json.dumps(a["anchors"]), json.dumps(b["anchors"]))
def test_seed_plus_one_changes_that_plate_and_no_other(self):
table = doc(row("a", clad=dict(CLAD, facets="all", seed=9)), row("b", clad=dict(CLAD, facets="all", seed=9)))
base = plate.build(table)
table["plates"][0]["clad"]["seed"] = 10
moved = plate.build(table)
self.assertNotEqual(base[0]["panels"][0].tobytes(), moved[0]["panels"][0].tobytes())
self.assertEqual(base[1]["panels"][0].tobytes(), moved[1]["panels"][0].tobytes())
self.assertEqual(base[0]["panels"][0].tobytes(), base[1]["panels"][0].tobytes())
def test_a_seed_pair_is_right_then_left(self):
pair = plate.build(doc(row(sides="both", clad=dict(CLAD, facets="all", seed=[9, 10]))))
nine, ten = (plate.build(doc(row(clad=dict(CLAD, facets="all", seed=s))), side)[0] for s, side in ((9, 1), (10, -1)))
self.assertEqual(pair[0]["panels"][0].tobytes(), nine["panels"][0].tobytes())
self.assertEqual(pair[1]["panels"][0].tobytes(), ten["panels"][0].tobytes())
self.assertNotEqual(pair[1]["panels"][0].tobytes(), plate.build(doc(row(clad=dict(CLAD, facets="all", seed=9))), -1)[0]["panels"][0].tobytes())
def test_a_two_sided_row_with_one_seed_is_a_mirrored_pair(self):
cube = row(sides="both", clad=dict(CLAD, facets="all")) # every facet ties with another, every edge with three
skew = [[x + s, y, z] for x, y, s in ((1, 0, 0), (3, 0, 0), (4, 1, 0), (2, 1, 0)) for z in (0, 1)] # its top's two longest edges tie
for case in (cube, row(points=skew, sides="both", clad=dict(CLAD, facets="all"))):
right, left = plate.build(doc(case))
self.assertGreater(right["report"]["panels"], 6) # facets were split: the cuts are mirrored too
self.assertEqual(left["report"], right["report"])
for key in ("solid", "panels", "bolts"):
self.assertTrue(np.array_equal(across(right[key])[0], left[key][0]))
self.assertEqual(across(right[key])[1], left[key][1])
self.assertAlmostEqual(volume(left["panels"]), volume(right["panels"]), places=12)
for a, b in zip(right["facets"], left["facets"]):
self.assertTrue(np.array_equal(a["normal"] * (-1, 1, 1), b["normal"]) and np.array_equal(a["centre"] * (-1, 1, 1), b["centre"]) and a["area"] == b["area"])
back = plate.build(doc(case), -1)
self.assertEqual([e["name"] for e in back], ["p.L", "p.R"])
self.assertEqual(back[0]["panels"][0].tobytes(), left["panels"][0].tobytes())
self.assertEqual(back[1]["panels"][0].tobytes(), right["panels"][0].tobytes())
def test_a_pair_of_seeds_draws_each_side_on_its_own_solid(self):
pair = plate.build(doc(row(sides="both", clad=dict(CLAD, facets="all", seed=[5, 5]))))
self.assertGreater(apart(across(pair[0]["panels"])[0], pair[1]["panels"][0]), 0.1)
self.assertEqual(pair[1]["panels"][0].tobytes(), plate.build(doc(row(clad=dict(CLAD, facets="all"))), -1)[0]["panels"][0].tobytes())
def test_a_split_facet_takes_two_panels_and_a_whole_one_a_panel(self):
made = plate.build(doc(row(clad=dict(CLAD, facets=[{"n": [0, 0, 1], "cos": 0.9}], split=2.2))))[0]
self.assertEqual(made["report"], {"corners": 8, "facets": 6, "panels": 2, "bolts": 8})
self.assertEqual((len(made["panels"][0]), len(made["bolts"][0])), (24, 96))
self.assertGreater(volume(made["panels"]), 0)
self.assertAlmostEqual(volume(made["bolts"]), 8 * 1.5 * math.sqrt(3) * 0.028 ** 2 * 0.6 * 0.028, places=12)
tops = sorted(set(np.round(made["panels"][0][:, 2] - 1, 9).tolist()))
self.assertEqual(tops, [-0.02, 0.02, 0.04, 0.05, 0.07]) # sunk 0.02; rims at lift less 0.02; lifts 0.04 and 0.07
whole = plate.build(doc(row(clad=dict(CLAD, facets=[{"n": [0, 0, 1], "cos": 0.9}], split=4.0))))[0]
self.assertEqual(whole["report"]["panels"], 1)
def test_outer_is_the_face_and_not_its_neighbour(self):
lean = math.radians(18) # the neighbour's normal is cos 0.951 on the face's
faces = BOX[:4] + [{"at": [0, 0, 1], "normal": [0, 0, 1]}, {"at": [0, 0, -1], "normal": [0, 0, -1]}, {"at": [0.2, 0, 1], "normal": [math.sin(lean), 0, math.cos(lean)]}]
made = plate.build(doc(row(faces=faces, face={"at": [0, 0, 1], "normal": [0, 0, 1], "up": [0, 1, 0]}, clad=dict(CLAD, facets="outer", min_area=0.5, split=99))))[0]
big = [f for f in made["facets"] if f["normal"][2] > 0.9]
self.assertEqual(len(big), 2)
self.assertTrue(all(f["area"] > 0.5 for f in big))
self.assertEqual(made["report"]["panels"], 1)
def test_selectors_and_the_floor(self):
count = lambda **clad: plate.build(doc(row(clad=dict(CLAD, split=99, **clad))))[0]["report"]["panels"] # noqa: E731
self.assertEqual(count(facets="all"), 6)
self.assertEqual(count(facets="all", floor=-0.35), 5)
self.assertEqual(count(facets=[{"n": [0, 0, 1], "cos": 0.6}]), 1)
self.assertEqual(count(facets=[{"radial": [0, 0, 1], "min_r": 0.5, "cos": 0.25}]), 4)
self.assertEqual(count(facets=[{"radial": [0, 0, 1], "min_r": 1.5, "cos": 0.25}]), 0)
self.assertEqual(count(facets=[{"n": [0, 0, 1], "cos": 0.6}, {"radial": [0, 0, 1], "min_r": 0.5, "cos": 0.25}]), 5)
self.assertEqual(count(facets="all", min_area=4.5), 0)
def test_a_selector_is_mirrored_with_the_side(self):
table = doc(row(clad=dict(CLAD, split=99, facets=[{"n": [1, 0, 0], "cos": 0.9}])))
right, left = plate.build(table, 1)[0], plate.build(table, -1)[0]
self.assertGreater(float(right["panels"][0][:, 0].min()), 0.9)
self.assertLess(float(left["panels"][0][:, 0].max()), -0.9)
def test_a_tied_longest_edge_goes_to_the_greater_middle(self):
made = plate.build(doc(row(points=[[x, y, z] for x in (-2, 2) for y in (-1, 1) for z in (0, 1)], clad=dict(CLAD, split=1.0, facets=[{"n": [0, 0, 1], "cos": 0.9}]))))[0]
self.assertEqual(plate._longest([np.array(p, dtype=float) for p in ([-2, -1, 1], [2, -1, 1], [2, 1, 1], [-2, 1, 1])]), 2)
self.assertEqual(made["report"]["panels"], 2)
@unittest.skipIf(np is None, "numpy is not installed")
class AnchorTests(unittest.TestCase):
FITS = [{"kind": "mark", "id": "07", "at": [0.1, -0.05], "height": 0.42}, {"kind": "hose_port", "name": "feed", "at": [-0.2, 0.3], "lift": 0.01}]
def test_frames_stand_on_the_face(self):
mark, port = plate.build(doc(row(slab=dict(SLAB, right=[1, 0, 0]), fits=self.FITS)))[0]["anchors"]
a, b, n = plate.plane_basis(SLAB["normal"], (0, 0, 1), (1, 0, 0))
self.assertGreater(a[0], 0)
m, p = np.array(mark["matrix"]), np.array(port["matrix"])
self.assertEqual((mark["kind"], mark["name"], mark["height"], mark["mirrored"]), ("mark", "07", 0.42, False))
self.assertEqual((port["kind"], port["name"], port["mirrored"], "height" in port), ("hose_port", "feed", False, False))
self.assertLess(float(np.abs(m[:3, 3] - (np.array(SLAB["at"]) + a * 0.1 - b * 0.05)).max()), 1e-12)
self.assertLess(float(np.abs(p[:3, 3] - (np.array(SLAB["at"]) - a * 0.2 + b * 0.3 + n * 0.01)).max()), 1e-12)
for frame in (m, p):
self.assertLess(float(np.abs(frame[:3, 2] - n).max()), 1e-12)
self.assertAlmostEqual(float(np.linalg.det(frame[:3, :3])), 1.0, places=12)
upright = np.array([0.0, 0.0, 1.0]) - n * n[2] # a mark's y is the table's +z off the normal
self.assertLess(float(np.abs(m[:3, 1] - upright / np.linalg.norm(upright)).max()), 1e-12)
self.assertGreater(float(m[2, 1]), 0.99)
self.assertLess(float(np.abs(p[:3, 1] - b).max()), 1e-12) # a port's y is the face's up
def test_right_handed_at_side_minus_one(self):
table = doc(row(slab=dict(SLAB, right=[1, 0, 0]), fits=self.FITS))
for right, left in zip(plate.build(table, 1)[0]["anchors"], plate.build(table, -1)[0]["anchors"]):
r, m = np.array(right["matrix"]), np.array(left["matrix"])
self.assertTrue(left["mirrored"])
self.assertAlmostEqual(float(np.linalg.det(m[:3, :3])), 1.0, places=12)
self.assertLess(float(np.abs(m[:3, 3] - r[:3, 3] * (-1, 1, 1)).max()), 1e-12)
self.assertLess(float(np.abs(m[:3, 2] - r[:3, 2] * (-1, 1, 1)).max()), 1e-12)
self.assertLess(float(np.abs(m[:3, 1] - r[:3, 1] * (-1, 1, 1)).max()), 1e-12)
def test_anchors_stand_on_the_clad_face(self):
bare = plate.build(doc(row(slab=SLAB, fits=self.FITS)))[0]["anchors"][0]
clad = plate.build(doc(row(slab=SLAB, fits=self.FITS, clad=dict(CLAD, lifts=[0.05, 0.05], split=99))))[0]["anchors"][0]
n = np.array(SLAB["normal"]) / np.linalg.norm(SLAB["normal"])
self.assertLess(float(np.abs(np.array(clad["matrix"])[:3, 3] - np.array(bare["matrix"])[:3, 3] - n * 0.05).max()), 1e-12)
def test_a_face_on_a_row_that_is_no_slab(self):
made = plate.build(doc(row(face={"at": [0, 1, 0], "normal": [0, 1, 0]}, fits=[self.FITS[1]])))[0]
self.assertLess(float(np.abs(np.array(made["anchors"][0]["matrix"])[:3, 3] - np.array([0.2, 1.01, 0.3])).max()), 1e-12)
@unittest.skipIf(np is None, "numpy is not installed")
class DeterminismTests(unittest.TestCase):
def test_the_table_and_the_side_are_the_only_inputs(self):
self.assertEqual(list(inspect.signature(plate.build).parameters), ["table", "side"])
self.assertEqual(list(inspect.signature(plate.check).parameters), ["document"])
def test_build_leaves_the_table_as_given(self):
table = doc(row(slab=SLAB, clad=CLAD))
kept = copy.deepcopy(table)
plate.build(table)
self.assertEqual(table, kept)
def test_the_fixtures_build_to_one_hash_on_every_platform(self):
made = hashlib.sha256()
for mech in ("bastion", "paladin", "raptor"):
for case in fixture(mech)["cases"]:
for entry in plate.build(fixture(mech)["table"], case["side"]):
made.update(entry["name"].encode())
for key in ("solid", "panels", "bolts"):
made.update(np.round(entry[key][0] / QUANTUM).astype("<i8").tobytes())
made.update(json.dumps(entry[key][1]).encode())
for anchor in entry["anchors"]:
made.update(json.dumps([anchor["kind"], anchor["name"], anchor["mirrored"], anchor.get("height")]).encode())
made.update(np.round(np.array(anchor["matrix"]) / QUANTUM).astype("<i8").tobytes())
self.assertEqual(made.hexdigest(), HASH)
# Fixture plates the branch's truth cannot be met on, each with what it is held to instead:
# float32 the branch solved the plate in float32 (mathutils); it stands up to 2e-6 m (solid) or 3e-5 m (panels) from the float64 solid:
# held to the truth at FLOAT32
# corner the branch's massing.corners lost a true corner to its float32 inside test, so its solid lacks one corner plate.py has and its
# clad is another solid's: held to the fixture's repaired truth (the branch's builder with that test at 1e-5 m), solid, facets,
# panels and bolts, and its corners to the branch's plus that one
# tie two edges of the split facet are equally long and the branch's choice followed Blender's loop order, which differs between
# the two sides of this row: solid, facets and counts held to the branch's truth, panels to the fixture's repaired truth (the
# branch's clad cutting from the other of the two edges)
KNOWN = {("bastion", "Hull.Cheek.R"): "float32", ("bastion", "Hull.Cheek.L"): "float32", ("bastion", "Hull.BellySide.L"): "float32",
("bastion", "Hull.Quarter.R"): "corner", ("bastion", "Hull.Quarter.L"): "corner", ("bastion", "Hull.BellySide.R"): "tie",
("raptor", "Torso.Jaw1.L"): "float32", ("raptor", "Torso.Cheek.R"): "float32", ("raptor", "Torso.Cheek.L"): "float32",
("raptor", "Torso.Belt3.R"): "float32", ("raptor", "Torso.Belt3.L"): "float32"}
SOLID, PANELS = 1e-6, 1e-5 # the cut's tolerances, metres
FLOAT32 = (4e-6, 4e-5) # for a KNOWN plate: a few float32 steps at 8 m, and the same through an inset
# Panels whose outline crosses itself: the inset passes the two ends of a short edge over each other, as the branches' own inset does.
# Blender fills such a cap by where its loop starts, and a facet's loop starts at plate.py's least vertex but at Blender's own in a
# branch's mesh: that is the whole of Hull.Cheek.R's difference in a render (109 pixels at 1024 from above, vertices 2e-6 m apart).
CROSSED = {("bastion", 1, "Hull.Cheek.R", 4), ("paladin", 1, "Thigh.Outer", 0)} # (mech, side, plate, panel)
# The three fixtures' builds as one sha256, of coordinates rounded to QUANTUM metres and of every face. Starfire (Windows 11, numpy
# 2.5.4) and Yggdrasil (Debian 13, numpy 2.2.4 on the system LAPACK) give this hash; their coordinates differ in 3,221 of 34,359 by up
# to 2.7e-15 m and in no face. QUANTUM is TIE: 3.7e5 times that, and 1e3 under the least difference KNOWN holds (1.06e-6 m).
QUANTUM = 1e-9
HASH = "ff870b40db0baac928dd6462260e92e8c4e1ebb77f80adc15e1aff551fe41f0e"
@unittest.skipIf(np is None, "numpy is not installed")
class ParityTests(unittest.TestCase):
"""plate.build against each branch's own builder: solid vertices as a set, facet count, panel vertices as a set,
bolt count. Kills: the miter clamp 0.3 -> 0.5; the cut's share (0.36, 0.64) -> (0.3, 0.7); the lift-order coin
removed; a slab's gap ignored (raptor); the clad of Hull.Quarter left out; Hull.BellySide.R's panels moved
0.5 m. The outer test 0.97 -> 0.9 is CladTests' (no fixture facet stands between the two)."""
def held(self, made, truth, solid, panels):
self.assertEqual(made["report"]["facets"], truth["facets"])
self.assertEqual(made["report"]["bolts"], truth["bolts"])
self.assertEqual(len(made["panels"][0]), len(truth["panels"]))
self.assertEqual(len(made["solid"][0]), len(truth["solid"]))
self.assertLessEqual(apart(made["solid"][0], truth["solid"]), solid)
self.assertLessEqual(apart(made["panels"][0], truth["panels"]), panels)
def parity(self, mech, plates):
table, cases, repaired = fixture(mech)["table"], fixture(mech)["cases"], fixture(mech).get("repaired", {"truth": {}})["truth"]
seen = 0
self.assertEqual(set(repaired), {name for (m, name), kind in KNOWN.items() if m == mech and kind != "float32"})
for case in cases:
built = {e["name"]: e for e in plate.build(table, case["side"])}
for name, truth in case["truth"].items():
made, known = built[name], KNOWN.get((mech, name))
seen += 1
with self.subTest(plate=name, side=case["side"]):
if known == "corner":
V, T = made["solid"][0], np.array(truth["solid"])
d = np.linalg.norm(V[:, None, :] - T[None, :, :], axis=2)
self.assertLess(float(d.min(axis=0).max()), FLOAT32[0]) # every corner of the branch's is one of these
self.assertEqual(int((d.min(axis=1) > 1e-3).sum()), 1) # and one more, which the faces do bound
self.held(made, repaired[name], *FLOAT32)
elif known == "tie":
self.assertGreater(apart(made["panels"][0], truth["panels"]), 0.1) # the branch cut from the other edge
self.held(made, dict(truth, panels=repaired[name]["panels"]), *FLOAT32)
self.assertEqual({key: repaired[name][key] for key in ("solid", "facets", "bolts")}, {key: truth[key] for key in ("solid", "facets", "bolts")})
else:
self.held(made, truth, *(FLOAT32 if known == "float32" else (SOLID, PANELS)))
self.assertEqual(seen, plates)
def test_bastion(self):
self.parity("bastion", 23)
def test_paladin(self):
self.parity("paladin", 53)
def test_raptor(self):
self.parity("raptor", 50)
def test_the_lost_corner_is_a_corner(self):
table = plate.check(fixture("bastion")["table"])
quarter = next(r for r in table["plates"] if r["name"] == "Hull.Quarter")
points, _ = plate._row_points(quarter, "plates")
planes = [(np.array(f["normal"]) / np.linalg.norm(f["normal"]), np.array(f["at"])) for f in quarter["faces"]]
slack = np.array([[float(n @ (p - at)) for n, at in planes] for p in points])
self.assertTrue((slack < 1e-9).all()) # every corner is inside every face
self.assertTrue(((np.abs(slack) < 1e-9).sum(axis=1) >= 3).all()) # and on three of them
def test_the_panels_whose_outline_crosses_itself(self):
crossed = set()
for mech in ("bastion", "paladin", "raptor"):
for case in fixture(mech)["cases"]:
for entry in plate.build(fixture(mech)["table"], case["side"]):
if entry["name"] in case["truth"]:
crossed |= {(mech, case["side"], entry["name"], k) for k, three in enumerate(rings(entry["panels"])) if any(plate._crosses(ring) for ring in three)}
self.assertEqual(crossed, CROSSED)
if __name__ == "__main__":
unittest.main()