|
Action:
|
Regularizes an entity.
|
|
|
Filename:
|
bool/bool_scm/bool_scm.cxx
|
|
|
APIs:
|
api_regularise_entity
|
|
|
Syntax:
|
(bool:regularise ent [acis-opts])
|
|
|
Arg Types:
|
entity
|
entity
|
|
acis-opts
|
acis-options
|
|
|
Returns:
|
entity
|
|
|
Description:
|
This extension removes single-sided faces that become double-sided- both-inside faces, internal faces and coincident regions. This extension also merges edges and vertices.
|
|
|
entity is an input entity.
|
|
|
acis-opts contains parameters for versioning and journaling.
|
|
|
Example:
|
; bool:regularise
|
|
; Create a solid block.
|
|
(define block1
|
|
|
(solid:block (position -30 -20 0)
|
|
|
(position 0 10 30)))
|
|
;; block1
|
|
; Create another solid block.
|
|
(define block2
|
|
|
(solid:block (position 0 -20 0)
|
|
|
(position 30 10 30)))
|
|
;; block2
|
|
; Nonregularize unite blocks 1 and 2.
|
|
(define unite (bool:nonreg-unite block1 block2))
|
|
;; unite
|
|
; OUTPUT Original
|
|
|
; Regularize the result.
|
|
(define reg (bool:regularise block1))
|
|
;; reg
|
|
; OUTPUT Result
|
|
|
|
|
|
Figure 2-14. bool:regularise
|