Action:
|
Converts unhealed edges to tolerant edges.
|
|
Filename:
|
heal/heal_scm/scm_heal.cxx
|
|
APIs:
|
api_hh_make_tolerant
|
|
Syntax:
|
(hh:make-tolerant body [acis-opts])
|
|
Arg Types:
|
body
|
body
|
|
acis-opts
|
acis-options
|
|
Returns:
|
body
|
|
Description:
|
This extension examines all the edges in the body and converts each unhealed edge into a tolerant edge. This should be done before the body termination phase (hh:terminate-body-for-healing), in order to use the healing attributes.
|
|
|
Input argument is the
body whose edges are to be healed.
|
|
|
The optional argument
acis-opts helps enable journaling and versioning options.
|
|
Example:
|
; hh:make-tolerant
|
|
; Make tolerant edges on a healed body.
|
|
; 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
|
|
(hh:autoheal body1)
|
|
; ... (autoheal results)
|
|
;; (#[entity 6 1] 72 100)
|
|
(define tolerant (hh:make-tolerant body1))
|
|
;; tolerant
|
|
; Terminate the body for healing
|
|
(define terminate
|
|
|
(hh:terminate-body-for-healing body1))
|
|
;; terminate
|