CN105718672B - A kind of CAD Object selection method - Google Patents

A kind of CAD Object selection method Download PDF

Info

Publication number
CN105718672B
CN105718672B CN201610044613.4A CN201610044613A CN105718672B CN 105718672 B CN105718672 B CN 105718672B CN 201610044613 A CN201610044613 A CN 201610044613A CN 105718672 B CN105718672 B CN 105718672B
Authority
CN
China
Prior art keywords
sections
circle
text
fan
selection method
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
CN201610044613.4A
Other languages
Chinese (zh)
Other versions
CN105718672A (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.)
Jimei University
Original Assignee
Jimei University
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 Jimei University filed Critical Jimei University
Priority to CN201610044613.4A priority Critical patent/CN105718672B/en
Publication of CN105718672A publication Critical patent/CN105718672A/en
Application granted granted Critical
Publication of CN105718672B publication Critical patent/CN105718672B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/15Vehicle, aircraft or watercraft design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Abstract

The present invention provides a kind of CAD Object selection method, sector frame needle selection of the present invention is picked up to along the entity that camber line arranges, and is improved pickup efficiency, is reduced maloperation, can reduce designer's workload, and typesetting accuracy is improved, and improves typesetting efficiency.

Description

A kind of CAD Object selection method
Technical field
The present invention relates to the software packages more particularly to a kind of CAD of the CAD designed based on tire-mold text typesetting tool Object selection method.
Background technique
Tire-mold text G- Design has the selection of quite a few enterprise to complete in AutoCAD.Text on tire-mold Word is arranged along circular arc, there is an Arc-Aligned Text function in the Express functional module of AutoCAD at present, The function only can write a typesetting on a circular arc.In addition to this without other correlation functions set up type.Tire-mold It is rearrangement design of modifying to customer drawings text that enterprise's text G- Design part, which more works, and designer carries out text Word rearrange either text spacing adjustment when, using in AutoCAD Move order or Rotate order adjusted one by one. Tire-mold text designs part, and the text arrangement of client is generally unsatisfactory for processing request, carries out rearranging design.If Meter personnel can only use mobile Move instruction and rotation Rotate instruction in CAD to be adjusted one by one to text.Such behaviour The problems such as making that design efficiency is very low, and hiatus or reverse character order be easy to appear due to artificial problem.Tire-mold is set It is exactly to set up type that meter, which most repeats scissors and paste, is less susceptible to malfunction in the case where text quantity is few, but in a secondary mold text Number of words up to 300 or more when, adjust the spacing between text one by one, constantly repeatedly same operation, not only low efficiency, and And accuracy rate can be reduced with designer's fatigue.Common target pick-up mode is a lectotype inside AutoCAD at present With rectangular window selection mode, in addition there are also the selection modes being much of little use, and design for tire-mold, many character explanations It is to be write out along circular arc, and very intensively, it is crucial for how accurately quickly selecting the part that needs operate.It is setting up type When work, have target pick-up mode can not text on quick pick-up circular arc, be also easy that maloperation occurs in pick process.
In view of this, it is necessary to invent a kind of CAD target pick-up method that can satisfy tire-mold typesetting work.
Summary of the invention
The technical problem to be solved in the present invention is to develop the new functional module of AutoCAD, using fan-shaped frame needle It is picked up to along the entity that camber line arranges, mitigates the workload of designer, improve design efficiency.The present invention provides one kind CAD Object selection method is drawn a closed multi-section-line in two-dimensional surface by CAD mapping program and is extracted in the multi-section-line The entity in portion is added in an empty choice set, the tool that the multi-section-line is made of two sections of straightways and two sections of arc sections There are four the fan-shaped frame on vertex, this described two sections of arc sections share the same center of circle, wherein the convex value of two sections of straightways is 0, with First angle point relative to the center of circle rotation angle angle1 and the second angle point relative to the center of circle rotation angle angle2 point Start angle and termination point not as two sections of circular arcs, first angle point are any one vertex of fan-shaped frame, described the Two angle points are with another non-conterminous vertex of the first angle point on fan-shaped frame, and the method for drafting of the sector frame is as follows:
Step 1, the circular arc center of circle is picked up by interactive interface, note centre point is O, establishes pole as origin using center of circle O and sits Mark system, draws polar axis OL horizontally to the right, obtains the central coordinate of circle;
Step 2, the first angle point is picked up by interactive interface and obtains the first angular coordinate, the second angle point of connection and center of circle O Straight line 2 is obtained, remembers that the rotation angle between straight line 2 and polar axis OL is angle1;
Step 3, dragging function Jig is called, the second angle point is picked up in interactive interface dragging mouse and obtains the second angle point and sit Mark, the second angle point of connection and center of circle O obtain straight line 2, remember that the rotation angle between straight line 2 and polar axis OL is angle2, formed by The fan-shaped frame of two sections of straightways and two sections of arc sections composition.
Further, the convexity calculation formula of each line segment of the 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) and bulge [2]=GetBulge (angle2, It angle1 is) the convexity calculation formula of two sections of arc sections, bulge [1]=0.0 and bulge [3]=0.0 are two sections of straightways Convexity calculation formula.
Further, it is first shut off interference figure layer, fan-shaped frame is then drawn and chooses entity.
Further, the entity includes character layer.
Further, the interference figure layer is the figure layer that can be interfered to character layer, including hidden layer and mark layer.
Further, to the entity setting up filter condition chosen in fan-shaped frame, the filter condition is text style, according to The filter condition of setting, using the text for the specific character pattern chosen in fan-shaped frame as target text.
Further, the specific character pattern includes lines text and entity text.
Further, after picking up entity and being added to an empty choice set, the interference figure layer of either on or off.
Further, typesetting plug-in unit is arranged in AutoCAD based on the CAD Object selection method, the typesetting is inserted Text of the part for two-dimensional surface sorts.
Sector frame of the present invention reduces maloperation, can reduce and set for being picked up along the entity that camber line arranges Person works' amount is counted, typesetting accuracy is improved, improves typesetting efficiency.
Detailed description of the invention
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is flow diagram of the invention.
Fig. 2 is the schematic diagram of fan-shaped frame;
In Fig. 2, A, B, C, D are four vertex of fan-shaped frame, and O is the centre point of two arc sections.
Fig. 3 is the exemplary diagram that character pickup is carried out using fan-shaped frame.
Specific embodiment
Referring to Fig. 1, a kind of CAD Object selection method, including the following steps:
Step 1, system variable is modified, that is, closes interference figure layer, the interference figure layer is that can cause to do to character layer The figure layer disturbed, including hidden layer and mark layer.
Step 2, filter condition is set, unwanted text style is filtered out, according to the filter condition of setting, is chosen specific The text of text style.The specific character pattern includes lines text and entity text, and the entity text refers to that inside has Fill the tubular wire text of entity.
Step 3, a closed multi-section-line is drawn in two-dimensional surface by CAD mapping program and extracted inside the multi-section-line Entity, be added in an empty choice set, the multi-section-line is had by what two sections of straightways and two sections of arc sections formed The fan-shaped frame on four vertex, this described two sections of arc sections share the same center of circle, wherein the convex value of two sections of straightways is 0, with the One angle point relative to the center of circle rotation angle angle1 and the second angle point relative to the center of circle rotation angle angle2 distinguish As the start angle and termination point of two sections of circular arcs, first angle point is any one vertex of fan-shaped frame, described second Angle point is with another non-conterminous vertex of the first angle point on fan-shaped frame, and the convexity calculation formula of each line segment of the sector frame is such as Under:
Bulge [0]=- GetBulge (angle2, angle1);
Bulge [1]=0.0;
Bulge [2]=GetBulge (angle2, angle1);
Bulge [3]=0.0
Wherein bulge [0]=- GetBulge (angle2, angle1) and bulge [2]=GetBulge (angle2, It angle1 is) the convexity calculation formula of two sections of arc sections, bulge [1]=0.0 and bulge [3]=0.0 are two sections of straightways Convexity calculation formula.
Step 4, the interference figure layer of either on or off needs to execute deletion, duplication, battle array to the entity in choice set according to operation The order such as column, mobile, rotation, scaling.
As shown in Fig. 2, the specific drawing process of the sector frame is as follows:
1, the center of circle O is picked up by interactive interface, establishes polar coordinate system using center of circle O as origin, draws horizontally to the right Polar axis OL obtains the central coordinate of circle;
2, the first angle point is picked up by interactive interface and obtains the first angular coordinate, the second angle point of connection is obtained with center of circle O Straight line 2 remembers that the rotation angle between straight line 2 and polar axis OL is angle1, and first angle point is A point or B point;
3, dragging function Jig is called, pick up the second angle point in interactive interface dragging mouse and obtains the second angular coordinate, even It connects the second angle point and center of circle O obtains straight line 2, remember that the rotation angle between straight line 2 and polar axis OL is angle2, formed straight by two sections The fan-shaped frame of line segment and two sections of arc sections composition;When the first angle point is A point, second angle point is D point;When the first angle point is When B point, second angle point is C point.
As shown in figure 3, carrying out text pick-up operation using fan-shaped frame, pickup is easy, quick, accurate, and greatly reduction is falsely dropped Probability.
" text " mentioned in the present invention refers to all characters that can be used for inputting character layer, including and is not limited to the Chinese Word, letter, number, symbol etc..
Typesetting plug-in unit is devised in AutoCAD based on the CAD Object selection method, the typesetting plug-in unit is used for two Dimensional plane typesetting design, and the icon that fan-shaped frame choosing is arranged is operated for designer.
Using above-mentioned typesetting plug-in unit in AutoCAD interactive interface specific steps are as follows:
Click function icon → pickup centre point → the first angle point of pickup → the second angle point of pickup → completion target pick-up behaviour Make.
In conclusion sector frame of the present invention is picked up for arcuation entity, maloperation is reduced, can reduce and set Person works' amount is counted, typesetting accuracy is improved, improves typesetting efficiency.
The present invention is exemplarily described above in conjunction with attached drawing, it is clear that the present invention implements not by aforesaid way Limitation, as long as the improvement for the various unsubstantialities that the inventive concept and technical scheme of the present invention carry out is used, or without changing It is within the scope of the present invention into the conception and technical scheme of the invention are directly applied to other occasions.

