DETC2000/DAC METHOD AND CODE FOR THE VISUALIZATION OF MULTIVARIATE SOLIDS

Similar documents
Finding Reachable Workspace of a Robotic Manipulator by Edge Detection Algorithm

Using Isosurface Methods for Visualizing the Envelope of a Swept Trivariate Solid

DIMENSIONAL SYNTHESIS OF SPATIAL RR ROBOTS

Optimal Design of a 6-DOF 4-4 Parallel Manipulator with Uncoupled Singularities

A New Algorithm for Measuring and Optimizing the Manipulability Index

Approximate swept volumes of NURBS surfaces or solids

Singularity Analysis of an Extensible Kinematic Architecture: Assur Class N, Order N 1

LEVEL-SET METHOD FOR WORKSPACE ANALYSIS OF SERIAL MANIPULATORS

DETC APPROXIMATE MOTION SYNTHESIS OF SPHERICAL KINEMATIC CHAINS

Tracking Minimum Distances between Curved Objects with Parametric Surfaces in Real Time

Geometric and Solid Modeling. Problems

STATISTICS AND ANALYSIS OF SHAPE

Lecture 1 Course Introduction

Constraint and velocity analysis of mechanisms

SCREW-BASED RELATIVE JACOBIAN FOR MANIPULATORS COOPERATING IN A TASK

Intermediate Desired Value Approach for Continuous Transition among Multiple Tasks of Robots

Math 635: Algebraic Topology III, Spring 2016

Constrained modification of the cubic trigonometric Bézier curve with two shape parameters

Geometric Modeling Mortenson Chapter 11. Complex Model Construction

A New Algorithm for Measuring and Optimizing the Manipulability Index

Force-Moment Capabilities of Redundantly-Actuated Planar-Parallel Architectures

SUBDIVISION ALGORITHMS FOR MOTION DESIGN BASED ON HOMOLOGOUS POINTS

A TESSELLATION FOR ALGEBRAIC SURFACES IN CP 3

Operation Trajectory Control of Industrial Robots Based on Motion Simulation

Using Artificial Neural Networks for Prediction Of Dynamic Human Motion

Topology Optimization of Two Linear Elastic Bodies in Unilateral Contact

Contact Analysis Between a Moving Solid and the Boundary of its Swept Volume

Shape Control of Cubic H-Bézier Curve by Moving Control Point

Synthesis of Spatial RPRP Loops for a Given Screw System

Chapter 1: Introduction

Design and Optimization of the Thigh for an Exoskeleton based on Parallel Mechanism

Solids as point set. Solid models. Solid representation schemes (cont d) Solid representation schemes. Solid representation schemes (cont d)

1498. End-effector vibrations reduction in trajectory tracking for mobile manipulator

Shape fitting and non convex data analysis

Using Perspective Rays and Symmetry to Model Duality

Introduction to Immersion, Embedding, and the Whitney Embedding Theorems

γ 2 γ 3 γ 1 R 2 (b) a bounded Yin set (a) an unbounded Yin set

Chapter 12 Solid Modeling. Disadvantages of wireframe representations

Engineering designs today are frequently

Singularity Loci of Planar Parallel Manipulators with Revolute Joints

However, m pq is just an approximation of M pq. As it was pointed out by Lin [2], more precise approximation can be obtained by exact integration of t

PPGEE Robot Dynamics I

SYNTHESIS OF PLANAR MECHANISMS FOR PICK AND PLACE TASKS WITH GUIDING LOCATIONS

Solution of inverse kinematic problem for serial robot using dual quaterninons and plucker coordinates

A New Free-form Deformation Through the Control of Parametric Surfaces

A DH-parameter based condition for 3R orthogonal manipulators to have 4 distinct inverse kinematic solutions

A new 8-node quadrilateral spline finite element

Chapter 15 Introduction to Linear Programming

Visibility: Finding the Staircase Kernel in Orthogonal Polygons

Efficient Degree Elevation and Knot Insertion for B-spline Curves using Derivatives

Solving IK problems for open chains using optimization methods

Surface Swept by a Toroidal Cutter during 5-Axis Machining

Parameterization of triangular meshes

Don t just read it; fight it! Ask your own questions, look for your own examples, discover your own proofs. Is the hypothesis necessary?

The Convex Hull of Rational Plane Curves

Intersecting a Freeform Surface with a General Swept Surface

Supplementary Information. Design of Hierarchical Structures for Synchronized Deformations

L1 - Introduction. Contents. Introduction of CAD/CAM system Components of CAD/CAM systems Basic concepts of graphics programming

A Multiresolutional Approach for Facial Motion Retargetting Using Subdivision Wavelets

Flank Millable Surface Design with Conical and Barrel Tools

10/11/07 1. Motion Control (wheeled robots) Representing Robot Position ( ) ( ) [ ] T

