AlphaPrism is in active development: features may change and you may run into bugs. Keep backups of your work.Known issuesReport a bug
Skip to content

Flatten / Refold ​

Flatten a surface and keep the layout, or return to wrap curves, sheets and solids onto its source or another surface.

Flatten / Refold: A curved surface compared with Its flat layout.
Prism help example. Flatten a surface and keep the layout, or wrap curves, sheets and solids back onto its source or another surface. View full size

In the app

Flatten a face to draw, cut, measure or export. Keep flat and exit leaves the layout in the document. Select it and reopen this tool to refold your edits or wrap geometry onto its source or another face. General surface UV layouts can stretch; only developable layouts preserve lengths.

How to use ​

  1. Choose Flatten / Refold. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
  2. Pick Original flat pattern (surface, curve or sketch, face, edge).
  3. Pick Sketches or curves to refold (solid, surface, curve or sketch, edge, one or more), optional.
  4. Pick Target face (optional) (surface, curve or sketch, face, edge), optional.
  5. Pick Faces or a surface to flatten (surface, face, one or more).
  6. Adjust the settings and check the preview in the viewport.
  7. Use the panel buttons as needed: Export the outline as DXF.
  8. Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.

Settings ​

SettingDefaultValues
OperationFlattenFlatten, Refold / wrap
Create a copy of the curved faceOn
Curve tolerance0.00001 mm0.000001 to 0.1 mm
U scale10.001 to 100
V scale10.001 to 100
Normal scale10.001 to 100
U offset0 mm
V offset0 mm
Normal offset0 mm
Mirror UOff
Swap UVOff
Flip normalOff
Keep input geometryOn
Rebuild last fillet after wrappingOff
Join the picked faces into one pieceOn
Place the flat patternBeside the model (on the ground plane)Beside the model (on the ground plane), At the origin (on the ground plane)
Gap between pieces10 mm0 to 100000 mm
Outline tolerance0.01 mm0 to 100 mm
CreateFlat surface and outlineFlat surface and outline, Flat surface only, Outline curve only
Export DXF to (blank = Documents\Prism\Exports)Text

Script it ​

Command name flatten. See Python scripting and the command reference.

python
import cadkit as cad

cad.run("flatten", slots={"Original flat pattern": ..., "Faces or a surface to flatten": [...]}, operation="Flatten", create_a_copy_of_the_curved_face=True)