跳到主要内容

measurements

The measurements settings should hold an object with the measurements to draft the pattern for.

Signature

const settings = {
Object measurements={
String measurementName: Number measurementValue,
...
}
}

Example

import { Aaron } from "@openclothes/aaron"

const pattern = new Aaron({
measurements: {
biceps: 254,
chest: 871,
hpsToWaistBack: 380,
hips: 847,
neck: 320,
shoulderSlope: 13,
shoulderToShoulder: 399,
waistToHips: 120,
}
})

Notes

量体参数 should always be specified in millimeter, unless it's an angle measurement (like shoulderSlope) which should be provided in degrees.

提示

The measurements settings property is used to hold all measurements, both regular measurements 以及 any optional measurements.

(There is no optional量体参数 settings property.)