MODELING MIXED BOUNDARY PROBLEMS WITH THE COMPLEX VARIABLE BOUNDARY ELEMENT METHOD (CVBEM) USING MATLAB AND MATHEMATICA

Contouring 1- and 2-Manifolds in Arbitrary Dimensions

NEXT-GENERATION SWEEP TOOL: A METHOD FOR GENERATING ALL-HEX MESHES ON TWO-AND-ONE-HALF DIMENSIONAL GEOMTRIES

[4] D. Pieper, "The Kinematics of Manipulators Under Computer Control," Unpublished Ph.D. Thesis, Stanford University, 1968.

An Efficient Method for Solving the Direct Kinematics of Parallel Manipulators Following a Trajectory

Reasoning Boolean Operation for Modeling, Simulation and Fabrication of Heterogeneous Objects. Abstract

An Improved Dynamic Modeling of a 3-RPS Parallel Manipulator using the concept of DeNOC Matrices

3D Modeling: Solid Models

IMECE FUNCTIONAL INTERFACE-BASED ASSEMBLY MODELING

Research Article Polygon Morphing and Its Application in Orebody Modeling

Multipatched B-Spline Surfaces and Automatic Rough Cut Path Generation

Exploring Domains of Approximation in R 2 : Expository Essay

Research Article Data Visualization Using Rational Trigonometric Spline

A NOVEL METHOD FOR THE DESIGN OF 2-DOF PARALLEL MECHANISMS FOR MACHINING APPLICATIONS

A fast approximation of the Voronoi diagram for a set of pairwise disjoint arcs

Simplified Voronoi diagrams for motion planning of quadratically-solvable Gough-Stewart platforms

Twiddle Factor Transformation for Pipelined FFT Processing

KINEMATIC ANALYSIS OF A NOVEL THREE DEGREE-OF-FREEDOM PLANAR PARALLEL MANIPULATOR

Solid Modeling Lecture Series. Prof. Gary Wang Department of Mechanical and Manufacturing Engineering The University of Manitoba

3D Object Scanning to Support Computer-Aided Conceptual Design

Inverse Kinematics Analysis for Manipulator Robot With Wrist Offset Based On the Closed-Form Algorithm

IN-SITU CALIBRATION OF A REDUNDANT MEASUREMENT SYSTEM FOR MANIPULATOR POSITIONING

Visualizing High-Order Surface Geometry

Virtual Interaction System Based on Optical Capture

Classifying Points for Sweeping Solids

PSO based Adaptive Force Controller for 6 DOF Robot Manipulators

Motion Control (wheeled robots)

Artificial Neural Network-Based Prediction of Human Posture

Lecture 17: Solid Modeling.... a cubit on the one side, and a cubit on the other side Exodus 26:13

A MULTI-ROBOT SYSTEM FOR ASSEMBLY TASKS IN AUTOMOTIVE INDUSTRY

Path Curvature of the Single Flier Eight-Bar Linkage

3D Modeling Parametric Curves & Surfaces

Topic: Orientation, Surfaces, and Euler characteristic

DM545 Linear and Integer Programming. Lecture 2. The Simplex Method. Marco Chiarandini

3D Object Representation. Michael Kazhdan ( /657)

Resolution of spherical parallel Manipulator (SPM) forward kinematic model (FKM) near the singularities

Workspace and joint space analysis of the 3-RPS parallel robot

Lecture 3. Planar Kinematics

Swept Volumes. Vienna University of Technology,

Transcription:

