mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-18 07:49:26 +00:00
Fold Preview (Object › Plug-ins › Packaging Tools, and the Fold Lines panel's button) shows the document's blank folded about its largest panel, or the panel double-clicked. Creases and perforations fold 90° away from the printed side and partial cuts 90° toward it. Each panel samples a raster of the print, with the fold lines and non-printing layers left out, through its projective map, with a depth buffer; the back shows the board's inside color. The window has a Fold slider, seven view presets, orbit, zoom, pan and perspective, and its status line reports a joint that does not close and panels that pass through each other. - addon.packaging.fold returns each panel's frame, the hinges with their angle and gap, and the collisions. A closing hinge's gap is measured with every hinge folded all the way. - ui.foldPreview sets the window and rejects values of the wrong kind or out of range; saved settings out of range are brought into range. - The print renders off the UI thread where a worker exists and once per document revision. The fold and the view image are worked out again only when the document, the settings or the window's size change.