基于solidworks球閥參數(shù)化設(shè)計(jì)
基于solidworks球閥參數(shù)化設(shè)計(jì),基于,solidworks,球閥,參數(shù),設(shè)計(jì)
.Automation in Construction 9 2000 rlocaterautconParametric design: a review and some experiencesJavier Monedero)Departamento de Expresion Grafica Arquitectonica, Uniersitat Politecnica de Catalunya, Diagonal 649, 08028 Barcelona, SpainAbstractDuring the last few years there has been an extraordinary development of computer-aided tools intended to present orcommunicate the results of architectural projects. But there has not been a comparable progress in the development of toolsintended to assist design to generate architectural forms in an easy and interactive way. Even worse, architects who use thepowerful means provided by computers as a direct tool to create architectural forms are still an exception. Architecturecontinues to be produced by traditional means using the computer as little more than a drafting tool. The main reasons thatmay explain this situation can be identified rather easily, although there will be significant differences of opinion. In myopinion, it is a mistake trying to advance too rapidly and, for instance, proposing integrated design methods using expertsystems and artificial intelligence while no adequate tools to generate and modify simple 3D-models are available. Themodeling tools we have at the present moment are unsatisfactory. Their principal limitation is the lack of appropriateinstruments to modify interactively the model once it has been created. This is a fundamental aspect in any design activity,where the designer is constantly going forward and backwards, re-elaborating once and again some particular aspect of themodel, or its general layout, or even coming back to a previous solution that had been temporarily abandoned. This paperpresents a general summary of the actual situation and recent developments that may be incorporated to architectural designtools in a near future, together with some critical remarks about their relevance to architecture. q2000 Elsevier Science B.V.All rights reserved.Keywords: Geometric modeling; Architectural and building models; Parametric design1. Current 3D-modelsIn architecture, 3D-models are elaborated by somecommercial version of one of the following tech-niques: polygonal meshes, solid models or paramet-ric surfaces such as nurbs. Most architectural modelsare still produced using the first method, togetherwith some appropriate interface that allows the useof commands such as 3dfaces, polylines withwidth and thickness or revsurfs, tabsurfs,rulesurfs, etc. This is due to the characteristics of)Corresponding author. E-mail: javier.monederoegal.upc.esarchitectural models that are mainly composed ofplanar surfaces. Many architects work with what canstill can be called 2.5D-models wide lines or poly-.lines depicting walls extruded to a particular heightthat can be used both as drawing planes and simple3D-models. Solid models are also widely used due tothe fact that they allow boolean operations to createmore complex forms. Nurbs or the like are rarely.used except by Frank Gehry , as common budgetsdo not favor sculptured or free-form surfaces. Thehistory of 3D geometric modeling is studied and canbe found in well-known computer books like Foleysgeneral exposition of computer graphics or Morten-sons more specialised textbook on geometric model-0926-5805r00r$ - see front matter q 2000 Elsevier Science B.V. All rights reserved.PII: S0926-5805 99 00020-5()J. MonederorAutomation in Construction 9 2000 369377370ing. This justifies a very shortened summary. Theintention of this summary is not only to locate thesubject in the adequate context but also to stress thedistance in time that has separated a published paperand a generally used technique. As we will see, thisdistance is approximately the same that separates thefirst published papers on parametric design from ourimmediate future, let us say 2 or 4 years. That is tosay, the situation is mature for a change in thecurrent techniques used in CAAD; it has alreadyhappened in CADrCAM although most of the archi-tects that work with computers are unaware of it.1.1. Eolution and limitations of CAD modeling toolsThe first methods and techniques were put intopractice during the 1960s and included basic 2D-primitives, as well as new entities like splines. Thework of Bezier and De Casteljau goes back to thisperiod. This was extended to 3D wireframes andsurfaces patches. New graphical methods are to beassociated to the name of Sutherland and to the year1963, in which his thesis was published. Polygonalmeshes were used at the end of the 1960s; soon therewere techniques to visualize them by such methodsas what is now currently known as flat-shading.Bouknight, 1970 or, better, Gouraud shading 1971.or, even better, Phong shading 1975 . This is wheremost systems stop nowadaysmore than 22 years.thereafter! . Free-form or sculptured surfaces weredeveloped extensively during the 1970s. The mostadvanced method currently used, nurbs non-uniform.rational b-splines can be traced back to an article byA.R. Forrest in 1980. AutoCad has incorporated it, a.couple of years ago 15 years after it was introduced ,.through an extra moduleAutoSurfthat came to-gether with version 13.Solid modeling using a primitive form of CSGwas also born at the beginning of the 1960s at the.MAGI labs in USA , and evolved rather slowly untilsome complete products appeared in Europe andUSA at the beginning of the 1970s. The first impor-tant commercial packages, like Romulus, commer-cialized by Evans and Sutherland in 1980, appearedat the end of the 1970s. A very much quoted articleby Requicha that summarized the state of the art atthat time, with five principal systems quoted wasalso published in 1980. At the present time, mostsystems currently used combine two systems, B-Repsand CSG or use B-Reps as a shell that allowsmultiple representations and favors the transit fromone to the other. This is the case with ACIS Alan,.Charles and Ian Systemused by AutoCad sinceversion 13 after dropping AME, a CSG system thatdid not work as it should.1.2. Editability of current 3D representationsAll these systems suffer from severe limitationsfrom the point-of-view of an interactive approach todesign: Lack of resources to edit surfaces. This is particu-larly clear in the case of sites that must bereworked and adjusted to receive a building. Lack of resources to edit volumes in a reallyinteractive way. Lack of resources to maintain relations betweenparts of a volume during modifications. Lack of integration between surfaces and solids.In the CADrCAM-community, the methods cur-rently used to create 3D architectural models havebeen abandoned a long time ago. Different types ofresearch have been carried out to improve the situa-tion. We offer some hints before getting into para-metric design.1.3. Object-oriented 3D-model: E-RepsWith a solid model such as the kind currentlyused in the architectural community, if one wishes tomodify, for instance, a hole in a wall, one has to editthe csg tree, locate the primitive and then order thesystem to rebuild the tree. With an object-orientedapproach, interaction will be more convenient andeasier to manage. The internal data structure and theimplementation of the algorithms able to modify it,are hidden in the object. In this way, the orders sentto the object do not need to specify how a modifica-tion shall be done but only what is to be done for.instance, change the position of a hole in a wall .The mechanisms of inheritance that relate classes tosuperclasses or subclasses assure that the previouslyspecified relations will be maintained. Unfortunately,this requires an internal representation of data that isstill lacking in current CAD systems. In general, arepresentation that uses a chain of references that()J. MonederorAutomation in Construction 9 2000 369377371links entities in the model is called a model graph.w xHoffman 8 has introduced the term of E-Rep edita-.ble representation to denote this kind of structure.This has implications being of great interest in thefuture. This structure is similar to a CSG graph butwith some important differences. The leaf nodes ofthe graph, in the CSG are usually the lowest primi-tives of the system, i.e., half spaces, whereas in theE-Reps, there usually are B-Reps. Also, in a CSG,the nodes are a few operators, mainly boolean opera-tors, while in an E-Rep, the nodes may represent awide range of types including sketches, sweeps,feature attachments, blends or dimensions. On theother hand, the CSG-graphs have a well-definedsemantics and a guaranteed validity. This is not thecase with E-Reps so it seems that there is still someexperimentation needed.2. Parametric designParametric design is, in a sense, a rather restrictedterm; it implies the use of parameters to define aform when what is actually in play is the use ofrelations. I will use the term in a wide sense thatcovers what can be found in the literature underother headings such as relational modeling or varia-tional design or constraint-based design or othertitles that will be quoted to some extent in thefollowing paragraphs.It should also be noted that, from an elementarypoint-of-view, there is not a clear boundary betweenwhat can be called parametric design and what iscurrently called computer-aided drafting or model-ing. In these cases, forms are created by combiningbasic entities that are inserted in the model after abasic template, which includes their proper param-eters, is filled. A line, for example, is an entity thatbecomes part of a model once two parameters, itslength and its direction, are specified. A polyline is aset of lines joined at their vertices whose positionparameters must also be specified when it is created.A prismatic meshed volume is inserted in a modelthrough four parameters, its location, length, width,and height. Besides this, we can also define blocks.AutoCad , cellsMicrostationsymbols ponentsother systemsthat combine andkeep together these primitive forms with differentoverall values. There are also, in current CAD sys-tems, tools that allow us to make some modificationsa posteriori regarding these primitive entities. How-ever, this does not work for complex elements wherewe want relations to be maintained while modifyingtheir parts independently. We can define a metalwindow as a block but if we change the scale at themoment of insertion, frame sections will change inthe same proportion as the overall magnitude and wewill not be able to keep a standard frame withdifferent opening dimensions. But we can still definea procedure, through some programming languagelike AutoLisp, in such a way that only the relationsare specified and the adequate dimensions are de-fined only at the moment of insertion in the model.This is already parametric design in a literal andfundamental sense. And, it is obviously of interest inthe case of architecture due to the fact that a veryimportant number of building elements can begrouped in families that tend spontaneously to beparameterized. And, if this can be done in a satisfac-tory way, it can save a lot of time and computermemory and will also help the management of theseelements. As the notion of family is important in aparametric design we can define it formally: a set ofelements that only differ in the dimension of theirparts. To describe a family, to elaborate a primarydesign of a family, we only need two things: atopological description specifying the parts that con-stitute it and the relations they maintain with eachother and a dimensional scheme specifying prioritiesand dimensional constraints. In this way, we candefine an abstract collection of elements and insertthem in our models. This is good for a start, but whathappens if after the element is inserted we want tomodify it? This is where parametric design, in apromising way, properly started out in CADrCAM afew years ago in relation with the fundamental no-tion of constraint.3. ConstraintsA fundamental problem in CAD is how to makeexplicit some intuitive knowledge we have aboutsomething in such a way that a machine can interpretand treat it in an automatic way. This problemreveals its magnitude as soon as we try to formulate()J. MonederorAutomation in Construction 9 2000 369377372what is comfortably referred to as common sense.From an architectural point-of-view, this is likeknowing that floors shall always be horizontal orthat windows belong to a wall and trying toformulate this knowledge in such a way that amachine could not violate such an obvious rule. Thisis dealt with by means of constraints. Constraintsappeared in CAD as early as 1963, in the pioneerwork of Sutherland. As it happens with the verynotion of parametric design, the notion of constraintis present, in a basic way, in any CAD system. Apolyline, for example, can be understood as a collec-tion of curves with vertices constrained to remainattached. But, in general, the notion of constraintimplies a model with an extended database. A con-straint is a relation that limits the behavior of anentity or a group of entities. Examples of constraintsare: a group of lines constrained to be parallel operpendicular or collinear, a line constrained to betangent to an arc, two cylinders constrained to beconcentric, a dimension constrained to be less than aparticular magnitude or equal to a multiple of aparticular magnitude. The notion of constraint im-.plies the notions of degree of freedom DOF , over-constrained, and underconstrained models, as well asthe notion of tolerance. A model can be conceptual-ized as a topological description of a complex formwith n variables or independent dimensions. Eachconstraint diminishes the alternatives by one step. Onthe other hand, the bigger the number of constraints,the more difficult it is to manage in such a way thatit will remain consistent under different values as-signed to the remaining free dimensions. If a modelis underconstrained, it cannot be resolved becausesome additional parameter must still be specified. Ifa model is overconstrained, it cannot be resolvedbecause there is a contradiction somewhere. Con-straint modeling requires that all the defined con-straints shall be fulfilled before the model is evalu-ated or, in other words, that the DOF of the modelhave to be reduced to zero. The power of a system todeal with underconstrained or overconstrained mod-els is a proof of its efficiency. Some programsinform the user that the model cannot be resolvedbut leave the user with the task of locating the fault.A program properly designed should have a con-straint management module able to provide defaultparameters in case of an underconstrained model andto inform the user of this or any other contradictoryparameter that may have been specified. Constraintscan also be of two different types that sometimes arereferred to as geometric constraints and physical orengineering constraints. Parallelism, perpendicular-ity, tangency, dimensionality are geometric con-straints. But a model can also be based on formulalike areasforcerpressure. Constraints can also bespecified as conditional relations such as: If D1qD2)D3 then D1s10 cm else D1s20 cm. Amajor difference between systems is the way inwhich the constraints are input and controlled. Ingeneral, this imposes some extra job on the userwho, besides choosing an entity, marking its positionand assigning some dimensions to it, must specifythe relation that it shall keep with other entities inthe model.4. Evolution of parametric design techniquesBesides the above-mentioned pioneering work ofw xIvan Sutherland, Hillyard and Braid 1 proposed asystem around 1978 that allowed the specification ofgeometric constraints between part co-ordinates insuch a way that possible variations remain restrictedto a range given by some particular tolerances. Thisproposal was not developed in the sense that couldbe expected from our present point-of-view. Gossardw xand Light 2 mention this work as a basis for theirown, which can be quoted as the primary referencefor what can be called parametric design in a moremature sense. The work of Gossard and Light thatwill commented below as a basis for what is calledvariational geometry or variational design, was amajor step as it provided geometrical representationswith new mathematical and geometrical tools thatopened the way to the generalization of a model.Around the end of the 1980s, when the maintechniques of geometrical modeling, free-form sur-faces and solid modeling were already assimilated,there was a growing sense that modeling techniquesshould advance in the direction of an increasinginteractivity and ability to modify a model after ithad been sketched. There were a number of impor-tant articles and books already published and, also, afew articles by researchers directly involved in thedevelopment of this field that attempted to resume()J. MonederorAutomation in Construction 9 2000 369377373the state-of-the-art. It is clear that there are still, atthe present time, two big groups, one that is becom-ing obsolete and the other that attracts a growingnumber of researchers:w x1. What we can call, as Roller 7does, variantsprogramming or static generation of alternativemodels by means of a programming procedure.These systems can rely on current internal repre-sentations of models.2. Graphic generation or interactive methods bymeans of more elaborated systems that allow themodification of dimension and constraints afterthe model has been created. These systems implya modification or an extension of the internalrepresentation of the model.The main disadvantage of the first group is that itcannot do what the second group does, that is, tochange some of the characteristics of a model in aninteractive way. On the other hand, it is a mode ofwork that can adapt to current CAD programs if theuser has some knowledge of simple programmingtechniques. The main disadvantage of the secondgroup is that we will have to wait a few years until aconsistent parametric modeler, based on some of thedifferent alternatives still under research enumeratedbelow, is integrated in some of the programs cur-rently used by architects.4.1. Variants programming by macros or proceduralmodelingOne of the simplest ways of using a very rudi-mentary form of parametric design is to record ascript of the commands and data values used tocreate an element. If this script is edited and the datavalues are changed, we will get a family of variantsof the same type with different dimensions. We canrefine this method by using a programming lan-guage, like AutoLisp, to write a macro, a routine or alittle program that performs the suitable actions tomodel the elementthe difference between thesethree terms can be assimilated to a difference inquantity, i.e., a few lines for a macro or a few pages.for what might be called a simple program . In thisway, the model can incorporate some kind of interac-tion with the user, that is, it can record the mainparameters of the element as variables and requesttheir values from the user once the program isactivated. It can also incorporate conditional expres-sions or simple equations that may extend the inter-est of the method.Variants programming is equivalent to one of theprimitive forms of geometric modeling: primitiveinstancing. This consists also in the generation ofmodels or elements by means of a procedure that callin sequence the commands needed to build the model.To prevent errors and secure the validity of therepresentation, values used for input have to be partof a pre-defined range. The main difference betweenthis method and the ones that we will see below isthat the commands used are already part of a CAD-modeler. The program reads the values as input fromthe user and executes the sequence of commands thatcreate the model, which are provided by the modeler.The main limitations of this method are: the numberand the range of variables is limited as there is, ingeneral, no proper way for controlling variants thatmight produce not valid results. Moreover, the re-sults c
收藏