CN102194028B - Computer drawing method for manufacturing tablet of mechanical brand watch - Google Patents

Computer drawing method for manufacturing tablet of mechanical brand watch Download PDF

Info

Publication number
CN102194028B
CN102194028B CN201110113816A CN201110113816A CN102194028B CN 102194028 B CN102194028 B CN 102194028B CN 201110113816 A CN201110113816 A CN 201110113816A CN 201110113816 A CN201110113816 A CN 201110113816A CN 102194028 B CN102194028 B CN 102194028B
Authority
CN
China
Prior art keywords
point
circular arc
group
key point
coordinate
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.)
Expired - Fee Related
Application number
CN201110113816A
Other languages
Chinese (zh)
Other versions
CN102194028A (en
Inventor
薛峰
于萧榕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Keda Huifeng Science & Technology Co., Ltd.
Original Assignee
ZHENJIANG KEDA CHUANYUAN COMPUTER NETWORK ENGINEERING Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by ZHENJIANG KEDA CHUANYUAN COMPUTER NETWORK ENGINEERING Co Ltd filed Critical ZHENJIANG KEDA CHUANYUAN COMPUTER NETWORK ENGINEERING Co Ltd
Priority to CN201110113816A priority Critical patent/CN102194028B/en
Publication of CN102194028A publication Critical patent/CN102194028A/en
Application granted granted Critical
Publication of CN102194028B publication Critical patent/CN102194028B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a computer drawing method for manufacturing a tablet of a mechanical brand watch. The method comprises the following steps of: inputting coordinate parameters of all key points; selecting one of the key points as a starting key point; adding the key point into a database model space block table record built in CAD (computer-aided design) and obtaining the identification (ID) number of an object, creating group objects, namely Group according to the ID number, and adding the key points into the Group and an object extended data set; sequentially reading the coordinate parameter of the next key point from a parameter list box to be connected with the preceding key point, and adding a graph into the Group and the object extended data set; and completing the drawing after traversing the parameter list box. The computer drawing method disclosed by invention has the advantages of solving the problems that the parameterized drawing of special graphs of mechanical brand watches and the concentrated recording of parameters of the key points to the extended data set cannot be realized by adopting the traditional drawing method, also solving the problem of inconvenience of follow-up modification and improving the working efficiency.

Description

Machinery inscription table sign manufacturing computer drawing method
Technical field
The present invention relates to a kind of pattern drawing method, relate in particular to a kind of mechanical inscription table sign manufacturing computer drawing method, belong to printing technology.
Background technology
Along with computing machine popularizing in factory; More and more enterprises uses CAD software to draw; In the sign manufacturing technological process of label factory; The general label figure that will make with the CAD mapping software is earlier drawn good in computing machine and is preserved, and the label graphic file is converted to the compatible file layout of laser photocomposing machine output to film setter then, and film setter is produced after printing film.
At present, prior art has been done some improvement to the label method for drafting, based on the AutoCAD mapping software, draws label with the method for the parameters of input label circular arc, scale mark, scale value, has improved work efficiency.But machinery inscription table label and common label form are different, and it mainly is made up of several criteria figure and special graph and trade mark segment.Test pattern such as circle, circular arc, line segment, rectangle etc., these are drawn in the AutoCAD window is eaily, the trade mark segment can be inserted into the relevant position fast.Special graph is formed special garden shape 1, special arrow 2, special rectangle 3 as shown in Figure 1 by special square frame, special arrow, special circle etc.General this type of special graph is parameterless, even the parameter of describing special graph is arranged, parameter is also very complicated, loaded down with trivial details.Special graph mainly is made up of the circular arc of continuous broken line and different radii, if in AutoCAD, directly draw very complicacy, the figure after the drafting is because parameter shows not directly perceived; The subsequent modification operation is also very inconvenient; The staff must contrast the position of each key feature point of figure while drawing when drawing like this, and manual operations descends levels of precision greatly, so draughtsman's workload is very big when drawing Scutcheon scale value at present; Speed is very slow, and work efficiency is not high.
Summary of the invention
The object of the present invention is to provide a kind of mechanical inscription table sign manufacturing computer drawing method; Utilize ObjectARX2008 to be directed against AutoCAD2008 and carry out secondary development; The special graph of machinery inscription table being regarded as the broken line and the circular arc of some forms; Through each key coordinate point parameter in the known machinery inscription table; Key coordinate is put parameter by the certain format record, draw out the each several part figure and it is joined in the same target group with parameterized method, again parameter being charged to that growth data that autocad file carries concentrates can easily retouching operation so that follow-up.
The object of the invention is achieved through following technical scheme:
A kind of machinery inscription table sign manufacturing computer drawing method, this method comprises the following steps:
1) each key point coordinate parameters in the input machinery inscription table, key point is divided into broken line corner point and circular arc, and circular arc comprises three point coordinate: any point coordinate, circular arc terminal point coordinate in the middle of circular arc starting point coordinate, the circular arc; Direction along the special graph profile extends is added each key point coordinate parameters among the Argument List bezel, cluster listbox successively;
2) from key point, select any one as initial key point;
3) read initial key coordinate point parameter from Argument List bezel, cluster listbox,
If initial key point is a circular arc, obtain the circular arc starting point coordinate in the parameter list, any point coordinate, the circular arc terminal point coordinate in the middle of the circular arc; According to these three point-rendering circular arcs; This circular arc is added in the model space piece table record that CAD carries database, and obtain object ID number, according to ID number newly-built group objects Group, with this circular arc adding group and object extension data centralization;
If initial key point is the broken line corner point; The broken line corner point coordinate that obtains in the parameter list is drawn this point; This point is added in the model space piece table record that CAD carries database; And obtain object ID number; According to ID number newly-built group objects Group, with this some adding group and object extension data centralization;
All follow-up rendered objects are all organized adding among the Group;
4) from Argument List bezel, cluster listbox, read next key point coordinate parameters successively,
The key point that reads is if the broken line corner point, and (x y), if previous key point also is the broken line corner point, then draws the line segment S between 2 then to obtain this broken line corner point coordinate Ln in the parameter list; If previous key point is the circular arc type, then draw this circular arc terminal point coordinate to Ln (x, line segment S y); Line segment S is joined among the group Group and adds the object extension data centralization;
The key point that reads is if circular arc then obtains this circular arc starting point H1n coordinate in the parameter list, any point H2n coordinate, the circular arc terminal point H3n coordinate in the middle of the circular arc; If previous key point is the broken line corner point, then draw the line segment S of this broken line corner point earlier to the circular arc starting point coordinate; If previous key point is a circular arc, then draw the line segment S of last circular arc terminating point earlier to back one circular arc starting point, need not draw line segments if both coordinate points are identical; Again according to H1n, H2n, H3n three point-rendering circular arc Arc, line segment S and circular arc Arc are joined among the group Group and add the object extension data centralization;
5) after Argument List bezel, cluster listbox traversal is accomplished, confirm again whether special graph seals;
Then draw end if not closed figure;
If closed figure confirms that earlier last key point is broken line corner point or circular arc;
If last key point is the broken line corner point, initial key point also is the broken line corner point, then draws line segment between the two and joins among the group Group this line segment and the object extension data centralization; If initial key point is a circular arc, then draws last key point and also join among the group Group this line segment and the object extension data centralization to the line segment between the circular arc starting point;
If last key point is a circular arc, and initial key point is the broken line corner point, then draws the circular arc terminal point and also join among the group Group this line segment and the object extension data centralization to the line segment between the initial key point; If initial key point is a circular arc, then draws last key point circular arc terminal point to the line segment between the initial key point circular arc starting point, and join among the group Group this line segment and the object extension data centralization.
Compared with prior art; The invention has the beneficial effects as follows: solve the problem that existing method for drafting can not utilize parameterized method drafting and the key point reference record is concentrated to growth data the special graph in the machinery inscription table; Solved the inconvenient problem of special graph subsequent modification; Reduce the drafting time, improved work efficiency.
Description of drawings
Fig. 1 is the machinery inscription table label figure that comprises special graph;
Fig. 2 is a process flow diagram of the present invention;
Fig. 3 is a mechanical inscription table special graph among the embodiment;
Fig. 4 is a mechanical inscription table special graph housing among the embodiment.
Embodiment
Below in conjunction with accompanying drawing and specific embodiment the present invention is described further.
The sign manufacturing system generally forms with computing machine and laser photocomposing machine by drawing; Computing machine and film setter be interconnected to carry out communication; Computing machine will be drawn good label graphic file and convert to the compatible file layout of laser photocomposing machine and output to film setter, and film setter is produced after printing film.The present invention utilizes ObjectARX2008 to be directed against AutoCAD2008 to carry out secondary development; The special graph of machinery inscription table being regarded as the broken line and the circular arc of some forms; Get or import each key coordinate point parameter in the mechanical inscription table through knowledge; And with parameter by the certain format record, can draw out and Drawing Object is joined in the same target group with parameterized method, again parameter being charged to that growth data that autocad file carries concentrates can easily retouching operation so that follow-up.Be illustrated in figure 2 as the process flow diagram of mechanical inscription table sign manufacturing computer drawing method.The machinery inscription table special graph that will draw for embodiment shown in Figure 3.The embodiment method for drafting is following:
0.5 millimeter of input special graph live width, line color are parameters such as black; Each key point coordinate parameters in the input machinery inscription table special graph adds each key point coordinate parameters among the Argument List bezel, cluster listbox along the direction that the special graph profile extends successively.
By counterclockwise selecting key point.
The starting point of specifying Fig. 3 upper left corner circular arc is selected key point as drawing starting point by the inverse time direction, initially is that circular arc will pick up three points, and first is circular arc starting point H1 1(90.25,21.07), second is any point H2 in the middle of the circular arc 1(94.34,18.46), the 3rd is the terminal point H3 of circular arc 1According to these three point-rendering circular arcs, add this circular arc in the model space piece table record that CAD carries database to (96.04,14.65), and obtain object ID number, according to ID number newly-built group objects Group, with this circular arc adding group and object extension data centralization; All follow-up rendered objects are all organized adding among the Group.
Continue to obtain the circular arc three point coordinate H1 of parameter list second row 2(96.1,2.61), H2 2(96.7,0.87), H3 2(96.1 ,-1.31), because previous key point is the circular arc type, and H3 1To H1 2Not same point, then draw first circular arc terminating point H3 earlier 1To H1 2Line segment S, again according to H1 2, H2 2, H3 2Three point-rendering circular arc Arc; Line segment S and circular arc Arc are joined among the group Group and add the object extension data centralization; And the like, be broken line point coordinate L to the 7th 7(94.74 ,-2.25) because previous be the circular arc type, then draw previous circular arc terminating point H3 6To L 7Line segment S; Line segment S is joined among the group Group and adds the object extension data centralization; Other row method for drafting of parameter list is similar, finishes until traversal.
Because this special graph outer rim is closed figure, last is circular arc for the Argument List bezel, cluster, and first also is circular arc, then draws H3 12To circular arc starting point H1 1Line segment S figure is sealed, equally with line segment S join the group Group in the object extension data centralization; The special graph housing is completed as shown in Figure 4, and other part of this figure and housing method for drafting are identical, fill enclosure space more as requested again.Other special graph in the machinery inscription table such as the special arrow among Fig. 1 are made up of broken line point all, do not have the circular arc parameter, like the special circle among Fig. 1, are made up of circular arc all, do not have the broken line parameter.After all parts of machinery inscription table label are all drawn, carry out color separation and makeup again, the plate-making flow process is accomplished, and uses film setter to print to publish picture and prints.
The present invention solves existing method for drafting can not quick problem getparms to the special graph in the machinery inscription table; Can not utilize parameterized method to draw and record the problem that growth data is concentrated; Coarse problem is located in the drafting that solves special graph; Reduce the drafting time, improved work efficiency.
Except that the foregoing description, the present invention can also have other embodiments, and all employings are equal to the technical scheme of replacement or equivalent transformation formation, all drop in the protection domain of requirement of the present invention.

