# Reconstruct a native Blender dice studio Copy the complete prompt including the numerical appendix. This is a new reconstruction brief. Generated implementations can differ. Test the resulting file before relying on it. --- Build and actually verify a portable procedural tabletop dice tool in my Blender installation. Work in a fresh directory and a separate factory-startup process. Preserve current sessions, settings and existing outputs. Inspect the local Blender version, Python API, available Boolean solvers and font licenses first. Prefer Blender 5.2.3 LTS. Explain any version adaptations. Do not install dependencies, download assets, execute untrusted files or publish anything without permission. Deliver a native editable .blend, a readable background Python builder, a standalone validation script, test logs, a quick start, limitations, font notices and representative Cycles renders. No external resources, scripts or add-ons should be needed when opening the finished scene. Build real geometry and real shader networks. Keep the procedural modifier live. Save only to a new filename. ## Shape contract The compact JSON appendix is sufficient to reconstruct the frames. For each shape, v lists Y-up vertices in mm. Each record in f is [outward vertex indices, integer value, local up]. Indices start at zero. Convert vectors to Blender with (x,−z,y), set metric scale to .001, and use one Blender unit per mm. Compute center as mean of face vertices, normal from outward winding, right as normalized up cross normal, then re-orthogonalize up as normal cross right. Verify the basis. Preserve labels on the ideal base mesh. Store the source frames on each object. Do not sort faces by display value and lose their correspondence. Make D4, D6, D8, D10, Tens, D12 and D20. Both ten-sided forms use kite faces. Opposing sums are 7, 9, 9, 90, 13 and 21 in that order after excluding D4. Tens always prints two digits, including 00. A standalone zero means ten. Paired zeroes mean 100. For D4, a face's stored value names its opposite vertex. Show each vertex value near that tip on all three incident faces. Place the glyph about 43 percent from face center toward that vertex. Orient glyph up toward the tip. Use a .26 mm radius baseline dot for single 6 and 9. Its center sits half a glyph height plus .76 mm below the anchor on D6 or plus .56 mm on other forms. D6 can switch between digits and conventional pips. Use circles of radius 1.34 mm and grid step 3.75 mm. Two runs bottom left to top right, three adds the center, four uses corners, five adds center, six uses two vertical columns. ## Native construction 1. Keep the ideal mesh centered. Start with a separate editable Bevel of 0.55 mm offset, six segments, circular .5 profile and hardened normals. This offset measures distance along a face. Its resulting radius depends on the angle between faces. Avoid beveling narrow marks accidentally. Use local object space for every marking so transforms and duplication are safe. 2. For matching trials use the licensed Quicksand-Bold.ttf by default and LiberationSerif-Bold.ttf for serif. Document any substitution. Ask for usable font paths if absent. Convert extruded text curves to welded, consistently oriented helper meshes at build time. Preserve holes in 0, 4, 6, 8 and 9. Bake the resulting outlines into the scene. Remove font path dependencies. Hide helpers in viewport and renders and retain explicit links. Keep helper geometry in the same coordinate convention as the ideal die. 3. Center actual glyph bounds. Start heights in mm at D4 3, D6 7.2, D8 4.8, D10 4.7, Tens 4.05, D12 4.6 and D20 3.8. Fit without stretching. Shift D8 and D20 down 0.74 mm and limit width to 5.08. Shift kite-face marks down 0.65 and limit width to 5.7. Limit D12 width to 6.3. Check both fonts and counters visually. Record face IDs and printed values on helper polygons. 4. Implement a shared Geometry Nodes subgroup for positioning the top and bottom outlines. Store attributes per helper point for anchor, full-size planar offset, inward planar miter, face normal and cap fraction and flare. Set Position to anchor + size × offset + (clearance + lip × flare) × miter + normal × mix(floor, top, cap). Derive inward miters from neighboring side-wall normals. Use four rings (cap, flare) of (0,0), (.76,0), (.90,.19), (1,1). Limit each miter so the maximum absolute lip .056 moves that point by at most .31 times its shortest incident edge at minimum mark size. This protects acute serifs. Preserve counters. 5. For engraving, subtract a closed cutter from depth −cut to +.012 mm with a −.056 lip. Join a separate paint solid inset about 0.009 mm on the sides, starting 0.009 above the cavity floor and ending at −cut + cut × fill with a .018 lip. Keep the paint physically recessed. For raised lettering union a solid from −0.055 to +relief mm with a .028 lip. Use Manifold Boolean where supported. Preserve separate output materials for body and marks. Check the actual evaluated assignments after Boolean operations. 6. Branch to the rounded pre-lettering body for Proxy only. Uniformly scale at the end of both paths. Explain that the simple proxy omits protruding relief. Do not advertise a calibrated rolling system, manufacturing readiness or statistical fairness. 7. Expose native switches for proxy, pips on cube, serif and raised. Add local mark scale 0.83–1.06 default 1, cut 0.23–0.44 mm default 0.36, fill fraction 0.18–0.82 default 0.5, relief 0.08–0.36 mm default 0.18, uniform size 0.45–2 default 1 and material selectors. Hide source pointers in an advanced panel. Label, space and share node groups. Check the installed modifier input API. Avoid hard-coded socket numbers when possible. ## Looks and scenes Create editable, optionally asset-marked Principled materials for solid teal, ivory, cream and dark ink, iron and honey metals, two noise-driven color-ramp swirls, and amber using transmission with volume absorption. Add restrained procedural polish bump. Keep pattern coordinates local. Explain the limits of surface swirls, tint by thickness and shared material editing. Add a local-coordinate casting with an object-index translation. Stretch by (.5,1.2,1.45), then sample 3D noise at scale .095, detail 4 and distortion 1.6. Drive separate navy, turquoise and pale mint ramps for surface tint and volume scatter color. Concentrate scattering near noise .515 with peak density .46. Elsewhere keep densities low (.005–.04). Add cyan absorption at .125. Use Principled transmission .72 and roughness near .09. Expose wear through broken anisotropic noise streaks multiplied by local roughness patches. Add separate paint cavity shading, purple absorbing resin, satin brass, coated blue-green enamel and thin-film pearl presets. Use actual editable Cycles nodes. For each form generate 4,096 repeatable candidate points at least .74 mm behind each ideal face and .245 apart. A spatial hash accelerates rejection. Add optional reflective six-sided solid flakes in Geometry Nodes. Keep index i if (i + 173 × particle seed) modulo 4096 is less than count. Randomize rotations and multiply diameter by .48–1. Expose 1–4,000 particles, seed 0–4,095, diameter .035–.22 mm and independent foil material. Keep foil outside the proxy branch and realize before uniform scale. Verify containment and repeatability. Create a photographic scene with a central D20, an amber cube and an iron D12 in softer focus on procedurally grained leather. Use warm and cool strip reflections, a short macro working distance, AgX and an 85 mm lens. Account for Cycles aperture units at this scene scale. Provide a second neutral scene with all seven editable examples. Ground each using the lowest evaluated world vertex. Include an embedded help text. For separate comparison renders isolate an engraved D20 and a recessed pip D6. Use default dimensions and fill. Put the highest value on top, local right aligned +X and up +Y, then yaw +20 degrees about +Z. Center in X and Y. Place a neutral (.18,.18,.18) floor of roughness .8 at the lowest evaluated world vertex. Aim at the die origin. Set the world to flat (.15,.15,.15). Disable depth of field. Use teal linear RGB (.029,.24,.26), cream (.88,.77,.50), body roughness .26, paint roughness .32 and IOR 1.49. Set camera at center + (0,−104,72), 90 mm lens, 36 mm horizontal sensor and 1920×1080. Aim rectangular lights at center from (−50,−55,60), (65,−20,28) and (0,55,65), offsets from center. Sizes are 75×55, 55×80 and 90×25. Start powers at 53000, 18550 and 42400 with the specified numerical unit convention. Use Standard display, no look and zero exposure offset for comparisons. The upper-left 50 × 50 table patch in the D20 reference has median display RGB near 101/255. Treat that as a diagnostic and report changes. ## Acceptance Reopen a copy alone in a fresh directory with factory settings and auto-execution disabled. Test duplication and append. Render both scenes. Validate ideal labels, opposite values, apex consistency, helper orientation, pip counts, evaluated manifold edges, positive volume, nonadjacent overlaps, material assignments, proxy convexity, contact and output restoration after edits. Exercise both fonts, pips, both treatments, material swaps and slider extremes. Check dependencies and private paths. Time representative updates and describe exactly what was timed. Record failures and remedies. If Blender cannot run, distinguish proposed code from tested results. Provide exact build and verification commands, documentation and any remaining review steps. ## Numerical appendix ```json {"D8":{"v":[[0.0,0.0,12.600000381469727],[12.600000381469727,0.0,0.0],[0.0,12.600000381469727,0.0],[-0.0,-0.0,-12.600000381469727],[-0.0,-12.600000381469727,-0.0],[-12.600000381469727,-0.0,-0.0]],"f":[[[0,1,2],6,[-0.40824830532073975,0.8164966106414795,-0.40824830532073975]],[[2,1,3],4,[-0.40824830532073975,0.8164966106414795,0.40824830532073975]],[[4,1,0],7,[-0.40824830532073975,-0.8164966106414795,-0.40824830532073975]],[[3,1,4],1,[-0.40824830532073975,-0.8164966106414795,0.40824830532073975]],[[0,2,5],8,[0.40824830532073975,0.8164966106414795,-0.40824830532073975]],[[5,2,3],2,[0.40824830532073975,0.8164966106414795,0.40824830532073975]],[[4,0,5],5,[0.40824830532073975,-0.8164966106414795,-0.40824830532073975]],[[4,5,3],3,[0.40824830532073975,-0.8164966106414795,0.40824830532073975]]]},"D12":{"v":[[-11.050363540649414,0.0,4.220862865447998],[-11.050363540649414,0.0,-4.220862865447998],[-6.8294997215271,-6.8294997215271,-6.8294997215271],[-4.220862865447998,-11.050363540649414,0.0],[-6.8294997215271,-6.8294997215271,6.8294997215271],[0.0,4.220862865447998,-11.050363540649414],[0.0,-4.220862865447998,-11.050363540649414],[-6.8294997215271,6.8294997215271,-6.8294997215271],[4.220862865447998,-11.050363540649414,0.0],[6.8294997215271,-6.8294997215271,-6.8294997215271],[-6.8294997215271,6.8294997215271,6.8294997215271],[0.0,-4.220862865447998,11.050363540649414],[0.0,4.220862865447998,11.050363540649414],[6.8294997215271,-6.8294997215271,6.8294997215271],[-4.220862865447998,11.050363540649414,0.0],[6.8294997215271,6.8294997215271,-6.8294997215271],[4.220862865447998,11.050363540649414,0.0],[6.8294997215271,6.8294997215271,6.8294997215271],[11.050363540649414,0.0,-4.220862865447998],[11.050363540649414,0.0,4.220862865447998]],"f":[[[0,1,2,3,4],6,[-0.4253253936767578,0.6881909370422363,0.5877852439880371]],[[5,6,2,1,7],4,[0.6881909370422363,0.5877852439880371,-0.4253253936767578]],[[8,3,2,6,9],1,[0.5877852439880371,-0.4253253936767578,0.6881909370422363]],[[10,0,4,11,12],11,[-0.2628655433654785,0.9510565400123596,-0.1624598503112793]],[[13,11,4,3,8],5,[0.9510565400123596,0.1624598503112793,0.2628655433654785]],[[10,14,7,1,0],3,[0.1624598503112793,0.2628655433654785,0.9510565400123596]],[[15,5,7,14,16],8,[0.9510565400123596,-0.1624598503112793,-0.2628655433654785]],[[16,14,10,12,17],12,[0.5877852439880371,0.4253253936767578,-0.6881909370422363]],[[13,8,9,18,19],10,[-0.1624598503112793,-0.2628655433654785,0.9510565400123596]],[[15,18,9,6,5],2,[0.2628655433654785,0.9510565400123596,0.1624598503112793]],[[12,11,13,19,17],9,[-0.6881909370422363,0.5877852439880371,0.4253253936767578]],[[19,18,15,16,17],7,[0.4253253936767578,-0.6881909370422363,0.5877852439880371]]]},"D10":{"v":[[10.200000762939453,1.287988305091858,0.0],[0.0,12.199999809265137,0.0],[3.151973247528076,1.287988305091858,9.700776100158691],[8.251973152160645,-1.287988305091858,5.9954094886779785],[8.251973152160645,-1.287988305091858,-5.9954094886779785],[3.151973247528076,1.287988305091858,-9.700776100158691],[-8.251973152160645,1.287988305091858,5.9954094886779785],[-3.151973247528076,-1.287988305091858,9.700776100158691],[-10.200000762939453,-1.287988305091858,1.2491397102275324e-15],[-8.251973152160645,1.287988305091858,-5.9954094886779785],[-3.151973247528076,-1.287988305091858,-9.700776100158691],[0.0,-12.199999809265137,0.0]],"f":[[[0,1,2,3],7,[-0.48797857761383057,0.7976090908050537,-0.3545371890068054]],[[4,5,1,0],3,[-0.48797857761383057,0.7976090908050537,0.3545371890068054]],[[2,1,6,7],1,[0.186391219496727,0.7976090908050537,-0.5736532211303711]],[[8,6,1,9],9,[0.6031746864318848,0.7976090908050537,-1.0599790154275016e-16]],[[9,1,5,10],5,[0.186391219496727,0.7976090908050537,0.5736532211303711]],[[0,3,11,4],0,[-0.6031746864318848,-0.7976090908050537,0.0]],[[2,7,11,3],4,[-0.186391219496727,-0.7976090908050537,-0.5736532211303711]],[[6,8,11,7],6,[0.48797857761383057,-0.7976090908050537,-0.3545371890068054]],[[10,11,8,9],2,[0.48797857761383057,-0.7976090908050537,0.3545371890068054]],[[5,4,11,10],8,[-0.186391219496727,-0.7976090908050537,0.5736532211303711]]]},"Tens":{"v":[[10.200000762939453,1.287988305091858,0.0],[0.0,12.199999809265137,0.0],[3.151973247528076,1.287988305091858,9.700776100158691],[8.251973152160645,-1.287988305091858,5.9954094886779785],[8.251973152160645,-1.287988305091858,-5.9954094886779785],[3.151973247528076,1.287988305091858,-9.700776100158691],[-8.251973152160645,1.287988305091858,5.9954094886779785],[-3.151973247528076,-1.287988305091858,9.700776100158691],[-10.200000762939453,-1.287988305091858,1.2491397102275324e-15],[-8.251973152160645,1.287988305091858,-5.9954094886779785],[-3.151973247528076,-1.287988305091858,-9.700776100158691],[0.0,-12.199999809265137,0.0]],"f":[[[0,1,2,3],70,[-0.48797857761383057,0.7976090908050537,-0.3545371890068054]],[[4,5,1,0],30,[-0.48797857761383057,0.7976090908050537,0.3545371890068054]],[[2,1,6,7],10,[0.186391219496727,0.7976090908050537,-0.5736532211303711]],[[8,6,1,9],90,[0.6031746864318848,0.7976090908050537,-1.0599790154275016e-16]],[[9,1,5,10],50,[0.186391219496727,0.7976090908050537,0.5736532211303711]],[[0,3,11,4],0,[-0.6031746864318848,-0.7976090908050537,0.0]],[[2,7,11,3],40,[-0.186391219496727,-0.7976090908050537,-0.5736532211303711]],[[6,8,11,7],60,[0.48797857761383057,-0.7976090908050537,-0.3545371890068054]],[[10,11,8,9],20,[0.48797857761383057,-0.7976090908050537,0.3545371890068054]],[[5,4,11,10],80,[-0.186391219496727,-0.7976090908050537,0.5736532211303711]]]},"D4":{"v":[[-7.42462158203125,7.42462158203125,-7.42462158203125],[7.42462158203125,7.42462158203125,7.42462158203125],[7.42462158203125,-7.42462158203125,-7.42462158203125],[-7.42462158203125,-7.42462158203125,7.42462158203125]],"f":[[[0,1,2],4,[-0.8164966106414795,0.40824830532073975,-0.40824830532073975]],[[2,1,3],3,[0.40824830532073975,-0.40824830532073975,-0.8164966106414795]],[[3,1,0],2,[-0.40824830532073975,-0.8164966106414795,0.40824830532073975]],[[0,2,3],1,[-0.40824830532073975,0.8164966106414795,-0.40824830532073975]]]},"D6":{"v":[[-8.0,-8.0,-8.0],[8.0,-8.0,-8.0],[8.0,-8.0,8.0],[-8.0,-8.0,8.0],[-8.0,8.0,-8.0],[8.0,8.0,-8.0],[8.0,8.0,8.0],[-8.0,8.0,8.0]],"f":[[[0,4,5,1],5,[0.0,1.0,0.0]],[[1,5,6,2],3,[0.0,1.0,0.0]],[[2,6,7,3],2,[0.0,1.0,0.0]],[[3,7,4,0],4,[0.0,1.0,0.0]],[[3,0,1,2],6,[0.0,0.0,1.0]],[[4,7,6,5],1,[0.0,0.0,-1.0]]]},"D20":{"v":[[-7.569339752197266,10.0,-1.0316548347473145],[-7.569339752197266,2.3606796264648438,9.77197551727295],[4.678109169006348,-2.3606796264648438,11.441227912902832],[12.247448921203613,2.3606796264648438,1.669252634048462],[4.678109169006348,10.0,-6.039412498474121],[-12.247448921203613,-2.3606796264648438,-1.669252634048462],[-4.678109169006348,-10.0,6.039412498474121],[7.569339752197266,-10.0,1.0316548347473145],[7.569339752197266,-2.3606796264648438,-9.77197551727295],[-4.678109169006348,2.3606796264648438,-11.441227912902832],[2.891230344772339,10.0,7.071067810058594],[-2.891230344772339,-10.0,-7.071067810058594]],"f":[[[11,9,8],1,[-0.37846699357032776,-0.8726779818534851,0.3085382580757141]],[[10,0,1],2,[0.9128709435462952,0.3333333432674408,0.2357022613286972]],[[11,7,6],3,[-0.37846699357032776,0.0,-0.9256147742271423]],[[10,3,4],4,[-0.48621678352355957,0.3333333432674408,0.8077636361122131]],[[9,0,4],5,[-0.2820926308631897,-0.6666666865348816,-0.6899125576019287]],[[7,3,2],6,[-0.07796848565340042,-0.8726779818534851,-0.4820311367511749]],[[11,5,9],7,[0.48621678352355957,-0.8726779818534851,-0.0450151264667511]],[[6,2,1],8,[-0.2820926308631897,-0.8726779818534851,-0.3985685110092163]],[[3,7,8],9,[0.40824830532073975,0.7453559637069702,0.527046263217926]],[[1,5,6],10,[0.07796848565340042,0.7453559637069702,0.6620916724205017]],[[8,4,3],11,[-0.07796848565340042,-0.7453559637069702,-0.6620916724205017]],[[5,1,0],12,[-0.40824830532073975,-0.7453559637069702,-0.527046263217926]],[[4,8,9],13,[0.2820926308631897,0.8726779818534851,0.3985685110092163]],[[10,2,3],14,[-0.48621678352355957,0.8726779818534851,0.0450151264667511]],[[0,9,5],15,[0.07796848565340042,0.8726779818534851,0.4820311367511749]],[[2,6,7],16,[0.2820926308631897,0.6666666865348816,0.6899125576019287]],[[11,6,5],17,[0.48621678352355957,-0.3333333432674408,-0.8077636361122131]],[[10,4,0],18,[0.37846699357032776,0.0,0.9256147742271423]],[[11,8,7],19,[-0.9128709435462952,-0.3333333432674408,-0.2357022613286972]],[[10,1,2],20,[0.37846699357032776,0.8726779818534851,-0.3085382580757141]]]}} ```