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

Action: Returns the vertex and edge with the largest tolerances on the specified entity.

Filename: cstr/cstr_scm/tmod_scm.cxx

APIs: api_get_tedges, api_get_tvertices

Syntax: (tolerant:report entity)

Arg Types: entity entity

Returns: string


entity is an input entity.

Example: ; tolerant:report

; Create a block with tolerant topology

(define block1 (solid:block (position 0 0 0)


(position 50 50 50)))

;; block1

; get list of all edge entities in block1.

(define edge1 (car (entity:edges block1)))

;; edge1

; Replace edge with tolerant edge.

(define tol-edge (edge:tolerant edge1))

;; tol-edge

; Move geometry to defined direction.

(define move (tolerant:move tol-edge


(gvector 5 0 5)))

;; move

; Get the vertex and edge with largest tolerances.

(tolerant:report block1)

; Vertex tolerance = 5.000000e+000

; Edge tolerance = 7.071068e+000

;; (#[entity 16 1] #[entity 15 1])
PDF/CSTR/03SCN.PDF
HTM/DATA/CSTR/CSTR/03SCN/0064.HTM