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

Untrim ​

Undo a trim: restore the whole natural surface, or just fill the holes in a face.

Untrim: A face with a hole compared with The whole face.
Prism help example. Undo a trim: restore the whole natural surface, or just fill the holes in a face. View full size

In the app

Pick a trimmed surface or face. 'Natural surface' removes every trim and gives back the full patch it was cut from; 'Fill the holes' keeps the outer outline and closes the cut-outs. Planes and other endless surfaces only offer the second.

How to use ​

  1. Choose Untrim. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
  2. Pick Surface or face (surface, face, one or more).
  3. Adjust the settings and check the preview in the viewport.
  4. Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.

Settings ​

SettingDefaultValues
What to restoreThe whole natural surfaceThe whole natural surface, Fill the holes only (keep the outline)

Script it ​

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

python
import cadkit as cad

cad.run("untrim", slots={"Surface or face": [...]}, what_to_restore="The whole natural surface")