clt

Configurable Leathercraft Templates

Commits at f09d79d55d888ccb24cc21f1ade99454208aa69f

  1. f09d79d5 Create README.md Shota FUJI authored at Shota FUJI comitted at
  2. 18d4391f Add optional outer offset to top pieces As the design requires top and bottom pieces, one of them has to be cut larger than the another and trimmed after gluing. Considering it's always the top piece that has to be trimmed when using paddings, adding an offset to top pieces is the natural choice. Even if I'll switch to glue larger pieces together then trim both using the template, this version would work as well. Shota FUJI authored at Shota FUJI comitted at
  3. baa6e159 Place cut pieces using simple bin packing Pieces not fitting into the first page will go to 2nd (or 3rd) page. With this change, extreme values such as 150mm length with 30mm shoulder width no longer triggers overflow. Still, 150mm head pc. length + 50mm case side flap + 50mm buckle side flap overlaps to info area, but I don't consider that combination practical. To handle this kind of extreme large pieces, I have to implement mechanism to split a piece into multiple pieces with gluing overlaps. I tested print layout using print preview, on Firefox and Chromium both on Linux. Shota FUJI authored at Shota FUJI comitted at
  4. 753cb32c Fix head piece's layout height being shorter Shota FUJI authored at Shota FUJI comitted at
  5. 115a476b Delete color schema from parameters I don't use that. And more importantly, I have no idea how that's useful. URL is now 4 characters shorter. Shota FUJI authored at Shota FUJI comitted at
  6. bce8e838 Generate flaps Add the feature back. I thought it's not useful but it was inconvenient manually allocating by hand when cutting a leather. Due to the added cuts, graphics will overflow for wider widths. I'll address that later. For my usecases, at this moment, that's not a deal breaker. Shota FUJI authored at Shota FUJI comitted at
  7. e250c4f7 Rename "top/bottom piece" to "head/tail piece" "top" and "bottom" feels confusing, especially "top leather" and "bottom (under) leather" started to involve. Shota FUJI authored at Shota FUJI comitted at
  8. 7a4d6454 Fix padding pieces are smaller version of main rather than offset If one build a piece with the previous paddings and main pieces, margin around the padding piece will not be uniform. Offset shape drawing is not an easy problem, and as I choose Elm for robustness and correctness sacrificing flexibility, I opted for SVG hack to do quasi-offset shape drawing. Shota FUJI authored at Shota FUJI comitted at
  9. 96715d9c Decrease number of parameters column As available area narrowed due to increase of default print margin. Shota FUJI authored at Shota FUJI comitted at
  10. ccd95e79 Increase default print margin to 5mm Printer I use cannot print 3mm margin. Shota FUJI authored at Shota FUJI comitted at
  11. 6cb083c7 Fix print shifts sideways on wider viewport Shota FUJI authored at Shota FUJI comitted at
  12. 12ef4e4b Fix compact mode doesn't shorten "version" parameter Shota FUJI authored at Shota FUJI comitted at
  13. a8544e2d Output QR code by default Efforts to shorten the URL made a huge difference. Shota FUJI authored at Shota FUJI comitted at
  14. 163e3afe Ignore "result" symlink directory (Nix) Shota FUJI authored at Shota FUJI comitted at
  15. 4ad27d5b Add toolbar Shota FUJI authored at Shota FUJI comitted at
  16. 61d58ff9 Configure favicon Shota FUJI authored at Shota FUJI comitted at
  17. bbda233a Change template specific file to CC-BY-4.0 The code is MPL-2.0, but it outputs CC-BY-4.0. How to let who read the code know the output is CC-BY-4.0? Perhaps there is a better way to do this, but using the same license is the best way I could come up with. The plan is, I'm going to add templates and refine the current codebase. If there is good separation between template design and template builder application framework, code licensed under CC-BY-4.0 no longer matter. Why bother deriving from existing templates when writing from scratch using the framework is easy? Shota FUJI authored at Shota FUJI comitted at
  18. 7741e833 Move watch strap specific parts into subdirectory If I'm going to add an another watch strap template or completely new template, that'd require changing URL. The most important functionality of this app (CLT) is whole state / parameters is inside URL, so invalidating existing URLs is not desirable. Shota FUJI authored at Shota FUJI comitted at
  19. 89ea7ac9 Align scale checker and legends horizontal lines That staggered look makes me uncomfortable. Shota FUJI authored at Shota FUJI comitted at
  20. b341cdcc Shorten parameter string value For more compact URL. Shota FUJI authored at Shota FUJI comitted at
  21. bc979512 Fix "nix build" fails Shota FUJI authored at Shota FUJI comitted at
  22. 31bb5d6c Improve wording on "About" section Shota FUJI authored at Shota FUJI comitted at
  23. f91e95b4 Shorten URL search parameters QR code generation was soooooooooo slow. Shota FUJI authored at Shota FUJI comitted at
  24. 7763db6a Use printed parameter label as field title For consistency and less duplications. Shota FUJI authored at Shota FUJI comitted at
  25. 8f22b2ca Parameters healing screen for unparsable parameters Silently fallback to default parameters while ignoring acceptable parameters is not okay behavior. Shota FUJI authored at Shota FUJI comitted at
  26. bca4b0ae Output parameters in info section Shota FUJI authored at Shota FUJI comitted at
  27. 85802831 Fix restoring preferences may fail Now it cannot fail even for non-objects. Shota FUJI authored at Shota FUJI comitted at
  28. ab0bb2de Add padding pattern generation Shota FUJI authored at Shota FUJI comitted at
  29. 496e8e2b Use same width for free loop and fixed loop I don't remember why I choose different sizes. Shota FUJI authored at Shota FUJI comitted at
  30. 6e57bae9 Add touch gesture support for preview viewport control Shota FUJI authored at Shota FUJI comitted at