CN105404240B - A kind of AutoCAD map files automatically generate and the method for quicksort position coordinate - Google Patents
A kind of AutoCAD map files automatically generate and the method for quicksort position coordinate Download PDFInfo
- Publication number
- CN105404240B CN105404240B CN201511016963.1A CN201511016963A CN105404240B CN 105404240 B CN105404240 B CN 105404240B CN 201511016963 A CN201511016963 A CN 201511016963A CN 105404240 B CN105404240 B CN 105404240B
- Authority
- CN
- China
- Prior art keywords
- coordinate
- product
- little
- point
- map files
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/4093—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine
- G05B19/40931—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine concerning programming of geometry
- G05B19/40935—Selection of predetermined shapes and defining the dimensions with parameter input
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/32—Operator till task planning
- G05B2219/32153—Exchange data between user, cad, caq, nc, capp
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Geometry (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Numerical Control (AREA)
Abstract
The invention discloses a kind of method that AutoCAD map files automatically generate simultaneously quicksort position coordinate, in its AutoCAD drawing files by extracting product a little position coordinate information, quicksort is carried out according to the machining coordinate of product order, coordinate of the mark point in actual coordinates is recycled to obtain remaining coordinate of point position in actual coordinates, and it is ranked up and is preserved by the machining coordinate order of product, so as to realize the multi-point motion by both fixed tracks in process, it enormously simplify the workload to sort one by one manually, improve operating efficiency, can be quick, it is convenient, intuitively realize that point position each to product is ranked up preservation, suitable for each application scenario required to product point position processing sequence, realize hommization, personalized designs.
Description
Technical field:
The invention belongs to automate processing technique field, it is specifically related to a kind of AutoCAD map files and automatically generates simultaneously quickly
The method of sequence position coordinate.
Background technology:
With the continuous development of industrial automation technology, enterprise is manually become greatly using the substitution of a large amount of automation equipments as one
Gesture, particularly in industries such as mechano-electronic manufacture, assemblings.Many of which automation equipment all refers to multi-point motion, such as
Electronics, the screw tightening mechanism in assembling industry, dispensing spot welder device, keycap set install standby, automatic stacking machine etc..Produce simultaneously
Product are in order to reach certain craft precision requirement, it is necessary to be processed assembling by both fixed tracks, therefore automation equipment passes through by both
The multi-point of fixed track is moved to realize requirements above.
By both fixed tracks multi-point motion refer to module according to product in AutoCAD map files point position both position fixing order
Carry out point-to-point motion.But existing application is usually first according in the position coordinate and module of product in AutoCAD map files
The position coordinate of actual product processing is changed, and then according to set track, obtained actual processing position coordinate is entered
Row sequence manually, carry out point-to-point motion according still further to the coordinate to have sorted and be processed.But if product point bit quantity is relatively more,
Or be both needed to again sequence manually one by one for every kind of different product, its workload is big, sorting time is longer, it is inefficient and
It is not directly perceived enough.
The content of the invention:
Therefore, the technical problems to be solved by the invention be in the prior art product carry out point-to-point processing when, it is necessary to
To every kind of different product again sequence manually one by one, workload is big, sorting time length, inefficient and not directly perceived enough, so as to
It is proposed a kind of method that AutoCAD map files automatically generate simultaneously quicksort position coordinate.
To reach above-mentioned purpose, technical scheme is as follows:
A kind of AutoCAD map files automatically generate and the method for quicksort position coordinate, it is characterised in that including following step
Suddenly:
S1:Coordinate system direction is defined, by the XY directions of actual coordinates during Product processing and the AutoCAD map files of product
The XY directions of coordinate system be arranged to consistent.
S2:Import the AutoCAD drawing files of product, extract in product a little position coordinate information.
S3:In the step S2 a little position coordinate information, generation comprising a little position product picture.
S4:A little position in the product picture in the step S3 is ranked up simultaneously according to the machining coordinate of product order
Preserve.
S5:Set coordinate of the mark point in actual coordinates.
S6:Institute a little position is calculated in product in actual coordinates according to coordinate of the mark point in actual coordinates
In coordinate.
As the preferred of above-mentioned technical proposal, the step S2 specifically comprises the following steps:
S21:The AutoCAD map files of the product are saved as into the first formatted file.
S22:Extract and decompose first formatted file, obtain in product a little seat of the position in AutoCAD map files
Mark information.
As the preferred of above-mentioned technical proposal, first formatted file is .dxf files, and first formatted file is
Vector file format, the first formatted file storage file in a manner of ASCII character.
As the preferred of above-mentioned technical proposal, the step S3 specifically comprises the following steps:
S31:Obtain in the step S2 a little position coordinate information.
S32:In the step S31 a little position coordinate information, marked at the coordinate position of each point position
Remember to simulate the hole position in actual product.
S33:Generation comprising a little position product picture.
As the preferred of above-mentioned technical proposal, in the step S3:The mark is or oval or polygon.
As the preferred of above-mentioned technical proposal, the step S6 specifically comprises the following steps:
S61:According in the step S2 a little coordinate information of the position in AutoCAD map files come obtain remaining point position phase
For the relative coordinate of the mark point.
S62:According to coordinate of the mark point in the step S5 in actual coordinates and the relative seat in the step S61
Mark, calculate remaining coordinate of point position in actual coordinates.
S63:By a little coordinate of the position in actual coordinates be ranked up and protect according to the machining coordinate order of product
Deposit.
The beneficial effects of the present invention are:In its AutoCAD drawing files by extracting product a little position coordinate
Information, quicksort is carried out according to the machining coordinate of product order, recycles coordinate of the mark point in actual coordinates to obtain
Remaining coordinate of point position in actual coordinates is taken, and is ranked up and is preserved by the machining coordinate order of product, so as to
The multi-point motion by both fixed tracks is realized in process, be enormously simplify the workload to sort one by one manually, is improved
Operating efficiency, it can quick, convenient, intuitively realize that point position each to product is ranked up preservation, suitable for adding to product point position
Each application scenario that work order requires, realizes hommization, personalized designs.
Brief description of the drawings:
The following drawings is only intended to, in doing schematic illustration and explanation to the present invention, not delimit the scope of the invention.Wherein:
Fig. 1 is the method stream that the AutoCAD map files of one embodiment of the invention automatically generate simultaneously quicksort position coordinate
Cheng Tu;
Fig. 2 is the AutoCAD map file schematic diagrames of the product of one embodiment of the invention;
Fig. 3 for one embodiment of the invention a little position sequence after product picture;
Fig. 4 is the actual processing schematic diagram of one embodiment of the invention.
Illustrated in figure:
1-AutoCAD map files, 2- products, 3- points position, 4-XY modules
Embodiment:
As shown in figure 1, the AutoCAD map files of the present invention automatically generate and the method for quicksort position coordinate, including such as
Lower step:
S1:Coordinate system direction is defined, by the XY directions of actual coordinates during Product processing and the AutoCAD map files of product
The XY directions of 1 coordinate system are arranged to consistent, and the XY directions are X-axis, Y-axis coordinate direction in coordinate system, by two coordinate systems
In coordinate direction be arranged to consistent, facilitate two coordinate systems to be changed.
S2:Import the AutoCAD drawing files of product, extract in product 2 a little position 3 coordinate information.The step
Rapid S2 specifically comprises the following steps:
S21:The AutoCAD map files of the product are saved as into the first formatted file, as shown in Figure 2.First form
File is .dxf files, and first formatted file is vector file format, and first formatted file is deposited in a manner of ASCII character
File is stored up, can accurately embody very much the coordinate information of each point position.
S22:Extract and decompose first formatted file, obtain in product a little seat of the position in AutoCAD map files
Information is marked, in the present embodiment, the coordinate information is coordinate value.
S3:In the step S2 a little position coordinate information, generation comprising a little position product picture.I.e.
Product point position coordinate information is converted into picture, it can be operated, the step S3 specifically comprises the following steps:
S31:Obtain in the step S2 a little position coordinate information.
S32:In the step S31 a little position coordinate information, marked at the coordinate position of each point position
Remember to simulate the hole position in actual product.The mark can be that circle or oval or polygon or fork are pitched, in the present embodiment, each
Make ellipse at the coordinate position of individual point position to simulate the hole position in actual product.
S33:Generation comprising a little position product picture.In order to realize the sequence of quicklook, by product coordinate information
Be converted to include a little position position product picture, can so be visually observed that in product there is a bit distribution,
It is easy to contrast with actual product.
S4:A little position in the product picture in the step S3 is quickly arranged according to the machining coordinate of product order
Sequence simultaneously preserves.The machining locus of reference product demand, a little position on the product picture in the step S3 is ranked up
Operation, only need the simply i.e. achievable point position sequence in clicking point position, and can be according to the order savepoint position of setting, entirely in order
Sequencer procedure is quick and easy, and the product picture after sequence is as shown in Figure 3.So as to it is quick, convenient, intuitively realize to each
Point position is ranked up preservation, suitable for each application scenario required to product point position processing sequence, realizes hommization, individual character
Change design.
S5:Set coordinate of the mark point in actual coordinates.In the present embodiment, the mark point is first point,
Need in the actual processing coordinate system processed, XY modules 4 are moved to the position of first point, re-record down now XY modules
Coordinate value.
S6:Institute a little position is calculated in product in actual coordinates according to coordinate of the mark point in actual coordinates
In coordinate.The step S6 specifically comprises the following steps:
S61:According in the step S2 a little coordinate information of the position in AutoCAD map files come obtain remaining point position phase
For the relative coordinate of the mark point.
S62:According to coordinate of the mark point in the step S5 in actual coordinates and the relative seat in the step S61
Mark, calculate remaining coordinate of point position in actual coordinates.
S63:By a little coordinate of the position in actual coordinates be ranked up and protect according to the machining coordinate order of product
Deposit.
During actual processing, XY modules according to a little position in actual coordinates coordinate order carry out motion plus
Frock is matched somebody with somebody, as shown in Figure 4.
AutoCAD map files described in the present embodiment automatically generate and the method for quicksort position coordinate, and it passes through extraction
In the AutoCAD drawing files of product a little position coordinate information, quicksort is carried out according to the machining coordinate of product order,
Coordinate of the mark point in actual coordinates is recycled to obtain remaining coordinate of point position in actual coordinates, and by product
Machining coordinate order is ranked up and preserved, so as to realize the multi-point motion by both fixed tracks in process, greatly
It is big to simplify the workload to sort one by one manually, operating efficiency is improved, can quick, convenient, intuitively be realized each to product
Point position is ranked up preservation, suitable for each application scenario required to product point position processing sequence, realizes hommization, individual character
Change design.
Obviously, above-described embodiment is only intended to clearly illustrate example, and is not the restriction to embodiment.It is right
For those of ordinary skill in the art, can also make on the basis of the above description it is other it is various forms of change or
Change.There is no necessity and possibility to exhaust all the enbodiments.And the obvious change thus extended out or
Among changing still in the protection domain of the invention.
Claims (5)
1. a kind of AutoCAD map files automatically generate and the method for quicksort position coordinate, it is characterised in that including following step
Suddenly:
S1:Coordinate system direction is defined, by the XY directions of actual coordinates during Product processing and the seat of the AutoCAD map files of product
The XY directions of mark system are arranged to consistent;
S2:Import the AutoCAD drawing files of product, extract in product a little position coordinate information;
S3:In the step S2 a little position coordinate information, generation comprising a little position product picture;
S4:A little position in the product picture in the step S3 is ranked up and protected according to the machining coordinate of product order
Deposit;
S5:Set coordinate of the mark point in actual coordinates;
S6:According to coordinate of the mark point in actual coordinates come calculate in product a little position in actual coordinates
Coordinate;
The step S6 specifically comprises the following steps:
S61:According in the step S2 a little coordinate information of the position in AutoCAD map files come obtain remaining point position relative to
The relative coordinate of the mark point;
S62:According to coordinate of the mark point in the step S5 in actual coordinates and the relative coordinate in the step S61,
Calculate remaining coordinate of point position in actual coordinates;
S63:By a little coordinate of the position in actual coordinates be ranked up and preserve according to the machining coordinate order of product.
2. AutoCAD map files according to claim 1 automatically generate and the method for quicksort position coordinate, its feature exist
In the step S2 specifically comprises the following steps:
S21:The AutoCAD map files of the product are saved as into the first formatted file;
S22:Extract and decompose first formatted file, obtain institute's a little coordinate of the position in AutoCAD map files in product and believe
Breath.
3. AutoCAD map files according to claim 2 automatically generate and the method for quicksort position coordinate, its feature exist
In:
First formatted file is .dxf files, and first formatted file is vector file format, the first form text
Part storage file in a manner of ASCII character.
4. AutoCAD map files according to claim 1 automatically generate and the method for quicksort position coordinate, its feature exist
In the step S3 specifically comprises the following steps:
S31:Obtain in the step S2 a little position coordinate information;
S32:In the step S31 a little position coordinate information, mark at the coordinate position of each point position
Simulate the hole position in actual product;
S33:Generation comprising a little position product picture.
5. AutoCAD map files according to claim 4 automatically generate and the method for quicksort position coordinate, its feature exist
In in the step S3:
The mark is or oval or polygon.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511016963.1A CN105404240B (en) | 2015-12-29 | 2015-12-29 | A kind of AutoCAD map files automatically generate and the method for quicksort position coordinate |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511016963.1A CN105404240B (en) | 2015-12-29 | 2015-12-29 | A kind of AutoCAD map files automatically generate and the method for quicksort position coordinate |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105404240A CN105404240A (en) | 2016-03-16 |
CN105404240B true CN105404240B (en) | 2018-03-16 |
Family
ID=55469784
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511016963.1A Active CN105404240B (en) | 2015-12-29 | 2015-12-29 | A kind of AutoCAD map files automatically generate and the method for quicksort position coordinate |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105404240B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109710543B (en) * | 2018-11-28 | 2023-02-17 | 深圳市燕麦科技股份有限公司 | Stock tray counting marking method and device |
CN113496112A (en) * | 2020-04-07 | 2021-10-12 | 海太半导体(无锡)有限公司 | Substrate coordinate mode |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0877236A (en) * | 1994-09-07 | 1996-03-22 | Matsushita Electric Ind Co Ltd | Graphic processor |
JP2002073132A (en) * | 2000-09-04 | 2002-03-12 | Toshiba Corp | Device and method for boring |
JP2008090754A (en) * | 2006-10-04 | 2008-04-17 | Ricoh Co Ltd | Electronic assembly procedure manual apparatus, program and recording medium |
US8159494B2 (en) * | 2006-12-04 | 2012-04-17 | Electronics And Telecommunications Research Institute | System and method for designing curves |
CN101587503A (en) * | 2008-05-21 | 2009-11-25 | 鸿富锦精密工业(深圳)有限公司 | Graph sorting system and method |
JP6012712B2 (en) * | 2012-03-30 | 2016-10-25 | 株式会社牧野フライス製作所 | Tool path generation method, tool path generation device, and tool path generation program |
CN102880113B (en) * | 2012-10-26 | 2015-07-15 | 上海柏楚电子科技有限公司 | Laser cutting path optimizing method |
CN103064343B (en) * | 2012-12-19 | 2015-07-01 | 华南理工大学 | Track generating method facing toward complex curved surface processing and track generating system thereof |
CN105159231B (en) * | 2015-07-22 | 2018-02-16 | 中国地质大学(武汉) | A kind of on-line calculation method of digital control system double end machining locus optimization |
-
2015
- 2015-12-29 CN CN201511016963.1A patent/CN105404240B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN105404240A (en) | 2016-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105848818B (en) | System for drilling through aperture;The method for drilling through hole;Further method for executing the manufacture article drilled through He drilling through | |
CN107479504B (en) | A kind of method of numerical control processing Automatic feature recognition and path planning | |
CN102527554A (en) | Spray gun track planning method for free-form surface spraying robot | |
WO2012099801A4 (en) | Ordering document content | |
CN105404240B (en) | A kind of AutoCAD map files automatically generate and the method for quicksort position coordinate | |
CN102722615A (en) | Technique information expressing method based on three-dimensional model | |
CN108121298A (en) | Automatic machining program cutting force optimization system and method | |
CN204818979U (en) | Immediately, dual -purpose numerical control machine tool crouches | |
CN103895061A (en) | Method for machining holes in printed boards | |
CN101458726A (en) | Wire cutting program generating system and method | |
CN104552439B (en) | The processing method of printed circuit board drill hole | |
CN106736241A (en) | The method that side positional dissection is patrolled in realization | |
CN104463480A (en) | Multifunctional passenger information management system | |
CN107144272A (en) | A kind of method of workpiece sensing path planning | |
CN107451628A (en) | The method of production information and the system with this method are traced by Quick Response Code | |
CN106597990B (en) | Numerically-controlled machine tool tool changing point method for rapidly positioning | |
CN103678347B (en) | Method and apparatus for web site to be converted to target web app websites | |
TW201337484A (en) | Processing program generating device, processing program generatingmethod and processing program generatingprogram | |
CN102622478A (en) | CAD (Computer Aided Design) modeling method for reverse engineering of complex parts based on semantic information | |
CN108229061A (en) | The processing method and processing device of drawing dynamic generation | |
CN105975696B (en) | Rule-based three-dimensional process dimension layout method | |
CN203266247U (en) | Continuous cross feeding machining device | |
CN103901819B (en) | The process operation fast searching method of feature based mark | |
CN100435147C (en) | Method and system for regulating colume structure | |
CN102236660A (en) | Printed circuit board maintenance data analysis method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: The Wujiang economic and Technological Development Zone West Road Wujiang District of Suzhou City, Jiangsu Province, No. 666 215200 Applicant after: Bo Seiko Polytron Technologies Inc Address before: The Wujiang economic and Technological Development Zone West Road Wujiang District of Suzhou City, Jiangsu Province, No. 666 215200 Applicant before: Suzhou Bozhong Precision Industry Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |