ds:select-face
List of: Discussion Topic
Subjects: Deformable Surfaces
Contents: ACIS Deformable Modeling

Action: Selects a face from a solid model and prepares it for deformable modeling.

Syntax: (ds:select-face)

Arg Types: None

Returns: unspecified

Description: Prompts for a pick-event, which is used to select a face from a solid model for deformable editing. When the pick-event successfully selects a face, that face is bound to the mouse with (ds:mouse selected-face), and is bound to the global variable ds-model so that all the convenience routines provided in the file dsdemo.scm will work on the selected-face.

Limitations: Not Applicable

Example: ; ds:select-face

; If not already loaded, then

(load "dsdemo.scm")

;; [Autoloading dscurve.scm]

;; [Autoloading demoinit.scm]

; Select one face out of a solid to sculpt

(ds:select-face)

; Pick Face to Sculpt:

; the end-user places the cursor over a

; face and picks

; with the left mouse.

;; #[entity 5 1] constructed new attrib_dm2acis

;; now bound to ds-face

;; ds:mouse Function Map

;; Note: Bind a load to the slider function with

;; (ds:set-mouse-slider tag gain_inc)

;; Note: Release select keys after mouse moves begin

PDF/ADM/DDEMO.PDF
HTM/DATA/ADM/ADM/DDEMO/0005.HTM