clt

Configurable Leathercraft Templates

Commits at trunk

  1. 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
  2. ccd95e79 Increase default print margin to 5mm Printer I use cannot print 3mm margin. Shota FUJI authored at Shota FUJI comitted at
  3. 6cb083c7 Fix print shifts sideways on wider viewport Shota FUJI authored at Shota FUJI comitted at
  4. 12ef4e4b Fix compact mode doesn't shorten "version" parameter Shota FUJI authored at Shota FUJI comitted at
  5. a8544e2d Output QR code by default Efforts to shorten the URL made a huge difference. Shota FUJI authored at Shota FUJI comitted at
  6. 163e3afe Ignore "result" symlink directory (Nix) Shota FUJI authored at Shota FUJI comitted at
  7. 4ad27d5b Add toolbar Shota FUJI authored at Shota FUJI comitted at
  8. 61d58ff9 Configure favicon Shota FUJI authored at Shota FUJI comitted at
  9. 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
  10. 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
  11. 89ea7ac9 Align scale checker and legends horizontal lines That staggered look makes me uncomfortable. Shota FUJI authored at Shota FUJI comitted at
  12. b341cdcc Shorten parameter string value For more compact URL. Shota FUJI authored at Shota FUJI comitted at
  13. bc979512 Fix "nix build" fails Shota FUJI authored at Shota FUJI comitted at
  14. 31bb5d6c Improve wording on "About" section Shota FUJI authored at Shota FUJI comitted at
  15. f91e95b4 Shorten URL search parameters QR code generation was soooooooooo slow. Shota FUJI authored at Shota FUJI comitted at
  16. 7763db6a Use printed parameter label as field title For consistency and less duplications. Shota FUJI authored at Shota FUJI comitted at
  17. 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
  18. bca4b0ae Output parameters in info section Shota FUJI authored at Shota FUJI comitted at
  19. 85802831 Fix restoring preferences may fail Now it cannot fail even for non-objects. Shota FUJI authored at Shota FUJI comitted at
  20. ab0bb2de Add padding pattern generation Shota FUJI authored at Shota FUJI comitted at
  21. 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
  22. 6e57bae9 Add touch gesture support for preview viewport control Shota FUJI authored at Shota FUJI comitted at
  23. ba8ade1a Make the pointed tip style default I believe this is more common and demanded than the rounded one. Shota FUJI authored at Shota FUJI comitted at
  24. ce8d2927 Add "Pointed" tip style Shota FUJI authored at Shota FUJI comitted at
  25. 893600e1 Fix smooth cubic bezier cannot be in relative mode Shota FUJI authored at Shota FUJI comitted at
  26. 66c4e376 Close all but "General" group by default It's overwhelming. Shota FUJI authored at Shota FUJI comitted at
  27. 14bc7881 Add "About" and "Legal" sections Shota FUJI authored at Shota FUJI comitted at
  28. 4cf091f1 Generate "licenses/third-party.txt" Shota FUJI authored at Shota FUJI comitted at
  29. bcb91336 Change buckle hole offset to lug-to-center-hole distance Because that makes sense more. Usually the center hole is the "ideal" one and other ones are for adjustments. Equipped with lug-to-center-hole distance and short piece length, one can roughly estimate the fit size. Shota FUJI authored at Shota FUJI comitted at
  30. df67c33f Rename "Lug Width" to "Shoulder Width" Not all watch assumes lug width == shoulder width. Some watches requires a strap of "凸" shaped shoulder, due to narrow lug width. Shota FUJI authored at Shota FUJI comitted at
  31. cdc8eb0a Simplify loops length parameters Calculating the total length from various parameters are not precise, and bloats the number of parameters. It also is unintuitive. Directly specifying a length is not user-friendly. However, you can print or cut a piece of paper to the length and test with that. Shota FUJI authored at Shota FUJI comitted at
  32. 7233db09 Disable flap outputs Cutting top and bottom templates and leather pieces separately does not make sense. The cuts will deviate unless you're skilled one (I'm not.) Also this method perfectly works even with paddings, while the previous one does not. Shota FUJI authored at Shota FUJI comitted at
  33. 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
  34. 3099e6ee Draw vertical center guide line Shota FUJI authored at Shota FUJI comitted at
  35. 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
  36. 24da5c14 Fix holes are too close to a case Shota FUJI authored at Shota FUJI comitted at
  37. 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
  38. 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
  39. 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
  40. 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
  41. 25ca0518 Make UI usable on a narrower viewport Shota FUJI authored at Shota FUJI comitted at
  42. 234de916 Fix preview stretches vertically depends on viewport size Shota FUJI authored at Shota FUJI comitted at
  43. 4652d530 Add QR code output option It's heavy, though. Shota FUJI authored at Shota FUJI comitted at
  44. 474346eb Add taper parameter Shota FUJI authored at Shota FUJI comitted at
  45. a195e0c1 Save parameters in query parameters Shota FUJI authored at Shota FUJI comitted at
  46. 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
  47. 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
  48. c65e5da2 Draw cutout for buckle tongue Shota FUJI authored at Shota FUJI comitted at
  49. 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
  50. 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
  51. 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
  52. 8d694a7d Fix loop thickness field won't change the parameter Shota FUJI authored at Shota FUJI comitted at
  53. 98ed2971 Add copyright and license text Shota FUJI authored at Shota FUJI comitted at
  54. 75a1a76e Use automatic layout system for template drawings The current manual coordination is PITA. Shota FUJI authored at Shota FUJI comitted at
  55. 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
  56. edd24c87 Draw loops Shota FUJI authored at Shota FUJI comitted at
  57. be469432 Draw surface leather thickness For consistency and clarity. Shota FUJI authored at Shota FUJI comitted at
  58. a8d80151 Make disabled field more distinguishable Shota FUJI authored at Shota FUJI comitted at
  59. 4b31642f Draw linings Shota FUJI authored at Shota FUJI comitted at
  60. 085f2f43 Draw legends Shota FUJI authored at Shota FUJI comitted at
  61. b009484e Add color schema Shota FUJI authored at Shota FUJI comitted at
  62. 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
  63. c4dcf96c Simplify parameter state management Use the same architecture to the "Preferences" module. Shota FUJI authored at Shota FUJI comitted at
  64. 869e82eb Create "slot" attribute helper function I use that attribute a lot in this project. Shota FUJI authored at Shota FUJI comitted at
  65. 5e3b7179 Add preview theme preference It's no-op for now. Shota FUJI authored at Shota FUJI comitted at
  66. c2cf6314 Group related parameters Shota FUJI authored at Shota FUJI comitted at
  67. 8a831a7a Fix length of the long piece is incorrect Shota FUJI authored at Shota FUJI comitted at
  68. 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
  69. a987934b Add cut line width parameter Shota FUJI authored at Shota FUJI comitted at
  70. 3ed7e671 Add print margin parameter Shota FUJI authored at Shota FUJI comitted at
  71. 44fbcc81 Add input UI for some parameters Shota FUJI authored at Shota FUJI comitted at
  72. 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
  73. f34c65d9 Draw bracket holes Shota FUJI authored at Shota FUJI comitted at
  74. 3c39b2a8 Draw flaps Shota FUJI authored at Shota FUJI comitted at
  75. 301cc607 Create basic app layout Shota FUJI authored at Shota FUJI comitted at
  76. 80e53027 Draw strap outer shape without flaps As a foundation code for the template drawing. Shota FUJI authored at Shota FUJI comitted at
  77. af470c68 Elm + Custom Elements setup Avoided softwares depending on Node.js and/or its ecosystem (npm.) Shota FUJI authored at Shota FUJI comitted at
  78. 880e60c4 Nix project setup Necessary files for project, using Nix as a primary environment setup method. Shota FUJI authored at Shota FUJI comitted at