|
Action:
|
Displays the current information for the defined slinterface entity.
|
|
|
Filename:
|
skin/skin_scm/skin_scm.cxx
|
|
|
Syntax:
|
(slinterface:debug interface)
|
|
|
Arg Types:
|
interface
|
SLInterface
|
|
|
Returns:
|
boolean
|
|
|
interface is of SLInterface datatype that is a data structure used to control skinning and lofting operations.
|
|
|
Example:
|
; slinterface:debug
|
|
; Build the wire bodies.
|
|
(define w1 (wire-body:points (list
|
|
|
(position 0 0 0) (position 0 2 0)
|
|
|
(position 1 3 0) (position 3 3 0)
|
|
|
(position 4 2 0) (position 4 0 0)
|
|
|
(position 0 0 0))))
|
|
;; w1
|
|
(define w2 (wire-body:points (list
|
|
|
(position 0 0 10) (position 0 3 10)
|
|
|
(position 4 3 10) (position 4 0 10)
|
|
|
(position 0 0 10))))
|
|
;; w2
|
|
; Get the coedges off the wire.
|
|
(define coedges1 (entity:coedges w1))
|
|
;; coedges1
|
|
(define coedges2 (entity:coedges w2))
|
|
;; coedges2
|
|
; Make sections from the coedges.
|
|
(define section1 (section coedges1 #f 1))
|
|
;; section1
|
|
(define section2 (section coedges2 #t 1))
|
|
;; section2
|
|
(define mySect (list section1 section2))
|
|
;; mySect
|
|
; Make the lofting interface.
|
|
(define myInterface
|
|
|
(slinterface:lofting mySect))
|
|
;; myInterface
|
|
(define loftingWires (slinterface:wires myInterface))
|
|
;; loftingWires
|
|
; Use the debug command to display/list general
|
|
;
|
information about the entity.
|
|
(slinterface:debug myInterface)
|
|
; Lofting interface:
|
|
;
|
number of wires: 2
|
|
;
|
wires:
|
|
;
|
|
(entity 16) (entity 17)
|
|
;
|
lofting options:
|
|
;
|
arc_length = #f
|
|
;
|
noTwist = #t
|
|
;
|
align = #t
|
|
;
|
simplify = #t
|
|
;
|
perpendicular = #t
|
|
;
|
solid = #t
|
|
;
|
closed = #f
|
|
; mapping curves:
|
|
;; #t
|