1
0
Fork 0
Commit graph

4 commits

Author SHA1 Message Date
Joost De Cock
44660ed9db chore: Changed neckstimate calculations and menswear base 2020-02-20 13:53:21 +01:00
Joost De Cock
954d32a21d feat: Switched to proportions only for neckstimate 2020-02-04 18:51:03 +01:00
Joost De Cock
5b6bd190d4 fix(utils): Fixed unknown measurement issue in neckstimate
Neckstimate uses the neckCirumference measurement to give you and
estimate of the measurement name you pass it.

It only works for measurements it knows, and whether it *knows* a
measurement or not depends on whether it finds it in the data of
measurements it uses to calculate the estimate.

That data is split between models with and without breasts, because they
have different bodies, and the estimates are different.

There was a problem with models that have a with-breast measurement
(like underbust or bustSpan) but are a *no breast* model. Perhaps they
started out as a model with breasts, and were then reconfigured.

This change makes neckstimate check that, if a measurement is not found,
it is perhaps found in the *with breasts* list, and if so will return
that estimate instead. It will also log a warning to the console.

Neckstimate will still throw an error if the measurement is nowhere to
be found (not in with or without breasts).
2019-10-18 19:42:12 +02:00
Joost De Cock
1e37f1147c Added everything for Model Graph component 2019-08-24 18:25:05 +02:00