1
0
Fork 0
freesewing/packages/snapseries/src/index.mjs

44 lines
871 B
JavaScript
Raw Normal View History

2021-09-28 19:28:11 +02:00
// Common width for elastics
export const elastics = {
metric: [3.5, 5, 10, 12, 20, 25, 30, 40, 50, 60, 80, 100, 120],
2021-10-08 17:32:12 +02:00
imperial: [
3.175, 6.35, 9.525, 12.7, 15.875, 19.05, 25.4, 31.75, 38.1, 44.45, 50.8, 76.2, 101.6, 127,
],
2021-09-28 19:28:11 +02:00
}
2021-10-08 18:39:12 +02:00
// Common length for zippers
export const zippers = {
2021-10-15 16:13:21 +02:00
metric: [
80, 100, 120, 140, 150, 160, 180, 200, 220, 250, 300, 350, 400, 450, 500, 550, 600, 650, 700,
750, 800, 900, 1000, 1100, 1200,
],
imperial: 25.4,
2021-10-08 18:39:12 +02:00
}
// Snap to small steps (~1mm)
export const smallsteps = {
metric: 1,
2021-10-15 16:13:21 +02:00
imperial: 0.79375, // 1/32 inch
2021-10-08 18:39:12 +02:00
}
// Snap to medium steps (~5mm)
export const steps = {
metric: 5,
2021-10-15 16:13:21 +02:00
imperial: 3.175, // 1/8 inch
2021-10-08 18:39:12 +02:00
}
// Snap to big steps (~10mm)
export const bigsteps = {
metric: 10,
2021-10-15 16:13:21 +02:00
imperial: 12.7, // 1/2 inch
2021-10-08 18:39:12 +02:00
}
// Default export
export default {
elastics,
zippers,
smallsteps,
steps,
bigsteps,
}