Claims (1)

1. a machinery inscription table sign manufacturing computer drawing method is characterized in that this method comprises the following steps:
1) each key point coordinate parameters in the input machinery inscription table, key point is divided into broken line corner point and circular arc, and circular arc comprises three point coordinate: any point coordinate, circular arc terminal point coordinate in the middle of circular arc starting point coordinate, the circular arc; Direction along the special graph profile extends is added each key point coordinate parameters among the Argument List bezel, cluster listbox successively;
2) from key point, select any one as initial key point;
3) read initial key coordinate point parameter from Argument List bezel, cluster listbox,
If initial key point is a circular arc, obtain the circular arc starting point coordinate in the parameter list, any point coordinate, the circular arc terminal point coordinate in the middle of the circular arc; According to these three point-rendering circular arcs; This circular arc is added in the model space piece table record that CAD carries database, and obtain object ID number, according to ID number newly-built group objects Group, with this circular arc adding group and object extension data centralization;
If initial key point is the broken line corner point; The broken line corner point coordinate that obtains in the parameter list is drawn this point; This point is added in the model space piece table record that CAD carries database; And obtain object ID number; According to ID number newly-built group objects Group, with this some adding group and object extension data centralization;
All follow-up rendered objects are all organized adding among the Group;
4) from Argument List bezel, cluster listbox, read next key point coordinate parameters successively,
The key point that reads is if the broken line corner point, and (x y), if previous key point also is the broken line corner point, then draws the line segment S between 2 then to obtain this broken line corner point coordinate Ln in the parameter list; If previous key point is the circular arc type, then draw this circular arc terminal point coordinate to Ln (x, line segment S y); Line segment S is joined among the group Group and adds the object extension data centralization;
The key point that reads is if circular arc then obtains this circular arc starting point H1n coordinate in the parameter list, any point H2n coordinate, the circular arc terminal point H3n coordinate in the middle of the circular arc; If previous key point is the broken line corner point, then draw the line segment S of this broken line corner point earlier to the circular arc starting point coordinate; If previous key point is a circular arc, then draw the line segment S of last circular arc terminating point earlier to back one circular arc starting point, need not draw line segments if both coordinate points are identical; Again according to H1n, H2n, H3n three point-rendering circular arc Arc, line segment S and circular arc Arc are joined among the group Group and add the object extension data centralization;
5) after Argument List bezel, cluster listbox traversal is accomplished, confirm again whether special graph seals;
Then draw end if not closed figure;
If closed figure confirms that earlier last key point is broken line corner point or circular arc;
If last key point is the broken line corner point, initial key point also is the broken line corner point, then draws line segment between the two and joins among the group Group this line segment and the object extension data centralization; If initial key point is a circular arc, then draws last key point and also join among the group Group this line segment and the object extension data centralization to the line segment between the circular arc starting point;
If last key point is a circular arc, and initial key point is the broken line corner point, then draws the circular arc terminal point and also join among the group Group this line segment and the object extension data centralization to the line segment between the initial key point; If initial key point is a circular arc, then draws last key point circular arc terminal point to the line segment between the initial key point circular arc starting point, and join among the group Group this line segment and the object extension data centralization.
CN201110113816A 2011-05-04 2011-05-04 Computer drawing method for manufacturing tablet of mechanical brand watch Expired - Fee Related CN102194028B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110113816A CN102194028B (en) 2011-05-04 2011-05-04 Computer drawing method for manufacturing tablet of mechanical brand watch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110113816A CN102194028B (en) 2011-05-04 2011-05-04 Computer drawing method for manufacturing tablet of mechanical brand watch

