1
0
Fork 0

add cutting layouts to pdf export

This commit is contained in:
Enoch Riese 2023-03-15 12:48:46 -05:00
parent 47953e8e27
commit 05c0a9dbbf
9 changed files with 183 additions and 74 deletions

View file

@ -78,7 +78,7 @@ export const GrainDirectionPicker = ({ grainDirection, activeFabric, updateGist
)
}
const useFabricLength = (isImperial, height) => {
export const useFabricLength = (isImperial, height) => {
// regular conversion from mm to inches or cm
const unit = isImperial ? 25.4 : 10
// conversion from inches or cm to yards or meters