clt

Configurable Leathercraft Templates

Commits at 345ad57d54faf970c66840819655c5f4a2f3c686

  1. 345ad57d Change taper "waist" position for short piece The previous "half the piece" wins in almost all normal piece length configurations. Shota FUJI authored at Shota FUJI comitted at
  2. 3099e6ee Draw vertical center guide line Shota FUJI authored at Shota FUJI comitted at
  3. c74ccabd Make tapered section straight Curved lines were difficult to cut. I mean, it's really hard to verify the cut is accurate. This slope shape is easier to cut. To furthermore help checking the cut, I also added a guide line where tapered section ends. When taper is large (e.g., 20/15mm,) corners stand out and the overall shape looks blocky. However, for most realistic size combinations, the transition would be barely noticeable. Shota FUJI authored at Shota FUJI comitted at
  4. 24da5c14 Fix holes are too close to a case Shota FUJI authored at Shota FUJI comitted at
  5. 57fd5c57 Specify tapered width instead of taper amount Specifying taper amount is super unintuitive, even with the "xx/yy" notation. Shota FUJI authored at Shota FUJI comitted at
  6. cd842d7e Make lining leather mandatory Lining is necessary for this style of leather straps. I mean, without it, hide touches the human skin all the time. That's stupid. Shota FUJI authored at Shota FUJI comitted at
  7. 1837da51 Remove buckle tongue cutout I don't think having that in a template makes sense. Cutout's center sits on the folded edge, which will be impossible to precisely calculate due to thickness variance comes from skiving. Shota FUJI authored at Shota FUJI comitted at
  8. c97020d7 Thinner default rendering line width I felt it's little bit too thick when cutting the printed template. Shota FUJI authored at Shota FUJI comitted at
  9. 25ca0518 Make UI usable on a narrower viewport Shota FUJI authored at Shota FUJI comitted at
  10. 234de916 Fix preview stretches vertically depends on viewport size Shota FUJI authored at Shota FUJI comitted at
  11. 4652d530 Add QR code output option It's heavy, though. Shota FUJI authored at Shota FUJI comitted at
  12. 474346eb Add taper parameter Shota FUJI authored at Shota FUJI comitted at
  13. a195e0c1 Save parameters in query parameters Shota FUJI authored at Shota FUJI comitted at
  14. 1f96d837 Move Dict / Parameters conversion into generic modules I'll use these in URL parsing / serializing too. Shota FUJI authored at Shota FUJI comitted at
  15. 1563005d Use field presence for boolean field This uses the same semantics to URLSearchParams, so URL-syncing implementation would benefit from this. Shota FUJI authored at Shota FUJI comitted at
  16. c65e5da2 Draw cutout for buckle tongue Shota FUJI authored at Shota FUJI comitted at
  17. 1d162c98 Make field group collapsible There already are quite a few fields, and the number will go up more. Shota FUJI authored at Shota FUJI comitted at
  18. f6fcac81 Add highlighting feature Sometimes I myself wonder "how does this field's value affect the generated template?" Shota FUJI authored at Shota FUJI comitted at
  19. ad3eb5d2 Reduce margin for more spaces for drawings I printed the template and it felt there is too much space especially surroundings. Shota FUJI authored at Shota FUJI comitted at
  20. 8d694a7d Fix loop thickness field won't change the parameter Shota FUJI authored at Shota FUJI comitted at
  21. 98ed2971 Add copyright and license text Shota FUJI authored at Shota FUJI comitted at
  22. 75a1a76e Use automatic layout system for template drawings The current manual coordination is PITA. Shota FUJI authored at Shota FUJI comitted at
  23. 9c059cc4 Add input fields to remaining parameters Flaps are not included, as I'm yet to decide whether I should add "spring bar diameter" and change the flaps to "overlaps". Shota FUJI authored at Shota FUJI comitted at
  24. edd24c87 Draw loops Shota FUJI authored at Shota FUJI comitted at
  25. be469432 Draw surface leather thickness For consistency and clarity. Shota FUJI authored at Shota FUJI comitted at
  26. a8d80151 Make disabled field more distinguishable Shota FUJI authored at Shota FUJI comitted at
  27. 4b31642f Draw linings Shota FUJI authored at Shota FUJI comitted at
  28. 085f2f43 Draw legends Shota FUJI authored at Shota FUJI comitted at
  29. b009484e Add color schema Shota FUJI authored at Shota FUJI comitted at
  30. 9c021e6e Use Barlow for number inputs By default, UA sets "sans-serif" rather than "inherit". I choose "Barlow" instead of "Inter", because Barlow stands out and has beautiful numerical glyphs. Shota FUJI authored at Shota FUJI comitted at
  31. c4dcf96c Simplify parameter state management Use the same architecture to the "Preferences" module. Shota FUJI authored at Shota FUJI comitted at
  32. 869e82eb Create "slot" attribute helper function I use that attribute a lot in this project. Shota FUJI authored at Shota FUJI comitted at
  33. 5e3b7179 Add preview theme preference It's no-op for now. Shota FUJI authored at Shota FUJI comitted at
  34. c2cf6314 Group related parameters Shota FUJI authored at Shota FUJI comitted at
  35. 8a831a7a Fix length of the long piece is incorrect Shota FUJI authored at Shota FUJI comitted at
  36. 0ce3add1 Round incremented value by keyboard step up/down Without rounding, "float quirks" such as "0.999998" appears occasionally. Shota FUJI authored at Shota FUJI comitted at
  37. a987934b Add cut line width parameter Shota FUJI authored at Shota FUJI comitted at
  38. 3ed7e671 Add print margin parameter Shota FUJI authored at Shota FUJI comitted at
  39. 44fbcc81 Add input UI for some parameters Shota FUJI authored at Shota FUJI comitted at
  40. 4ba1ccd5 Add custom fonts The "local()" missing in Barlow font is intentional: that font is used for the template thus geometry is critical. If browser picks the system installed one up and there is a difference (e.g., weight settings,) it can mess up the layout. Shota FUJI authored at Shota FUJI comitted at
  41. f34c65d9 Draw bracket holes Shota FUJI authored at Shota FUJI comitted at
  42. 3c39b2a8 Draw flaps Shota FUJI authored at Shota FUJI comitted at
  43. 301cc607 Create basic app layout Shota FUJI authored at Shota FUJI comitted at
  44. 80e53027 Draw strap outer shape without flaps As a foundation code for the template drawing. Shota FUJI authored at Shota FUJI comitted at
  45. af470c68 Elm + Custom Elements setup Avoided softwares depending on Node.js and/or its ecosystem (npm.) Shota FUJI authored at Shota FUJI comitted at
  46. 880e60c4 Nix project setup Necessary files for project, using Nix as a primary environment setup method. Shota FUJI authored at Shota FUJI comitted at