Be based on the punch of SolidWorks to be assembled automatically of the model

  • Time:
  • Click:102
  • source:MOMEYER CNC Machining
The 1 foreword development as machinist job, the range that provides application to tool set is wider and wider, the quality that how improves punch mould treatment and speed become a crucial issue. The automatic design that realizes punch mould is one of main avenues that solve this one problem, and undertaking be constructionaled automatically to punch mould is one of be designed automatically important segment. Undertake be constructionaled automatically to component, can improve the design efficiency of punch model and quality greatly. Be aimed at to tool set character, its assemble a structure to concern to had decided, the automation that implementation assembles should realize parameter to change namely assemble a design. SolidWorks is one is based on Windows be changed with parameter and the technology that the feature builds a model is desktop of CAD/CAE/CAM/PDM of geometrical modelling foundation compositive system, it provided function of hundreds of API, undertake 2 times developing offerringed advantage to SolidWorks to use the advanced language such as VB/VC. Use VB to have 2 development that assemble automatically to tool set to SolidWorks, make the assembly of component realized parameter to change, automation, went to the lavatory greatly the mould designs an engineer to design and be revised to the mould. The assembles design method to assemble system component of 2 punch model can include independent part, also can be other assembly body. The design method that assembles system basically has 3 kinds: From bottom to top is assembled, from above to below is assembled and mix assemble. The design method of from bottom to top is to point to build a part first, insert its again assemble system, the basis designs a requirement, have each parts assorted. The design method of from above to below is to point to from assemble body to arrive the design process of the spare parts, produce to assemble first namely, build assemble a structure, be added downward stage by stage or design new geometrical system. Mix assembling is above two kinds are assembled mix the outfit that manage to match a method. According to the characteristic of punch mould, use method of mixture outfit recipe, assemble in using the outfit of from bottom to top to match methodological general pattern first with half standard component except the standard component beyond fastener rise, use the method of from above to below to wait for figuration spare parts next nonstandard load with fastener in assembling system, assemble the assembly that rise from early days namely these spare partses and early days assemble body lieutenant general the assembly that rise the part of the intersecting of body cuts out, form a mould to assemble system thereby. The 3 design train of thought that assemble automatically develop the component that tool set basically includes to have: Spare parts of figuration spare parts, fixed position spare parts, oriented spare parts, retaining element, close solid, control makings device, tripper and part of other and auxiliary construction. Spare parts of the figuration in these spare partses is belonged to nonstandard, oriented spare parts and close solid spare parts belong to complete standard component, the most spare parts of the others belongs to half standard component. Before undertaking constructional, should finish nonstandard design, other part should build corresponding spare parts warehouse, build even assemble relation database, deposit among them the feature is assembled between the spare parts. The memory of data selected Acess database system. What the spare parts assembles a relation is automatic it is the important segment that realizes a product to assemble automation certainly. Because develop tool set to have typical structure, the means memory that assembles a relation to be able to use regular warehouse rises, through RRR (be based on regular inference) the technology will obtain those who develop tool set to assemble a relation. Assembling order is one of stress research content that realize a product to assemble automation, the assembly that reasonable assembly can raise a pattern orderly efficiency. Use in the system match pattern from the outfit in extroversion, the lower mould the mould regard a foundation as component, ordinal join with in front the spare parts that the part is joined, give out till all spare partses till. Spare parts by be offerred artificially or undertake through CBR technology inference is obtained, after loading a part, from inside assembling relation library inference gets the assembly of this spare parts in assembling system concerns, through SolidWorks medium API function has fixed position to the spare parts. Load next part after fixed position is finished. In rigging a process, introduce the idea that assembles a layer, lower mould layer date is set for 0, with lower mould the layer date of conjoint spare parts is set for 1, ordinal analogize, photograph connective in two spare partses, the part with layer small number calls the part with large number of layer of father spare parts child spare parts. If the graph is shown 1 times,rig a process. Graph the 1 program flow chart that rigs a process automatically the 4 assembly in be being assembled automatically the feature assembles a feature is the information unit that assembles operation section is participated in in using descriptive component, main by assemble element of diagnostic semantics, geometry (assemble diagnostic face part) , assembling diagnostic coordinate is, cooperate composition of content of feature, tolerance buildup. Information unit is to show the attribute that assembles information assembles. Assemble a feature to have the following quality: Assembling a feature appear in couples; Assemble clear athletic concern and positional concern are had between the feature; Motion concerns and positional relation and specific function have clear corresponding concern. The assembly between the feature concerns to come true through constructional geometrical element is being participated in in the feature. When different feature is being assembled, the assembly between the feature concerns different, definitive number of degrees of freedom is unequal also. Form the geometrical feature face that assembles a feature commonly to have: Planar, columnar face, round hole face, protruding is spherical, sunken spherical, curved surface, go against curved surface to wait; Form those who assemble a feature to assemble cooperate a type to basically have: Coincide, parallel, perpendicular, tangent, distance, coaxial heart. Form the existence is affirmatory tie between the geometrical feature that assembles a feature to concern, if the normal of two features face is contrary, curved surface equation is identical, mutual between the impact that determines in the existence on opposite movement way. Concern according to assembling a tie, by the operation that assembles a feature to have map to geometrical structure feature, build the geometrical feature that has this to assemble a tie to concern to be opposite, its state the method is: Diagnostic name < coordinates a relation > diagnostic name. For instance: The assembly that area area matchs diagnostic Planeplane undertakes constructional diagnostic map, create character of one identical to having geometry locally in what should assemble diagnostic face namely Xiang Ping is faced, should make the same score opposite to having normal way. The builds parameter to change a design end that 5 parameter change spare parts library passes dimension drive means to play agile modification figure in design or plot condition namely, improve design efficiency. Parameter changes a design is to show software architect is reached for graphical design normally revise provide environment of a software, project technology personnel issues the aleatoric graph of a scale to be able to be changed by parameter in this environment, revise the either dimension that pursues medium, all can realize dimension drive, cause the change of relevant graph. The method that makes a part below SolidWorks environment is: Build file of pattern plate of spare parts formative first, deposit the parameter of the spare parts in a corresponding database, after the crucial dimension that inputs a spare parts, through the retrieval to the database inquiry gives the relevant measure that wants a part, use pattern plate file to build a model afresh. When implementation, use ModelDocExtension: SelectByID method chooses the dimension that spare parts place should revise, pass ModelDoc: Parameter attribute will change the numerical value that chooses dimension, revise when all dimension ModelDoc2 uses after finishing: EditRebuild method will build a part afresh. Choose to go to the lavatory when assemble finally, add relevant assembly on generated part even fiducial. To punch model, besides place of spare parts figuration, the appearance change of other component is very few, need to use analogy to design only normally or change a few crucial dimension to be able to get new seriation designs a result. The automation that this also develops tool set to design to come true, intelligence is changed offerred premise. The implementation that assembles automatically what Nextpage6 is based on SolidWorks 6.

