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

Warp ​

Bend, twist, taper or stretch bodies, surfaces, curves, forms or meshes along an axis.

Warp: A straight bar compared with The bar twisted.
Prism help example. Bend, twist, taper or stretch bodies, surfaces, curves, forms or meshes along an axis. View full size

In the app

Pick bodies, surfaces, curves, forms or meshes, then choose Bend, Twist, Taper or Stretch along an axis. The part of the shape before the start stays put and the part beyond the end moves rigidly with it. Higher smoothness gives solids and surfaces more control points to follow a strong bend. To change only some faces of a solid, pick them under Faces to warp instead: each stays inside its own outline, the other faces are untouched, and the body is left alone if the result would not be a valid solid.

How to use ​

  1. Choose Warp. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
  2. Pick What to warp (solid, surface, curve, freeform, mesh, one or more), optional.
  3. Pick Faces to warp (instead of the whole body) (face, one or more), optional.
  4. Adjust the settings and check the preview in the viewport.
  5. Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.

Settings ​

SettingDefaultValues
WarpBendBend, Twist, Taper (narrow or widen toward one end), Stretch (lengthen or shorten)
Along the axisXX, Y, Z
Bend toward+Z+X, -X, +Y, -Y, +Z, -Z
Angle45 °-360 to 360 °
Amount30 %-95 to 500 %
Warp starts at0 %0 to 100 %
Warp ends at100 %0 to 100 %
Smoothness (solids and surfaces)2Whole number, 0 to 5
Joint tolerance (solids)0.05 mm0.001 to 5 mm

Script it ​

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

python
import cadkit as cad

cad.run("warp", warp="Bend", along_the_axis="X")