The design method of a kind of configuration tool software below Auto CAD

  • Time:
  • Click:72
  • source:AYOR CNC Machining
Configuration is to show basis application object and control ask, deploy the procedure of user software. Use configuration software, the user needs to pass a kind only approximate " build building blocks " the method of type, the application that can make place need " software " , it replaced the software development that is based on a computer language before, be sure to become the computer to control the main aspect of systematic software. Current, be versed in the configuration software majority that controls a system is design of foreign big company, although their function is all ready, but introduce need a large number of capital. The article introduced the design method of a kind of configuration tool software below AutoCAD, it faces those to have actual process to control experience, but the user that lacks process designing knowledge, use more popular figure to change configuration method and structure of open algorithmic module library, the miniature control system in applying to. 1, when design train of thought designs a graph to convert configuration tool software, if uses the plot library function that program insitute of language provides completely to have the scale of screen graph and edition, because dispute of this one process is alternant of type, of the graph each tiny and fluctuant all need to modify source program, compile afresh carry out, when should needing to build graphical warehouse especially, workload is more big breathtaking. If can use the graphical function that already graphical software is abounded, be aimed at the need that dominates a field, the design changes software, generate to have control algorithm module already (functional piece) graphical library and capability of stronger figure processing, the figure that supports configuration function again converts configuration tool software (undertake 2 times developing) below graphical system namely, will be a kind of investment little, get effective the fast, effective method that can solve real problem. AutoCAD regards the window as system of seesaw pattern graph, offerred the figure that has steady pattern to exchange a document for the user (DXF file) . Such, want to write the transition program of DXF file only, can realize the graphical data switch between applied process and AutoCAD, cast off the definition that relies on traditional process designing to realize functional piece and the editor that configuration pursues, the acting pertinent information that gets configuration picture in order to adopt design transition program. Accordingly, on AutoCAD system platform, developing a graph to convert configuration tool software is a province not only when, and it is feasible. 2, the implementation that the graph changes configuration is in AutoCAD, piece can have many property, same property is in piece when be being inserted for many times, can different extraction is worth. We use afore-mentioned character at the function piece the graph changes a design, its the definition is the figure that takes property piece, will the attribute that the norms parameter definition of functional piece is it, the property that uses AutoCAD edits a function to have an edition to its. 2.

1 function piece of graphical library build functional piece to control algorithmic module namely, it includes norms parameter to input output with operation result. The graph of functional piece changes a design to state functional piece namely with the graphic symbol that takes property. Graph 1 for multiplier, among them S1, S2 is address norms parameter, express the address of multiplicand and multiplicator respectively, s3 is data norms parameter, show gain. Graph 1 (see coping) functional piece (multiplier) graphic symbol 2.

The graph that 2 configuration pursue hands in those who change a file to get call functional piece according to controlling a demand above all, allocate output address for its, fill in data norms parameter is worth (or take default to be worth) , again right functional piece has logistic link, completed the design that configuration pursues. Use the DXFOUT function of AutoCAD, the figure that can get afore-mentioned configuration pursue exchanges a document. 2.

The in generating configuration to pursue substance of file of 3 configuration database but reduce: Dot, line, function piece 3 kinds. For this, design structure of 3 kinds of data above all, store respectively afore-mentioned hypostatic graph information that get from inside graphical exchange file and configuration information. (The   of   of   of   of   of data structure Structpoint{floatx; that 1) nods       (X coordinate)   of   of   of   of   of   of Floaty;     (Y coordinate) Intblk; (Attribute is worth)   of   of Structpoint * Next; (the finger that points to a dot) } ; The dot in AutoCAD defined horizontal, ordinate only, they can reflect the graphical feature of the dot only. But, should nod with when the output of functional piece is linked together, had configuration feature at this o'clock at the same time, for this, we introduce property value to come the definition that augment nods. The property that uses a site is worth a concept, we solved what parameter of functional piece address norms is worth successfully to hand an issue. In the meantime, use the uniqueness of bit of property value, preliminary the logistic problem sentencing a fault that solved configuration. (The structure is opposite the data of 2) line to be mixed point-blank broken line, can use the centralized structure that nod catenary to describe, namely   of   of   of   of Structptline{structpoint * Pt; (the finger that points to line start) function of Structptline * Next;};(3) piece the norms parameter measure that data structure considers functional piece and meaning each different, we define two structures to depict its graph character and configuration character respectively. Among them, the graphical character of functional piece is stated for Structfc, List{structpoint * Pt;structfc, Rec * Fc, Desc;structfc, List * Last, * Next;}; function piece configuration character is stated for Structfc, Rec{charstart, Blk[4] ; (Output begins a number) Charend, Blk[4] ; (Output ends a date) Charf, Code[3] ; (Functional piece date) Charsheet[2] ; (Of parameter of case of functional slip gauge actual a number) CharS1[12] ; (The description of norms parameter S1) ... CharS40[12] ; (The description of norms parameter S40) } ; In graphical exchange file, take property piece it is a mark with INSERT, it is subsequently its piece name, insert bit of coordinate and property value, whether can be functional piece according to what this judgement inserts, if, nod coordinate according to inserting, computational piece outputs the coordinate of dot and dot of norms parameter input, burn finger with its according to first functional piece output, hind the order that norms parameter inputs forms a linear to nod catenary, read respectively take each property take a cost (output parameter of a date, norms namely S1, s2, ... value) wait, stock the corresponding structure that states character of functional piece configuration; Otherwise, cross this to insert piece, do not grant to handle. Scanning is whole the graph exchanges a document, the graphical information that reachs dot, line functional piece and configuration information fill corresponding data structure automatically, the place chain that gets midpoint, line, function piece is comprised parting pointing to be pursueinged by configuration, line catenary is mixed the finger of functional piece catenary, the join that pursues medium in configuration according to them again concerns, can decide each the extraction of parameter of the address of functional piece norms is worth, finish pursue by configuration to configuration database file change, generate configuration to control a word. 3 conclusion this shows, want a picture to give control block diagram only, with respect to what can offer from us library of functional piece graph is chosen take corresponding function piece (or the function with proper motion new definition piece) , on AutoCAD system platform, of parameter of the normative join that passes functional piece and data norms fill in, form the configuration plan that controls a system, make configuration database file then () of configuration control word, the graph that finish changes configuration. Control this word remove theatrical makeup and costume, have the aid of finishs the monitoring program of a machine, the control that can realize configuration plan institute to describe is politic, to be being accused the object carries out control. CNC Milling