Expand description
Model types generated from the cadlib JSON schemas.
Structs§
- Bounding
BoxParameters - Parameters for bounding box info query
- Bounding
BoxResponse - Response for bounding box query
- Box
- 3D bounding box representation
- Center
OfGravity Parameters - Parameters for compute center of gravity query
- Center
OfGravity Response - Response for compute center of gravity query
- Circle
Primitive - Circle approximating a planar patch
- Color
- Color information for an entity
- Colors
Parameters - Parameters for get model colors query (empty)
- Detect
Common Rotation Parameters - Parameters for detect rotation query
- Detect
Common Rotation Response - Response for detect common rotation query
- Detect
Enclosure Parameters - Parameters for detect enclosure query
- Edge
Metric - Length metric for a single edge
- Entity
- An entity in the CAD model topology (solids, sheets, faces, edges, vertices).
- Face
Metric - Surface area metric for a single face
- Generate
Comfort MapDisc Parameters - Parameters for comfort maps query
- Generate
Comfort MapDisc Response - Response for comfort maps query
- Material
Points Parameters - Parameters for material points query
- Material
Points Response - Response for material points query
- Model
Metrics Parameters - Parameters for model metrics query
- Model
Metrics Response - Response for model metrics query
- Planar
Patch - One patch of adjacent, coplanar faces, together with the primitive approximating it.
- Planar
Patch Primitives Parameters - Parameters for planar patch primitives query
- Planar
Patch Primitives Response - Response for planar patch primitives query
- Rectangle
Primitive - Rectangle approximating a planar patch
- Tessellate
Faces Parameters - Parameters for the tessellate faces query.
- Tessellate
Faces Response - Response for the tessellate faces query
- Tessellate
Parameters - Parameters for tessellate query
- Tessellate
Response - Response for tessellation query
- Vector2
- 2D vector representation
- Vector3
- 3D vector representation
- Volume
Metric - Volume and surface area metrics for a single solid or sheet
- Volume
Parameters - Parameters for compute volume query
- Volume
Response - Response for volume query
Enums§
- Allowed
Facet Faults Level - Level of faults allowed in tessellation (Supported only for Parasolid models)
Used in quality checks to classify the tessellation faults in three levels: mild, moderate and serious.
The default is
Mild, which allows only minor faults that do not significantly affect the quality of the tessellation.Moderateallows more significant faults that may affect the quality but are still acceptable for most applications.Seriousallows all faults, including those that may result in a poor quality tessellation, and should be used with caution. - Entity
Type - Type of entity. A body is never part of the topology, since it is represented by its top-level solids or sheets.
- Material
Points Query Type - Query type for material points
- Patch
Type - The kind of primitive that approximates a planar patch
- Result
Encoding - Encoding format for STL result data, used in some queries to control how the result is encoded (e.g. for comfort map disc)
- Tessellation
Type - Tessellation strategy (Supported only for Parasolid models)
ChordTolcontrols curve tolerance by specifying the maximum allowable distance between a true curved edge and the straight-line chords (facet edges) used to approximate it. TheMaxFacetWidthstrategy uses a maximum facet width to control the maximum size of the facets, which can be more intuitive in some cases. When usingMaxFacetWidth, themaxFacetWidthparameter controls the maximum width of the facets.
Type Aliases§
- Colors
Response - Response for get model colors query List of colors defined on solids and sheets
- Detect
Enclosure Response - Response for detect enclosure query List of solids enclosing the input point
- Entities
Response - Response for entities query — a flat list of all entities.