Manufacturing

Alpha_1 provides a set of basic Manufacturing primitives and operations.

Table of Contents


Numbers with Units

Alpha_1 provides support for different types of units.
number( prereq )
prereq
<prereq_obj> A prereq_obj.
Returns
<NULL> Side effect function


numberValue( value )
value
<value_obj> A value_obj.
Returns
<NULL> Side effect function, prints the value associated with the object.


numberUnit( unit )
unit
<Value_obj> A value_obj.
Returns
<NULL> Side effect function, prints the unit associated with the object.


Manufacturing

Alpha_1 provides support for process planning and manufacturing functions.
fixture( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) Transformation for orienting the part in the fixture.
2) Fixture object.
Returns
<Fixture object> Creates a fixture object. The arguments are switched around to make them compatible with RLisp.


blockFixture ( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) Block stock.
2) Face.
3) Corner.
4) Relative.
5) X Offset.
6) Y Offset.
7) Z Offset.
Returns
<Fixture object> Creates a block fixture object.


profileFixture ( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) Profile stock.
2) Face.
3) Corner
4) Relative.
5) X Offset.
6) Y Offset.
7) Z Offset.
Returns
<Fixture object> Creates a profile fixture object.


tubeFixture ( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) Round tube stock.
2) Face.
3) Corner.
4) Side.
5) Relative.
6) X Offset.
7) Y Offset.
8) Z Offset.
Returns
<Fixture object> Creates a tube fixture object.


barFixture ( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) Bar stock.
2) Face.
3) Corner.
4) Side.
5) Relative.
6) X Offset.
7) Y Offset.
8) Z Offset.
Returns
<Fixture object> Creates a bar fixture object.


machine ( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) List of features contained in the stage.
2) OPTIONAL previous stage.
3) OPTIONAL fixture object.
Returns
<machine_stage_obj> Creates a machine object.


processPlan( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) Part name.
2) Final stage of the process plan.
Returns
<process_plan_obj> Creates a process_plan_obj.


ncGen ( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) Process plan or machine_stage_obj.
Returns
<process_plan_obj> Generate NC code and related documentation from a process plan or a stage. If the argument is a stage, a temporary process plan is created, and the output files will be named according to the default process attribute "part_name".


vector( args )
args
List of numbers.
Returns
<vector_obj> Create a vector_obj (1d matrix_obj) for tool dia list.


solidModel( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) Process plan or machine stage.
Returns
<shell_obj> Resulting solid model for stage or process plan.


shlMill( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) Surface or shell.
2) Shell milling operation type (an integer).
Returns
<shl_mill_obj> Creates a shl_mill_obj.


bclSim( args )
args
<prereq_obj> Arg_obj containing one argument which can be:
1) a machine stage: Simulate the BCL file of this stage.
2) a process plan: Simulate all BCL files of this plan.
3) a boolean: Set bcl_op hook for simultaneous simulation.
4) a string: The BCL file name to simulate.
Returns
<real_type> BCL tool path simulation. Returns The total simulation time.


Offset

Alpha_1 features an Offset and contour package.
normalOffset( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) The surface or shell.
2) The offset amount.
3) Tolerance of appropximation.
4) Optional fill flag,
If this argument is missing, no edge offset is performed.
If it is 'false', only gaps of internal edges are filled.
If it is 'true', gaps of internal and open edges are filled.
Returns
<shell_obj> Creates a shell_obj.


silhouette( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) The surface or shell.
2) Tolerance.
3) Z shift (optional), default is 0.
4) Perapective flag (optional), default is true.
5) Viewing matrix (optional), default is none (unit matrix).
Returns
<group_obj> Creates a list of curves


contour( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) The surface or shell.
2) Contour plane.
3) Tolerance.
4) Euclid flag (optional), default is TRUE. If a surface/shell is given, the UV contours are mapped onto E3 space of this surface/shell.
Returns
<group_obj> Creates a list of curves


connectedRegions( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) The shell.
2) Area threshold (optional), default is -1 to return the largest connected region.
Returns
<shell_obj> Creates a list of regions for connected regions extraction for shell_obj.


srfC1Decomp( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) The shell or surface.
2) Area threshold (optional).
Returns
<object_type> Decompose a surface/shell at C1 discontinuities.


getUnsharedEdges( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) The shell or surface.
2) Working directory (optional).
Returns
<object_type> Extract unshared/open boundary/trimming curves.


srfLocalExtrema( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) The surface.
2) Axis (optional), default is 0.
3) Parametric tolerance (optional), default is EPS.
4) Zero surfaces (partial derivatives), default is NULL.
5) Max. solutions (optional), default is 50.
Returns
<group_obj> Find local extrema of a surface. Creates a list of pt_obj.


