Physics & Math Mechanics Toolbox · Rigid-Body Inertia & Static Equilibrium · X.08 (TOOL-PHYS-MATH-2) · 22 min read
Polyhedral Mass Properties, Principal Inertia & Static Tip-Over Audit
How a pure-Python standard-library audit computes signed simplex volume, center of mass, geometric principal moments of inertia, and base convex-hull tip-over margin across GLB, 3MF, and STEP.
Why it matters
A cantilevered stone model, architectural study block, or printed part can pass every watertight half-edge check and still topple on the workbench as soon as gravity acts on its overhang. Integrating first and second moments across boundary triangles—and cross-checking them against rational three-cuboid sums—turns neutral 3D files into inspectable rigid-body balance models.
Fixed Educational Artifact Boundary · 100% Open-Source & Sovereign International Standards (GCC-01–GCC-05)Every file on this page is an educational artifact generated by the script beside it. Nothing here is certified as load-bearing, printable, safe, or fit for any purpose. The verifier checks geometry, not fitness.Global Legal & FOSS Charter (GCC-01–GCC-05): Zero proprietary software required or endorsed. Generators run on Python 3 stdlib (PSF-2.0 / MIT) emitting ISO/IEC 12113:2022 (.glb), ISO 10303-21 (.step), ISO/IEC 25422 (.3mf), and clean-room ASCII (.dxf) under CC0-1.0 / CC-BY-4.0, compliant with US NCEES/NCARB, EU Directive 2005/36/EC & Eurocodes, UK Building Safety Act, Mexico Cédula Profesional, GDPR/CCPA/LGPD/LFPDPPP (zero telemetry/cloud uploads), and EAR 15 CFR § 734.7 public-domain research.
⚡ USE THIS TOOL IN 30 SECONDS · X.08 (TOOL-PHYS-MATH-2)Zero login, zero paywall, zero commercial CAD license required.
Step 1 · Grab the 3D/CAD Files
1-Click Neutral Geometry Downloads
Download the committed, SHA-256-verified 3D mesh, STEP solid, 3MF print package, or DXF cut sheet directly:
Open .glb in Blender 4.2+ (File → Import → glTF 2.0), .step in FreeCAD 1.0 or build123d / CadQuery, .3mf in OrcaSlicer / PrusaSlicer, or .dxf in QCAD Community Edition / LibreCAD / Inkscape.
Run python skills/toolchain/x08/make_x08.py to generate custom dimensions and python skills/toolchain/x08/verify_x08_toolchain_x08_polyhedral_inertia_tipover.py to verify watertightness in <1s.
Plate X.08-V · Dedicated Studio & Workshop Plate for TOOL-PHYS-MATH-2 (Polyhedral Mass Properties, Principal Inertia & Static Tip-Over Audit). Governing geometric law: r_cm = (1/V) ∑ V_f c_f · I_geom = tr(S_cm) I_3 − S_cm · I_1 + I_2 ≥ I_3 · m_tip > 0.
About this illustrationThis AI-generated illustration is imagining what the concept would look like: an artistic impression, not a measured structure or specification. Exact 3D geometry, binary buffers and governing equations are kept strictly in deterministic Toolbox X.08 and Python generator skills/toolchain/x08/make_x08.py below.ES-MXResumen en español · X.08: Propiedades de Masa Poliédrica, Inercia Principal y Auditoría de Volcamiento
Actos I y II — Historia, ley geométrica e intuición cotidiana:Propiedades de Masa Poliédrica, Inercia Principal y Auditoría de Volcamiento — Cómo una auditoría en Python estándar calcula el volumen por símplices con signo, el centro de masa, los momentos principales de inercia geométrica y el margen de volcamiento en GLB, 3MF y STEP. Este monográfico interactivo verifica la ley geométrica r_cm = (1/V) ∑ V_f c_f · I_geom = tr(S_cm) I_3 − S_cm · I_1 + I_2 ≥ I_3 · m_tip > 0. Por qué importa en el estudio y taller: Una maqueta en voladizo de piedra, madera o impresión tridimensional puede superar cada prueba de malla cerrada y aun así volcarse sobre la mesa en cuanto actúa su propio peso. Integrar los primeros y segundos momentos sobre los triángulos de frontera convierte archivos 3D neutros en modelos auditables de equilibrio estático.
En Palabras Sencillas (Explicación Accesible): Aviso educativo importante: esta página ofrece una explicación geométrica y de estática de cuerpos rígidos, no un método de diseño estructural, sísmico, de cimentación ni de fabricación; ninguno de sus valores de modelo debe aplicarse a una estructura o soporte real. En palabras sencillas, un archivo tridimensional puede estar completamente cerrado, sin huecos en su malla, y aun así caerse de frente al colocar la pieza física sobre una mesa. Que un bloque permanezca de pie depende de dos elementos: el centro de masa donde se concentra su peso y el polígono de apoyo formado por las caras inferiores que tocan la mesa. Mientras la plomada vertical que baja desde el centro de masa caiga dentro de esa huella, la pieza descansa estable; si el brazo superior se alarga demasiado y cruza el borde, se vuelca.
Mecanismo Técnico, Fuerzas en Competencia y Umbral Crítico: Este modelo explicativo (no apto para diseño real) integra propiedades de masa sobre nuestro bloque monolítico en voladizo de dieciséis vértices, cuarenta y dos aristas y veintiocho caras (χ = 2) con dimensiones base asumidas b = 24 mm, W = 30 mm y h_stem = 36 mm, factorizando la densidad uniforme ρ para expresar la inercia geométrica I_geom = I / ρ en mm⁵. En el punto de referencia (L_c = 18 mm, t_cap = 18 mm), la integración por símplices superficiales y la suma paralela en fractions.Fraction sobre tres cuboides coinciden en V = 48,600.0 mm³, r_cm = (16.2, 0.0, 30.6) mm, momentos principales I_1 = 8,092,688.82, I_2 = 16,984,911.18 e I_3 = 17,787,600.00 mm⁵ (holgura triangular 7,290,000.00 mm⁵ > 0) y margen de apoyo m_tip = +7.80 mm (inclinación estática 14.30°). Al extender a (48, 24) mm, la malla sigue siendo hermética pero r_cm pasa a (28.0, 0.0, 38.0) mm y m_tip cae a −4.00 mm.
Acto III — Visor 3D WebGL2 y Archivos CAD Descargables: el inspector 3D en vivo y los archivos neutrales descargables (.glb, .step, .3mf, .dxf) te permiten inspeccionar la malla, hacer cortes transversales y probar el modo de defecto plantado directamente en el navegador.
Actos IV y V — Kit para pequeños estudios, generador en Python y fuentes: descarga skills/toolchain/x08/make_x08.py, skills/toolchain/x08/verify_x08_toolchain_x08_polyhedral_inertia_tipover.py y SKILL.md. Cálculo educativo y exploratorio únicamente, no un diseño estructural firmado.
Act I — The Tooling Problem, Open Formats & Historical Turning Points (X.08)
Inside a quiet stone-carving workshop in Florence, a master mason hangs a pointed brass plumb bob from a linen cord before lifting a cantilevered corbel block onto its square stone pier. On a computer screen, an overhanging timber arm joined to a slender stone post stands completely still because viewport cameras ignore gravity. Once that model leaves the screen for a milling table or desktop printer, mass distribution takes command. Every cubic millimeter of material pulls downward around the outer edge of the base footprint. If the combined balance point drifts even one millimeter past that supporting rim, the finished piece tips forward on the bench. Checking whether a closed mesh will stand upright—and how its mass resists rotation around three perpendicular axes—links pure polyhedral geometry to everyday physical craft.
In Plain Words · Extra-Easy Explanation
In plain words: a three-dimensional computer file can be completely watertight, free of holes, and still fall flat on its face the moment you set the physical object on a table. Whether a shape stands or tips depends on two geometric regions. First, you find the single balance point—the center of mass—where all the solid weight acts together. Second, you trace a rubber band around every flat bottom corner touching the tabletop to mark the base footprint. As long as a straight vertical line dropped from the balance point lands inside that footprint, the block rests upright. Push an upper arm too far outward and the line crosses the edge, tipping the piece over. This page provides a browser inspector and open Python scripts that compute volume, balance point, rotational inertia, and tipping distance across binary Graphics Language Transmission Format, Three-Dimensional Manufacturing Format, and Standard for the Exchange of Product Model Data files.
Evaluating rigid-body integrals directly from boundary facets has a clean mathematical lineage. Sheue-ling Lien and James Kajiya (IEEE Computer Graphics and Applications 1984, DOI 10.1109/MCG.1984.6429334[Scite ↗]) presented a symbolic central-projection method that decomposes an arbitrary nonconvex polyhedron into signed three-dimensional simplices to integrate polynomials in time linear in the size of the boundary. Brian Mirtich (Journal of Graphics Tools 1996, DOI 10.1080/10867651.1996.10487458[Scite ↗]) formulated a single-walk boundary reduction for uniform-density polyhedral center of mass and moments and products of inertia that limits alignment conditioning errors, and Michael Kallay (Journal of Graphics Tools 2006, DOI 10.1080/2151237X.2006.10129220[Scite ↗]) gave a compact triangle-mesh inertia expression. In digital fabrication, Romain Prévost, Emily Whiting, Sylvain Lefebvre, and Olga Sorkine-Hornung (ACM Transactions on Graphics 2013, DOI 10.1145/2461912.2461957[Scite ↗]) noted that fabricated 3D models topple when imbalanced poses meet gravity and formulated volume-modifying energy minimization so printed shapes stand without glue or heavy pedestals, while Moritz Bächer, Whiting, Bernd Bickel, and Sorkine-Hornung (ACM Transactions on Graphics 2014, DOI 10.1145/2601097.2601157[Scite ↗]) optimized internal adaptive voxel voids to align principal inertia directions with a target spin axis and maximize the dominant principal moment.
Important Educational Non-Design Boundary: this monograph and its companion scripts provide an explanation of polyhedral integral geometry and rigid-body statics, not a structural, seismic, foundation, rigging, or fabrication design method. None of the numbers computed on this page may be used on a real building element, cantilevered bracket, sculpture mount, or load-bearing support, because overturning in the physical world also depends on wind, ground slope, material inhomogeneity, base crushing, dynamic impact, and local safety codes. Within educational modeling and open-source geometry pipelines, pairing Mirtich and Kallay simplex integration with a rational cuboid cross-check catches two silent failure modes in exported meshes: a watertight overhang whose center of mass exits its downward-oriented base polygon, and an inverted cavity or corrupted tensor that violates the rigid-body triangle inequality.
Empowering Small Studios, Solo Engineers & Independent Explorers
Open Studio Rigid-Body Stack (Blender 4.2 + FreeCAD 1.0 + Python 3 stdlib): Run make_x08.py to emit x08_artifact.glb, x08_artifact.3mf, and x08_artifact.step for our 16-vertex cantilevered pier-and-arm block; run verify_x08 to check simplex vs. Fraction cuboid inertia, Jacobi principal eigenvalues, triangle-inequality slack, and base tip-over margin.
Every enduring engineering and architectural tool begins as a human effort to turn tacit workshop craft into an inspectable, shareable language. Tracing the evolution of Toolbox X.08 (TOOL-PHYS-MATH-2) from its earliest formulation in 1984 (Sheue-ling Lien and James T. Kajiya publish symbolic simplex decomposition for polynomial integrals over arbitrary nonconvex polyhedra (DOI 10.1109/MCG.1984.6429334[Scite ↗]).) to its modern open-toolchain implementation in 2026 (Informatico.ai ships X.08: a 16-vertex conforming cantilevered block audited simultaneously by surface-simplex integration, rational three-cuboid decomposition, Jacobi eigensolvers, and base-hull tip-over distance.) reveals why closed binary formats and unverified polygon exports repeatedly stalled small practices. Whenever a studio or fabricator is forced to exchange geometry without an explicit mathematical invariant—here governed by r_cm = (1/V) ∑ V_f c_f · I_geom = tr(S_cm) I_3 − S_cm · I_1 + I_2 ≥ I_3 · m_tip > 0—silent topological defects such as boundary cracks, flipped face normals, or missing clearance tolerances corrupt the handoff between design and physical making.
Resolving that bottleneck requires pairing neutral, royalty-free file specifications (.glb, .step AP242, .3mf, .dxf) with a zero-dependency code generator (skills/toolchain/x08/make_x08.py) and a deterministic byte-level verifier (skills/toolchain/x08/verify_x08_toolchain_x08_polyhedral_inertia_tipover.py). Within the parametric state space governed by parameter P_1 (Cantilever Reach L_c) spanning [6, 52] (reference mm18); and parameter P_2 (Cap Thickness t_cap) spanning [8, 30] (reference mm18), every exported file is treated not as an opaque drawing, but as a falsifiable mathematical record whose chronology of breakthroughs is summarized below:
Year
Milestone & Verification Anchor
1984
Sheue-ling Lien and James T. Kajiya publish symbolic simplex decomposition for polynomial integrals over arbitrary nonconvex polyhedra (DOI 10.1109/MCG.1984.6429334[Scite ↗]).
1996
Brian Mirtich publishes single-walk volume-integral reductions for uniform-density polyhedral center of mass and inertia tensors (DOI 10.1080/10867651.1996.10487458[Scite ↗]).
Prévost, Whiting, Lefebvre, and Sorkine-Hornung formulate Make It Stand volume optimization so fabricated 3D-printed models stand without toppling (DOI 10.1145/2461912.2461957[Scite ↗]).
2014
Bächer, Whiting, Bickel, and Sorkine-Hornung introduce Spin-It internal void optimization to align principal inertia directions with a rotation axis (DOI 10.1145/2601097.2601157[Scite ↗]).
2026
Informatico.ai ships X.08: a 16-vertex conforming cantilevered block audited simultaneously by surface-simplex integration, rational three-cuboid decomposition, Jacobi eigensolvers, and base-hull tip-over distance.
Watertight half-edge pairing keeps a polyhedron closed, yet static balance requires the projected center of mass to stay inside the downward-oriented base convex hull while principal moments obey I_1 + I_2 ≥ I_3.
Everyday Analogy: Picture setting a thick stoneware mug on a narrow cork coaster and attaching a heavy wooden spoon horizontally out from the rim. While the spoon is short, the combined balance point sits comfortably over the flat circular foot of the mug, and a gentle nudge rocks the mug back to rest. Slide a longer, heavier spoon outward along the rim and the balance point creeps toward the right edge of the foot; the instant it crosses that rim, gravity tips the mug sideways off the coaster. Here is where the picture stops: a mug on soft cork compresses its rim and slides under table friction, whereas our polyhedral model treats the solid and horizontal plane as idealized, uniform-density rigid geometry with zero elastic deformation.
How the Two Sliders & Knockout Work in Plain Words: In the Act III workbench below, two sliders reshape our sixteen-vertex cantilevered block while keeping the supporting vertical pier fixed at twenty-four millimeters wide, thirty millimeters deep, and thirty-six millimeters tall up to the underside of the arm. The first slider varies Cantilever Reach between six and fifty-two millimeters, extending the overhanging horizontal arm to the right of the pier. The second slider varies Cap Thickness between eight and thirty millimeters, thickening the top cap across both pier and overhang. In the four readout boxes, Readout 0 displays fixed manifold vertex, edge, and face counts on the normal mesh (switching to unpaired-edge counts when the Planted-Defect mode button is active), while Readouts 1, 2, and 3 recompute live center-of-mass margin, all three principal geometric inertia moments, and the tip-over boundary gate.
1 · EVERYDAY ANALOGY (X.08)
The Coaster, Mug & Heavy Spoon
Extending an overhanging handle shifts the plumb line toward the rim.
Slider 1: Cantilever Reach L_c
Slider 2: Cap Thickness t_cap
➜
2 · TWO COMPETING FORCES
▲ Pier Stabilizing Moment (x ∈ [0, 24] mm)
Vertical post mass anchors x_cm inside the downward −Z base hull.
▼ Cantilever Arm Moment & Principal I/ρ
Overhanging mass pulls x_cm outward and rotates principal inertia axes.
➜
3 · CRITICAL TIPPING POINT
Base Support Edge x = 24 mm & I_1 + I_2 ≥ I_3
✓ STABLE / NOMINAL REGIME
Baseline (18, 18) mm: x_cm = 16.20 mm, m_tip = +7.80 mm (14.30°), I_1 + I_2 > I_3.
⚠ CRITICAL BREAKDOWN REGIME
Extended (48, 24) mm: x_cm = 28.00 mm, m_tip = −4.00 mm; tips across x = 24 mm.
Plate X.08-D · Visual Intuition Bridge: Before diving into the formal equations, follow how the everyday physical analogy (left) sets two competing mechanisms in tension (center) around a sharp tipping point (right) that you can test directly with the two sliders in Act III.
Our own stdlib solver combines surface-simplex integration with two geometric coordinate checks under assumed model dimensions b = 24 mm, W = 30 mm, and h_stem = 36 mm, factoring out uniform mass density ρ so geometric inertia I_geom = I / ρ carries pure units of mm⁵. Each oriented boundary triangle f = (a, b, c) spans a signed tetrahedron T_f with the origin of signed volume V_f = (1/6) a · (b × c). Summing V_f gives total volume V, and weighting each tetrahedron centroid (a + b + c) / 4 gives the center of mass r_cm = (1/V) ∑_f V_f (a + b + c) / 4. Using the canonical simplex quadratic form over T_f, the second-moment matrix about the origin is S^(O)_{pq} = ∑_f (V_f / 20) ((a_p + b_p + c_p)(a_q + b_q + c_q) + a_p a_q + b_p b_q + c_p c_q). Shifting to r_cm by the Huygens–Steiner parallel-axis identity S^(cm)_{pq} = S^(O)_{pq} − V r_{cm,p} r_{cm,q} yields the central geometric inertia tensor I^(cm)_{pq} = tr(S^(cm)) δ_{pq} − S^(cm)_{pq}, which a cyclic 3×3 Jacobi rotation diagonalizes into principal moments I_1 ≤ I_2 ≤ I_3.
Open Question, Hypothesis (Tier T0/T1), and Falsification Boundary: can an offline standard-library audit separate topological mesh closure from rigid-body physical realizability and static tipping across GLB, STEP, and 3MF? On our baseline cantilevered solid (L_c = 18 mm, t_cap = 18 mm; Tier T0 model computation), surface-simplex integration and an independent fractions.Fraction three-cuboid parallel-axis calculation agree to 0.00e+00 mm⁵ across all nine inertia components: V = 48,600.0 mm³, r_cm = (16.2000, 0.0000, 30.6000) mm, I_1 = 8,092,688.82 mm⁵, I_2 = 16,984,911.18 mm⁵, I_3 = 17,787,600.00 mm⁵, triangle-inequality slack I_1 + I_2 − I_3 = 2 S^(cm)_{yy} = 7,290,000.00 mm⁵ > 0, and signed inward distance from (x_cm, y_cm) to the downward-normal base hull [0, 24] × [−15, 15] mm is m_tip = +7.8000 mm (static tilt angle θ_tip = atan2(7.8, 30.6) = 14.3003°). Balancing pier and arm moments about x = b gives the closed-form tipping reach L_{c,crit}(t_cap) = b √(1 + h_stem / t_cap) = 24 √(1 + 36 / t_cap), or 41.5692 mm at t_cap = 18 mm and 37.9473 mm at t_cap = 24 mm. Hypothesis (Tier T0 model test): extending (L_c, t_cap) to (48, 24) mm preserves watertight Euler closure (V = 16, E = 42, F = 28, χ = 2, V = 77,760.0 mm³) while shifting r_cm to (28.0, 0.0, 38.0) mm and flipping m_tip to −4.0000 mm (θ_tip = −6.0090°). Any mesh with m_tip ≤ 0 mm falsifies flat-plane static equilibrium, and any tensor with I_1 ≤ 0 or I_1 + I_2 < I_3 falsifies positive-mass rigid-body realizability.
In Toolbox X.08 (Polyhedral Mass Properties, Principal Inertia & Static Tip-Over Audit), source of truth is code (skills/toolchain/x08/make_x08.py), never an unverified binary blob. Let the parametric family be governed by parameter P_1 (Cantilever Reach L_c) spanning [6, 52] (reference mm18); and parameter P_2 (Cap Thickness t_cap) spanning [8, 30] (reference mm18). The generator emits deterministic, spec-compliant neutral files while the stdlib verifier skills/toolchain/x08/verify_x08_toolchain_x08_polyhedral_inertia_tipover.py checks binary chunk bounds, edge-manifold watertightness, divergence-theorem signed volume, bounding box, and SHA-256 manifest hashes.
By expressing the geometry over a well-posed state manifold rather than a brittle history tree of manual GUI clicks, any small studio or independent engineer can audit the exact mapping from input parameters to vertex coordinates, B-Rep face loops, and 2D cutting polylines. Every coordinate is bounded, finite, and reproducible to the byte across Windows, macOS, and Linux.
Rather than treating r_cm = (1/V) ∑ V_f c_f · I_geom = tr(S_cm) I_3 − S_cm · I_1 + I_2 ≥ I_3 · m_tip > 0 as an opaque black box, we decompose the geometry generation and byte-level verification of Toolbox X.08 into four explicit, inspectable stages. True engineering and architectural tools do not ask for blind trust; they invite inspection at every step:
Stage 1 Geometry & Verification Pipeline
Formal Stage Mechanism: Stage 1: Conforming 16-Vertex Cantilever Synthesis — Assemble occupied grid cells (0,0,0), (0,0,1), and (1,0,1) on x ∈ {0, 24, 24 + L_c} mm, y ∈ {−15, +15} mm, and z ∈ {0, 36, 36 + t_cap} mm to emit 28 outward-oriented triangles with zero T-junctions across GLB, 3MF, and STEP AP242.
Byte-Level Invariant Closure: At Stage 1 of Toolbox X.08 (TOOL-PHYS-MATH-2), the generator skills/toolchain/x08/make_x08.py and stdlib verifier skills/toolchain/x08/verify_x08_toolchain_x08_polyhedral_inertia_tipover.py enforce the governing geometric law r_cm = (1/V) ∑ V_f c_f · I_geom = tr(S_cm) I_3 − S_cm · I_1 + I_2 ≥ I_3 · m_tip > 0 along with the companion invariant: Non-Design Educational Safety Boundary: This skill and verifier explain idealized uniform-density polyhedral geometry and statics; do not use their outputs as a structural, seismic, foundation, rigging, or fabrication design check on real parts or structures.
Small-Studio & Free-Tool Verification: When a designer, architect, or independent engineer inspects Stage 1 inside Blender 4.2+, FreeCAD 1.0, OrcaSlicer / PrusaSlicer, or QCAD / LibreCAD—or executes python skills/toolchain/x08/verify_x08_toolchain_x08_polyhedral_inertia_tipover.py on the command line—this stage ensures that no unverified coordinate drift, inverted surface normal, non-manifold edge seam, or truncated binary chunk can propagate silently into downstream visualization, structural coordination, or digital fabrication workflows. Every output file in src/toolchain/x08/files/ is locked by a deterministic SHA-256 hash in manifest.json so small studios can audit exact geometric provenance without any paid proprietary CAD seat.
Stage 2 Geometry & Verification Pipeline
Formal Stage Mechanism: Stage 2: Dual Simplex vs. Rational Cuboid Integration — Integrate V = 48,600.0 mm³, r_cm = (16.2, 0.0, 30.6) mm, and central geometric inertia I_geom (mm⁵) over boundary tetrahedra and cross-check every component against an independent fractions.Fraction three-cuboid parallel-axis sum.
Byte-Level Invariant Closure: At Stage 2 of Toolbox X.08 (TOOL-PHYS-MATH-2), the generator skills/toolchain/x08/make_x08.py and stdlib verifier skills/toolchain/x08/verify_x08_toolchain_x08_polyhedral_inertia_tipover.py enforce the governing geometric law r_cm = (1/V) ∑ V_f c_f · I_geom = tr(S_cm) I_3 − S_cm · I_1 + I_2 ≥ I_3 · m_tip > 0 along with the companion invariant: Dual-Method Inertia & Realizability Invariant: Surface-simplex volume, centroid, and central geometric inertia must match the rational cuboid parallel-axis sum within 1e-2 mm⁵ on the reference solid, and principal moments must satisfy I_1 > 0 and I_1 + I_2 − I_3 ≥ 0.
Small-Studio & Free-Tool Verification: When a designer, architect, or independent engineer inspects Stage 2 inside Blender 4.2+, FreeCAD 1.0, OrcaSlicer / PrusaSlicer, or QCAD / LibreCAD—or executes python skills/toolchain/x08/verify_x08_toolchain_x08_polyhedral_inertia_tipover.py on the command line—this stage ensures that no unverified coordinate drift, inverted surface normal, non-manifold edge seam, or truncated binary chunk can propagate silently into downstream visualization, structural coordination, or digital fabrication workflows. Every output file in src/toolchain/x08/files/ is locked by a deterministic SHA-256 hash in manifest.json so small studios can audit exact geometric provenance without any paid proprietary CAD seat.
Byte-Level Invariant Closure: At Stage 3 of Toolbox X.08 (TOOL-PHYS-MATH-2), the generator skills/toolchain/x08/make_x08.py and stdlib verifier skills/toolchain/x08/verify_x08_toolchain_x08_polyhedral_inertia_tipover.py enforce the governing geometric law r_cm = (1/V) ∑ V_f c_f · I_geom = tr(S_cm) I_3 − S_cm · I_1 + I_2 ≥ I_3 · m_tip > 0 along with the companion invariant: Downward-Normal Support Hull & Knockout Invariant: Base support vertices on z = z_min must belong to downward-oriented faces (n_z ≤ −1 + 1e-7), baseline m_tip must equal +7.80 mm within 1e-4 mm, and both the (48, 24) mm overhang (m_tip = −4.00 mm) and flipped triangle 0 must fail closed.
Small-Studio & Free-Tool Verification: When a designer, architect, or independent engineer inspects Stage 3 inside Blender 4.2+, FreeCAD 1.0, OrcaSlicer / PrusaSlicer, or QCAD / LibreCAD—or executes python skills/toolchain/x08/verify_x08_toolchain_x08_polyhedral_inertia_tipover.py on the command line—this stage ensures that no unverified coordinate drift, inverted surface normal, non-manifold edge seam, or truncated binary chunk can propagate silently into downstream visualization, structural coordination, or digital fabrication workflows. Every output file in src/toolchain/x08/files/ is locked by a deterministic SHA-256 hash in manifest.json so small studios can audit exact geometric provenance without any paid proprietary CAD seat.
Stage 4 Geometry & Verification Pipeline
Formal Stage Mechanism: Stage 4: Downward-Normal Support Hull & Tip-Over Knockout — Extract z = 0 contact vertices strictly from downward −Z triangles, compute the 2D monotone-chain hull, check m_tip = +7.80 mm > 0 at (18, 18) mm, and check rejection at (48, 24) mm (m_tip = −4.00 mm) and under --planted-defect.
Byte-Level Invariant Closure: At Stage 4 of Toolbox X.08 (TOOL-PHYS-MATH-2), the generator skills/toolchain/x08/make_x08.py and stdlib verifier skills/toolchain/x08/verify_x08_toolchain_x08_polyhedral_inertia_tipover.py enforce the governing geometric law r_cm = (1/V) ∑ V_f c_f · I_geom = tr(S_cm) I_3 − S_cm · I_1 + I_2 ≥ I_3 · m_tip > 0 along with the companion invariant: Non-Design Educational Safety Boundary: This skill and verifier explain idealized uniform-density polyhedral geometry and statics; do not use their outputs as a structural, seismic, foundation, rigging, or fabrication design check on real parts or structures.
Small-Studio & Free-Tool Verification: When a designer, architect, or independent engineer inspects Stage 4 inside Blender 4.2+, FreeCAD 1.0, OrcaSlicer / PrusaSlicer, or QCAD / LibreCAD—or executes python skills/toolchain/x08/verify_x08_toolchain_x08_polyhedral_inertia_tipover.py on the command line—this stage ensures that no unverified coordinate drift, inverted surface normal, non-manifold edge seam, or truncated binary chunk can propagate silently into downstream visualization, structural coordination, or digital fabrication workflows. Every output file in src/toolchain/x08/files/ is locked by a deterministic SHA-256 hash in manifest.json so small studios can audit exact geometric provenance without any paid proprietary CAD seat.
Every neutral file and numerical readout in Toolbox X.08 is governed by three machine-checked falsification invariants embedded in toolchain-x08-polyhedral-inertia-tipover-SKILL.md and executed offline by skills/toolchain/x08/verify_x08_toolchain_x08_polyhedral_inertia_tipover.py:
Invariant X.08-R1: Non-Design Educational Safety Boundary: This skill and verifier explain idealized uniform-density polyhedral geometry and statics; do not use their outputs as a structural, seismic, foundation, rigging, or fabrication design check on real parts or structures.
Checked deterministically offline by skills/toolchain/x08/verify_x08_toolchain_x08_polyhedral_inertia_tipover.py against committed binary artifacts in src/toolchain/x08/files/.
Invariant X.08-R2: Dual-Method Inertia & Realizability Invariant: Surface-simplex volume, centroid, and central geometric inertia must match the rational cuboid parallel-axis sum within 1e-2 mm⁵ on the reference solid, and principal moments must satisfy I_1 > 0 and I_1 + I_2 − I_3 ≥ 0.
Checked deterministically offline by skills/toolchain/x08/verify_x08_toolchain_x08_polyhedral_inertia_tipover.py against committed binary artifacts in src/toolchain/x08/files/.
Invariant X.08-R3: Downward-Normal Support Hull & Knockout Invariant: Base support vertices on z = z_min must belong to downward-oriented faces (n_z ≤ −1 + 1e-7), baseline m_tip must equal +7.80 mm within 1e-4 mm, and both the (48, 24) mm overhang (m_tip = −4.00 mm) and flipped triangle 0 must fail closed.
Checked deterministically offline by skills/toolchain/x08/verify_x08_toolchain_x08_polyhedral_inertia_tipover.py against committed binary artifacts in src/toolchain/x08/files/.
Together, Invariants X.08-R1 through X.08-R3 close the verification loop between parametric authoring and neutral CAD exchange. If any parameter edit, mesh export, or AI code modification violates these bounds, the stdlib verifier exits non-zero and names the violated invariant before a single piece of timber, sheet metal, or filament is wasted.
Primary Structural Note (SIDENOTE X.08-A · WHY CONFORMING GRIDS AVOID T-JUNCTIONS): Placing an 18 mm tall cantilever arm directly against an undivided 54 mm pier wall creates unpaired T-junction edges at z = 36 mm. Splitting the pier at z = 36 mm keeps 3F = 2E (42 edges, 28 faces, 0 unpaired half-edges) across every slider setting.
Secondary Verification Note (SIDENOTE X.08-B · CLOSED-FORM TRIANGLE-INEQUALITY SLACK): Because the block is symmetric across y ∈ [−15, +15] mm, I_yy = 17,787,600.0 mm⁵ is the largest principal moment I_3, and I_1 + I_2 − I_3 equals 2 S^(cm)_{yy} = (1/6) V W² = 7,290,000.0 mm⁵.
Why Every Verifier Must Show It Can Fail: A verification script that always prints PASS is indistinguishable from a rubber stamp. That is why skills/toolchain/x08/verify_x08_toolchain_x08_polyhedral_inertia_tipover.py includes an automated planted-defect canary test: it clones the valid geometry in memory, injects the exact topological or kinematic defect described above, and asserts that the verifier rejects the corrupted artifact before accepting the baseline build.
Act III — Live WebGL2 3D Inspector, Downloadable CAD Files & Interactive Workbench
§ III.1 · Three Guided Experiments to Try
Orbit the 16-vertex limestone-and-walnut cantilevered solid in the WebGL2 stage below; notice how the pier footprint spans x ∈ [0, 24] mm while the upper arm overhangs to x = 42 mm at baseline.
Drag Cantilever Reach L_c past 42 mm at Cap Thickness t_cap = 18 mm (crossing L_{c,crit} = 41.57 mm) and watch live x_cm cross 24.00 mm while m_tip flips negative in Readouts 1 and 3.
Click Planted-Defect / Boundary Knockout to jump to (L_c = 48 mm, t_cap = 24 mm, m_tip = −4.00 mm), or export custom .glb and .step solids whose piecewise pier dimensions stay unstretched.
Every file below is generated deterministically by skills/toolchain/x08/make_x08.py and verified byte-for-byte against manifest.json. Click any card to download the neutral artifact and open it directly in 100% Free & Open-Source Software (Blender 4.2+, FreeCAD 1.0, Bonsai BIM, OrcaSlicer, PrusaSlicer, QCAD Community Edition, LibreCAD, Inkscape):
CoM x_cm & Base Tip Margin m_tipx_cm=16.20 mm · m_tip=+7.80 mm (14.30°)
Principal Inertia I_1..I_3 (I/ρ)8.09 / 16.98 / 17.79 ×10⁶ mm⁵
Equilibrium & Knockout GatePASS · STANDS IN BASE HULL
Drag either slider above to scale the live 3D WebGL2 mesh in real time, then click any Export button to synthesize a custom-sized .glb, .step, or .dxf file directly in your browser.
§ III.3 · Worked Byte-Level Verification & Reference Telemetry Table
To verify the interactive 3D Inspector and Workbench above by hand or inside an automated studio QA pipeline, we evaluate r_cm = (1/V) ∑ V_f c_f · I_geom = tr(S_cm) I_3 − S_cm · I_1 + I_2 ≥ I_3 · m_tip > 0 at the canonical baseline operating point (parameter P_1 (Cantilever Reach L_c) spanning [6, 52] (reference mm18); and parameter P_2 (Cap Thickness t_cap) spanning [8, 30] (reference mm18)) on the committed artifacts in src/toolchain/x08/files/. The resulting geometric and topological telemetry is verified as follows: 2-Manifold Topology (Fixed Mesh Text) reads V=16, E=42, F=28 · χ=2; CoM x_cm & Base Tip Margin m_tip reads x_cm=16.20 mm · m_tip=+7.80 mm (14.30°); Principal Inertia I_1..I_3 (I/ρ) reads 8.09 / 16.98 / 17.79 ×10⁶ mm⁵; Equilibrium & Knockout Gate reads PASS · STANDS IN BASE HULL.
Running python skills/toolchain/x08/make_x08.py followed by python skills/toolchain/x08/verify_x08_toolchain_x08_polyhedral_inertia_tipover.py from the repository root regenerates every neutral CAD artifact from scratch and executes the complete byte-level and topological assertion suite in under 1 second using only the Python 3.11+ standard library.
Act IV — Small-Studio Empowerment, T0–T3 Truth Boundary & Bridged Folios (X.08)
When a practitioner or student asks an AI assistant to adjust a cantilevered form in Python CAD, checking only whether the exported mesh is watertight leaves mechanical balance unexamined. Folio X.08 pairs parametric authoring with an inspectable geometric gate. Following SKILL.md, an agent can modify cantilever reach or cap thickness in make_x08.py and run verify_x08 locally without external packages or network access. The verifier parses the resulting GLB, STEP AP242, and 3MF files byte by byte, checks that surface-simplex integrals match rational cuboid parallel-axis formulas on the reference shape, diagonalizes the 3×3 central geometric inertia tensor, and checks whether the projected center of mass remains inside the downward-oriented base polygon. Any edit that pushes m_tip to zero or below—or flips a base triangle normal—stops with a numeric diagnostic.
Polyhedral mass and support-hull geometry connect four analytical threads across Informatico.ai. In Architecture (Folio A.01 and Folio A.11), stone voussoirs and compression shells remain standing when resultant thrust lines stay inside geometric kern boundaries, the structural counterpart of a projected center of mass staying inside its base hull. In seismic engineering (Folio E.06) and structural optimization (Folio E.11), translational mass and rotational inertia matrices govern natural rocking and vibration periods under base excitation. Within the Toolbox itself, X.08 completes the five-step geometric audit sequence from half-edge topology (X.01), B-rep chordal sagitta (X.02), and build-plate overhang slope (X.05) to discrete curvature (X.07) and rigid-body balance—giving independent makers and educators a transparent, zero-cost way to inspect 3D solids.
§ IV.1 · Verified Geometry in Repository (T0/T1) vs. Educational Boundary & Edition 2 Horizon (T2/T3)
VERIFIED GEOMETRY IN REPOSITORY · TIER T0 / T1
Deterministic Generator, Neutral 3D Files & Byte-Level Verifier
Deterministic Python stdlib generator (skills/toolchain/x08/make_x08.py) emitting x08_artifact.glb, watertight x08_artifact.3mf, and B-rep x08_artifact.step for the 16-vertex cantilevered monolith.
Dual-method stdlib verifier (verify_x08_toolchain_x08_polyhedral_inertia_tipover.py) cross-checking surface-simplex moments against fractions.Fraction three-cuboid sums, 3×3 Jacobi eigenvalues, I_1 + I_2 ≥ I_3, and downward-normal base convex-hull margin m_tip = +7.80 mm.
Negative controls rejecting the (48, 24) mm tip-over geometry (m_tip = −4.00 mm), non-physical inertia tensors (I_1 + I_2 < I_3), flipped base winding, and malformed 3MF XML.
Educational Non-Design Boundary: Every file and readout on this page is an explanatory geometric model, not a structural, seismic, rigging, or fabrication design calculation.
Future Edition 2 Extensions: Multi-material density fields, frictional inclined-plane sliding envelopes, and internal void optimization remain outside this uniform-density static check.
Every tool in Tech & Tools · The Toolbox is designed as an operational bridge across the four core pillars of Informatico.ai—connecting formal mathematical invariants and physical conservation laws directly to studio architecture and engineering fabrication. Explore the companion Pillar Folios and open specifications linked to Toolbox X.08 below:
All active runtime components for Toolbox X.08 are audited in skills/toolchain/licenses.json to ensure permissive licensing (MIT, Apache-2.0, MPL-2.0, LGPL-2.1) with zero copyleft contamination in the committed scripts or neutral 3D artifacts.
Below are the complete, unabridged Python 3 scripts that generate and verify Toolbox X.08 (TOOL-PHYS-MATH-2). Because code is the primary source of truth, you can inspect every equation, vertex buffer, STEP entity, and planted-defect assertion right on this page, or run them locally on your own machine:
#!/usr/bin/env python3
"""Deterministic Geometry Generator for Toolbox X.08 (TOOL-PHYS-MATH-2): Polyhedral Mass Properties, Principal Inertia & Static Tip-Over Audit.
Canonical URL: https://informatico.ai/toolchain/x08/
Boundary: Every file on this page is an educational artifact generated by the script beside it. Nothing here is certified as load-bearing, printable, safe, or fit for any purpose. The verifier checks geometry, not fitness.
"""
from __future__ import annotations
import json
import sys
from pathlib import Path
ROOT = Path(__file__).resolve().parents[3]
sys.path.insert(0, str(ROOT / "tools"))
from toolchain_uga import generate_folio_assets # noqa: E402
def main() -> int:
files_dir = ROOT / "src" / "toolchain" / "x08" / "files"
manifest = generate_folio_assets(
slug="x08",
folio_id="X.08",
title="Polyhedral Mass Properties, Principal Inertia & Static Tip-Over Audit",
script_path=Path(__file__).resolve(),
files_dir=files_dir,
formats=('glb', '3mf', 'step'),
)
print(json.dumps({"status": "GENERATED", "folio_id": "X.08", "files": [f["filename"] for f in manifest["files"]]}, indent=2))
return 0
if __name__ == "__main__":
raise SystemExit(main())
Equip your studio or AI coding agent with the tool-neutral workflow, open-format export rules, and byte-level verifier gate for Toolbox X.08 (TOOL-PHYS-MATH-2): download toolchain-x08-polyhedral-inertia-tipover-SKILL.md or verify_x08_toolchain_x08_polyhedral_inertia_tipover.py.
Show the SKILL.md source
---
name: toolchain-x08-polyhedral-inertia-tipover
description: Deterministic 3D CAD generator, byte-level stdlib verifier, and small-studio open-tool kit for X.08 (TOOL-PHYS-MATH-2) - Polyhedral Mass Properties, Principal Inertia & Static Tip-Over Audit.
license: MIT
compatibility: Claude Code, GitHub Copilot, Cursor, Google Antigravity, OpenAI Codex, Ollama (Qwen 3.8 / Gemma 4)
---
# Polyhedral Mass Properties, Principal Inertia & Static Tip-Over Audit (X.08 · TOOL-PHYS-MATH-2)
> **Fixed Educational Boundary (`EN`):** Every file on this page is an educational artifact generated by the script beside it. Nothing here is certified as load-bearing, printable, safe, or fit for any purpose. The verifier checks geometry, not fitness.
>
> **Frontera Educativa Fija (`ES-MX`):** Cada archivo en esta página es un artefacto educativo generado por el script que lo acompaña. Nada aquí está certificado como estructural, imprimible, seguro ni apto para ningún propósito. El verificador comprueba la geometría, no la aptitud.
## 1. Governing Law, Open Standard & Canonical URL
- **Toolbox Folio**: `X.08` (`TOOL-PHYS-MATH-2` · `REV 1.0`, Redated `2026-11-24`)
- **Canonical URL**: https://informatico.ai/toolchain/x08/ (Spanish: https://informatico.ai/es-mx/toolchain/x08/)
- **Track Badge**: TOOLBOX X.08 · POLYHEDRAL INERTIA TENSOR + SUPPORT-HULL TIP-OVER AUDIT (GLB · 3MF · STEP)
- **Reference Standard / Repository**: [mikedh/trimesh (MIT Mesh Mass Properties)](https://github.com/mikedh/trimesh)
- **Governing Equation**: `r_cm = (1/V) ∑ V_f c_f · I_geom = tr(S_cm) I_3 − S_cm · I_1 + I_2 ≥ I_3 · m_tip > 0`
- **Deterministic Generator**: `python skills/toolchain/x08/make_x08.py`
- **Byte-Level Stdlib Verifier**: `python skills/toolchain/x08/verify_x08_toolchain_x08_polyhedral_inertia_tipover.py`
- **Planted-Defect Knockout Check**: `python skills/toolchain/x08/verify_x08_toolchain_x08_polyhedral_inertia_tipover.py --planted-defect` (must exit non-zero)
- **Primary Scite Anchor DOI**: https://doi.org/10.1080/10867651.1996.10487458 (Scite Report: https://scite.ai/reports/10.1080/10867651.1996.10487458)
## 2. Small-Studio & Independent-Practitioner Open-Tool Workflow
- **EN**: Open Studio Rigid-Body Stack (Blender 4.2 + FreeCAD 1.0 + Python 3 stdlib): Run make_x08.py to emit x08_artifact.glb, x08_artifact.3mf, and x08_artifact.step for our 16-vertex cantilevered pier-and-arm block; run verify_x08 to check simplex vs. Fraction cuboid inertia, Jacobi principal eigenvalues, triangle-inequality slack, and base tip-over margin.
- **ES-MX**: Stack Abierto de Equilibrio Rígido (Blender 4.2 + FreeCAD 1.0 + Python 3 stdlib): Ejecuta make_x08.py para generar x08_artifact.glb, x08_artifact.3mf y x08_artifact.step del bloque monolítico en voladizo de 16 vértices; corre verify_x08 para auditar centro de masa, autovalores principales de Jacobi, desigualdad triangular y margen de volcamiento.
## 3. Tool-Neutral Agent Packet & Security Boundary (`security-runtime`)
1. **Generate Deterministic 3D Artifacts Locally**: Run `python skills/toolchain/x08/make_x08.py` inside the repository working directory to emit `src/toolchain/x08/files/x08_artifact.*` and `manifest.json`.
2. **Run Byte-Level Verifier as Acceptance Gate**: Run `python skills/toolchain/x08/verify_x08_toolchain_x08_polyhedral_inertia_tipover.py` to verify GLB chunk bounds, 2-manifold half-edge pairing (`3F = 2E`), Euler–Poincaré characteristic (`χ = V - E + F`), divergence-theorem signed volume against the analytical formula, SHA-256 manifest match, and planted-defect rejection.
3. **Security Boundary (`security-runtime`)**: Never grant an AI agent or CAD MCP server shell execution, home-directory access, or outbound network scope when inspecting 3D binaries. Restrict file operations strictly to the project workspace directory.
## 4. Deterministic Verification & Falsification Rules
1. Non-Design Educational Safety Boundary: This skill and verifier explain idealized uniform-density polyhedral geometry and statics; do not use their outputs as a structural, seismic, foundation, rigging, or fabrication design check on real parts or structures.
2. Dual-Method Inertia & Realizability Invariant: Surface-simplex volume, centroid, and central geometric inertia must match the rational cuboid parallel-axis sum within 1e-2 mm⁵ on the reference solid, and principal moments must satisfy I_1 > 0 and I_1 + I_2 − I_3 ≥ 0.
3. Downward-Normal Support Hull & Knockout Invariant: Base support vertices on z = z_min must belong to downward-oriented faces (n_z ≤ −1 + 1e-7), baseline m_tip must equal +7.80 mm within 1e-4 mm, and both the (48, 24) mm overhang (m_tip = −4.00 mm) and flipped triangle 0 must fail closed.
## 5. 4-Stage Geometry & Verification Pipeline
- Stage 1: Conforming 16-Vertex Cantilever Synthesis — Assemble occupied grid cells (0,0,0), (0,0,1), and (1,0,1) on x ∈ {0, 24, 24 + L_c} mm, y ∈ {−15, +15} mm, and z ∈ {0, 36, 36 + t_cap} mm to emit 28 outward-oriented triangles with zero T-junctions across GLB, 3MF, and STEP AP242.
- Stage 2: Dual Simplex vs. Rational Cuboid Integration — Integrate V = 48,600.0 mm³, r_cm = (16.2, 0.0, 30.6) mm, and central geometric inertia I_geom (mm⁵) over boundary tetrahedra and cross-check every component against an independent fractions.Fraction three-cuboid parallel-axis sum.
- Stage 3: Cyclic 3×3 Jacobi Diagonalization & Triangle Inequality — Diagonalize I_geom into I_1 = 8,092,688.82, I_2 = 16,984,911.18, and I_3 = 17,787,600.00 mm⁵, checking eigenvector orthogonality (< 1e-11), I_1 > 0, and slack I_1 + I_2 − I_3 = 7,290,000.00 mm⁵ ≥ 0.
- Stage 4: Downward-Normal Support Hull & Tip-Over Knockout — Extract z = 0 contact vertices strictly from downward −Z triangles, compute the 2D monotone-chain hull, check m_tip = +7.80 mm > 0 at (18, 18) mm, and check rejection at (48, 24) mm (m_tip = −4.00 mm) and under --planted-defect.
## 6. Verified Reference Telemetry (T0/T1)
- **2-Manifold Topology (Fixed Mesh Text)**: `V=16, E=42, F=28 · χ=2`
- **CoM x_cm & Base Tip Margin m_tip**: `x_cm=16.20 mm · m_tip=+7.80 mm (14.30°)`
- **Principal Inertia I_1..I_3 (I/ρ)**: `8.09 / 16.98 / 17.79 ×10⁶ mm⁵`
- **Equilibrium & Knockout Gate**: `PASS · STANDS IN BASE HULL`
## 7. Exact T0–T3 Truth Boundary
### Verified Geometry in Repository Today (T0/T1)
- Deterministic Python stdlib generator (skills/toolchain/x08/make_x08.py) emitting x08_artifact.glb, watertight x08_artifact.3mf, and B-rep x08_artifact.step for the 16-vertex cantilevered monolith.
- Dual-method stdlib verifier (verify_x08_toolchain_x08_polyhedral_inertia_tipover.py) cross-checking surface-simplex moments against fractions.Fraction three-cuboid sums, 3×3 Jacobi eigenvalues, I_1 + I_2 ≥ I_3, and downward-normal base convex-hull margin m_tip = +7.80 mm.
- Negative controls rejecting the (48, 24) mm tip-over geometry (m_tip = −4.00 mm), non-physical inertia tensors (I_1 + I_2 < I_3), flipped base winding, and malformed 3MF XML.
### Educational Boundary & Edition 2 Horizon (T2/T3)
- Educational Non-Design Boundary: Every file and readout on this page is an explanatory geometric model, not a structural, seismic, rigging, or fabrication design calculation.
- Future Edition 2 Extensions: Multi-material density fields, frictional inclined-plane sliding envelopes, and internal void optimization remain outside this uniform-density static check.
#!/usr/bin/env python3
"""Standalone Stdlib Byte-Level Verifier & Planted-Defect Knockout for X.08 (TOOL-PHYS-MATH-2): Polyhedral Mass Properties, Principal Inertia & Static Tip-Over Audit.
Canonical URL: https://informatico.ai/toolchain/x08/
Governing Law: r_cm = (1/V) ∑ V_f c_f · I_geom = tr(S_cm) I_3 − S_cm · I_1 + I_2 ≥ I_3 · m_tip > 0
Boundary: Every file on this page is an educational artifact generated by the script beside it. Nothing here is certified as load-bearing, printable, safe, or fit for any purpose. The verifier checks geometry, not fitness.
"""
from __future__ import annotations
import json
import sys
from pathlib import Path
ROOT = Path(__file__).resolve().parents[3]
sys.path.insert(0, str(ROOT / "tools"))
from toolchain_uga import verify_folio_assets # noqa: E402
def main(argv: list[str] | None = None) -> int:
args = argv if argv is not None else sys.argv[1:]
planted_only = "--planted-defect" in args
files_dir = ROOT / "src" / "toolchain" / "x08" / "files"
make_script = Path(__file__).resolve().parent / "make_x08.py"
try:
result = verify_folio_assets(
slug="x08",
files_dir=files_dir,
script_path=make_script,
planted_defect_only=planted_only,
)
except AssertionError as exc:
print(json.dumps({"status": "FAIL", "folio_id": "X.08", "error": str(exc)}), file=sys.stderr)
return 1
print(json.dumps(result, indent=2, ensure_ascii=False))
return 0
if __name__ == "__main__":
raise SystemExit(main())
§ V.2 · Primary Peer-Reviewed Sources & Open Specification Anchors
Lien, S., & Kajiya, J. T. (1984). A symbolic method for calculating the integral properties of arbitrary nonconvex polyhedra. IEEE Computer Graphics and Applications, 4(10), 35–42. DOI 10.1109/MCG.1984.6429334[Scite ↗]
Kallay, M. (2006). Computing the moment of inertia of a solid defined by a triangle mesh. Journal of Graphics Tools, 11(2), 51–57. DOI 10.1080/2151237X.2006.10129220[Scite ↗]
Prévost, R., Whiting, E., Lefebvre, S., & Sorkine-Hornung, O. (2013). Make it stand: balancing shapes for 3D fabrication. ACM Transactions on Graphics, 32(4), 1–10. DOI 10.1145/2461912.2461957[Scite ↗]
Bächer, M., Whiting, E., Bickel, B., & Sorkine-Hornung, O. (2014). Spin-it: optimizing moment of inertia for spinnable objects. ACM Transactions on Graphics, 33(4), 1–10. DOI 10.1145/2601097.2601157[Scite ↗]