Commits at baa6e15957b2e821de7c92d557fe3010b9196c73
baa6e159Place 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
115a476bDelete 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
bce8e838Generate 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
e250c4f7Rename "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
7a4d6454Fix 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
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