1 found assemble documentation founding before assembling documentation, it is the link that establishs applied process and SolidWorks above all, establish the communication between both and control relationship namely, obtain current activity documentation next, use Newdocument method founds new assembly documentation. In the program, solidWorks program is object of an Application program, the CreateObject means that can provide through VB establishs the link between both. Specific means is as follows: Establish the link with SolidWorks: Set SwAPP=CreateObject (" SldWorks.

Application) obtain current documentation: Set Part-swAPP.

ActiveDoc founds new clothes to match documentation: Set Part=swAPP.

Newdocument (TemplateName, paperSize, width, height) among them TemplateName is the pattern plate name when founding new document, the dimension that PaperSize is paper (it is normally 0) , what Width and Height are paper respectively is wide and tall (it is 0# normally) . 6.

The 2 join with the database are in the assembly of the mould has a lot of assembly in the process feature, the means that uses a database assembles these diagnostic memory to rise form assemble relation knowledge base. The cooperates a relation to adopt pair of this knowledge bases inquiry between the component in rigging a process and component is obtained. In using a program the database uses Acess2000, the means that uses a program to use ADO reads access to occupy a library. ADO (ActiveX Data Object) the technology is the newest data that develops by Microsoft company visit interface technology, ADO is to build the high-level database on OLEDB to visit a technology. The person that ADO data visits interface to let programming founds a few objects simply to be able to join the data origin, data that gets place to need is mixed after undertaking data is visited save an operation. ADO object model defined a programmable statified the object assembles, main by Connection of 3 objects member (with will establish the link with data source) , Command (in using a source, add, delete and update data, or data inquires in the watch) with Recordest (use a delegate to record part, it is the executive result that is based on a certain connective watch or Command object) . Specific means is as follows: Dim Con As ADODB.

Connection Set Con=CreateObject (" ADODB.

Connection " ) ' establish Connection target, build the join Con with data source.

Open " Peovider=msdasq1;datasource= assembles a relation.

Mdb " ' open assemble relation database Dim Rst As ADODB.

Recordest Set Rst=New ADODB.

Recordest ' found Recordest object Set Rst.

ActiveConnection=con Rst.

CursorLocation=adUseClient Rst.

Open " Selec*form assembles a relation " , con, adOpenStatic, adLockBatchOptimistic ' open " assemble a relation " watch ' Data=rst (I) ' the value assignment that lists the I of current record gives Data variable ' Rst.

MoveNext ' mobile finger ' 6.

3 raise new package founding new assembly after body documentation, assemble to this namely component is added in body, call SldWorks first: : OpenDoc6 method opens the component that place should add, call AssemblyDoc again: : AddComponent2 method will put this package into assembling an environment, use ModelDocExtension: : SelectByID method will choose to want to have the feature that match, assemblyDoc passes after should matching a feature to had chosen: : AddMate method will raise package between coordinate a relation, ordinal can secure the after matching a relation to be added in assembling an environment component between package. The use method of these function is: Open package: Retval=SldWorks.

OpenDoc6 (Filename, type, options, configuration, &Errors, &Warnings) among them the documentation name that Filename should open for place, type opens documentation type, options is dozen of evolution type, configuration is the type that opens documentation, function returns the finger that opens documentation. Raise package: SwCompenent is the component after returning, the full name that CompName is spare parts or component (include method) , x, y, z is assembling the coordinate in the environment for package center. The choice matchs a feature: Retval=part.

Extension.

SelectByID (Name, type, x, y, z, append, mark, callout) among them the object name that Name is a choice or empty string, type is object type or empty string, x, y, z is the coordinate of the object or 0, whether does Append specification choose to increase, mark is mark, the finger that Callout is associated draft (it is Nothing commonly) . Increase cooperate: Void AssemblyDoc.

AddMate (MateType, align, flip, dist, angle) among them MateType matchs a type for what cooperate, align is pair of assorted neat types, flip cooperates direction for what cooperate, the distance when Dist cooperates is worth, the angle when Angle cooperates is worth. 6.

The 4 memory that assemble a feature and retrieve assembling a feature how to be deposited is a crucial question that implementation assembles automatically, reasonable memory form can make assemble implementation automatically to rise more convenient. Relation memory is assembled to use a database to deposit when programming, the structure of the database sees the graph is shown 2 times, among them spare parts name is to point to the part that should have constructional, matched pair is resembled 1 it is to point to when assembling child the object name that has matching is used on the spare parts, matching a part is the spare parts that points to to in assembling system, exist so, also want to load the father part of the spare parts namely, assemble an object 2 it is to point to to the object name that has matching is used on spare parts of the father when assembling, matching a relation is to point to the in matching type correspondence MateType in assembling, it is the Align that shows corresponding to neat type AddMate is medium in assembling to neat relation, the Flip in matching direction and AddMate is corresponding, match size 1 with match size 2 respectively the Dist in corresponding AddMate and Angel. Graph the 2 structures that assemble relation library are in after loading a part, the name that presses the part that just loaded undertakes inquiring in data table, be opposite according to the name of father spare parts again in the watch " match a part " undertake inquiring, obtain thereby with its father spare parts assemble a relation. 7 example expect with using those who secure discharge means discharge one set to fall the model is an implementation process that rigs automatically what will explain how to realize component according to the method above. Mould bases of guide pillar of the side after the mould is used, discharge means is used enclosed secure discharge board discharge, the part that mould place includes has the part such as sunken model, discharge board, punch, fixed head and modular handle. Before assemble, make these parts from inside building good parameter to convert spare parts warehouse above all, the assembly that these parts recover from inside assembling relation library when assembling concerns. Will acquire all parts that this mould place includes according to the structural part library of the mould, first lower mould load in assembling system, next ordinal guide pillar, guide-post bushing, upper mould, the spare parts such as sunken model, punch is loaded in assembling system, every load what it and its father spare parts retrieve from inside assembling relation library after a spare parts to assemble a relation, add them match matter to in assembling system. Load these parts entirely after assembling system, assemble automatically what also finished a mould. 8 epilogue the example that the article expects through falling the model is assembled automatically, introduced to implement the likelihood that assembles automatically to tool set and implementation method below SolidWorks environment, make develop those who press modular component to assemble realized parameter to change, automation, went to the lavatory greatly the mould designs an engineer to design and be revised to the mould, shortened then the cycle that mould product develops, raised industry technology to apply a standard. CNC Milling