Action:
|
Prints a table of all faces in the current part, including their containing entities and surface types.
|
|
Filename:
|
kern/kern_scm/qfac_scm.cxx
|
|
APIs:
|
api_get_active_part, api_get_faces
|
|
Syntax:
|
(face:types)
|
|
Arg Types:
|
None
|
|
Returns:
|
string
|
|
Example:
|
; face:types
|
|
; create a solid cylinder
|
|
(define cylinder (solid:cylinder (position 0 0 0)
|
|
|
(position 0 0 30) 10))
|
|
;; cylinder
|
|
; request a list of all faces in current part
|
|
(face:types)
|
|
; entity:(entity 1 1)
|
|
;
|
|
|
face:(entity 4 1) face-type:Cylinder
|
|
;
|
|
|
face:(entity 5 1) face-type:Plane
|
|
;
|
|
|
face:(entity 6 1) face-type:Plane
|
|
;; #t
|