Commits at 96715d9c36af4a5f0b0010ec0ebd22a3a864ef3b
96715d9cDecrease number of parameters column
As available area narrowed due to increase of default print margin.
Shota FUJI
authored at
Shota FUJI
comitted at
ccd95e79Increase default print margin to 5mm
Printer I use cannot print 3mm margin.
Shota FUJI
authored at
Shota FUJI
comitted at
bbda233aChange 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
7741e833Move 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
89ea7ac9Align scale checker and legends horizontal lines
That staggered look makes me uncomfortable.
Shota FUJI
authored at
Shota FUJI
comitted at
f91e95b4Shorten URL search parameters
QR code generation was soooooooooo slow.
Shota FUJI
authored at
Shota FUJI
comitted at
7763db6aUse printed parameter label as field title
For consistency and less duplications.
Shota FUJI
authored at
Shota FUJI
comitted at
8f22b2caParameters 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
ba8ade1aMake 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
bcb91336Change 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
df67c33fRename "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
cdc8eb0aSimplify 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
7233db09Disable 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
345ad57dChange 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
c74ccabdMake 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
57fd5c57Specify 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
cd842d7eMake 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
1837da51Remove 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
c97020d7Thinner 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
1f96d837Move Dict / Parameters conversion into generic modules
I'll use these in URL parsing / serializing too.
Shota FUJI
authored at
Shota FUJI
comitted at
1563005dUse 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
1d162c98Make 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
f6fcac81Add highlighting feature
Sometimes I myself wonder "how does this field's value affect the
generated template?"
Shota FUJI
authored at
Shota FUJI
comitted at
ad3eb5d2Reduce 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
75a1a76eUse automatic layout system for template drawings
The current manual coordination is PITA.
Shota FUJI
authored at
Shota FUJI
comitted at
9c059cc4Add 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
9c021e6eUse 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
c4dcf96cSimplify parameter state management
Use the same architecture to the "Preferences" module.
Shota FUJI
authored at
Shota FUJI
comitted at
869e82ebCreate "slot" attribute helper function
I use that attribute a lot in this project.
Shota FUJI
authored at
Shota FUJI
comitted at
0ce3add1Round 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
4ba1ccd5Add 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