Turning Feature Recognition


This document describes a preliminary package for turning feature recognition. Constructors like circularArcP, srfRevWithAng and srfRevWithArc can be used to to test the feature recognition routines.

srfsOfRevFromShell( Shl, Eps )
All the surfaces in the shell are checked if it is a surface of revolution. A list of new surfaces which are the complete surfaces of revolution is created. This list is then sorted according to the maximum radius on the profile curve around its axis. A new group of the sorted list is returned.
Returns
<group> group of surfaces of revolution
Shl
<shell | surface | prim | feature> The object whose surfaces of revolution are to be found. All volume primitives and mechanical features will generate a geometric description as a shell, and thus can be used in this operation. Surfaces are internally converted to shells. Shells can also be constructed explicitly if desired.
Eps(1e-6)
<number> Optional numerical resolution.

turningProfileCrvs( Shl, Axis, Pln, Eps )
All the surfaces in the shell are checked if it is a surface of revolution. This list is sorted according to the maximum radius on the profile curve around its axis. Unless specified, the axis of revolution of the first surface in that list is selected as default. A list of profile curves from the surfaces of revolution having the same axis of revolution is returned. All the curves are contained in a default plane, unless an optional plane argument is passed.
Returns
<group> group of profile curves
Shl
<shell | surface | prim | feature> The object whose profile curves of surfaces of revolution are to be found.
Axis
<line> Optional axis of revolution.
Pln
<plane> Optional plane.
Eps(1e-6)
<number> Optional numerical resolution.

minCylinderStock( Axis, Grp )
Returns a minimum round bar stock for the given axis and group of profile curves returned from turningProfileCrvs
Returns
<roundBarStock> minimum sized round bar stock.
Axis
<line> The axis of revolution.
Grp
<group> The group of profile curves.

circularArcP( Crv, Eps )
Returns
<boolean> Determine if a given curve is a circular arc.
Crv
<curve> The curve.
Eps
<number> Optional numerical resolution.

srfOfRevP( Srf, Eps )
Returns
<boolean> Determine if a given surface is a surface of revolution.
Srf
<surface> The surface.
Eps
<number> Optional numerical resolution.

axisOfSrfOfRev( Srf, Eps )
Returns
<line> the axis of a given surface of revolution.
Srf
<surface> The surface.
Eps
<number> Optional numerical resolution.

profileOfSrfOfRev( Srf, Eps )
Returns
<curve> the profile curve of a given surface of revolution.
Srf
<surface> The surface.
Eps
<number> Optional numerical resolution.

srfRevWithAng( Axis, Prof, Angle, Ccw )
Returns
<surface> surface of revolution for a given axis, profile curve and angle of revolution.
Axis
<line> The axis of revolution.
Prof
<curve> The profile curve of revolution.
Angle(360)
<number> Optional angle of revolution.
Ccw(true)
<boolean> Optional flag. If true, the profile curve is swept in counter clock-wise direction around the axis.

srfRevWithArc( Axis, Prof, SecCrv )
Returns
<surface> surface of revolution for a given axis, profile curve and arc. By specifying the circular arc, only part of the surface of revolution can be made.
Axis
<line> The axis of revolution.
Prof
<curve> The profile curve of revolution.
SecCrv
<curve> The circular arc for which the profile curve is swept around the axis.

C_Shape_Edit User's Manual Home Page
Alpha_1 User's Manual.

Copyright © 1998, University of Utah
a1-web@gr.cs.utah.edu