The 3D ACIS® Modeler (ACIS) is Spatial’s prominent 3D solid modeling engine. 3D InterOp is a CAD data translation framework (Interoperability)

Option:Check ff int

From DocR19

Jump to: navigation, search

Contents

Action

Sets additional validity checking of the body.

Name String

check_ff_int

Scheme

Type Values Default
boolean #f, #t #f

C++

Type Values Default
logical FALSE, TRUE FALSE

Description

Enables additional validity checking of an entity from api_check_entity. The following extra checks performed when this option is set to TRUE:

  • Checks for improper face/face intersections (on faces containing or contained by the entity).
  • Checks for improper shell containment between two shells in the same lump.
  • Checks for improper lump containment (i.e. one lump containing another).

If any problems are found, an ERROR_ENTITY object is returned on the insane_ents ENTITY_LIST.

Example

; check_ff_int 
; Create some geometry 
(define b1 (solid:block (position 0 -10 -10) (position 10 10 10))) 
;; b1 
(define b2 (solid:block (position 15 -10 -10) (position 25 10 10))) 
;; b2 
(bool:unite b1 b2) 
;; #entity 2 1 
; Allow bad body to be made 
(option:set "lop_ff_int" #f) 
;; #f 
; Try to make an invalid body 
(lopface (ray (position 5 0 0) (gvector 1 0 0)))) (gvector 20 0 0)) 
;; #entity 2 1 
(option:set "check_ff_int" #t) 
;; #f 
(entity:check b1) 
;; checked: 
;; 2 lumps 
;; 2 shells 
;; 0 wires 
;; 12 faces 
;; 12 loops 
;; 48 coedges 
;; 24 edges 
;; 16 vertices 
;; entid -57048 entid -55072: 
;; Error: face intersection 
;; entid -57048 entid -55552: 
;; Error: face intersection 
;; entid -57048 entid -55800: 
;; Error: face intersection 
;; entid -57048 entid -56040: 
;; Error: face intersection 
;; entid -57048 entid -56280: 
;; Error: face intersection 
;; entid -57288 entid -55312: 
;; Error: face intersection 
;; entid -57288 entid -55552: 
;; Error: face intersection 
;; entid -57288 entid -55800: 
;; Error: face intersection 
;; entid -57288 entid -56040: 
;; Error: face intersection 
;; entid -57288 entid -56280: 
;; Error: face intersection 
;; entid -57528 entid -55072: 
;; Error: face intersection 
;; entid -57528 entid -55312: 
;; Error: face intersection 
;; entid -57528 entid -55552: 
;; Error: face intersection 
;; entid -57528 entid -55800: 
;; Error: face intersection 
;; entid -57528 entid -56280: 
;; Error: face intersection 
;; entid -58008 entid -55072: 
;; Error: face intersection 
;; entid -58008 entid -55312: 
;; Error: face intersection 
;; entid -58008 entid -55800: 
;; Error: face intersection 
;; entid -58008 entid -56040: 
;; Error: face intersection 
;; entid -58008 entid -56280: 
;; Error: face intersection 
;; entid -57000 entid -55024: 
;; Warning: shell intersection 
;; entid 1423104 entid 1430328: 
;; Warning: lump intersection 
;; Body containing improper intersections created. 
;; ()
Personal tools