entity:stitch

 

List of:

Scheme Extensions

Subjects:

Stitching

Contents:

Stitch

 


 

 

Action:

Attempts to tolerantly stitch a list of faces and bodies into a single body.

 

Filename:

stitch/stch_scm/scm_stch.cxx

 

APIs:

api_body, api_pm_remove_entity, api_stitch, api_separate_body

 

Syntax:

(entity:stitch list [acis-opts])

 

Arg Types:

list

entity | (entity...)

 

acis-opts

acis-options

 

Returns:

body | (body...)

 

Description:

This extension attempts to tolerantly stitch all the entities in the entity list into a single body. The entities can be faces or bodies. The output body can either be a single lump or multiple lumps. Each lump can be a sheet lump or a solid lump.

 

 

The extension attempts to stitch the faces even if the edges are not within ACIS SPAresabs tolerance, but are still "reasonably" close to each other. In this case, some edges may be converted to tolerant edges during stitching.

 

 

list is the entity list of the Scheme component.

 

 

acis-opts contain versioning and journaling information.

 

Limitations:

Tolerant stitching cannot be used to create non-manifold (i.e. more than 2 coedges per edge) bodies. Coincident faces cannot be stitched. All the incoming entities must be checked.

 

Example:

; entity:stitch

 

; Stitch faces into a single lump body if possible.

 

; Load a file containing a bad part

 

(part:load "heal1.sat")

 

;; (#[entity 2 1] #[entity 3 1] #[entity 4 1]

 

;; #[entity 5 1])

 

; Zoom the view in order to see the part

 

(zoom-all)

 

;; #[view 1076700200]

 

(entity:stitch (part:entities))

 

;; #[entity 6 1]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PDF/STITCH/02SC.PDF
HTM/DATA/STITCH/STITCH/02SC/0001.HTM