Publications (2)

Publication Number Publication Date
CN102194028A CN102194028A (en) 2011-09-21
CN102194028B true CN102194028B (en) 2012-09-05

Family

ID=44602094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110113816A Expired - Fee Related CN102194028B (en) 2011-05-04 2011-05-04 Computer drawing method for manufacturing tablet of mechanical brand watch

Country Status (1)

Country Link
CN (1) CN102194028B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111444250A (en) * 2020-03-20 2020-07-24 苏州工业园区良裕科技有限公司 CAD drawing importing method for pipe bender

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833600A (en) * 2010-04-15 2010-09-15 镇江科大船苑计算机网络工程有限公司 Sign manufacturing computer drawing method
CN101872467A (en) * 2010-06-08 2010-10-27 镇江科大船苑计算机网络工程有限公司 Special scale computer drawing method for scutcheon

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833600A (en) * 2010-04-15 2010-09-15 镇江科大船苑计算机网络工程有限公司 Sign manufacturing computer drawing method
CN101872467A (en) * 2010-06-08 2010-10-27 镇江科大船苑计算机网络工程有限公司 Special scale computer drawing method for scutcheon

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
于萧榕.基于ObjectARX的标牌参数化绘制的研究.《现代电子技术》.2010,第33卷(第16期),第184~187页. *

