JPH079659B2 - Drafting system in CAD device - Google Patents
Drafting system in CAD deviceInfo
- Publication number
- JPH079659B2 JPH079659B2 JP63267231A JP26723188A JPH079659B2 JP H079659 B2 JPH079659 B2 JP H079659B2 JP 63267231 A JP63267231 A JP 63267231A JP 26723188 A JP26723188 A JP 26723188A JP H079659 B2 JPH079659 B2 JP H079659B2
- Authority
- JP
- Japan
- Prior art keywords
- dimension
- dimensions
- input
- data
- graphic
- 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
Links
- 238000012545 processing Methods 0.000 claims description 38
- 238000000034 method Methods 0.000 description 26
- 238000010586 diagram Methods 0.000 description 10
- 239000000284 extract Substances 0.000 description 3
- 238000000605 extraction Methods 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Description
【発明の詳細な説明】 [産業上の利用分野] 本発明は、図形に寸法を付して図面を作成するCAD装置
における製図システムに係り、特に寸法を自動的に生成
するものに関する。Description: TECHNICAL FIELD The present invention relates to a drafting system in a CAD device for creating a drawing by adding dimensions to a figure, and more particularly to a system for automatically generating dimensions.
[従来の技術] 一般に、この種のCAD装置は第2図に示すように、入力
装置1、図面処理装置2及び図面表示装置3から成る。
入力装置1は例えば、キーボード,マウス,デジタイザ
等から成り、操作者の操作により図形要素名(円、線
等)、図形位置(数値、位置)等の図形(形状),寸法
データを入力するためのものである。図面処理装置2は
形状の入力、寸法の入力の一般的な処理を行い、処理さ
れた図面データを表示させるために図面表示装置3に送
出する。図面表示装置3は作成された図面を表示する。
なお、ここで図面データというときは、図形データと寸
法データとから構成されるデータのことをいい、同じく
図面は図形と寸法とから成る。[Prior Art] In general, a CAD device of this type includes an input device 1, a drawing processing device 2 and a drawing display device 3, as shown in FIG.
The input device 1 is composed of, for example, a keyboard, a mouse, a digitizer, etc., and for inputting a figure (shape) such as a figure element name (circle, line, etc.), figure position (numerical value, position), and dimension data by the operation of the operator. belongs to. The drawing processing apparatus 2 performs general processing of inputting shapes and dimensions and sends the processed drawing data to the drawing display apparatus 3 for display. The drawing display device 3 displays the created drawing.
Here, the drawing data refers to data composed of graphic data and size data, and a drawing is also composed of graphic data and dimensions.
ここで上記CAD装置による従来の寸法生成手順を第3図
を用いて説明する。なお、寸法の種類には、形状の端点
間の距離を示す寸法(直線寸法)及び穴等(円要素)の
径を示す寸法(矢印寸法)の2つがある。Here, a conventional dimension generation procedure by the CAD device will be described with reference to FIG. There are two types of dimensions: a dimension indicating the distance between the end points of the shape (linear dimension) and a dimension indicating the diameter of a hole or the like (circular element) (arrow dimension).
予め、図示例のような図形データが図面処理装置2に入
力され、図面表示装置3に表示されているものとする
(第3図(1))。先ず、操作者は図面表示装置3を見
ながら、入力装置1を操作して寸法の長さの端点となる
形状の一部をd1,d2で認識(デジタイズ)させ、次いで
寸法データの表示したい位置をd3で認識させる。そし
て、これらを図面処理装置2に送って、図面処理装置2
で寸法データを生成し、図形の一部に寸法を付与した図
面状態で図面表示装置3に表示する(第3図(2))。
このような操作で、一つの寸法が図形に入力されたこと
になる。同様な操作を繰り返すことによって残りの寸法
を順次入力していき(第3図(3))、直線寸法の入力
を完成させる(第3図(4))。そして、最後に径(円
要素)をd4で認識させて矢印寸法を入力することによ
り、直線寸法と矢印寸法との混合入力を完成させる(第
3図(5))。It is assumed that graphic data as shown in the drawing is input to the drawing processing device 2 in advance and is displayed on the drawing display device 3 (FIG. 3 (1)). First, the operator looks at the drawing display device 3 and operates the input device 1 to recognize (digitize) a part of the shape which is the end point of the length of the dimension by d 1 and d 2 , and then displays the dimension data. Use d 3 to recognize the position you want. Then, these are sent to the drawing processing apparatus 2 and the drawing processing apparatus 2
The dimensional data is generated by and is displayed on the drawing display device 3 in the drawing state in which the dimensions are given to a part of the figure (FIG. 3 (2)).
By such an operation, one dimension is input to the figure. By repeating the same operation, the remaining dimensions are sequentially input (FIG. 3 (3)), and the linear dimension input is completed (FIG. 3 (4)). Finally, the diameter (circular element) is recognized by d 4 and the arrow dimension is input to complete the mixed input of the linear dimension and the arrow dimension (FIG. 3 (5)).
[発明が解決しようとする課題] しかしながら、上記したCAD装置を用いた寸法生成手順
によれば、図面表示装置3を見ながら、必要とする寸法
の数だけ入力装置1を操作して形状の一部を逐一拾って
行かなければならないため、寸法入力作業が操作者にと
って極めて繁雑になり、入力ミスも避けられないという
欠点があった。[Problems to be Solved by the Invention] However, according to the dimension generation procedure using the above-described CAD device, while watching the drawing display device 3, the input device 1 is operated by the number of required dimensions to obtain one shape. Since the parts have to be picked up one by one, the size input work becomes extremely complicated for the operator, and there is a drawback that an input error cannot be avoided.
また、図面としての品質を考えると、第9図に示すよう
に一投影面の図形で寸法が重なる場合(第9図
(1))、投影面間で寸法が重なる場合(第9図
(2))等があるため、操作者は入力する寸法の場所、
即ち寸法の配置も考慮しなければならない。しかし、一
般に寸法の配置まで考えると、実際の操作には、画面の
拡大,縮小,移動等の面倒な操作を伴うことが多いた
め、寸法配置にも時間がかかるという欠点があった。Further, considering the quality as a drawing, when the dimensions of a figure on one projection plane overlap as shown in FIG. 9 (FIG. 9 (1)), when the dimensions overlap between projection planes (FIG. 9 (2)). )), Etc.
That is, the arrangement of dimensions must be taken into consideration. However, in general, considering the dimensional arrangement, the actual operation often involves troublesome operations such as enlargement, reduction, and movement of the screen, so that there is a drawback in that the dimensional arrangement also takes time.
従って、寸法入力の操作には形状の入力(図形データの
入力)とほぼ同等か、それ以上の時間を費やすことにな
る。また、寸法入力は操作者に委ねられているため、寸
法の入力方法(寸法の記述の仕方)にも統一性に欠ける
という欠点があった。Therefore, the operation of inputting the dimension takes time which is almost equal to or more than the input of the shape (input of the graphic data). Further, since the operator is left to input the dimensions, there is a drawback that the method of inputting the dimensions (method of describing the dimensions) lacks uniformity.
本発明の目的は、図形に対する寸法入力作業を自動化す
ることによって、寸法の配置、寸法の記述に関する従来
の欠点を除去し、図面作成に要する時間を短縮し、しか
も寸法の配置,寸法の記述方法も統一することが可能な
CAD装置における製図システムを提供することにある。The object of the present invention is to eliminate the conventional drawbacks regarding the arrangement of dimensions and the description of dimensions by automating the dimension input operation for a figure, shorten the time required for drawing, and arrange the dimensions and describe the dimensions. Can also be unified
It is to provide a drafting system for a CAD device.
[課題を解決するための手段] 本発明のCAD装置における製図システムは、図面処理装
置に入力されている図形から、寸法の基点となる図形要
素の端点または中心点を抽出し、座標成分を同じくする
座標軸と平行な帯線上に乗る端点または中心点をまとめ
てグループ化し、同一投影面における座標成分が異なる
座標軸と平行なグループ間に寸法割付けを行ない、割り
付けたグループ間の距離から寸法値を算出して寸法を生
成する寸法生成手段と、寸法生成手段で作成された寸法
と入力された図形から寸法間または寸法と図形間の重な
りをチェックし、これらの重なりを修正し、この修正し
た寸法と図形を図面処理装置に送出するレイアウト手段
とを備えて構成されたものである。[Means for Solving the Problems] A drafting system in a CAD device of the present invention extracts an end point or a center point of a graphic element serving as a base point of a dimension from a graphic input to a drawing processing device, and determines a coordinate component in the same manner. The endpoints or center points on the band line parallel to the coordinate axis are grouped together, dimension is assigned between groups parallel to the coordinate axis with different coordinate components on the same projection plane, and the dimension value is calculated from the distance between the assigned groups. Then, check the overlap between dimensions or between the dimension and the figure from the dimension created by the dimension generation means and the shape and the input figure, and correct these overlaps. And a layout means for sending the figure to the drawing processing apparatus.
[作用] 図面処理装置に入力されている図形から寸法生成手段に
送られると、その図形は寸法生成のためのデータとして
使われ、これから図形要素の端点が抽出される。する
と、これら抽出された端点は座標系のもとでグループ化
されて、グループ間に寸法が割り付けられるため、その
割り付けられたグループ間に寸法が形成される。[Operation] When the figure input to the drawing processing apparatus is sent to the dimension generating means, the figure is used as data for dimension generation, and the end points of the figure element are extracted from this. Then, these extracted end points are grouped under the coordinate system and dimensions are allocated between the groups, so that dimensions are formed between the allocated groups.
このようにして形成された寸法と図面処理装置に入力さ
れている図形とが寸法レイアウト手段に送られると、形
成された寸法同士間、さらに寸法と図形間で重なりがチ
ェックされる。重なりが見付けられると、寸法又は図形
が移動させられて、その重なりが修正される。この修正
された寸法及び図形は図面処理装置に送出され、処理さ
れて図面表示装置に送られる。従って、図形に寸法が自
動的に付された図面が図面表示装置表示される。When the dimension thus formed and the graphic input to the drawing processing apparatus are sent to the dimension layout means, the overlap between the formed dimensions and between the dimension and the graphic is checked. If an overlap is found, then the dimension or graphic is moved to correct the overlap. The corrected dimensions and graphics are sent to the drawing processing device, processed and sent to the drawing display device. Therefore, the drawing in which the dimensions are automatically attached to the graphic is displayed on the drawing display device.
[実施例] 以下、本発明の実施例を第1図、第4図〜第11図を用い
て説明する。[Embodiment] An embodiment of the present invention will be described below with reference to FIGS. 1 and 4 to 11.
本発明の製図システムを実施するCAD装置例は第1図に
示すように、入力装置1、図面処理装置2、図面表示装
置3及び寸法自動生成装置6とから成る。このうち、入
力装置1、図面処理装置2、図面表示装置3は従来のCA
D装置と同じものである。As shown in FIG. 1, an example of a CAD device for implementing the drafting system of the present invention comprises an input device 1, a drawing processing device 2, a drawing display device 3 and an automatic dimension generation device 6. Of these, the input device 1, the drawing processing device 2, and the drawing display device 3 are conventional CAs.
It is the same as the D device.
入力装置1は、例えばデジタイザ、マスク、キーボード
等から成り、操作者の操作により、図形要素名(直線、
円弧、円等)、図形座標等のデータ及び必要に応じて寸
法のデータを入力するものである。図面処理装置2は図
形及び寸法の入力を司る主制御部であり、図形に関する
一般的な処理を行い、図形データを図面表示装置3に送
出したり、本発明の要素となる寸法自動生成装置6へ図
形データに基づく寸法生成制御を受け渡す装置である。
図面表示装置3は図形データ(形状データ)及び寸法デ
ータ等を表示する装置である。The input device 1 is composed of, for example, a digitizer, a mask, a keyboard, and the like.
Data such as arcs, circles, etc., graphic coordinates, etc. and, if necessary, dimension data are input. The drawing processing apparatus 2 is a main control unit that controls the input of figures and dimensions, performs general processing relating to figures, sends the figure data to the drawing display apparatus 3, and the automatic dimension generation apparatus 6 which is an element of the present invention. This is a device for transferring dimension generation control based on graphic data.
The drawing display device 3 is a device for displaying graphic data (shape data), dimension data, and the like.
また、寸法自動生成装置6は、寸法生成部4と寸法レイ
アウト部5とを有する。寸法生成部4は図面処理装置2
から図形データを受け入れて寸法生成を行い、寸法レイ
アウト部5は図形データと、生成された寸法データを受
け入れて、図形に付与されている寸法レイアウト及び図
面内のレイアウトを行う。ここで、寸法のレイアウトと
は、例えば、3角法で入力されている場合の投影面内の
寸法のレイアウト及び投影面間の寸法のレイアウトをい
い、図面内のレイアウトとは、図面上のどの場所に図形
データと寸法データとを配置するかを決める図面全体の
レイアウトを意味する。Further, the automatic dimension generation device 6 has a dimension generation unit 4 and a dimension layout unit 5. The dimension generation unit 4 is the drawing processing device 2
The dimension layout unit 5 receives the figure data and the generated dimension data, and performs the dimension layout given to the figure and the layout in the drawing. Here, the dimension layout means, for example, a layout of dimensions in the projection plane and a layout of dimensions between projection planes when input is made by the trigonal method. It means the layout of the entire drawing that decides whether to place the graphic data and the dimension data in the place.
ところで、第4図に示すように、寸法の種類には直線寸
法(第4図(1))と矢印寸法(第4図(2))との2
つがあるが、寸法の生成方式にも、絶対座標を基準とし
た絶対寸法の生成方式(第4図(3))と、相対座標を
基準とした相対寸法の生成方式(第4図(1))との2
つの方式がある。By the way, as shown in FIG. 4, there are two types of dimensions: a linear dimension (FIG. 4 (1)) and an arrow dimension (FIG. 4 (2)).
There are two types of dimension generation methods: an absolute dimension generation method based on absolute coordinates (Fig. 4 (3)) and a relative dimension generation method based on relative coordinates (Fig. 4 (1)). ) And 2
There are two methods.
第5図は、これら2つの寸法生成方式による製図例をL
字部材について示したもので、第5図(1)は絶対座標
による寸法生成を、第5図(2)は相対座標による寸法
生成を示している。このような寸法生成方式による製図
を第1図に示すCAD装置によって行う処理手順を、寸法
生成処理手順と寸法レイアウト処理手順とに分けて説明
する。FIG. 5 shows a drawing example L by these two dimension generation methods.
FIG. 5 (1) shows the dimension generation based on absolute coordinates, and FIG. 5 (2) shows the dimension generation based on relative coordinates. The processing procedure for performing the drawing by such a dimension generation method by the CAD device shown in FIG. 1 will be described separately for the dimension generation processing procedure and the dimension layout processing procedure.
先ず、寸法自動生成装置6を構成する寸法生成部4によ
る寸法生成の処理手順を第6図を用いて説明する。First, the processing procedure of the dimension generation by the dimension generation unit 4 included in the automatic dimension generation device 6 will be described with reference to FIG.
ステップ101で形状の端点座標を全て抽出し、ステップ1
02で各投影面の対応付けを行い、ステップ103で各投影
面の基準点を設定する。続いて、ステップ104で直線寸
法を生産するための寸法割付けを行い、ステップ105で
図面データとしての品質を高めるために補助線を生産す
る。ステップ106で寸法の生成方式を絶対座標又は相対
座標のいずれかに選択し、そしてステップ107で矢印寸
法を生成して終了する。Extract all the coordinates of the end points of the shape in step 101, and
In 02, the projection planes are associated with each other, and in step 103, the reference point of each projection plane is set. Then, in step 104, dimension allocation for producing a linear dimension is performed, and in step 105, an auxiliary line is produced to improve the quality as drawing data. In step 106, either the absolute coordinate system or the relative coordinate system is selected as the dimension generation method, and the arrow dimension is generated in step 107, and the process is terminated.
これら各ステップについて、第11図を主に用いて更に詳
細に説明していく。ここで処理対象となる図形111は図
示するようなL字部材である(第11図(1))。Each of these steps will be described in more detail mainly using FIG. The graphic 111 to be processed here is an L-shaped member as shown (FIG. 11 (1)).
さて、ステップ101の端点座標抽出では、図形データの
各投影面(平面、正面、右側面)に現れている図形要素
の端点112が全て抽出される(第11図(2))。抽出さ
れる端点112は第7図に示すように要素により異なる。
即ち、線分については両端点E1,E2を抽出し、円弧につ
いては中心点O1,始点E1,終点E2及び円弧上の点のうち
寸法形成に必要な部分E3を抽出することになる。円につ
いては、内形の円の場合は中心点O1、外形の円の場合は
中心点O1及びX方向,Y方向の最大・最小点の4っの端点
E1,E2,E3,E4をそれぞれ抽出する。Now, in the end point coordinate extraction in step 101, all the end points 112 of the graphic element appearing on each projection plane (plane, front surface, right side surface) of the graphic data are extracted (FIG. 11 (2)). The extracted end point 112 differs depending on the element as shown in FIG.
That is, both end points E 1 and E 2 are extracted for a line segment, and a center point O 1 , a start point E 1 , an end point E 2 and a portion E 3 of the points on the arc necessary for dimension formation are extracted for an arc. It will be. Endpoints for yen, in the case of the inner shape circle center point O 1, in the case of circle contour central points O 1 and X-direction, 4 Tsu the maximum and minimum points of the Y-direction
Extract E 1 , E 2 , E 3 , and E 4 , respectively.
ステップ102の投影面の対応付けでは、ステップ101で抽
出した端点のグループ化を各投影面について行い、更に
投影面間でそれらの対応付けを行う(第11図(3))。
先ず、各投影面についてのグループ化は、例えば第8図
に示すように、幅方向に一定の誤差範囲を持つX軸と平
行な帯線上に乗る端点をまとめて、X方向のグループは
G05〜G07,同じく幅方向に一定の誤差範囲を持つY軸と
平行な帯線上に乗る端点をまとめて,Y方向のグループは
G01〜G04というようにグループグループ化する。その上
で、第11図(3)に示すように、各投影面でグループ化
したX方向のグループをまとめてG11〜G16、Y方向のグ
ループはG1〜G10というように投影面間でそれらの対応
付けを行う。この投影面間での対応付けのときに、外形
の位置,長さを同時にチェックし、もし投影面間の位置
がずれている場合には、図形としての品質、見栄えを良
くするために位置合わせの補正を行う。In the association of the projection planes in step 102, the end points extracted in step 101 are grouped for each projection plane, and the projection planes are also associated (FIG. 11 (3)).
First, as for grouping on each projection plane, for example, as shown in FIG. 8, the end points on the band line parallel to the X axis having a constant error range in the width direction are put together, and the group in the X direction is
G05 to G07, similarly, the end points on the band line parallel to the Y axis, which has a certain error range in the width direction, are put together, and the group in the Y direction is
Group into groups such as G01 to G04. Then, as shown in FIG. 11 (3), the groups in the X direction grouped on each projection plane are collectively G11 to G16, and the groups in the Y direction are G1 to G10. Correspond. At the time of associating between the projection planes, the positions and lengths of the outer shapes are checked at the same time. If the positions between the projection planes are misaligned, alignment is performed to improve the quality and appearance of the figure. Is corrected.
ステップ103の基準点設定では、X,Y座標の最小値を設定
する。複数の投影面が存在する場合は、投影面の数だけ
基準点が存在することになる。本例では3つの基準点A,
B,Cが存在する(第11図(3))。In the reference point setting in step 103, the minimum values of X and Y coordinates are set. When there are a plurality of projection planes, there are as many reference points as there are projection planes. In this example, three reference points A,
B and C exist (Fig. 11 (3)).
ステップ104の寸法割付けでは、ステップ102で求めたグ
ループを用いて、直線寸法を割り付けるべきグループ間
を決定する(第11図(4))。同図において、Y方向の
グループ(G1〜G10)では隣合うグループ間に全て割り
付けられているのに対して、X方向のグループ(G11〜G
16)ではそのようになっていない。即ち、G11−G12,G12
−G14,G13−G15,G15−G16のみが割り付けられているに
過ぎない。これは、不要な割付けを排除するために、同
一投影面におけるグループ間にのみ割付けを行い、異な
る投影面に跨がるグループ間には寸法割付けを行わない
ようにチェックしているためである。因に、第11図
(3)から解るようにG11−G12は正面投影面の下辺113
と窓部下辺114との間の割付けを、G12−14は同じく正面
投影面の窓部の下辺114と上辺115との間の割付けを、G1
3−G15は右側面投影面の上下の丸穴116,117間の割付け
を、そしてG15−16は同じく右側面投影面の上辺118と上
の丸穴116との間の割付けをそれぞれ意味している。In the dimension allocation in step 104, the groups determined in step 102 are used to determine the groups to which linear dimensions are to be allocated (FIG. 11 (4)). In the figure, the groups in the Y direction (G1 to G10) are all allocated between adjacent groups, whereas the groups in the X direction (G11 to G10) are allotted.
That is not the case in 16). That is, G11-G12, G12
Only -G14, G13-G15, G15-G16 are assigned. This is because, in order to eliminate unnecessary allocation, it is checked that allocation is performed only between groups on the same projection plane and dimension allocation is not performed between groups that span different projection planes. Incidentally, as can be seen from FIG. 11 (3), G11-G12 is the lower side 113 of the front projection plane.
And G12-14 for the front side of the window, and G12-14 for the front side of the projection.
3-G15 means an allocation between the upper and lower round holes 116 and 117 of the right side projection surface, and G15-16 also means an allocation between the upper side 118 and the upper round hole 116 of the right side projection surface.
このようにして、グループ間を選び出して寸法割付けを
行った上で、さらに、寸法の割付け位置を1グループ内
のどの端点から行うかをも決定する。In this way, the groups are selected and the dimension allocation is performed, and further, from which end point in one group the dimension allocation position is determined.
ステップ105の補助線作成では、円要素,矩形形状等の
内形形状に対して補助線を生成する。この補助線は、形
状の中心位置から寸法の引出し線の延長部に存在する線
分で、図面データとしての品質を高めるため引くもので
ある。本例では、円要素である丸穴116,117に対応する
板厚部の中心線119及び、丸穴116,117の中心線120とし
て引かれている(第11図(5))。In the auxiliary line creation in step 105, an auxiliary line is generated for an inner shape such as a circular element or a rectangular shape. This auxiliary line is a line segment existing in the extension of the lead line of the dimension from the center position of the shape, and is drawn to improve the quality as drawing data. In this example, a center line 119 of the plate thickness portion corresponding to the circular holes 116 and 117 which are circular elements and a center line 120 of the circular holes 116 and 117 are drawn (FIG. 11 (5)).
ステップ106の絶対又は相対寸法作成では、ここで始め
て絶対寸法(累進寸法)の生成を行うのか、相対寸法
(直線寸法)の生成を行うのかの選択が成される。その
選択に応じて、ステップ104で割り付けたグループ間の
距離から寸法値を算出する。そして、図面処理装置2内
に予め設定してある寸法に関する。ある一定のパラメー
タ又は、自動寸法生成装置6内に予め設定してある同様
なパラメータを用いることにより、寸法の割付け位置に
寸法データを生成する(第11図(6))。具体的には第
5図に示すように生成する。In the absolute or relative dimension creation in step 106, it is first selected here whether the absolute dimension (progressive dimension) is generated or the relative dimension (linear dimension) is generated. According to the selection, the dimension value is calculated from the distance between the groups assigned in step 104. Then, it relates to the dimensions preset in the drawing processing apparatus 2. By using a certain parameter or a similar parameter preset in the automatic dimension generation device 6, the dimension data is generated at the dimension allocation position (FIG. 11 (6)). Specifically, it is generated as shown in FIG.
ステップ107の矢印寸法生成では、円要素及び円弧要素
等に対し、同一投影面内の同一径をまとめた形で矢印寸
法122を表現する(第11図(7))。このとき予め設定
してある同一寸法個数のMAX制限により、同一径の数が
最も多いものに対しては、矢印寸法ではなく、文章表現
(テキスト)にする。このときの文章はパラメータとし
て予め設定してあるものを使用する。In the step 107 of generating the arrow size, the arrow size 122 is expressed for the circular element, the circular arc element, etc. in a form in which the same diameters in the same projection plane are put together (FIG. 11 (7)). At this time, due to the preset MAX limit of the number of the same size, the one having the largest number of the same diameter is expressed by the text (text) instead of the arrow size. The text at this time uses the one set in advance as a parameter.
以上説明したステップ101〜ステップ107の実行により、
図形データに付されるべき寸法データが生成されたこと
になる。ところが、この時点では、機械的に寸法を付し
たに過ぎないので、第9図に示すように、寸法が重なり
合う状態になり得る。即ち、1投影面の図形90で寸法92
と93が重なる場合(第9図(1))、投影面の図形100,
101間で寸法103と104が重なる場合(第9図(2))等
が発生する。そこで、このような重なり(クロス)があ
ると製図図面の品質を損なうので、寸法レイアウトを行
う必要がある。By executing Step 101 to Step 107 described above,
This means that the dimension data to be attached to the graphic data has been generated. However, at this point, the dimensions are merely mechanically attached, so that the dimensions may overlap with each other as shown in FIG. That is, the figure 90 on one projection plane is the size 92
And 93 overlap (Fig. 9 (1)), the figure 100,
The case where the dimensions 103 and 104 overlap between 101 (Fig. 9 (2)) occurs. Therefore, since such an overlap (cross) impairs the quality of the drawing, it is necessary to perform dimensional layout.
次に、寸法自動生成装置6を構成する寸法レイアウト部
5による寸法レイアウトの処理手順を第10図を用いて説
明する。Next, the procedure of the dimension layout processing by the dimension layout section 5 which constitutes the automatic dimension generation apparatus 6 will be described with reference to FIG.
最初にステップ201〜203による投影面内のレイアウトを
投影面の数だけ繰返し、その後でステップ204による投
影面間のレイアウトを行う。ステップ201では、寸法と
図形とのクロス修正を行い、ステップ202では寸法と寸
法とのクロス修正を行う。そして、ステップ203ではク
ロスの存否を判断し、クロスがあればステップ201に戻
り、クロスがなければ投影面間のレイアウトに進む。ス
テップ204では投影面間の重複(ダブリ)を修正する。First, the layout in the projection plane in steps 201 to 203 is repeated for the number of projection planes, and then the layout between the projection planes in step 204 is performed. In step 201, cross correction between dimensions and figures is performed, and in step 202, cross correction between dimensions and dimensions is performed. Then, in step 203, it is judged whether or not there is a cross, and if there is a cross, the process returns to step 201, and if there is no cross, the layout between projection planes is proceeded to. In step 204, the duplication between the projection planes is corrected.
さて、ステップ201では寸法と図形とのクロスを修正す
る。寸法データは、既述したように、ある一定のパラメ
ータを用いて決まる割付け位置に機械的に生成されてい
るため、図形データとクロスしている箇所も出てくる。
このクロスしている寸法データを移動させ、最適な寸法
生成位置を決定する。この決定に当たっても、ある一定
のパラメータにより移動させるが、大幅に移動すると図
面としての品質・見栄えが低下することになる。そこ
で、ある移動許容範囲を設け、クロス修正のための移動
がその範囲を越えないようにする。もし、その移動範囲
内では修正できないような場合には、警告情報として修
正できないことを当該寸法データにマークしておく。Now, in step 201, the cross between the dimension and the figure is corrected. As described above, the dimension data is mechanically generated at the allocation position determined by using a certain constant parameter, and therefore some points may intersect with the figure data.
This crossed dimension data is moved to determine the optimum dimension generation position. Even in making this determination, the movement is made according to certain parameters, but if the movement is made to a large extent, the quality and appearance of the drawing will deteriorate. Therefore, a certain movement allowable range is provided so that the movement for cross correction does not exceed that range. If it cannot be corrected within the movement range, the dimension data is marked as warning information that cannot be corrected.
このようにして、1投影面内での全ての寸法についてク
ロスチェックとその修正が終了したら、別な投影面のク
ロスチェックとその修正を行う。そして、全ての投影面
について終了したら、次に寸法と寸法とのクロス修正を
行う。In this way, when the cross-check and the correction are completed for all the dimensions in one projection plane, the cross-check and the correction for another projection plane are performed. Then, when all projection planes have been completed, next, cross correction between dimensions is performed.
ステップ202の寸法と寸法のクロス修正では、寸法と図
形のクロス修正を行うステップ201と同様に、ある一定
のパラメータによる移動を、ある移動範囲内の制限下で
行い、これを投影面数だけ繰返し、各投影面で生じてい
る全てのクロスを修正する。なお、寸法と寸法のクロス
修正の場合には、既に終了している寸法と図形のクロス
修正を無にしないためにも、図形とクロスしないように
考慮する。In the dimension and dimension cross correction of step 202, similarly to step 201 of performing dimension and figure cross correction, movement by a certain fixed parameter is performed within the limits of a certain movement range, and this is repeated for the number of projection planes. , Correct all crosses that occur on each projection plane. It should be noted that, in the case of the cross correction of the dimension and the dimension, in order to prevent the cross correction of the dimension and the figure which has already been completed, consideration is taken not to cross the figure.
また、特に、1投影面内に寸法と図形、寸法と寸法のク
ロスしている箇所が同時に存在する場合には、寸法と図
形、寸法と寸法のクロス修正を個別に行うのではなく、
同時に行うようにする。即ち、パラメータを自動的に変
更して上述した個別の処理と同様な処理をする。これを
数回繰り返して修正するが、それでもクロスしている箇
所がなくならない場合には、警告情報としてクロスして
いる旨の情報を寸法データに付する。Further, in particular, in the case where a dimension and a figure, and a location where the dimension and the dimension cross each other exist at the same time in one projection plane, the dimension and the figure and the dimension and the dimension cross correction are not individually performed, but
Try to do them at the same time. That is, the parameters are automatically changed and the same processing as the above-described individual processing is performed. This is repeated several times to correct, but if the crossing portion still does not disappear, information indicating that the crossing is provided is added to the dimension data as warning information.
このようにして各投影面内のレイアウトが終了したら、
投影面間のレイアウトを引き続き行う。After finishing the layout in each projection plane in this way,
Layout between projection planes continues.
投影面間のレイアウトを行うステップ204では、図面全
体のレイアウトを行うために、1つの投影面を基準に他
の投影面を移動して、クロスしている箇所が存在しない
ようにする。この移動により、図面サイズに収まらなく
なる場合も出てくる可能性があるので、その場合に備え
て、最適図面サイズを設定できるようにしておく。In step 204 of laying out between the projection planes, in order to lay out the entire drawing, the other projection planes are moved with reference to one projection plane so that there are no crossing points. Because of this movement, there is a possibility that the drawing size may not fit within the drawing size. Therefore, in preparation for this case, the optimum drawing size can be set.
以上述べた寸法生成と寸法レイアウトの両処理が終了す
ると、これらの処理によって得られた図形データに寸法
データが付された図面データは、寸法自動生成装置6か
ら図面処理装置2に転送され、これより図面表示装置3
に送られて、製図図面として表示される。この場合にお
いて、処理途中で順次データを図面表示装置3に送って
段階的に表示させるようにしてもよい。When both the dimension generation processing and the dimension layout processing described above are completed, the drawing data in which the dimension data is added to the graphic data obtained by these processings is transferred from the automatic dimension generation device 6 to the drawing processing device 2, Drawing display device 3
Sent to and displayed as a drawing. In this case, the data may be sequentially sent to the drawing display device 3 and displayed step by step during the processing.
このようにして表示された図面から、操作者は警告情報
のマーク若しくはクロス情報の付された寸法を見付だ
し、入力装置1を操作してこれらの寸法を修正する。From the drawings displayed in this manner, the operator finds the dimensions with the warning information mark or the cross information and operates the input device 1 to correct these dimensions.
上記したように本実施例によれば、図形データに対し
て、寸法データの生成及び寸法データのレイアウトを自
動的に行う寸法自動生成装置6を設けたので、2次元の
図形データに対し、寸法データを入力装置1を介して個
別に入力する必要がなくなり、従って寸法入力に用して
いた時間を節約できる。また、寸法入力が自動的になさ
れることにより、操作者に任されていた寸法の記述の仕
方も統一される。As described above, according to the present embodiment, the automatic dimension generation device 6 for automatically generating the dimension data and the layout of the dimension data is provided for the graphic data. It is not necessary to input the data individually via the input device 1, so that the time used for the dimension input can be saved. Further, by automatically inputting the dimensions, the method of describing the dimensions left to the operator is unified.
なお、上記実施例では寸法自動生成装置6を、図面処理
装置2とは別個に設けるようにしてあるが、図面処理装
置2をマイクロコンピュータで構成した場合には、プロ
グラムの変更で寸法自動生成装置6の動作を実行させる
ことができるので、図面処理装置2と一体化させること
もできる。Although the automatic dimension generation device 6 is provided separately from the drawing processing device 2 in the above embodiment, when the drawing processing device 2 is configured by a microcomputer, the automatic dimension generation device can be changed by changing the program. Since the operation of 6 can be executed, it can be integrated with the drawing processing apparatus 2.
[発明の効果] 本発明によれば、とくに、座標成分を同じくする座標軸
と平行な帯線上に乗る端点または中心点をまとめてグル
ープ化し、同一投影面における座標成分が異なる座標軸
と平行なグループ間に寸法割付けを行ない、割り付けた
グループ間の距離から寸法値を算出して寸法を生成し、
寸法生成とそのレイアウトを、図形を基にして自動的に
行うようにしたので、従来のような入力装置を介した煩
わしい寸法入力操作が無くなり、図面を完成させるまで
の製図時間を大幅に削減できる。また、寸法生成が人手
を介することなく自動的になされるので、寸法生成方法
も統一され、入力ミスも無くなることから、図面の品質
を可及的に高めることができる。[Effects of the Invention] According to the present invention, in particular, end points or center points on a band line parallel to a coordinate axis having the same coordinate component are grouped together, and between groups parallel to the coordinate axis having different coordinate components on the same projection plane. Dimension is assigned to, the dimension value is calculated from the distance between the assigned groups, and the dimension is generated.
Since the dimension generation and its layout are automatically performed based on the figure, the complicated dimension input operation via the conventional input device is eliminated, and the drawing time until the drawing is completed can be greatly reduced. . Further, since the dimension generation is automatically performed without human intervention, the dimension generation method is unified and input errors are eliminated, so that the quality of the drawing can be improved as much as possible.
第1図は本発明の実施例に係るCAD装置における製図シ
ステムの構成図。第2図は製図システムを構成する従来
のCAD装置例の構成図、第3図は従来のCAD装置における
寸法生成手順の説明図、第4図は生成寸法の種類を示す
説明図、第5図は絶対座標と相対座標の寸法生成方式例
による製図図面の説明図、第6図は本実施例による寸法
生成の手順を示す説明図、第7図は図形要素別の端点抽
出箇所を示す説明図、第8図は本発明の実施例に係る端
点のグループ化説明図、第9図は投影面形において寸法
が重なった場合を示す説明図、第10図は本実施例による
寸法レイアウトの処理手順を示す説明図、第11図は第6
図に示す寸法生成手順の詳細説明図である。 図中、1は入力装置、2は図面処理装置、3は図面表示
装置、4は寸法生成部、5は寸法レイアウト部、90,10
0,101は図形、91〜95、102〜105は寸法、111は図形、11
2は端点、G1〜G16はグループである。FIG. 1 is a block diagram of a drafting system in a CAD device according to an embodiment of the present invention. FIG. 2 is a block diagram of an example of a conventional CAD device that constitutes a drafting system, FIG. 3 is an explanatory diagram of a dimension generation procedure in a conventional CAD device, FIG. 4 is an explanatory diagram showing types of generated dimensions, and FIG. Is an explanatory diagram of a drawing drawing based on an example of a dimension generation method of absolute coordinates and relative coordinates, FIG. 6 is an explanatory diagram showing a procedure of dimension generation according to the present embodiment, and FIG. 7 is an explanatory diagram showing end point extraction points for each graphic element. FIG. 8 is an explanatory diagram of grouping of end points according to an embodiment of the present invention, FIG. 9 is an explanatory diagram showing a case where dimensions are overlapped in a projection plane shape, and FIG. 10 is a dimension layout processing procedure according to the present embodiment. 11 is an explanatory diagram showing FIG.
It is a detailed explanatory view of the dimension generation procedure shown in the figure. In the figure, 1 is an input device, 2 is a drawing processing device, 3 is a drawing display device, 4 is a dimension generation unit, 5 is a dimension layout unit, and 90,10.
0, 101 is a figure, 91-95, 102-105 are dimensions, 111 is a figure, 11
2 is an end point, and G1 to G16 are groups.
Claims (1)
装置により処理して図面表示装置に表示させるCAD装置
において、 図面処理装置に入力されている図形から、寸法の基点と
なる図形要素の端点または中心点を抽出し、座標成分を
同じくする座標軸と平行な帯線上に乗る端点または中心
点をまとめてグループ化し、同一投影面における座標成
分が異なる座標軸と平行なグループ間に寸法割付けを行
ない、割り付けたグループ間の距離から寸法値を算出し
て寸法を生成する寸法生成手段と、 寸法生成手段で作成された寸法と入力された図形から寸
法間または寸法と図形間の重なりをチェックし、これら
の重なりを修正し、この修正した寸法と図形を図面処理
装置に送出する寸法レイアウト手段とを備えたことを特
徴とする CAD装置における製図システム。1. In a CAD device for processing a graphic input by an input device by a drawing processing device and displaying it on a drawing display device, an end point of a graphic element which is a base point of a dimension from a graphic input in the drawing processing device. Or extracting the center point, grouping the end points or center points on the band parallel to the coordinate axis having the same coordinate component as a group, and performing dimension allocation between groups whose coordinate components on the same projection plane are different from each other, The dimension generation means that calculates the dimension value from the distance between the assigned groups to generate the dimension, and the dimension created by the dimension generation means and the figure entered, and check the overlap between the dimensions or between the dimension and the figure, In a CAD device, characterized in that it is provided with a dimensional layout means for correcting the overlapping of the lines and sending the corrected size and figure to the drawing processing device. System.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63267231A JPH079659B2 (en) | 1988-10-25 | 1988-10-25 | Drafting system in CAD device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63267231A JPH079659B2 (en) | 1988-10-25 | 1988-10-25 | Drafting system in CAD device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH02114382A JPH02114382A (en) | 1990-04-26 |
| JPH079659B2 true JPH079659B2 (en) | 1995-02-01 |
Family
ID=17441965
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63267231A Expired - Fee Related JPH079659B2 (en) | 1988-10-25 | 1988-10-25 | Drafting system in CAD device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH079659B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07302280A (en) * | 1994-04-28 | 1995-11-14 | Suupaa Software Kk | Dimension line drawing system |
| JP5651446B2 (en) * | 2010-12-02 | 2015-01-14 | バブコック日立株式会社 | Drawing creation support system |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62108373A (en) * | 1985-11-07 | 1987-05-19 | Matsushita Electric Works Ltd | Automatic drawing system |
| JPH0760440B2 (en) * | 1986-02-13 | 1995-06-28 | 富士通株式会社 | Automatic design system |
| JPS63147267A (en) * | 1986-12-11 | 1988-06-20 | Fujitsu Ltd | Automatic dimension entry system for 2-dimensional pattern |
| JPS63147266A (en) * | 1986-12-11 | 1988-06-20 | Fujitsu Ltd | Automatic production system for detailed chart |
-
1988
- 1988-10-25 JP JP63267231A patent/JPH079659B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH02114382A (en) | 1990-04-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5177689A (en) | Cad/cam apparatus for enhancing operator entry of machining attributes and geometric shapes | |
| JPH0133587B2 (en) | ||
| CN114781314B (en) | Method and system for rapidly drawing layout | |
| US20070285425A1 (en) | Reverse modeling method using mesh data as feature | |
| JPH03140187A (en) | Data processor for embroidery sewing machine | |
| EP2921581B1 (en) | Knit design system and knit design method | |
| JP2828271B2 (en) | Shape generation method in CAD system | |
| JP4610873B2 (en) | Method, computer storage medium and system for generating a numerical control tool path on a solid model | |
| JPH079659B2 (en) | Drafting system in CAD device | |
| JP2886155B1 (en) | Pattern making method and pattern making device | |
| CN110135100B (en) | Rapid modeling method for tunnel primary support | |
| JPH09212675A (en) | CAD equipment | |
| JP2773515B2 (en) | CAD / CAM equipment for electric discharge machine | |
| JPH07334696A (en) | Table creation system | |
| JP4142936B2 (en) | NC program creation method for wire electrical discharge machining and NC program creation device for wire electrical discharge machining | |
| JP3977458B2 (en) | Interactive automatic programming device | |
| JP2964551B2 (en) | Figure processing method | |
| JP5015546B2 (en) | Information display device | |
| JPH052416A (en) | Nc data producing method for 5-axis side cutting process | |
| JPS62256103A (en) | How to create a machine program for numerical control | |
| JP2879259B2 (en) | Interactive data correction device in CAD system | |
| JP2982210B2 (en) | How to create component electrode data for printed circuit boards | |
| CN120371283A (en) | Graphic-free box mode programming method based on bending machine system | |
| JPH0721223A (en) | Data creation device | |
| CN120894501A (en) | A method, apparatus and storage medium for producing bolts. |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |