Component:Stitching
From DocR21
The Stitch Component (STITCH) provides a way to stitch, or sew, separate faces together to make a sheet or solid body that is topologically complete. Stitching essentially involves replacing groups of coincident edges or vertices with a single edge or vertex.
| Operation | Description |
|---|---|
| Exact Stitching | This operation allows stitching faces with edges that are coincident within ACIS tolerance (see SPAresabs). |
| Tolerant Stitching | This operation stitches two faces only if the common edges/vertices have approximately the same geometry. |
| Restricted Tolerant Stitching | This operation uses the same algorithm as Tolerant Stitching, except that you specify a list of candidate edges. |
General Topics
- Stitching Variations - Mentions about the variations on stitching.
- Tolerant Stitching Sample Code - Sample code that demonstrates how to typically perform tolerant stitching using api_stitch and api_stitch_nonmanifold.
- Stitch Progress Callback - The stitch progress callback mechanism provides the progress information needed by customers to implement a progress widget.
Options
Note: Stitching options object are derived from abstract class stitch_options
The main Stitching API functions take options object to control their behavior. The options object are passed in via the classes:
- exact_stitch_options - This object is passed as an argument to api_stitch to specify stitching of faces with edges strictly within the ACIS tolerance SPAresabs.
- tolerant_stitch_options - This object is passed as an argument to the API api_stitch and api_stitch_nonmanifold to specify stitching of faces with edges where edges have gaps greater than the ACIS tolerance SPAresabs.
- edge_tolstitch_options - This object is passed to api_stitch to specify stitching of faces with edges where edges have gaps greater than the ACIS tolerance SPAresabs.
Journaling
Journaling is available for Stitching through the standard AcisOptions journaling mechanism.
Versioning
- Main article: Versioning
Versioning is available for Stitching through the standard AcisOptions versioning mechanism.
API Functions
The API to stitch together given entities is api_stitch.
Error Codes
Upon failure of an Stitching API, Error Codes will be returned that explain the failure and suggest possible actions for correction.
Scheme Extensions
The Scheme extension to call api_stitch is entity:stitch.
Refer to the complete list of all Scheme extensions related to the Stitching component.
Related Operations
- Non-manifold bodies can also be unstitched. Refer to api_unstitch_nonmani.
Components
