1
0
Fork 0
freesewing/packages/lunetius/config
Joost De Cock 0353a936cd fix(lunetius): Removed unused code + some tweaks
This design was contributed by @starfetch (thanks for that) and while
integrating it into our monorepo, I noticed some small issues:

 - Both the `headRatio` and `headRatio` options serve no purpose
 - Under certain conditions (length set to upperleg and small
   lengthBonus) the side of the garment would become longer than the
   total length
 - The seam was not one continious path
 - Example files were left over from the tutorial

I've fixed those, and in addition made the following changes:

 - Renamed `lengthBonus` to `lengthRatio` because bonus implies
   adding, whereas this option actually allows more removing than
   adding. I think `length` would be better here, but that was already
   taken, so ratio it is
 - Renamed `widthBonus` to `widthRatio` because consistency
 - Removed unused keys in the config file
 - Store intermediate values in the store so they are available to
   developers looking to extend this design
 - Smoothed out the curved hem
 - Avoid a flurry of if statements when a single assignment will does
   the trick
2021-10-09 18:41:37 +02:00
..
index.js fix(lunetius): Removed unused code + some tweaks 2021-10-09 18:41:37 +02:00