|
Action:
|
Displays loops that have coedge gaps in a highlight color and returns the list of entities highlighted.
|
|
|
Filename:
|
heal/heal_scm/scm_adv.cxx
|
|
|
Syntax:
|
(hh:show-loops-gaps body)
|
|
|
Arg Types:
|
body
|
body
|
|
|
Returns:
|
entity ...
|
|
|
Description:
|
Input argument is the
body whose loops that have coedge gaps are to be highlighted.
|
|
|
Example:
|
; hh:show-loops-gaps
|
|
; Display loops with gaps 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]
|
|
(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-loops-gaps body1)
|
|
;; ()
|