create-mekanism-modular/tools
Amir Alexander Abdelbaki 6dba9d9f24 Two buttons that write: the transform back, and the UVs afresh
The quickstart could show that a model was in the wrong place and then leave you
to retype the number somewhere else. `Write to source` closes that: the panel's
translation and rotation go back into the module entry they were read from,
with its scale and its origin left as the module had them, because placement
lives in the module rather than in the geometry. A model no module names - a
sword part, an icon of its own - has nowhere to write to and says so instead of
guessing at a file. Whole numbers stay whole, so an axis a drag never touched
comes back reading `0` rather than `0.0`.

`Unwrap UVs` is the other half, and it is the same unwrap ARMOUR_GUI does when
it saves: every face gets a rectangle of its own, the atlas size is written
beside the boxes, and the faces keep the texture key they already name rather
than being pointed at `#0`. A template is painted to match only where there is
no texture yet - a guide is scaffolding, and overwriting art someone has
painted because the boxes moved would be the tool destroying the work it exists
for. A sprite has no boxes to cut, and says that rather than writing an empty
atlas.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-24 21:01:16 +02:00
..
ARMOUR_EDITOR.py A viewport that draws, and a front door that opens with no arguments 2026-08-24 20:53:07 +02:00
ARMOUR_GUI.py A viewport that draws, and a front door that opens with no arguments 2026-08-24 20:53:07 +02:00
ARMOUR_QUICKSTART.py Two buttons that write: the transform back, and the UVs afresh 2026-08-24 21:01:16 +02:00
MATERIAL_EDITOR.py A front door for the armour editor, and names that say what to run 2026-08-24 16:18:33 +02:00
generate_materials.py Name materials with the lang key MIAPI actually reads 2026-08-14 15:47:02 +02:00
guiplatform.py A viewport that draws, and a front door that opens with no arguments 2026-08-24 20:53:07 +02:00
materials.py The fang's element, the core's new corners, and gem slots for limbs 2026-08-17 09:46:59 +02:00
mcmodel.py A viewport that draws, and a front door that opens with no arguments 2026-08-24 20:53:07 +02:00
preview_armour.py model adjustments 2026-08-18 17:50:53 +02:00