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

Draw on Surface ​

Click points on any surface, surface body, freeform form or NURBS surface. The curve follows the surface, over edges onto neighbouring faces. It can also split the face along the curve.

Draw on Surface: Start: a surface compared with Result: a curve lying on it.
Prism help example. Draw a curve directly on a surface the way the spline tool draws one: click a few points and a smooth curve passes through them, over the edge onto the next face if need be. Under Result, keep the curve or split the faces it was drawn on. Fewer points make a calmer curve. A spot that cannot be reached without crossing empty space is refused. The curve stays where it was drawn if the body changes later. View full size

In the app

Click points on a surface, surface body, freeform form, NURBS surface or mesh. A smooth curve passes through them, even over the edge onto the next face. Click the first point again (or tick Closed loop) to join the curve into a closed loop. Drag a point to move it; Delete removes the selected point. Esc stops adding points so you can adjust them, then Enter or Make curve finishes. Under Result choose Split to divide the face along the curve instead of keeping the curve.

How to use ​

  1. Choose Draw on Surface. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
  2. Adjust the settings and check the preview in the viewport.
  3. Use the panel buttons as needed: Add more points, Clear points.
  4. Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.

Settings ​

SettingDefaultValues
ResultCurveCurve, Split the face along the curve
Closed loopOff

Script it ​

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

python
import cadkit as cad

cad.run("curve_on_surface", result="Curve", closed_loop=False)