CN105718672A - CAD target selection method - Google Patents
CAD target selection method Download PDFInfo
- Publication number
- CN105718672A CN105718672A CN201610044613.4A CN201610044613A CN105718672A CN 105718672 A CN105718672 A CN 105718672A CN 201610044613 A CN201610044613 A CN 201610044613A CN 105718672 A CN105718672 A CN 105718672A
- Authority
- CN
- China
- Prior art keywords
- sections
- angle point
- selection method
- layer
- fan
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/15—Vehicle, aircraft or watercraft design
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/60—Editing figures and text; Combining figures or text
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Geometry (AREA)
- Aviation & Aerospace Engineering (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Computer Hardware Design (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention provides a CAD target selection method. A fan-shaped frame choosing needle is adopted to pick entities arrayed along an arc, so that the picking efficiency is improved, misoperation is reduced, the workload of a designer can be alleviated, the typesetting accuracy is enhanced, and the typesetting efficiency is improved.
Description
Technical field
The present invention relates to the software package of the CAD typesetting instrument based on the design of tire-mold word, particularly relate to a kind of CAD Object selection method.
Background technology
The design of tire-mold word graph has quite a few enterprise to select to complete in AutoCAD.Word on tire-mold is both along circular arc arrangement, has an Arc-AlignedText function in the Express functional module of current AutoCAD, and this function only can write a typesetting on a circular arc.In addition other is not had to carry out the correlation function set up type.The more work of tire mold industrial word graph design part is rearrangement design that customer drawings word is modified, when designer carries out word rearrangement or the adjustment of word spacing, the Move order in AutoCAD or Rotate order is used to adjust one by one.Tire-mold word design part, the word arrangement of client is generally unsatisfactory for processing request, it is necessary to carry out rearranging design.Designer can only use the mobile Move instruction in CAD and rotation Rotate instruction one by one word to be adjusted.Such operational design efficiency is non-normally low, and owing to the problems such as hiatus or character order overturn easily occurs in artificial problem.Tire-mold design repeats scissors and paste most and sets up type exactly, it is less susceptible to make mistakes when word quantity is few, but when a secondary mould word quantity reaches more than 300 more, adjust the spacing between word one by one, constantly repeat same operation, not only efficiency is low, and accuracy rate can reduce along with designer's fatigue.The internal conventional target pick-up mode of current AutoCAD is a lectotype and rectangular window selection pattern, additionally also has the selection pattern being much of little use, design for tire-mold, a lot of characters illustrate to write out along circular arc, and very intensive, it is crucial for how accurately quickly selecting the part needing operation.When carrying out typesetting work, existing target pick-up mode cannot word on quick pick-up circular arc, in pick process, also easily there is maloperation.
In view of this, it is necessary to invent a kind of CAD target pick-up method that disclosure satisfy that tire-mold typesetting work.
Summary of the invention
The technical problem to be solved in the present invention, is in that to develop a functional module new for AutoCAD, adopts fan-shaped frame to be picked up for the entity arranged along camber line, alleviates the workload of designer, improve design efficiency.The present invention provides a kind of CAD Object selection method, at one multi-section-line closed of two dimensional surface drafting and the entity within this multi-section-line is extracted by CAD mapping program, add in an empty choice set, the fan-shaped frame with four summits that described multi-section-line is made up of two sections of straightways and two sections of arc sections, these two sections of arc sections described share the same center of circle, wherein the convex value of two sections of straightways is 0, using the anglec of rotation angle2 in the anglec of rotation angle1 in the relatively described center of circle of the first angle point and the relatively described center of circle of the second angle point as the start angle of two sections of circular arcs and termination point, described first angle point is any one summit of fan-shaped frame, described second angle point is another summit non-conterminous with the first angle point on fan-shaped frame, the method for drafting of this sector frame is as follows:
Step 1, picks up the described center of circle by interactive interface and obtains this central coordinate of circle;
Step 2, picks up the first angle point by interactive interface and obtains the first angular coordinate and the anglec of rotation angle1 of this relative centre point of the first angle point;
Step 3, calls dragging function Jig, drags mouse at interactive interface and picks up the second angle point and obtain the second angular coordinate and the anglec of rotation angle2 of this relative centre point of the second angle point, forms the fan-shaped frame being made up of two sections of straightways and two sections of arc sections.
Further, the convexity computing formula of each line segment of described fan-shaped frame is as follows:
Bulge [0]=-GetBulge (angle2, angle1);
Bulge [1]=0.0;
Bulge [2]=GetBulge (angle2, angle1);
Bulge [3]=0.0
Wherein bulge [0]=-GetBulge (angle2, angle1) with bulge [2]=GetBulge (angle2, angle1) being the convexity computing formula of two sections of arc sections, bulge [1]=0.0 and bulge [3]=0.0 is the convexity computing formula of two sections of straightways.
Further, it is first shut off interferogram layer, then draws fan-shaped frame and choose entity.
Further, described entity includes character layer.
Further, described interferogram layer is the figure layer that can character layer be interfered, including hidden layer and mark layer.
Further, described step 1, the target text chosen is arranged filtercondition, described filtercondition is text style, according to the filtercondition arranged, chooses the word of specific character pattern as target text.
Further, described specific character pattern includes lines word and entity text.
Further, after picking up entity and adding an empty choice set to, the interferogram layer of either on or off.
Further, arranging typesetting plug-in unit based on described CAD character pick-up method in AutoCAD, described typesetting plug-in unit sorts for the word of two dimensional surface.
Fan-shaped frame of the present invention is picked up for the entity arranged along camber line, reduces maloperation, can alleviate designer's workload, improves typesetting degree of accuracy, improves typesetting efficiency.
Accompanying drawing explanation
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the schematic flow sheet of the present invention.
Fig. 2 is the schematic diagram of fan-shaped frame;
In Fig. 2, A, B, C, D are four summits of fan-shaped frame, and O is the centre point of two arc sections.
Fig. 3 is the exemplary plot using fan-shaped frame to carry out character pickup.
Detailed description of the invention
Refer to Fig. 1, a kind of CAD Object selection method, comprise the following steps:
Step 1, revises system variable, namely closes interferogram layer, and described interferogram layer is the figure layer that can character layer be interfered, including hidden layer and mark layer.
Step 2, arranges filtercondition, filters out unwanted text style, according to the filtercondition arranged, chooses the word of specific character pattern as target text.Described specific character pattern includes lines word and entity text, and described entity text refers to that inside has the tubular wire bar word filling entity.
Step 3, at one multi-section-line closed of two dimensional surface drafting and the entity within this multi-section-line is extracted by CAD mapping program, add in an empty choice set, the fan-shaped frame with four summits that described multi-section-line is made up of two sections of straightways and two sections of arc sections, these two sections of arc sections described share the same center of circle, wherein the convex value of two sections of straightways is 0, using the anglec of rotation angle2 in the anglec of rotation angle1 in the relatively described center of circle of the first angle point and the relatively described center of circle of the second angle point as the start angle of two sections of circular arcs and termination point, described first angle point is any one summit of fan-shaped frame, described second angle point is another summit non-conterminous with the first angle point on fan-shaped frame, the convexity computing formula of each line segment of described fan-shaped frame is as follows:
Bulge [0]=-GetBulge (angle2, angle1);
Bulge [1]=0.0;
Bulge [2]=GetBulge (angle2, angle1);
Bulge [3]=0.0
Wherein bulge [0]=-GetBulge (angle2, angle1) with bulge [2]=GetBulge (angle2, angle1) being the convexity computing formula of two sections of arc sections, bulge [1]=0.0 and bulge [3]=0.0 is the convexity computing formula of two sections of straightways.
Step 4, the interferogram layer of either on or off, need the entity in choice set performs the orders such as deletion, duplication, array, movement, rotation, convergent-divergent according to operation.
As in figure 2 it is shown, the concrete drawing process of this sector frame is as follows:
1, pick up described center of circle O by interactive interface and obtain this central coordinate of circle;
2, picking up the first angle point by interactive interface and obtain the first angular coordinate and the anglec of rotation angle1 of this relative centre point of the first angle point, described first angle point is A point or B point;
3, call dragging function Jig, drag mouse at interactive interface and pick up the second angle point and obtain the second angular coordinate and the anglec of rotation angle2 of this relative centre point of the second angle point, form the fan-shaped frame being made up of two sections of straightways and two sections of arc sections;When the first angle point is A point, described second angle point is D point;When the first angle point is B point, described second angle point is C point.
As it is shown on figure 3, the fan-shaped frame of employing carries out word pick-up operation, pickup is easy, quick, accurate, greatly reduces and falsely drops probability.
" word " mentioned in the present invention refers to all characters that may be used for input character layer, including and be not limited to Chinese character, letter, numeral, symbol etc..
Devising typesetting plug-in unit in AutoCAD based on described CAD Object selection method, described typesetting plug-in unit is set up type for two dimensional surface and is designed, and the icon arranging fan-shaped frame choosing operates for designer.
Use above-mentioned typesetting plug-in unit concrete operation step in AutoCAD interactive interface as follows:
Click function icon → pickup centre point → pick up the first angle point → pick up the second angle point → complete target pick-up operation.
In sum, fan-shaped frame of the present invention is picked up for arcuation entity, reduces maloperation, can alleviate designer's workload, improves typesetting degree of accuracy, improves typesetting efficiency.
Above in conjunction with accompanying drawing, the present invention is exemplarily described; the obvious present invention implements and is not subject to the restrictions described above; as long as have employed the improvement of the various unsubstantialities that the design of the method for the present invention carries out with technical scheme; or the not improved design by the present invention and technical scheme directly apply to other occasion, all within protection scope of the present invention.
Claims (8)
1. a CAD Object selection method, at one multi-section-line closed of two dimensional surface drafting and the entity within this multi-section-line is extracted by CAD mapping program, add in an empty choice set, it is characterized in that, the fan-shaped frame with four summits that described multi-section-line is made up of two sections of straightways and two sections of arc sections, these two sections of arc sections described share the same center of circle, wherein the convex value of two sections of straightways is 0, using the anglec of rotation angle2 in the anglec of rotation angle1 in the relatively described center of circle of the first angle point and the relatively described center of circle of the second angle point as the start angle of two sections of circular arcs and termination point, described first angle point is any one summit of fan-shaped frame, described second angle point is another summit non-conterminous with the first angle point on fan-shaped frame, the method for drafting of this sector frame is as follows:
Step 1, picks up the described center of circle by interactive interface and obtains this central coordinate of circle;
Step 2, picks up the first angle point by interactive interface and obtains the first angular coordinate and the anglec of rotation angle1 of this relative centre point of the first angle point;
Step 3, calls dragging function Jig, drags mouse at interactive interface and picks up the second angle point and obtain the second angular coordinate and the anglec of rotation angle2 of this relative centre point of the second angle point, forms the fan-shaped frame being made up of two sections of straightways and two sections of arc sections.
2. CAD Object selection method according to claim 1, it is characterised in that be first shut off interferogram layer, then draws fan-shaped frame and chooses entity.
3. CAD Object selection method according to claim 1, it is characterised in that described entity includes character layer.
4. CAD Object selection method according to claim 2, it is characterised in that described interferogram layer is the figure layer that can character layer be interfered, including hidden layer and mark layer.
5. CAD Object selection method according to claim 1, it is characterised in that described step 1, the target text chosen is arranged filtercondition, described filtercondition is text style, according to the filtercondition arranged, chooses the word of specific character pattern as target text.
6. CAD Object selection method according to claim 5, it is characterised in that described specific character pattern includes lines word and entity text.
7. CAD Object selection method according to claim 2, it is characterised in that after picking up entity and adding an empty choice set to, the interferogram layer of either on or off.
8. according to the arbitrary described CAD Object selection method of claim 1 to 7, it is characterised in that arranging typesetting plug-in unit in AutoCAD based on described CAD character pick-up method, described typesetting plug-in unit sorts for the word of two dimensional surface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610044613.4A CN105718672B (en) | 2016-01-22 | 2016-01-22 | A kind of CAD Object selection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610044613.4A CN105718672B (en) | 2016-01-22 | 2016-01-22 | A kind of CAD Object selection method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105718672A true CN105718672A (en) | 2016-06-29 |
CN105718672B CN105718672B (en) | 2019-02-12 |
Family
ID=56153821
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610044613.4A Expired - Fee Related CN105718672B (en) | 2016-01-22 | 2016-01-22 | A kind of CAD Object selection method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105718672B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106371821A (en) * | 2016-08-22 | 2017-02-01 | 深圳市科利德光电材料股份有限公司 | Method for performing frame selection of entity by using closed graph |
CN106919737A (en) * | 2017-01-19 | 2017-07-04 | 天津市市政工程设计研究院 | A kind of level-crossing sighting distance analysis method based on AutoCAD |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101213440A (en) * | 2005-06-28 | 2008-07-02 | 株式会社普利司通 | Method for forming master data for inspecting protruding and recessed figure |
CN104102434A (en) * | 2013-04-11 | 2014-10-15 | 张平 | CAD (Computer-Aided Design) tool switching method |
-
2016
- 2016-01-22 CN CN201610044613.4A patent/CN105718672B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101213440A (en) * | 2005-06-28 | 2008-07-02 | 株式会社普利司通 | Method for forming master data for inspecting protruding and recessed figure |
CN104102434A (en) * | 2013-04-11 | 2014-10-15 | 张平 | CAD (Computer-Aided Design) tool switching method |
Non-Patent Citations (3)
Title |
---|
薄蕾等: "圆柱截面法轮胎模具非线性文字加工研究", 《机械与自动化》 * |
郭俊卿等: "用VB6 .0 开发AutoCAD2000 的轮胎模排字系统", 《金属成型工艺》 * |
黄明新等: "CAD二次开发在轮胎胎侧字样图设计中的应用", 《轮胎工业》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106371821A (en) * | 2016-08-22 | 2017-02-01 | 深圳市科利德光电材料股份有限公司 | Method for performing frame selection of entity by using closed graph |
CN106919737A (en) * | 2017-01-19 | 2017-07-04 | 天津市市政工程设计研究院 | A kind of level-crossing sighting distance analysis method based on AutoCAD |
Also Published As
Publication number | Publication date |
---|---|
CN105718672B (en) | 2019-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20120095852A (en) | Method and apparatus for drawing and erasing calligraphic ink objects on a display surface | |
CN104424473A (en) | Method and device for identifying and editing freehand sketch | |
US7884834B2 (en) | In-context paint stroke characteristic adjustment | |
US8230358B1 (en) | Defining motion in a computer system with a graphical user interface | |
US20120113015A1 (en) | Multi-input gesture control for a display screen | |
CN105718672A (en) | CAD target selection method | |
KR20150071722A (en) | Method and system for modifying contour of object in image | |
CN113342208B (en) | Railway line selection method based on multi-point touch equipment, terminal and storage medium | |
CN105653133A (en) | Extension method and device of application programs | |
CN106126254B (en) | The associated head-up interface game editing system of one kind and method | |
CN105279796A (en) | Method and device for drawing 3D column chart | |
CN110675470B (en) | Contour line drawing method and device, computing equipment and readable storage medium | |
CN105740512A (en) | CAD (Computer Aided Design) text position adjustment method for tire mold typesetting | |
CN105718673B (en) | A kind of CAD straight line text interval regulation method | |
CN103885597B (en) | Space input recognition method and system | |
CN112883449B (en) | Tire sidewall font graph generation method based on AutoCAD | |
DE102013019005A1 (en) | Touch sensing method and portable electronic device | |
CN105718671B (en) | A kind of CAD text point method of adjustment for the typesetting of tire-mold circular arc | |
CN105302466A (en) | Text operation method and terminal | |
CN101872467A (en) | Special scale computer drawing method for scutcheon | |
CN101916318B (en) | Scale value outline overstriking drawing method of sign plate | |
CN105155153B (en) | The processing method that a kind of computer embroidering machine part style is shown | |
CN102521215B (en) | Method and system for marking off document | |
CN107831935A (en) | Touch point trajectory track method, apparatus and smart machine based on fitting | |
CN112764644B (en) | Object display change method, device, equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
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: 20190212 Termination date: 20220122 |