Skip to content
Development version. Forge is under active development and testing. APIs, behaviour, coverage and verification results may be incomplete or change without notice; published PASS results are not a support guarantee or production-readiness claim.

Shape.on

Place a supported within-component feature on a target face.

Related guide

Signature

Shape.on(self, target, *, face=<Faces.TOP: 'top'>, offset=(0, 0))

Use when

Put a Hole or another supported feature on an existing Shape and describe its entry/support surface with the same Faces vocabulary used by shell() and Edges.from_faces().

Limits

All six Faces values are accepted as topology intent. TOP/BOTTOM placement is qualified; side-face placement may still report an explicit native placement/topology limitation. Component assembly attachment uses Anchor.

Parameters

  • target — Existing Shape that receives the feature.
  • face — Cardinal target surface from the shared Faces vocabulary. Defaults to Faces.TOP.
  • offset — In-plane (x, y) offset from the target face centre, in mm. Defaults to (0, 0).

Example

Hole(d=8).on(plate, face=Faces.TOP, offset=(20, 0))