Interface Specification

The interface object is used to specify the geometry, location, and orientation of an interface between two components in an assembly. The geometry of the interface is specified by any Alpha 1 geometry object. The location and orientation of the interface are specified using an anchor. A corresponding anchor is specified for the location of the interface on a part.

The interface has a positive and negative side (although both are specified with the same geometry in the current implementation). The positive side is oriented in the positive Z direction and the negative side is oriented in the negative Z direction.

The current implementation of the interface object is only a preliminary version. Additional functionality and slots for additional information will be added later.

Interface Constructors

interface( Orientation, Geometry )
Returns
<interface> An interface object specifying the geometry, location, and orientation of the interface.
Orientation
<anchor> The location and orientation of the interface.
Geometry
<object> The object containing the geometry of the interface.
intfc2Anch( Interface, New-Orientation, Side )
Returns
<interface> A new interface with the location and orientation specified by the new-orientation. Generally used to position the interface on a part.
Interface
<interface> The original interface specification.
New-Orientation
<anchor> An anchor specifying the new location and orientation of the interface.
Side
<string> "+" (the positive side of the interface) or "-" (the negative side of the interface).
obj2Intfc( Interface, Object, Object-Anchor, Side )
Returns
<object> A copy of the object transformed with the object-anchor oriented in the direction of the interface. Generally used to orient a part relevant to the interface in an assembly.
Interface
<interface> The interface specification.
Object
<object> The object to be transformed.
Object-Anchor
<anchor> An anchor specifying the location and orientation of the interface on the object.
Side
<string> "+" (the positive side of the interface) or "-" (the negative side of the interface).

Interface Accessors

Interface "sub-parts" (or "slots") can be accessed by the member names. Member access expressions are of the form
    <object>.<member_name>
More information on accessors is available at the Accessors in C_Shape_Edit manual page. 

Interface

Members:
geometry, anchor
Indexing:
None

C_Shape_Edit User's Manual Home Page 
Alpha_1 User's Manual.
Copyright © 1998, University of Utah
a1-web@gr.cs.utah.edu