Log inGet started
Package

session.module

README.md

editor.session

The bot being built in the garage, and every edit to it. It holds one live v2 design per peer and provides:

  • part operations: add, remove, set a field, translate, duplicate, mirror a part, unlink a twin, replace the whole design, and set the name, number or paint;
  • mirror symmetry with linked twins across the centre line;
  • snapping;
  • continuous drags recorded as a single undo step;
  • undo and redo (up to 100 steps);
  • selection;
  • change listeners;
  • a cached bots.design derive of the live design.

Both the 3D build view (editor/) and the garage panels (screens/) edit the design only through this module, so every surface shares one history and one selection.