How vives-project-xp/motio works
Motio combines a browser simulator, a Raspberry Pi motor-control interface, and mechanical design/fabrication models for the drawing machine. The documented workflow is to configure and preview motion, calculate motor positions, send them to the Pi for step pulses, and drive three motors that combine arm and paper-plate motion into a physical drawing. The graph preserves documented simulator capabilities and separate hardware design branches. Relationships for unsampled simulator internals are left unverified; source excerpts show the laser-generator and Fusion assembly responsibilities.
Main entry points: app.js Motion simulator · main.py Laser generator · box_part.py Box panel layout · ui.js Parameter UI
Components 25
Simulator
- Motion simulator
Software/Simulator/js/app.js - Parameter UI
Software/Simulator/js/ui.js - Patterns and words
Software/Simulator/js/patterns.js - Motion kinematics
Software/Simulator/js/kinematics.js - Safety checks
Software/Simulator/js/validation.js - Collision checks
Software/Simulator/js/collisionDetection.js - Preview rendering
Software/Simulator/js/renderers.js - Assembly guide
Software/Simulator/js/assembly.js - Parts list
Software/Simulator/js/bom.js
Motor control
- Pi motor interface
Software/Pi-Interface/motio.py - gShield drivers
- Three motors
- Paper drawing
Mechanical design
- Box geometry
Hardware/BoxV3/box_design/box_design.py - Fusion assembly
Hardware/BoxV3/fusion/CycloidDrawerV3/cycloid/assembly.py - Assembly motion
Hardware/BoxV3/fusion/CycloidDrawerV3/cycloid/geometry/kinematics.py
Fabrication
- Laser generator
Hardware/BoxV3/lasersnij/generator/main.py - Box panel layout
Hardware/BoxV3/lasersnij/generator/parts/box_part.py - SVG export
Hardware/BoxV3/lasersnij/generator/export/svg_document.py - DXF export
Hardware/BoxV3/lasersnij/generator/export/dxf_document.py
User interface hardware
- Touchscreen enclosure
Hardware/Bedieningspaneel/montage.py - Panel parts
Hardware/Bedieningspaneel/bovenplaat.py - Panel dimensions
Hardware/Bedieningspaneel/paneel_maten.py
Other components
- Machine operator
- Browser
Connections 24
- Machine operator → Browser: operates
README.md - Browser → Motion simulator: runs
README.md - Machine operator → Parameter UI: sets parameters
- Parameter UI → Motion simulator: configures
- Motion simulator → Patterns and words: offers
- Motion simulator → Motion kinematics: calculates positions
- Motion simulator → Safety checks: checks safety
- Safety checks → Collision checks: checks collisions
- Motion simulator → Preview rendering: previews motion
- Motion simulator → Assembly guide: shows guide
- Motion simulator → Parts list: provides parts list
- Motion simulator → Pi motor interface: sends motor positions
README.md - Pi motor interface → gShield drivers: sends step pulses
README.md - gShield drivers → Three motors: drives
README.md - Three motors → Paper drawing: combine motion
README.md - Fusion assembly → Assembly motion: uses
Hardware/BoxV3/fusion/CycloidDrawerV3/cycloid/assembly.py - Laser generator → Box panel layout: creates
Hardware/BoxV3/lasersnij/generator/main.py - Laser generator → SVG export: writes
Hardware/BoxV3/lasersnij/generator/main.py - Laser generator → DXF export: exports
Hardware/BoxV3/lasersnij/generator/main.py - Box panel layout → SVG export: draws paths
Hardware/BoxV3/lasersnij/generator/parts/box_part.py - Box panel layout → DXF export: saves paths
Hardware/BoxV3/lasersnij/generator/parts/box_part.py - Touchscreen enclosure → Panel parts: assembles
Hardware/Bedieningspaneel/montage.py - Panel parts → Panel dimensions: uses dimensions
Hardware/Bedieningspaneel/bovenplaat.py - Box geometry → Laser generator: supplies box design