Proceedings of DEC ASME Design Engineering echnical Conferences September,, Baltimore, Maryland DEC/DAC-9 MEHOD AND CODE FOR HE VISUALIZAION OF MULIVARIAE SOLIDS Karim Abdel-Malek Department of Mechanical Engineering and Center for Computer Aided Design he University of Iowa Iowa City, IA 6 el. (9) -676 amalek@engineering.uiowa.edu Jingzhou Yang Department of Mechanical Engineering and Center for Computer Aided Design he University of Iowa Iowa City, IA 6 yang@engineering.uiowa.edu ABSRAC his paper is devoted to a method and computer code for the automatic visualization of multivariate solids. Example of a multivariate solids arise in computer aided geometric design when a geometric entity is swept in space, where the totality of points touched by the entity is called the swept volume and is characterized by an euation of many parameters. he method and code are presented in an integrated manner and are aimed at providing the reader with a replicable computer algorithm. he formulation for is based on the implicit function theorem; is applicable to the visualization of solids of any number of parameters; and produces the exact boundary representation. Considering the solid as a manifold (possibly with boundaries), it is shown that further stratification of the various submanifolds yields varieties that can be depicted in R. A measure of the computational complexity is presented to give the reader a sense of robustness of the method. he code is developed using a symbolic manipulator and is presented with a number of examples. INRODUCION A broadly applicable analytic formulation for the visualization of multivariate solids is presented that is based on a rigorous mathematical approach. he basic problem which this work addresses is the following: It is reuired to visualize a solid that is characterized by a single euation of three or more parameters parameters (e.g., a surface has two parameters, the sweep of a surface along a curve yields a solid of three parameters, the extrusion of the solid along an axis yield an euation of a solid parameterized in four parameters, etc.). Sweeping in this paper is defined as the motion of a geometric entity along a given path while specifying its orientation. he obective is to find the new solid volume which represents all of the points in space which the obect has occupied at some time during the motion. In this paper, we present a method that is comprehensive and that yields a formulation for visualizing the exact solid. he main challenge for this formulation has been the lack (and proclaimed difficulty) of computer implementation. herefore, the motivation for this work is to demonstrate a simple stepby-step computer program that implements our proposed formulation. While the code represents thousands of lines of computer programs, it is presented in concise and replicable form using a symbolic manipulator. he topic of multivariate solid visualization has not received considerable attention in the past because of the delicate mathematics associated with its underlying formulation. he need for implementing swept volumes in many disciplines such as manufacturing automation, is what has recently enticed various researchers to address this issue (see Kieffer and Litvin 99, Abdel-Malek and Yeh 99b, Blackmore, et al. 997). his paper presents a mathematical method that employs symbolic manipulation to implement methods adapted from differential geometry and differential topology towards the visualization of multivariate solids. he underlying problem for all application areas addressed herein is characterized by the definition of a configuration space (a manifold, possibly with singularities) for a point in R n, the movement of which is constrained by a series of parameters. he term manifold will be used in a non-rigorous fashion for brevity of exposition (although it may have boundaries and singularities). Simple sweep technology in commercial systems also exists but is limited by the type of swept entity and the number Copyright by ASME

of consecutive sweeps. Moreover, approximations are used to represent the resulting swept volume. Indeed, when consecutive sweeps are implemented, the error significantly increases because the result of each individual sweep operation is approximated. he approximation is necessary because of the limitation imposed by current formulations that allow only three parameters (two for the swept entity and one for the sweep path). he main goal of this research is to investigate means and methods for implementing this technology into commercial code in a fast and efficient manner. We will first review prior work in the field. he background formulation will then be presented in Section is an integrated and systematic manner taking into account both implicitly and parametrically defined geometric entities. he determination of all parts comprising the manifold (manifold stratification) will be presented in the context of determining all varieties of the submanifold (Sections -). Computer implementation and computational complexity of the method will be presented in terms of the processing time reuired. Illustrative examples will be shown and future directions of this research will be discussed. Future directions of this research will be addressed in Section. PRIOR RESEARCH rivariate B-Spline and Bezier solids have been treated by a number of researchers. Stanton, et al. (977), Casale and Stanton (98), and Farouki and Hinds (98) all discuss the trivariate form, but avoid the euations of construction of the general boundary surfaces. Lasser (98) discusses the general trivariate B-spline form, the generation of points in the volume and the generation of derivatives of these solids. Sederberg and Parry (986) utilized the freeform trivariate B-spline solid for deformations. hey embed an obect in a deformable region of space defined by the trivariate solid such that each point of the obect has a uniue parameterization that defines its position in the region. he trivariate region is then altered by moving its control points. Using the trivariate form gives great flexibility to the definition of the deformable regions, and gives few parameters, which can be used to control the deformation. Rappaport, et al. (996) have incorporated physical properties into freeform trivariate solids. Reus, et al. (99) treated the trivariate tensor-product solid in a physical manner. he most rigorous work pertaining to the determination of the boundary of swept volumes is the use of sweep differential techniues (Blackmore and Leu 99, Blackmore, et al. 99, Weld and Leu 99, and Leu, et al. 986). In this work, the sweep differential euation (called SDE) and the boundary flow methods are shown to be related to the Lie group theory structure of Euclidean motions. he extension of the sweep differential euation method is also used to determine deformed sweeps (Blackmore, et al. 99). his work presents an elegant method for determining the swept volume with applications to robotics and to NC verification (Blackmore, et al. 997a and Leu, et al. 997). A summary of this work presented by the authors can be found in Blackmore, et. al (997b). Other formulations for addressing the sweep generated by deformable obects was reported by Boussac and Crosnier (996). Because of the importance of the NC verification problem, there have been many works addressing simulation technologies such as those reported by Menon and Voelker (99), Liang, et al. (997), Liu, et al. (996), Jerard and Drysdale (988), Voelker and Hunt (98). Envelope theory has met with limited success at evaluating the swept volume as first presented by Wang and Wang (988) and Sambandan and Wang (989), and followed by many reports extending the theory. For example, Martin and Stephenson (99) evaluated the swept volume of a three-dimensional obect moving along an arbitrary path and have highlighted the implementation of the swept volume techniue as an additional tool in Constructive Solid Geomtery (CSG). o date, the envelope theory has not been shown to solve consecutive sweeping with more than three parameters, nor has it been extended to determine voids in the volume. Other reports that have addressed the sweeping of obects in space include Klok (986), Ahn, et al. (99), Bronsvoort, et al. (989), and Couillart (987), Ilies and Shapiro (999), Juttler and Wagner (996 and 999). Expanding the domain of solid modeling using swept volumes has also been asserted by researchers to be of great importance (Hu and Ling 996 and Ganter et al. 99). Learning and creating new methods to represent complex solid models is a goal that is of importance to many industries that implement CAD technology. Kieffer and Litvin (99) developed an algorithm for the determination of all surfaces and edges that may bound the swept volume. Computations of volumes swept by polyhedral obects in order to compute viewpoints for monitoring obects and features in an active robot work-cell is reported by Abrams and Allen (99). Another type of mathematical approach is defined by Schroeder and Lorensen (99) as the minimization of the sum of distances from the moving obect (a polygon). he instantaneous screw theory, adopted from kinematics, is also used to generate a swept volume (Parida and Mudur 99). More recently, sweep techniues were used to define boundaries of trivariate solids for visualization purposes (Joy and Duchaineau 999 and Madrigal and Joy 999). In prior work, we have demonstrated (Abdel-Malek and Yeh 997a, Abdel-Malek, et al. 997) a general formulation for identifying singular surfaces that may exist on the boundary of a swept volume. he method was implemented to robotics analysis (Abdel-Malek and Yeh 997b, Abdel-Malek, et al. 999a) and to NC verification (Abdel-Malek, et al. 999b). Recently, it was shown that a uadratic form on a surface characterizing the acceleration of a point in the volume identifies the boundary (Abdel-Malek, et al. 998) of the volume in a systematic manner. Furthermore, a methodology Copyright by ASME

