face:intersect
List of: Scheme Extensions
Subjects: Booleans
Contents: Boolean

Action: Gets the intersection curve between two faces.

Filename: bool/bool_scm/bool_scm.cxx

APIs: api_clean_wire, api_fafa_int

Syntax: (face:intersect face1 face2 [acis-opts])

Arg Types: face1 face

face2 face

acis-opts acis-options

Returns: wire-body

Description: This extension finds the intersection curve between two faces. It returns the curve in the form of a wire-body with one or more circuits.


face1 is an input face.


face2 is the other input face.


acis-opts contains parameters for versioning and journaling.

Example: ; face:intersect

; Create a planar face.

(define face1 (face:plane


(position -30 -20 -10) 60 40))

;; face1

; Set color for face1.

(entity:set-color face1 2)

;; ()

; Create another planar face.

(define face2


(face:plane (position 0 -20 20)


60 40 (gvector 1 0 0)))

;; face2

; Set color for face2.

(entity:set-color face2 3)

;; ()

; OUTPUT Two Faces


; Find the intersection curve between the two faces.

(define intersect1


(face:intersect face1 face2))

;; intersect1

; OUTPUT Intersection



Figure 2-18. face:intersect
PDF/BOOL/02SC.PDF
HTM/DATA/BOOL/BOOL/02SC/0027.HTM