Skip to documentation content
On this page
  1. Where to find it
  2. How to use it
  3. Settings and initial values
  4. Result
  5. Troubleshooting

Capsule

Create a rounded-ended elongated solid.

Create a rounded-ended elongated solid.

Where to find it

Geometry workspace; System → Geometry

How to use it

Set the capsule dimensions and position, then inspect the end regions at a suitable zoom. Choose Build All Geometry to update Graphics.

Settings and initial values

SettingInitial valueMeaning
OriginCenterCenter uses the entered center coordinates. Corner currently adds Radius in x and y, and Cylinder length / 2 + Radius in z in global coordinates. These offsets are not rotated with a tilted axis; prefer Center and explicit coordinates for tilted placement.
Radius0.25[m]Set the shared radius of the straight cylinder and rounded caps. The total length is Cylinder length + 2 × Radius. Use a positive length in metres or compatible units, such as 10[mm].
Cylinder length1[m]Set the straight section between cap centers, not the total length. The total length is Cylinder length + 2 × Radius. Use a positive length in metres or compatible units, such as 10[mm].
Center X0[m]Set the global x coordinate of the capsule center in metres or compatible units. Review Origin because some primitives apply an additional Corner offset.
Center Y0[m]Set the global y coordinate of the capsule center in metres or compatible units. Review Origin because some primitives apply an additional Corner offset.
Center Z0[m]Set the global z coordinate of the capsule center in metres or compatible units. Review Origin because some primitives apply an additional Corner offset.
Axis X0Set the dimensionless x component of the primitive axis. The three components are normalized, so their magnitude does not change the object size. Use a nonzero vector; a zero vector currently falls back to global +z.
Axis Y0Set the dimensionless y component of the primitive axis. The three components are normalized, so their magnitude does not change the object size. Use a nonzero vector; a zero vector currently falls back to global +z.
Axis Z1Set the dimensionless z component of the primitive axis. The three components are normalized, so their magnitude does not change the object size. Use a nonzero vector; a zero vector currently falls back to global +z.

Result

Built solids and their selectable entities appear in Graphics.

Troubleshooting

Very small radii relative to the length need enough mesh resolution to represent the curved ends.

Capsule — Telion 0.1.0-alpha | Telion