Also Published As

Publication number Publication date
CN102194028A (en) 2011-09-21

Similar Documents

Publication Publication Date Title
CN110362887A (en) A kind of fast modeling method based on Revit
CN103106188A (en) Imaging analysis system and imaging analysis method of data model
CN106408248A (en) Power transmission line plotting field data acquisition system and processing method thereof
CN104391991B (en) A kind of conversion method from AutoCAD data to GIS spatial data
CN101908216B (en) Method and device for realizing vector fonts
CN112446937B (en) Project progress three-dimensional visualization method based on BIM technology
CN115344905B (en) Method and system for automatically generating two-dimensional engineering drawing based on three-dimensional model
CN102339327A (en) Device for displaying three-dimensional lightweight data format
CN105512099A (en) Gantt chart generation method and device
CN106250129A (en) The vector quantization dynamic drawing method of symbol based on meta graph recognition model
CN104985939A (en) Laser marking machine control method and laser marking machine
CN108255964B (en) Method for displaying process flow route
CN102184300B (en) Label rectangular graph computer drawing method
CN101587504A (en) Custom curved surface test report system and custom surface test report method
CN102509314A (en) Quick generating method for sunlight greenhouse construction drawing
CN111694563B (en) Visual design system and method for user interface mode
CN103279628A (en) Method for manufacturing parameterized engineering drawings
CN101625712A (en) Computer plotting system and computer plotting method for making signssigns
CN102194028B (en) Computer drawing method for manufacturing tablet of mechanical brand watch
CN111612686B (en) Structure mapping method from EBOM to PBOM
CN105912723A (en) Storage method of custom field
CN103065343B (en) A kind of vector map standard conversion method based on Spatial Data Model
CN109344487B (en) Feature mapping-based part replacement method
CN102129502B (en) Optimal electrical power line selection method and system
CN101872467B (en) Special scale computer drawing method for scutcheon

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: JIANGSU KEDA HUIFENG TECHNOLOGY CO., LTD.

Free format text: FORMER NAME: ZHENJIANG KEDA CHUANYUAN COMPUTER NETWORK ENGINEERING CO., LTD.

CP01 Change in the name or title of a patent holder

Address after: 212003 Zhenjiang City, Jiangsu province dream Creek Road, No. 2

Patentee after: Jiangsu Keda Huifeng Science & Technology Co., Ltd.

Address before: 212003 Zhenjiang City, Jiangsu province dream Creek Road, No. 2

Patentee before: Zhenjiang Keda Chuanyuan Computer Network Engineering Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120905

Termination date: 20180504