hh:show-bad-vertices
List of: Scheme Extensions
Subjects: Healing
Contents: Healing

Action: Displays bad vertices in a highlight color and returns the list of entities highlighted

Filename: heal/heal_scm/scm_anly.cxx

Syntax: (hh:show-bad-vertices body)

Arg Types: body body

Returns: entity ...

Description: This extension displays bad vertices. Bad vertices are those that do not lie on the underlying surfaces and/or the edges. This extension should be called after the geombuild analysis phase of healing.


Input argument is the body whose bad vertices are to be highlighted.

Example: ; hh:show-bad-vertices

; Display bad vertices in a highlight color.

; 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]

; Combine the faces into a body

(define body1 (hh:combine (list (entity 2)


(entity 3) (entity 4) (entity 5))))

;; body1

; Prepare the body for healing

(hh:preprocess body1)

;; #[entity 6 1]

(hh:analyze-body body1)

; GEOMBUILD CHECK RESULTS :

; Statistics of the body from geombuild check :

; no. of edges = 17

; no. of bad edges = 4

; no. of coedges = 17

; no. of bad coedges = 4

; no. of vertices = 17

; no. of bad vertices = 0

; no. of bad tangent edges = 0

; no. of bad tangent edges analytic = 0

; no. of G1 bad tangent edges analytic = 0

; no. of bad tangent edges uv_uv = 0

; no. of bad tangent edges boundary uv_uv = 0

; no. of bad tangent edges uv_nonuv = 0

; no. of bad tangent edges nonuv_nonuv = 0

; no. of bad tangent edges 3_4_sided = 0

; no. of surfaces = 4

; no. of discontinuous surfaces = 0

; percentage of good geom = 92

;()

;; 92

(hh:show-bad-vertices body1)

;; ()
PDF/HEAL/02SC.PDF
HTM/DATA/HEAL/HEAL/02SC/0036.HTM