Claims (8)

1. a kind of CAD Object selection method is drawn a closed multi-section-line in two-dimensional surface by CAD mapping program and is extracted Entity inside the multi-section-line is added in an empty choice set, which is characterized in that the multi-section-line is by two sections of straightways Tool with two sections of arc sections composition is there are four the fan-shaped frame on vertex, this described two sections of arc sections share the same center of circle, wherein two sections The convex value of straightway is 0, with the first angle point relative to the rotation angle angle1 in the center of circle and the relatively described circle of the second angle point For the rotation angle angle2 of the heart respectively as the start angle and termination point of two sections of circular arcs, first angle point is fan-shaped frame Any one vertex, second angle point are with another non-conterminous vertex of the first angle point on fan-shaped frame, which draws Method processed is as follows:
Step 1, the circular arc center of circle being picked up by interactive interface, note centre point is O, polar coordinate system is established using center of circle O as origin, Polar axis OL horizontally to the right is drawn, the central coordinate of circle is obtained;
Step 2, the first angle point is picked up by interactive interface and obtains the first angular coordinate, the first angle point of connection is obtained with center of circle O Straight line 1 remembers that the rotation angle between straight line 1 and polar axis OL is angle1;
Step 3, dragging function Jig is called, pick up the second angle point in interactive interface dragging mouse and obtains the second angular coordinate, even It connects the second angle point and center of circle O obtains straight line 2, remember that the rotation angle between straight line 2 and polar axis OL is angle2, formed straight by two sections The fan-shaped frame of line segment and two sections of arc sections composition.
2. CAD Object selection method according to claim 1, which is characterized in that be first shut off interference figure layer, then draw Fan-shaped frame chooses entity.
3. CAD Object selection method according to claim 1, which is characterized in that the entity includes character layer.
4. CAD Object selection method according to claim 2, which is characterized in that the interference figure layer is can be to character layer The figure layer interfered, including hidden layer and mark layer.
5. CAD Object selection method according to claim 2, which is characterized in that the entity setting up chosen in fan-shaped frame Filter condition, the filter condition is text style, according to the filter condition of setting, the specific character sample that will be chosen in fan-shaped frame The text of formula is as target text.
6. CAD Object selection method according to claim 5, which is characterized in that the specific character pattern includes lines Text and entity text.
7. CAD Object selection method according to claim 2, which is characterized in that pick up entity and be added to one it is empty After choice set, the interference figure layer of either on or off.
8. CAD Object selection method according to any one of claims 1 to 7, which is characterized in that based on the CAD target Typesetting plug-in unit is arranged in choosing method in AutoCAD, and text of the typesetting plug-in unit for two-dimensional surface sorts.
CN201610044613.4A 2016-01-22 2016-01-22 A kind of CAD Object selection method Expired - Fee Related CN105718672B (en)

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 CN105718672A (en) 2016-06-29
CN105718672B true 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 (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106919737A (en) * 2017-01-19 2017-07-04 天津市市政工程设计研究院 A kind of level-crossing sighting distance analysis method based on AutoCAD

Families Citing this family (1)

* Cited by examiner, † Cited by third party
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

Citations (2)

* Cited by examiner, † Cited by third party
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
CAD二次开发在轮胎胎侧字样图设计中的应用;黄明新等;《轮胎工业》;20151231;第35卷(第10期);第607-610页
圆柱截面法轮胎模具非线性文字加工研究;薄蕾等;《机械与自动化》;20130930(第9期);第118页
用VB6 .0 开发AutoCAD2000 的轮胎模排字系统;郭俊卿等;《金属成型工艺》;20030331;第21卷(第3期);第56-58,62页

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN105718672A (en) 2016-06-29

Similar Documents

Publication Publication Date Title
CN102947783B (en) Multi-point touch mark menu and directive chord gesture
US7817164B2 (en) Image editing device and method thereof
CN110489778B (en) Graph segmentation method and laser etching control system for laser etching processing
CN104424473A (en) Method and device for identifying and editing freehand sketch
US10831936B2 (en) Virtual design
KR20120095852A (en) Method and apparatus for drawing and erasing calligraphic ink objects on a display surface
Anastacio et al. Modeling plant structures using concept sketches
CN105718672B (en) A kind of CAD Object selection method
KR20080102385A (en) Systems and methods for interactive definition of regions and volumes of interest
CN104866121A (en) Drawing system and drawing method for three-dimensional model
KR102205906B1 (en) Method and system for modifying contour of object in image
CN105513006B (en) A kind of TrueType font profile thickness method of adjustment and device
CN106126254B (en) The associated head-up interface game editing system of one kind and method
CN113342208B (en) Railway line selection method based on multi-point touch equipment, terminal and storage medium
CN105785919B (en) Point five axis of cloud is without global interference generating tool axis vector feasible zone computational methods
CN105740512B (en) A kind of CAD text point method of adjustment for tire-mold typesetting
CN103164862A (en) Plane computer-aided design (CAD)/ computer-aided manufacturing (CAM) drawing method based on intelligent recognition drawing tool
CN105718673B (en) A kind of CAD straight line text interval regulation method
Igarashi et al. Knitty: 3D Modeling of Knitted Animals with a Production Assistant Interface.
CN110675470A (en) Contour line drawing method and device, computing equipment and readable storage medium
US9292970B2 (en) Systems and methods of retopologizing graphical data
CN101727675B (en) System and method for dynamically previewing insertion positions of graphic elements
CN105718671B (en) A kind of CAD text point method of adjustment for the typesetting of tire-mold circular arc
CN103885597B (en) Space input recognition method and system
CN111222682A (en) Second-order optimization simplification method for map boundary data

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

Granted publication date: 20190212

Termination date: 20220122

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