Skip to documentation content
On this page
  1. Reference contract
  2. Contract
  3. Signature
  4. Authoritative source

capsule

Create the same Geometry > Capsule rounded-cylinder primitive exposed by the UI.

Reference contract

FieldValueDescription
symboltelion_api.Model.capsule
signature(label: 'str' = 'Capsule 1', radius: 'Any' = '0.25[m]', cylinder_length: 'Any' = '1[m]', center: 'Iterable[Any]' = ('0[m]', '0[m]', '0[m]'), axis: 'Iterable[Any]' = ('0', '0', '1'), origin: 'str' = 'Center', **fields: 'Any') -> 'Feature'
returnFeature

Create the same Geometry > Capsule rounded-cylinder primitive exposed by the UI.

Contract

PropertyValue
symboltelion_api.Model.capsule
signature(label: 'str' = 'Capsule 1', radius: 'Any' = '0.25[m]', cylinder_length: 'Any' = '1[m]', center: 'Iterable[Any]' = ('0[m]', '0[m]', '0[m]'), axis: 'Iterable[Any]' = ('0', '0', '1'), origin: 'str' = 'Center', **fields: 'Any') -> 'Feature'
returnFeature

Signature

telion_api.Model.capsule(label: 'str' = 'Capsule 1', radius: 'Any' = '0.25[m]', cylinder_length: 'Any' = '1[m]', center: 'Iterable[Any]' = ('0[m]', '0[m]', '0[m]'), axis: 'Iterable[Any]' = ('0', '0', '1'), origin: 'str' = 'Center', **fields: 'Any') -> 'Feature'

Authoritative source

Catalog
python:telion_api.__all__
Identity
telion_api.Model.capsule
Path
sdk/python/telion_api/model.py
Symbol
telion_api.Model.capsule