subShell( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) The shell.
2) A list of indices.
3) Flag to indicate whether the indices is by surface or by shared edge (optional). Default is TRUE, i.e., index by surface.
Returns
<shell_obj> Extracts a subset of a shell.


ballFillet( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) The shell.
2) Fillet radius.
3) Tolerance. Negative value turns numerical improvemnt on.
4) A list of indices (optional).
5) Flag to indicate whether the indices is by surface or by shared edge (optional). Default is TRUE, i.e., index by surface.
6) Debug step, returns
1: subshell
2: offset shell
3: self-intersection trimmed offset
4: subshell fillet
5: fillet surfaces
Returns
<shell_obj> Constructs rolling ball fillet/rounding.


sharedEdge( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) The shell.
2) A list of edge indices.
Returns
<group_obj> Creates a list of edges.


srfUmbilicPts( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) The surface.
2) Parametric tolerance (optional). Default is EPS.
3) Max. solutions (optional). Default is 50.
Returns
<group_obj> Find umbilic points of a surface.


srfGaussianExtrema( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) The surface.
2) Parametric tolerance (optional). Default is EPS.
3) Max. solutions (optional). Default is 50.
Returns
<group_obj> Find extrema of the gaussian curvature of a surface.


srfMeanExtrema( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) The surface.
2) Parametric tolerance (optional). Default is EPS.
3) Max. solutions (optional). Default is 50.
Returns
<group_obj> Find extrema of the mean curvature of a surface.


srfPrincipalExtrema( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) The surface.
2) Which curvature; 0: max, 1: min, 2: both.
3) Parametric tolerance (optional). Default is EPS.
4) Max. solutions (optional). Default is 50.
Returns
<group_obj> Find extrema of the principal curvature of a surface.


srfLineofCurvature( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) The surface.
2) UV parameters.
3) Which curvature (optional),
0: max,
1: min,
2: max-max,
3: min-min.
4) Stepping size (optional).
5) Cosine epsilon (optional).
Returns
<group_obj> Find line of curvature of a surface.


srfCurvatureEval( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) The surface.
2) UV parameters.
Returns
<group_obj> Evaluate surface curvatures at a point.


get_uv_param( args, idx, u/v)
args
<prereq_obj> Arg_obj containing an argument list.
idx
<real_type> Argument Index.
u/v
<real_type> The returned U/V parameters.
Returns
<NULL> Get UV parameters from the argument. The parameters can be either a pt_obj or a list/array of arg_obj.


get_uv_param_lst( args, idx, u/v)
args
<prereq_obj> Arg_obj containing an argument list.
idx
<real_type> Argument Index.
u/v
<real_type> The returned U/V parameters.
Returns
<int> Total number of parameter pairs.


srfInterEval( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) The first surface.
2) The first UV parameters.
3) The second surface.
4) The second UV parameters.
5) Offset distance (optional).
6) Parametric tolerance (optional).
7) The thrid surface (optional).
8) The third UV parameters (optional).
Returns
<group_obj> Evaluate surface/surface intersection point.


Manufacturing Help

Wrappers for mechanical features. (Range checking and some other error handling.
toolFromName ( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) Name of the tool.
2) Optional name of the tool crib. (default "tools")
3) Optional name of domain. (default "alpha1")
Returns
<object_type> For extracting a tool from the tool database by name.


listCribs ( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) Optional name of domain. (default "alpha1")
Returns
<NULL> For extracting the tool cribs from the database.


listGroups( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) Optional name of crib. (default "tools")
2) Optional name of domain. (default "alpha1")
Returns
<NULL> For extracting the tool groups from a tool crib.


listTools( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) Name of group.
2) Optional name of crib. (default "tools")
3) Optional name of domain. (default "alpha1")
Returns
<NULL> For extracting the tools in a group.


leftOper( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) Feature.
2) Operation name. ("rough", "finish")
Returns
<NULL> For making an operation a left handed one.


setOverride( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) Feature on which override goes.
2) Override type ("tool", "feed", "speed", "peck", "live")
3) Operation name ("rough", "finish", "spotdrill", etc)
4) Value to override with.
Returns
<NULL> For overriding a bunch of general things for NC.


matCond( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) Material group.
2) Material name.
3) Material hardness.
4) Optional hardness measure (brinell assumed).
Returns
<mat_cond_obj> Creates a new mat_cond_obj.


lsdm( args )
args
<prereq_obj> Arg_obj containing the following argument list:
1) Subdomain to list.
Returns
<NULL> For calling list_subdomain for database checking.



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