tolerant:fix
List of: Scheme Extensions
Subjects: Model Object, Tolerant Modeling
Contents: Constructors

Action: Modifies all of the edges or coedges to make them tolerant.

Filename: cstr/cstr_scm/tmod_scm.cxx

APIs: api_replace_edge_with_tedge, api_replace_vertex_with_tvertex, api_update_tolerance

Syntax: (tolerant:fix entity)

Arg Types: entity entity

Returns: tedge | tvertex


entity is an input entity.

Example: ; tolerant:fix

; Create something with tolerant topology

(define block1 (solid:block


(position 0 0 0) (position 50 50 50)))

;; block1

(tolerant:fix (entity:edges block1))

;; (#[entity 15 1] #[entity 16 1] #[entity 17 1]

;; #[entity 18 1] #[entity 19 1] #[entity 20 1]

;; #[entity 21 1] #[entity 22 1] #[entity 23 1]

;; #[entity 24 1] #[entity 25 1] #[entity 26 1])

; Check for tolerant topology

(tolerant? (car (entity:edges block1)))

;; #t
PDF/CSTR/03SCN.PDF
HTM/DATA/CSTR/CSTR/03SCN/0059.HTM