Examples
Examples
Try the starting example
- Panel width (mm)
- 200
- Snap center edge inset supplied (mm)
- 15
- Required snap count
- 4
- Fold lines x coordinates (mm)
- 60,140
- Supplied minimum snap-to-fold clearance (mm)
- 10
- Snap x coordinates (mm)
- [15,71.6666666667,128.333333333,185]
- Snap positions violating supplied fold clearance (mm)
- []
- Equal center spacing (mm)
- 56.666667
Try another scenario
- Panel width (mm)
- 200
- Snap center edge inset supplied (mm)
- 15
- Required snap count
- 5
- Fold lines x coordinates (mm)
- 60,140
- Supplied minimum snap-to-fold clearance (mm)
- 10
- Snap x coordinates (mm)
- [15,57.5,100,142.5,185]
- Snap positions violating supplied fold clearance (mm)
- [57.5,142.5]
- Equal center spacing (mm)
- 42.5
Calculation method
Calculation method
Snap x coordinates (mm)
J([b+i*(a-2*b)/(c-1) for i in range(c)])
Snap positions violating supplied fold clearance (mm)
J([b+i*(a-2*b)/(c-1) for i in range(c) if min([abs(b+i*(a-2*b)/(c-1)-v) for v in d] or [a])<e])
Equal center spacing (mm)
(a-2*b)/(c-1)
Symbols and units
- a
- Panel width (mm)
- b
- Snap center edge inset supplied (mm)
- c
- Required snap count
- d
- Fold lines x coordinates (mm)
- e
- Supplied minimum snap-to-fold clearance (mm)
Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.
Assumptions & limits
Assumptions & limits
- One straight row evenly spaced between supplied edge insets. Width≥2×inset, minimum two snaps. Supplied hardware clearances only, no pull-out/strength assessment. Supported limits: All numeric inputs must be finite. Only the explicitly described mathematical scenario is supported.
Are these inputs private?
These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.