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

Along Curve ​

Repeat objects along a curve or edge chain.

Along Curve: One object and a path compared with Copies following the path.
Prism help example. Repeat objects along a curve or edge chain. View full size

In the app

Pick the objects, then the curve to follow. Each copy lands on the path, optionally turned to follow its direction.

How to use ​

  1. Choose Along Curve. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
  2. Pick Objects to pattern (solid, surface, curve, freeform, one or more).
  3. Pick Path (edges or curves) (curve or sketch, edge, one or more).
  4. Pick Target body (solid), optional.
  5. Adjust the settings and check the preview in the viewport.
  6. Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.

Settings ​

SettingDefaultValues
DistributionEqual count along the pathEqual count along the path, Fixed spacing
Count8Whole number, 1 to 400
Spacing15 mm
Start offset0 mm
End offset0 mm
Reverse directionOff
OrientationFollow the curveKeep orientation, Follow the curve
Aligned axisX axis follows the curveX axis follows the curve, Y axis follows the curve, Z axis follows the curve
Twist0 °-360 to 360 °
ResultNew bodiesNew bodies, Join into a body, Cut from a body
Skip instancesText
Move the original to the first positionOn

Script it ​

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

python
import cadkit as cad

cad.run("pattern_curve", slots={"Objects to pattern": [...], "Path (edges or curves)": [...]}, distribution="Equal count along the path", count=8)