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

Replace Face ​

Make faces lie on another plane or face.

Replace Face: Start: a face and a sloped target compared with Result: the face on the target.
Prism help example. Make faces lie on another plane or face. The neighbouring faces stretch to stay connected. View full size

In the app

Pick the flat faces that should move, then the plane or face they should end up on. Material is added or removed between the two, and the neighbouring faces stretch to follow. A tilted target gives a wedge. Clicking any face of a hole, slot, pocket or boss picks the whole feature; “Select by” can pick one face, a tangent chain, every feature of the same size, or the whole pattern.

How to use ​

  1. Choose Replace Face. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
  2. Pick Flat faces to replace (face, one or more).
  3. Pick Target plane or flat face (face, plane).
  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
Also editOnly what I pickedOnly what I picked, Matching features, The whole pattern

Script it ​

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

python
import cadkit as cad

cad.run("replace_face", slots={"Flat faces to replace": [...], "Target plane or flat face": ...}, also_edit="Only what I picked")