530 B
530 B
title |
---|
Accessing measurements |
Measurements are available on the measurements
key of from the object passed
to your part's draft method. You can destructure them for easy access.
function draftPart = ({
// highlight-start
measurements,
// highlight-end
part
}) {
const a = measurements.chest
const b = measurements['hips']
return part
}
Keep in mind that FreeSewing uses millimeter for everything.