hh:show-periodic-curves
List of: Scheme Extensions
Subjects: Healing
Contents: Healing

Action: Displays periodic curves in a highlight color and returns the list of entities highlighted.

Filename: heal/heal_scm/scm_adv.cxx

Syntax: (hh:show-periodic-curves body)

Arg Types: body body

Returns: entity ...

Description: This extension highlights any curve of the input body that has an analysis attribute indicating the curve is periodic.

Example: ; hh:show-periodic-curves

; Display periodic curves in a highlighted

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

; OUTPUT Original


(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-periodic-curves body1)

;; ()

; OUTPUT Result



Figure 2-10. hh:show-periodic-curves
PDF/HEAL/02SC.PDF
HTM/DATA/HEAL/HEAL/02SC/0053.HTM