chore(tutorial) Removed circumference suffix from measurements
This commit is contained in:
parent
721661b281
commit
2ef20d5693
5 changed files with 36 additions and 38 deletions
|
@ -1,12 +1,12 @@
|
|||
export default function(part) {
|
||||
export default function (part) {
|
||||
let { Point, points, Path, paths, measurements, options } = part.shorthand()
|
||||
|
||||
let tweak = 1
|
||||
let target = (measurements.headCircumference * options.neckRatio) / 4
|
||||
let target = (measurements.head * options.neckRatio) / 4
|
||||
let delta
|
||||
do {
|
||||
points.right = new Point((tweak * measurements.headCircumference) / 10, 0)
|
||||
points.bottom = new Point(0, (tweak * measurements.headCircumference) / 12)
|
||||
points.right = new Point((tweak * measurements.head) / 10, 0)
|
||||
points.bottom = new Point(0, (tweak * measurements.head) / 12)
|
||||
|
||||
points.rightCp1 = points.right.shift(90, points.bottom.dy(points.right) / 2)
|
||||
points.bottomCp2 = points.bottom.shift(0, points.bottom.dx(points.right) / 2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue