How the-potential-dropout/genzineers-fashion-tool works
Genzineers Fashion Tool is a fashion-design workbench for drafting garments and accessories, fitting them to a body, previewing cloth in 3D, and preparing manufacturing outputs. The main workflow is to choose a template, customize its design and materials, fit and simulate it, then inspect patterns and generate production information. The README also documents embroidery and machine-code output, AI-assisted control, and CLI/MCP interfaces. Relationships below use the supplied excerpts, SOURCE INDEX references, and README; unsampled implementation details are not inferred.
Main entry points: main.js App shell · cloth.js Cloth simulation · studio.js Design studio · actions.js Design actions
Components 25
Design and authoring
- App shell
src/main.js - Design studio
src/app/studio.js - Pattern canvas
src/app/pattern.js - Design actions
src/core/actions.js
Fashion domain
- Garment templates
src/core/templates.js - Parametric drafting
src/core/blocks.js - Project model
src/core/project.js - Fabric library
src/core/fabrics.js - Assembly methods
src/core/assembly.js - Color and print
src/core/color.js - Trims catalog
src/core/trims.js - Specialty designs
src/core
Fit and preview
- Sizing and grading
src/core/sizes.js - Body mannequins
src/sim/mannequins.js - Avatar model
src/sim/avatar.js - Cloth simulation
src/sim/cloth.js - 3D viewer
src/render/viewer.js
Manufacturing
- Tech pack and marker
src/make/production.js - Embroidery artwork
src/make/embroidery.js - Machine output
src/make/machine.js
Application interfaces
- AI assistant
src/ai/assistant.js - AI providers
src/ai/providers.js - CLI
cli/gft.mjs - MCP server
mcp-server/index.js
Other components
- Designer
Connections 35
- Designer → App shell: designs in
- App shell → Design studio: opens
src/main.js - App shell → Pattern canvas: opens
src/main.js - App shell → Design actions: dispatches
src/main.js - Design studio → Tech pack and marker: requests outputs
src/app/studio.js - Design studio → Fabric library: uses catalog
src/app/studio.js - Design studio → Garment templates: uses presets
src/app/studio.js - Design studio → Sizing and grading: uses sizing
src/app/studio.js - Pattern canvas → Assembly methods: uses methods
src/app/pattern.js - Pattern canvas → Tech pack and marker: requests outputs
src/app/pattern.js - Design actions → Project model: updates
src/core/actions.js - Garment templates → Parametric drafting: builds with
src/core/templates.js - Parametric drafting → Assembly methods: uses methods
src/core/blocks.js - Cloth simulation → Fabric library: resolves properties
src/sim/cloth.js - Cloth simulation → Avatar model: builds body
src/sim/cloth.js - Cloth simulation → Sizing and grading: gets body
src/sim/cloth.js - Cloth simulation → Body mannequins: uses body field
src/sim/cloth.js - App shell → Cloth simulation: uses simulation
src/main.js - App shell → 3D viewer: renders preview
src/main.js - 3D viewer → Cloth simulation: renders simulation
src/render/viewer.js - 3D viewer → Fabric library: resolves appearance
src/render/viewer.js - Tech pack and marker → Fabric library: calculates material use
src/make/production.js - Tech pack and marker → Assembly methods: uses seam data
src/make/production.js - App shell → Embroidery artwork: offers artwork
src/main.js - App shell → Machine output: offers machine output
src/main.js - Designer → AI assistant: requests assistance
- AI assistant → Design actions: issues actions
src/ai/assistant.js - AI assistant → AI providers: uses providers
- Designer → CLI: uses commands
cli/gft.mjs - CLI → Design actions: issues actions
cli/gft.mjs - Designer → MCP server: connects tools
mcp-server/index.js - MCP server → Design actions: issues actions
mcp-server/index.js - App shell → Color and print: uses design rules
src/main.js - App shell → Trims catalog: uses catalogs
src/main.js - App shell → Specialty designs: offers specialties
src/main.js