was developed using a formulation adapted from kinematics (called the Denavit-Hartenberg representation method) to accurately and systematically represent consecutive sweeps (Abdel-Malek and Othman 999, Blackmore, et al. 999, Abdel-Malek, et al. 999c). FORMULAION FOR IMPLICI AND PARAMERIC SOLIDS he purpose of this section is to present the underlying formulation in an integrated manner characterizing the sweep of both implicitly and parametrically defined surfaces to generate solids, by means of defining the manifold with singularities, performing a manifold stratification, and determining all varieties and visualizing manifold strata. We present the complete formulation in a referenced manner pertinent to definitions and theorems adopted from Differential Geometry and Differential opology (Spivak 976, Guillemin and Pollack 97, Lu 976). Consider a geometric entity parametrized in terms of one or more variables as a ( ) vector given by G( u ), where u = [ u,..., u n ] in n-dimensional space R n. his could be a curve, a surface or volume such as the sphere G( u ) = u cosu cosu u cosu sin u u sinu ). In order to generalize the formulation, we consider boundaries imposed on G( u ) in the form of constraints on the parameters L U u i characterized by ineualities in the form of ui ui ui. We will also consider surfaces implicitly defined on K where G( u ) = u u u and where this surface will be represented by a number of ineualities, with no restriction on the number of ineualities nor on the type of variables. Let K be represented by L U K: = u: l ˆ f ( u) ˆ l,..., l ˆ f ( u) ˆ l, = L U u u u,..., um um uma () where f = [ f,..., f N ] and f i ( u ) denotes an expression representing the surface; l i is a limit; the upper subscript L indicates the lower limit; U denotes the upper limit; N is the number of expressions; and M is the number of variables. he sweep of a geometric entity is governed by an orientation matrix R and a path. Each path will be considered as a second geometric entity parametrized in terms of one or more variables as a ( ) vector Y ( v ). his entity also has a L U boundary defined by v v v. he manifold (possibly with corners, generated by the sweep of G( u,..., u n ) on Y ( v ) is defined by the vector N ( ) = R ( v ) G( u) + Y ( v ) () N N N where is a subset of the Euclidean defined by = [... n ] = u... un v and R ( v ) is the ( ) rotation matrix defining the orientation of the swept entity. In fact, N ( ) characterizes the set of all points that belong to the manifold. Another sweep motion yields an expanded swept volume in the form of N( ) = R( v) N( ) + Y( v) = RRG+ RY+ Y () where now = [ u... un v v ]. he generalized case yields a space characterized by the vector function x, such that n+ m n+ m n+ m x( ) Ri G Ri Y Y n+ m i= = i= + = + + where = u v, u = [ u... u n ], and v = [ v... v m ]. Note that x( ) is defined on the Euclidean space R n+ m where x: R R n+ m, which is a Manifold possibly with corners. o impose ineuality constraints, it was shown (Abdel-Malek and Yeh 997a) that a min max constraint of the form i i i can be transformed into an euation by introducing a new set of generalized coordinates λ i such that = a + b sin λ ; i =,... n+ m () i i i i max min max min where a = ( + ) and b = ( ) are the i i i i i i mid-point and half-range, respectively. At a point in the manifold, a vector constraint function F( ) with parametrized ineuality constraints is defined as x( ) " F( ) = ui.( ui + ui ).( ui ui )sinλ (6) i v.( v + v ).( v v )sinλ n+ where i =,..., n and =,..., m and where = [ u v l ] = [... n + m ] is the vector of all generalized coordinates and l = [ l,..., ln+ m] is the vector of new generalized coordinates. he vector function F( ) represents every point in the swept volume. For the implicit formulation, the constraint is defined by x( ) " f ( u) -. ( + )-. ( - )sin i li li li li λ i F( ): = (7) u-.( u + u )-.( u -u )sinλ N+ v -.( v + v )-.( v -v )sin $ k k k k k λ N++ n k where i =,..., N ; =,..., n; and k =,..., m where the vector of generalized coordinates has been augmented to () $ Copyright by ASME

= ++ x,..., xn, v,..., vm, λ,..., λ N n m or = [ u v l l ], where l = [ λ... λ N ], and l = [ λ N+... λ N+ n+ m]. IMPLICI FUNCION HEOREM In order to have a well-posed formulation, constraints that are used to model the geometry of this problem should be independent, except at certain critical surfaces in the manifold where the Jacobian becomes singular. However, the sweep Jacobian is not suare. It is important, therefore, that there not be open sets in the space of the generalized parameters in which the constraints are redundant. At any interior point of the constraint space, the sweep Jacobian for parametric sweeps is defined as x F I l$ (8) where = l and x x l =. For implicit sweeps, the Jacobian is derived as x " F = f fl (9) I = " l $ where f = f ; fl = f l ; and l = l. Since the swept entities are smooth and continuously differentiable, then the sweep Jacobian exists for both parametrically and implicitly defined surfaces. In both cases, if the rank of the mapping x is maximal, i.e., the image under F of a small neighborhood of will be a threemanifold in three-space. At a point where rank of F is less than, the sweep Jacobian becomes singular, or rankdeficient. One might describe this deficiency as redundancy in that some number of parameters in the constraint space become dependent, possibly lowering the dimension of the image set. Redundancy occurs when the Jacobian F is rankdeficient. Candidate varieties that are boundary to the manifold are identified by computing values that create a locus of points where the Jacobian has lower rank than maximal. Varieties are computed when the locus of points has a Jacobian with a lower rank. Let W characterize a manifold with corners as W ± { Rank F ( ) ˆ α, for some } () where the rank is at most ( n+ m+ ) for parametric and ( n+ m+ N + ) for implicit sweeps. VARIEIES In order to enforce the implicit function theorem, suare Jacobian subacobians are determined. For example, a and a rank deficiency of one, there are four subacobians. Euating the determinants of the subacobians to zero forms analytic functions. he set of common zeros defined by this finite number of analytic functions are called varieties. In the case of implicit surfaces, these varieties are readily computed and visualized. In the case of parametric entities, the rank deficiency conditions yield analytic functions euated to zero that must be simultaneously solved. he solutions to the set of functions are singular sets defined by the vector p i, where = [ p d ], i.e., d contains the i remaining non-constant parameters. Substituting p i into x( ) yields strata denoted by V i as V i : x( d) = x(, pi ) i =,...,β () Where β is the number of varieties. In the case of implicitly defined entities, the vector x( d ) is accompanied by the associated set of functions f = [ f,..., f N ]. Note that the stratification process is to decompose a manifold (E. ) into a finite disoint (or union) of closed submanifolds such that W = V V... Vβ () While some strata can be further decomposed, it is only necessary to stratify those that cannot readily be visualized. Some of these varieties are R and are rank deficient. his indicates that the resulting submanifold can be further stratified and is composed of many parts (called strata). he stratification process is to decompose a variety V into a finite, disoint union or closed manifolds. MANIFOLD SRAIFICAION For the case when the stratum x( d ) cannot be visualized, where xi( di): di( l) ³ R R, and where l is the corresponding vector of slack variables l = λk λ λ l m, the Jacobian of the variety is x = x l d d () l where xd = x d and d d l l limit limit ( i ) =. For a parameter at its, the second block matrix of E. () is rank deficient. An elementary matrix of row operations E i applied to d l yields a row echelon form such that Ei d = E l RE () " where E = " ", E =, and E = ; $ where the subscript denotes the parameter number, and E RE is a row echelon form. his same matrix applied to x d yields $ $ Copyright by ASME

L " Ei x d = () $ where L= L L L (6) where dim( L ) = ( ) and dim( L ) = ( ) for =,,. For L, the application of the implicit function theorem yields three analytic functions that are euated to zero as LL = ; LL = ; and LL = (7) Simultaneous solutions to the three euations are the varieties of this submanifold, i.e., a second stratification process (see Section A.8). his process can be repeated for each resulting stratum that cannot be visualized. COMPUER IMPLEMENAION In this section, we illustrate the implementation of the above theoretical framework into a computer program that automatically performs the analysis and visualization of multivariate solids. Mathematica was used to develop this code and to visualize the volume. For commercial applications, it is recommended that this be converted into a more efficient basic language or embedded in hardware. In order to keep the code listing to a minimum, the presentation will adhere to tasks that are vital to the completion of the algorithm. Mathematica code I. Definitions L=; U=Pi/; L=-Pi/; U=Pi/; L=; U=Pi/; L=; U=Pi; xe[_,_,_,_]:=[,,,].{,,,} x[_,_,_,_]:={xe[,,,][[]],xe[,,, ][[]], xe[,,,][[]]}; p=; II. Sweep Jacobian computation MatrixPartials[funs_List,vars_List]:=Outer[D,funs,vars]; z[i_,_]:= i + ; fns=x[,,,]; vrs={,,,}; III. Computing the suare sub-acobians Mm=able[Simplify[Minors[MatrixPartials[fns,vrs],]]]; IV. Determination of Varieties a=solve[{minors[matrixpartials[fns,vrs],]== Array[z,{,}]},{}]; m=dimensions[a]; If[m[[]]=, {Array[t,m[[]]]; Do[t[i]=/.a[[i,]],{I,,m[[]],}]; =; Do[If[Im[t[i]]==,=+,Skip],{i=,m[[]],}]; Array[s,]; Do[s[i]=t[I],{i,,,}]; Do[If[s[i]==,s[+]=Pi,No],{i,,,}]; s=cases[{s[i],{i=,+,}},s_/;s<=u&&s>=l]; d=dimension[s]; V. Compute the stratum for each variety If[d[[]]>=,{g[p]:=ParametricPlotD[x[,s[[]],, L], {,L,U},{,L,U},Compiled->False], p=p+},no]; If[d[[]]>=,{g[p]:=ParametricPlotD[x[,s[[]],, U], {,L,U},{,L,U},Compiled->False], p=p+},no]; If[d[[]]>=,{g[p]:=ParametricPlotD[x[,s[[]],L, ], {,L,U},{,L,U},Compiled->False], p=p+},no]; If[d[[]]>=,{g[p]:=ParametricPlotD[x[,s[[]],U, ], {,L,U},{,L,U},Compiled->False], p=p+},no]; [Repeat above procedures with respect to other variables and save the graphics of each singular set] VI. Manifold stratification xx[_,_,_]:=x[l,,,]; Fns=xx[,,]; Vrs={,,}; a=solve[{minors[matrixpartials[fns,vrs],]== Array[z,{,}]},{}]; m=dimensions[a]; If additional singularities exist, repeat step II to find out the singularities which are in the constraint limits save its resulting graphics in the array g[p]. Repeat above procedures to plot the reduced rank deficiency corresponding to U, L,U,, L,U VII. Evaluating the strata of rank deficiency eual to g[]:=parametricplotd[x[l,l,,],{,l,u}, {,L,U}, Compiled->False]; g[]:=parametricplotd[x[l,u,,],{,l,u}, {,L,U}, Compiled->False];. g[]:=parametricplotd[x[,,u,l],{,l,u}, {,L,U}, Compiled->False]; VIII. Visualization of the final swept volume Show[able[g[k],{k,,p-,}]] ILLUSRAIVE EXAMPLES. Consider a solid defined by % u ( u - ) u K: = & ( u: = +, ˆu ˆ, - ˆu ˆ ' ) 6 6 9 (8) Note that this is a surface in R given by z ( x ) y = +. he sweep is defined by the rotation 6 cos( v) -sin( v) " R( v) = sin( v) cos( v) ; for ˆv ˆ, where $ every point in the swept volume is given by x = Y( v ) + ( v ) u u u R and where there will be no translation Y = [ ]. he parameters are changed to generalized coordinates defined by the vector = where Copyright by ASME

( ) = Srt[6( + )] 9 6, and - (9) cos( ) sin( ) R( ) = sin( ) cos( ) ; () " $ he vector function of E. (7) describing the sweep with unilateral constraints after parametrization is written as " cos( ) + sin( ) F( ) = Srt[6 ( ( ) + )] 9 sin sin sin $ cos( ) sin( ) Fig. A -parameter solid () 6 where = Jacobian are x cos cos fl ] = [f... 7 - sin = sin 7. Block matrices of the sweep - cos - sin " cos - sin ; $ -( - ) - 9 Srt[ ( - ) + ] 9 Srt[ ( - ) + ] 9 " $ COMPUAIONAL IME he strength of the presented formulation is evidenced in the ability to obtain exact solutions for any number of sweep parameters and for both implicitly and parametrically defined entities. he code written in Mathematica can be rendered efficient by converting it in a lower level programming language or embedded in hardware. Nevertheless, and to give the reader a sense of computational complexity, we have attempted to measure the computational (CPU) time reuired for the various examples. Furthermore, a relatively high computational cost is associated with obtaining manifold strata. his is only available when varieties with more than one-to-one mapping occur. he following examples were computed using a Pentium II PC with 6 MB RAM running at MHz. Examples with n + m = ; p = {6 = - } Varieties are computed as p,..., p 7, where p = { = }; p = {6 = }; p = { = - } ; ; p 6 = {7 = - }; p 7 = { = }. In order to visualize the strata, we substitute each variety into x ( ) as shown in Fig.. p = {7 = } ime used =.987 seconds: A -parameters solid - 6 -.... - - - - - - - - Fig. (a) Stratum due to p (b due to p (c) due to p he solid is shown in Fig.. - ime used =. seconds, Self intersection example. A -parameter solid. 6 Copyright by ASME

Examples with n + m= ime used =.8 seconds Workspace of the DOF (RRPRR) robot. CONCLUSIONS he algorithm and experimental computer code presented in this paper are a culmination of efforts to study formulations for analyzing and visualizing multivariate solids. It was shown that the method encompasses geometric entities defined in both parametric and implicit forms. It was also shown that the rigorous mathematical formulation using manifold stratification is capable of addressing multivariate solid representations. Unilateral constraints imposed on the solid were also taken into consideration. Exact representation of the solid is achieved and it was shown that the methodology is suitable for computer implementation. While the computer code developed using Mathematica is not optimized for commercial use, it is an illustration of the potential of this method for efficient implementation. he ultimate goal is to implement the formulation as an integral part of commercial CAD systems or as a stand-alone module. Moreover, to address the visualization of the multivariate freeform solid. Computational time measured for various examples using the Mathematica experimental code provides an indication of the efficiency of the code, in view of implementing such algorithms in a more appropriate computer language or hardware. Results are shown that demonstrate the robustness of the method in visualizing the multivariate solid. he principal contribution of this method is characterized by its ability to obtain an exact representation for visualizatin purposes, and in its ability to obtain closed-form euations of its boundary. REFERENCES Abdel-Malek, K. and Othman, S., 999 (in press) Multiple Sweeping using the Denavit-Hartenberg Representation Method, Computer-Aided Design, Vol., pp. 67-8. Abdel-Malek, K. and Yeh, H.J., 997a Geometric Representation of the Swept Volume Using Jacobian Rank-Deficiency Conditions, Computer Aided Design, Vol. 9, No. 6, pp. 7-68. Abdel-Malek, K. and Yeh, H.J., 997b Analytical Boundary of the Workspace for General hree Degree-of-Freedom Mechanisms, International Journal of Robotics Research. Vol. 6, No., pp. 98-. Abdel-Malek, K., Seaman, W., and Yeh, H.J., 999a (Submitted) NC Verification of up to Axis Machining Processes Using Manifold Stratification ASME Journal of Manufacturing Science and Engineering. Abdel-Malek, K., Yang, J., and Blackmore, D 999c (submitted) On Swept Volume Formulations: Implicit Surfaces, Computer Aided Design Abdel-Malek, K., Yeh, H.J., and Khairallah, N., 999b "Workspace, Void, and Volume Determination of the General DOF Manipulator, Mechanics of Structures and Machines, Vol. 7, No., 9-7. Abdel-malek, K., Yeh, H.J., and Othman, S., 998, " Swept Volumes: Void and Boundary Identification," Computer Aided Design, Vol., No., pp. 9-8 Abdel-Malek, K., Yeh, H.J., and Rouwady, R., 997a A Unified Formulation for Swept Volume and Robot Workspace Analysis, Proceedings of the ASME Design Automation Conference, Sacramento, CA, Sep. pp-7. Abrams, S and Allen, P K, 99, Swept Volumes and their use in viewpoint computation in robot work-cells Proceedings of the IEEE International Symposium on Assembly and ask Planning (99) pp88-9. Ahn, J.W., Kim, M.S., and Lim, S.B., 99, Approximate General Sweep Boundary of a D Curved Obect, Comput. Visi, Graps, Img Prcs, Vol. (), pp. 98-8. Blackmore, D and Leu, M C, 99, Analysis of Swept Volume via Lie Groups and Differential Euations Int. Journal of Robotics Research Vol. (6) (99) pp6-7. Blackmore, D, Jiang, H, and Leu, M C Modeling of Swept Solids Using Sweep Differential echniues Proc. th IFIP WG. Workshop Geometric Modeling in Computer- Aided Design, Rensselaerville, NU (99). Blackmore, D, Leu, M C, and Frank, S Analysis and Modeling of Deformed Swept Volumes Computer Aided Design Vol. () (99), pp. -6. Blackmore, D, Leu, MC, Wang, LP, Jiang, H, 997, Swept Volumes: a retrospective and prospective view, Neural parallel and Scientific Computations, Vol., pp8-. Blackmore, D.; Leu, M.C.; Wang, L.P., 997, "Sweep-envelope differential euation algorithm and its application to NC machining verification", Comp Aided Des 9(9), 69-67. Boussac, S and Crosnier, A, 996, Swept volumes generated from deformable obects application to NC verification, Proc th IEEE Int Conf on Rob and Aut. Part (of ) Apr -8, v, Minneapolis, MN, pp. 8-88 Bronsvoort, W., Van Nieuwenhuizen, P., and Post, F., 989, Display of Profiled Sweep Obects. he Visual Computer, 989, Vol. (), pp. 7-7. Couillart, S., 987, A Control Point Based Sweeping echniue. IEEE Computer Graphics and Applications, 987, Vol. 7(), pp. 6-. 7 Copyright by ASME

Ganter, M A, Storti, D W, and Ensz, M, 99, On Algebraic Methods for Implicit Swept Solids with Finite Extent ASME DE Vol. 6() pp. 89-96. Guillemin, V. and Pollack, A., 97, Differential opology, Prentice-Hall. Hu, Z J and Ling, Z K, 99, Generating Swept Volumes with Instantaneous Screw Axes Proceedings of the 99 ASME Design echnical Conference, Part, Minneapolis, MN (99), DE Vol 7() pp.7-. Hu, Z J, and Ling, Z K, 996, Swept volumes generated by the natural uadric surfaces. Computers and Graphics, Vol., No., pp. 6-7. Ilies, H.. and Shapiro, V., 999, he Dual of Sweep, Computer Aided Design Vol., pp.8-. Jerard, R B and Drysdale, R L, 988, Geometric Simulation of Numerical Control Machinery ASME Computers Engineer Vol pp9-6. Joy, KI and Duchaineau, MA 999 "Boundary Determination for rivariate Solids", Proceedings of the 999 Pacific Graphics Confernece, Seoul, Korea, October -7, 999. Juttler, B and Wagner, M.G., 996, Computer aided design with spatial rational B-spline motions, Journal of Mechanical Design, 8, pp.9-. Juttler, B and Wagner, M.G., 999, Rational motion-based surface generation, Compt Aided Design,, -. Kieffer, J and Litvin, F L, 99, Swept Volume Determination and Interference Detection for Moving -D Solids ASME, Journal of Mechanical Design Vol (99) pp6-6. Klok, F, 986, wo Moving Coordinate Frames for Sweeping Along a D raectory Computer-Aided Geometric Design, Vol., pp. 7-9 Leu, M C, Park, S H, and Wang, K K, 986, Geometric Representation of ranslational Swept Volumes and Its Applications ASME Journal of Engineering for Industry, Vol 8 (986) pp. -9. Liang, X; Xiao, ; Han, X; Ruan, JX, 997, Simulation Software GNCV of NC Verification, Author Affiliation: ICIPS Proceedings of the 997 IEEE International Conference on Intelligent Processing Systems, Part Oct 8-, v, Beiing, China pp. 8-86. Liu, Ch.; Esterling, D.M.; Fontdecaba, J.; Mosel, E, 996, Dimensional verification of NC machining profiles using extended uadtrees, Comp Aided Des 8(), 8-8 Lu, Y.C., 976, Singularity heory and an Introduction to Catastrophe heory, Springer-Verlag. Madrigal, C and Joy, KI 999 "Generating the Envelope of a Swept rivariate Solid," Proceedings of the IASED International Conference on Computer Graphics and Imaging, Palm Springs, California, October -7, 999. Martin, R R and Stephenson, P C, 99, Sweeping of threedimensional Obects Comp Aided Des (), -. Menon, J.P.; Voelcker, H.B. 99, oward a comprehensive formulation of NC verification as a mathematical and computational problem, Proc 99 Winter Annual Meeting of ASME, 9, Anaheim, CA, pp. 7-6 Parida, L and Mudur, S P, 99, Computational Methods for Evaluating Swept Obect Boundaries Visual Computer Vol () (99) pp. 66-76. Sambandan, K and Wang, K K, 989, Five-axis Swept Volumes for Graphic NC Simulation and Verification ASME DE 9() pp. -. Schroeder, W J, Lorensen, W E, and Linthicum, S, 99, Implicit Modeling of Swept Surfaces and Volumes Proc. IEEE Visualiz Conf, Los Alamitos, CA, pp. -. Spivak, M. 968, Calculus on Manifolds, Benamin/Cummeings. Voelker, H B and Hunt, W A, 98, he Role of Solid Modeling in Machining Process Modeling and NC Verification SAE ech. Paper 89. Wang, W P and Wang, K K, 986, Geometric Modeling for Swept Volume of Moving Solids IEEE Computer Graphics and Applications, Vol. 6(), pp. 8-7. Weld, J D and Leu, M C, 99, Geometric Representation of Swept Volumes With Application to Polyhedral Obects Int Journal of Robotics Research Vol9() pp. -7. Whitney, H., 96, angents to an Analytic Variety, Ann. of Math., Vol. 8, pp. 96-. 8 Copyright by ASME