Codaform
EN
Download
The Codaform handbook

The documentation articles are available in English.

Plant primitives

SPHERESEGMENT

Creates Plant's SPHERESEGMENT using the native R, P and Q meanings from the Autodesk primitive contract.

Where to find it
Home > Primitives > Plant primitives > SPHERESEGMENT
When to use it
Spherical caps/segments that should retain Plant's SPHERESEGMENT parameters
On this page

Step by step

  1. Pick the insertion point at the lower segment-face centre.
  2. Set sphere radius R.
  3. Set segment height P; ordinary placement keeps Q centred automatically.
  4. Use Parameter Graph when you need an explicit off-centre Q.

Parameters

SPHERESEGMENT(s, R, P, Q): R is sphere radius, P is segment height and Q is the height where the segment starts from the sphere centre. The base point is the centre of the lower segment face.

Placement

To avoid the native P=Q=0 full-sphere preview, ordinary R -> P placement seeds a temporary nonzero P during radius acquisition while keeping Q at its documented/default value 0. The P stage then grows the segment from the equatorial lower face; Q remains independently editable in Parameter Graph after placement.

OSNAP

Non-degenerate lower/upper segment circles expose centre/quadrant references.

Keep in mind

  • P=Q=0 is still preserved for imported/native data as the common untrimmed/default varmain form; staged placement deliberately starts from a visible segment instead.

Keep building

Documentation