JPH08161359A - Method for automatically editing dimension lines - Google Patents

Method for automatically editing dimension lines

Info

Publication number
JPH08161359A
JPH08161359A JP6299365A JP29936594A JPH08161359A JP H08161359 A JPH08161359 A JP H08161359A JP 6299365 A JP6299365 A JP 6299365A JP 29936594 A JP29936594 A JP 29936594A JP H08161359 A JPH08161359 A JP H08161359A
Authority
JP
Japan
Prior art keywords
dimension
line
dimension line
lines
group
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.)
Pending
Application number
JP6299365A
Other languages
Japanese (ja)
Inventor
Susumu Ogasa
晋 織笠
Hiroki Sasagawa
裕樹 笹川
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP6299365A priority Critical patent/JPH08161359A/en
Publication of JPH08161359A publication Critical patent/JPH08161359A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To provide a method for automatically editing dimension lines which efficiently edits the arrangement of dimension lines in a CAD draft. CONSTITUTION: Dimension lines in the draft are grouped by the optional plural dimension lines, the position of the dimension auxiliary line of the dimension line and the position of the dimension line are stored for each dimension lines 001 to 005 drafted within the group. When the dimension line 003 is added, the added dimension line is drafted at the part where an dimension line already exists by referring to the storage in the group, and the dimension lines which already exist are successively moved to the next positions of the dimension lines which already exist. At the time of moving a dimension line to a part where any dimension line which already exist does not exist at last, the dimension line is arranged in accordance with an interval between the dimension lines in the group.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、コンピュータを利用し
た設計支援システム(CAD)において、製図された図
面上の寸法線を最適位置に配置、編集するための寸法線
自動編集方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dimension line automatic editing method for arranging and editing a dimension line on a drafted drawing at an optimum position in a computer-aided design support system (CAD).

【0002】[0002]

【従来の技術】近年、電気、機械、建築などの分野にお
ける設計は、コンピュータを用いたCADによって製図
されることが広く行われている。
2. Description of the Related Art In recent years, design in the fields of electricity, machinery, architecture, etc. has been widely performed by CAD using a computer.

【0003】このCADを用いた製図作業簡略化のため
に図面上の寸法線を自動的に発生させるための装置、方
法がある。
There is an apparatus and method for automatically generating a dimension line on a drawing in order to simplify the drawing work using the CAD.

【0004】例えば、特開昭62−145370号公報
には、図形データが格納されたメモリから寸法線データ
を抽出し、この寸法線データを方向別にグループ化し
て、製図画像に近い方から順に寸法線を自動的に発生、
配置するものである。
For example, in Japanese Unexamined Patent Publication No. 62-145370, dimension line data is extracted from a memory in which graphic data is stored, and the dimension line data is grouped according to direction, and the dimension is closer to the drawing image. Automatically generate lines,
It is to be placed.

【0005】また、特願平3−240879号公報に
は、設計図面に対して、寸法値の大きさにより寸法線の
間隔を自動的に決めて寸法線を自動発生させ、この自動
発生された寸法線が他の寸法線や図形などと重なるよう
な場合には、各寸法線を一つづつ検証して、予め設けら
れている変更ルールにしたがって寸法線の位置を再配置
することにより寸法線の自動作成および編集を行ってい
る。
Further, in Japanese Patent Application No. 3-240879, the dimension lines are automatically determined according to the size of the dimension value in the design drawing, and the dimension lines are automatically generated. If the dimension line overlaps with other dimension lines or figures, verify each dimension line one by one and rearrange the position of the dimension line according to the change rule that has been set in advance. We are automatically creating and editing.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、特開昭
62−145370号公報の方法では、寸法線を描きた
くない場所、例えば、寸法線同士の重なりや図面上でコ
メントを入れた場所など寸法線を引きたくない場所であ
っても寸法線が自動的に生成されるため、寸法線同士が
重なったりして、その出来上がりが好ましいものとは言
えない。
However, according to the method disclosed in Japanese Patent Laid-Open No. 62-145370, the dimension line is not desired to be drawn, for example, the dimension line is overlapped or a comment is made on the drawing. Since the dimension lines are automatically generated even in a place where it is not desired to draw, the dimension lines overlap with each other, and the finished product cannot be said to be preferable.

【0007】また、特願平3−240879号公報に
は、図形や他の寸法線同士の重なりなどを各寸法線ごと
に検証して、その重なりを回避するようになっている
が、寸法線ごとに繰り返し検証を行うと多くの時間が必
要であり、また、複雑な図面の場合にはどの様にしても
その重なりをなくすことができない場合があり、その様
な場合には、この検証が無限ループ状態となって終わら
なくなるなどの問題がある。
In Japanese Patent Application No. 3-240879, the dimension lines are examined by checking the overlapping of figures and other dimension lines for each dimension line and avoiding the overlapping. Repeated verification for each time requires a lot of time, and in the case of complicated drawings, it may not be possible to eliminate the overlap in any way.In such a case, this verification is required. There is a problem such as an infinite loop state that does not end.

【0008】さらに、上記いずれにおいても、自動発生
した寸法線が設計者の意図するものと異なる場合には、
始めから設計者の手によって寸法線を記入するより、自
動生成した寸法線を修正編集する作業の方が余計に手間
が掛かるようなこともある。
Further, in any of the above, if the automatically generated dimension line is different from the one intended by the designer,
It may be more troublesome to modify and edit the automatically generated dimension line than to fill the dimension line by the designer from the beginning.

【0009】そこで、本発明の目的は、設計者の手によ
って描かれた寸法線に対し、さらに寸法線を追加した
り、逆に、削除するような場合に、効率よく寸法線の配
置を編集することができる寸法線自動編集方法を提供す
ることである。
Therefore, an object of the present invention is to efficiently edit the layout of dimension lines in the case of adding dimension lines to the dimension lines drawn by the designer or conversely deleting them. It is to provide an automatic dimension line editing method that can be performed.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
の本発明は、図面内の寸法線を任意の複数の寸法線ごと
にグループ化し、該グループ内に描かれている寸法線ご
とに、その寸法線の寸法補助線の位置と寸法線の位置を
記憶し、寸法線が追加になったときには、前記グループ
内で、前記記憶を参照して既にある寸法線部分に、追加
になった寸法線を描き、既にある寸法線はその位置を順
次既にある寸法線の位置に移動し、最終的に既に描かれ
ている寸法線がない部分に寸法線を移動するときに、そ
のグループ内の寸法線間隔にしたがって寸法線を配置す
ることを特徴とする寸法線自動編集方法である。
According to the present invention for achieving the above object, dimension lines in a drawing are grouped for each of a plurality of arbitrary dimension lines, and for each dimension line drawn in the group, The position of the dimension auxiliary line and the position of the dimension line of the dimension line is stored, and when the dimension line is added, the dimension added to the existing dimension line portion in the group with reference to the memory. When you draw a line, the existing dimension line moves its position sequentially to the existing dimension line position, and finally when you move the dimension line to the part where there is no already drawn dimension line, the dimension in the group The dimension line automatic editing method is characterized in that the dimension lines are arranged according to the line spacing.

【0011】また本発明は、前記寸法線自動編集方法に
おいて、寸法線が削除される場合には、前記グループ内
の残っている寸法線のうち、該削除された寸法線に最も
近いものから順に、該削除された寸法線の在った位置に
移動することを特徴とする。
Further, according to the present invention, in the dimension line automatic editing method, when a dimension line is deleted, of the remaining dimension lines in the group, the closest dimension line to the deleted dimension line is placed in order. , Is moved to the position where the deleted dimension line exists.

【0012】また本発明は、前記寸法線自動編集方法に
おいて、図面上の任意の部分に禁止領域を設け、該禁止
領域内に寸法線が描かれる場合には、該禁止領域外の近
接位置で、前記グループ内の寸法線間隔で離隔した位置
に寸法線を配置することを特徴とする。
Further, according to the present invention, in the automatic dimension line editing method, when a prohibited area is provided in an arbitrary portion of the drawing and a dimension line is drawn in the prohibited area, the prohibited area is located at a close position outside the prohibited area. , The dimension lines are arranged at positions separated by the dimension line interval in the group.

【0013】また本発明は、前記グループ内の寸法線間
隔にしたがって寸法線を配置するときには、前記グルー
プ内の各寸法線の位置から寸法線同士の間隔を求め、そ
の間隔値の頻度が多いものにしたがって寸法線を配置す
ることを特徴とする。
Further, according to the present invention, when the dimension lines are arranged according to the dimension line spacing within the group, the dimension line spacing is determined from the position of each dimension line within the group, and the spacing value has a high frequency. The dimension line is arranged according to

【0014】[0014]

【作用】上述のように構成された本発明は、設計者によ
って、CADシステムを用いて製図された図面上の寸法
線を、複数の寸法線ごとにグループとして、各グループ
内のおいて、存在する複数の寸法線の位置とその寸法線
に付随している寸法補助線の位置を記憶しておき、寸法
線が追加される場合には、この記憶を元に、追加された
寸法線をその追加された寸法線のあるグループ内におい
て、既に存在する寸法線の位置に配置し、順次そのグル
ープ内の記憶されている寸法線上に順送りで再配置す
る。そして、最後に寸法線のない場所に再配置すべき寸
法線は、前記記憶された各寸法線の位置から導かれる寸
法線ごとの間隔にしたがって配置する。これにより、予
め設計者によって設計者の意図通りに描かれている寸法
線を基本的に移動することなく、かつ他の寸法線同士が
干渉せずに、寸法線の追加編集を自動化する。
According to the present invention configured as described above, the dimension lines on the drawing drawn by the designer using the CAD system are grouped by a plurality of dimension lines and exist in each group. The positions of the plurality of dimension lines and the positions of the dimension extension lines attached to the dimension lines are stored, and when the dimension line is added, the added dimension line is stored based on this memory. In the group with the added dimension line, it is arranged at the position of the dimension line that already exists, and it is sequentially rearranged on the stored dimension lines in the group. Then, the dimension lines to be finally rearranged in the place where there is no dimension line are arranged according to the interval for each dimension line guided from the stored position of each dimension line. As a result, the additional editing of the dimension line is automated without basically moving the dimension line previously drawn by the designer as intended by the designer and without interfering with other dimension lines.

【0015】また、本発明においては、寸法線を削除す
る際にも、削除された寸法線の在った位置に、同一グル
ープ内における削除されない寸法線を移動させること
で、より見易い製図図面とすることができる。
Further, according to the present invention, when the dimension line is deleted, the dimension line which is not deleted in the same group is moved to the position where the deleted dimension line exists, so that the drawing can be more easily seen. can do.

【0016】また、本発明においては、図面上に寸法線
禁止領域を設けることで、寸法線がない部分に配置され
る場合に、寸法線禁止領域には寸法線が配置されること
がなくなる。この寸法線禁止領域内に配置されるべき寸
法線がある場合には、この寸法線禁止領域の外の最も近
い位置から前記記憶された各寸法線の位置から導かれる
寸法線ごとの間隔にしたがって再配置する。
Further, in the present invention, by providing the dimension line prohibition region on the drawing, when the dimension line prohibition region is arranged in a portion without the dimension line, the dimension line prohibition region is not arranged. If there is a dimension line to be arranged in this dimension line prohibition area, according to the interval for each dimension line derived from the position of each of the stored dimension lines from the closest position outside this dimension line prohibition area. Rearrange.

【0017】さらに、本発明においては、グループ内の
寸法線間隔にしたがって寸法線を配置するときには、記
憶されている各寸法線の位置からその間隔を求めて、最
も頻度の多い間隔値を元にして寸法線を配置することで
寸法線同士の間隔が夫々の寸法線同士でばらつきが少な
くなり、見易い製図図面が出来上がる。
Further, according to the present invention, when arranging the dimension lines according to the dimension line spacing within the group, the spacing is obtained from the stored positions of the dimension lines and based on the most frequent spacing value. By arranging the dimension lines with each other, the intervals between the dimension lines are less varied between the dimension lines, and a drawing that is easy to see is completed.

【0018】[0018]

【実施例】以下、添付した図面を参照して、本発明の一
実施例を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the accompanying drawings.

【0019】図1は、本発明を適用したCADシステム
のブロック図であり、プログラムにしたがって動作する
CPU1、図面データが格納されているハードディスク
または磁気テープなどによる図面データ記憶部2、後述
する寸法線ファイルなどが記憶されるRAM3、CAD
システムの基本プログラムが記憶されているROM4、
CRT6や図示しないプリンタへの出力、およびキーボ
ード7やタッチペン8などの入力を制御する入出力イン
ターフェース(I/F)5よりなる。
FIG. 1 is a block diagram of a CAD system to which the present invention is applied, including a CPU 1 that operates according to a program, a drawing data storage unit 2 such as a hard disk or a magnetic tape in which drawing data is stored, and a dimension line described later. RAM3, CAD where files are stored
ROM4 that stores the basic program of the system,
The input / output interface (I / F) 5 controls the output to the CRT 6 and a printer (not shown), and the input from the keyboard 7 and the touch pen 8.

【0020】CPU1はCADシステムとしての作図機
能の制御と共に、本発明の寸法線編集をプログラムによ
って提供される手順により制御する。図面データ記憶部
2には、このCADシステムまたは他のCADシステム
によって作図された製図データが記憶され、製図図面上
の各図形、寸法線、寸法補助線、寸法値やコメントなど
の文字を画面上の座標位置データと共に記憶している。
RAM3は、後述する寸法線編集時においては、前記図
面データから寸法線や寸法補助線などの位置データが一
時的に記憶される。なお、この一時記憶には、RAMで
はなくハードディスクなどの不揮発性の記憶手段を用い
ることも可能である。CRT6およびキーボード7やタ
ッチペン8は図形の作図のために入出力手段であり、入
出力インターフェース5によってCPU1に伝えられ
て、タッチペンやキーボードからの入力が図形としてC
RT6上に描かれる。なお、入出力手段としては、タッ
チペンのほかマウスやペンタッチ式のタブレットボード
など様々な入出力手段があるので、適宜これらの入出力
手段が用いられる。
The CPU 1 controls the drawing function as the CAD system and controls the dimension line editing of the present invention by the procedure provided by the program. The drawing data storage unit 2 stores the drawing data drawn by this CAD system or another CAD system, and the characters such as each figure, dimension line, dimension extension line, dimension value and comment on the drawing are displayed on the screen. It is stored together with the coordinate position data of.
The RAM 3 temporarily stores the position data such as the dimension line and the dimension auxiliary line from the drawing data at the time of editing the dimension line described later. For this temporary storage, a non-volatile storage means such as a hard disk may be used instead of the RAM. The CRT 6, the keyboard 7 and the touch pen 8 are input / output means for drawing a graphic, and are transmitted to the CPU 1 by the input / output interface 5 so that the input from the touch pen or the keyboard is converted into a graphic C.
Pictured on RT6. As input / output means, there are various input / output means such as a mouse and a pen-touch type tablet board in addition to a touch pen, and thus these input / output means are appropriately used.

【0021】このCADシステムにより、本発明の寸法
線自動編集方法を実施すると、まず、設計者によって任
意の図面が製図されて必要な寸法線が記入されるか、ま
たは、図面データ記憶部2内の図面データがCRT上に
呼び出される。そして、設計者が任意の複数の寸法線
を、図2に示すように、グループ分けするために指定し
たり、またはグループ名を決め寸法線を作成し、グルー
プ化したり、また、寸法線を描いてはいけない寸法線禁
止領域を指定する。このグループ化を任意にグループと
して定義できるようにすることで、例えば、寸法線が描
かれている方向が同じであっても、その寸法線の間隔な
どに差がある場合には、別のグループとすることが可能
となるので、寸法線を細かく定義したい部分や広い間隔
で記入するなどその自由度が大きくなると共に、それぞ
れをグループごとに管理できる。
When the dimension line automatic editing method of the present invention is carried out by this CAD system, first, the designer draws an arbitrary drawing and fills in the required dimension line, or the drawing data storage unit 2 Drawing data is called up on the CRT. Then, the designer designates a plurality of arbitrary dimension lines for grouping as shown in FIG. 2, or decides a group name to create dimension lines, group them, and draw dimension lines. Specify the prohibited dimension line area. By allowing this grouping to be defined as a group arbitrarily, for example, if the dimension lines are drawn in the same direction but there are differences in the spacing between the dimension lines, another group will be created. Since it becomes possible to increase the degree of freedom such as the portion where the dimension line is desired to be finely defined or to be filled in at a wide interval, each can be managed for each group.

【0022】グループ分けされた複数の寸法線は、各グ
ループごとに、その図形データ上の寸法線の位置とその
寸法線の寸法補助線の位置、寸法文字の位置や文字の大
きさが図面データより抽出されて、寸法線ファイルとし
て、寸法線禁止領域の位置と共にRAM3に記憶され
る。
With respect to the plurality of dimension lines divided into groups, the position of the dimension line on the graphic data, the position of the dimension extension line of the dimension line, the position of the dimension character and the size of the character are the drawing data for each group. It is further extracted and stored in the RAM 3 as a dimension line file together with the position of the dimension line prohibited area.

【0023】この寸法線ファイルに記憶される内容は、
CRT6画面上の座標にしたがって寸法線と寸法補助線
の位置がわかるように、例えば、図3に示すように、座
標上の各グループの基準点の座標、一纏めにした各寸法
線にそれぞれ識別番号を付けて、各寸法線ごとに、その
寸法線の寸法補助線の基準座標およびその長さ、寸法線
の基準座標および寸法線角度、および寸法文字位置、ま
た、寸法線が引かれている図形データの基準点などであ
る。なお、本実施例中では、CRT上の座標系が3次元
座標であるので、図3中の各点は(X,Y,Z)で表し
ているが、もちろん2次元座標系であってもよく、用い
るCADシステムに合わせた座標となる。
The contents stored in this dimension line file are as follows:
In order that the positions of the dimension line and the dimension extension line can be known according to the coordinates on the CRT6 screen, for example, as shown in FIG. 3, the coordinates of the reference points of each group on the coordinates, and the identification numbers of the respective dimension lines are grouped. For each dimension line, the reference coordinates of the extension line of the dimension line and its length, the reference coordinates of the dimension line and the dimension line angle, and the dimension character position, and the figure with the dimension line drawn For example, the reference point of data. In the present embodiment, the coordinate system on the CRT is a three-dimensional coordinate, so each point in FIG. 3 is represented by (X, Y, Z), but of course a two-dimensional coordinate system is also possible. Often, the coordinates match the CAD system used.

【0024】図4は、寸法線編集作業を行う図面のある
グループを示す。図4aは編集前の図形で、このグルー
プの基準点はその図形の基準点と同一に定義してあり、
各寸法線は、前記寸法線ファイル中において、それぞれ
001から005までの識別番号(ID)が設定され、
各識別番号ごとに、寸法補助線は一つの寸法線に対し2
つ在るので、それぞれの基点の座標と長さ、寸法線はそ
の始点と終点の座標および角度、寸法文字位置の座標な
どが上記の通り寸法線ファイルとして記憶されることと
なる(図2参照)。また、寸法線禁止領域の座標につい
ても上記のように記憶される。
FIG. 4 shows a group of drawings for performing dimension line editing work. FIG. 4a is a figure before editing, and the reference point of this group is defined to be the same as the reference point of the figure.
For each dimension line, an identification number (ID) from 001 to 005 is set in the dimension line file,
For each identification number, the dimension extension line is 2 for one dimension line.
Since the coordinates and length of each base point, the coordinates and angles of the start and end points of the dimension line, and the coordinates of the dimension character position are stored as a dimension line file as described above (see FIG. 2). ). The coordinates of the dimension line prohibited area are also stored as described above.

【0025】そして、寸法線の追加変更がある場合、こ
こでは図3bに示すように、図形の変更に共なって、寸
法線の識別番号(003´)が追加される場合には、前
記寸法線ファイルが参照されて、前記図4aの識別番号
(004)の寸法線が在った位置に(003´)の寸法
線が追加され、寸法線(004)は、(005)の位置
に移動させる。そして、寸法線(005)は、(00
1)から(004)までの寸法線同士の間隔の内、最も
多い間隔値に合わせて、寸法線(004)の外側に配置
される。
When there is an additional change in the dimension line, here, as shown in FIG. 3B, when the identification number (003 ') of the dimension line is added in association with the change in the figure, the dimension is changed. The line file is referred to, the dimension line of (003 ') is added to the position where the dimension line of the identification number (004) of FIG. 4a was present, and the dimension line (004) is moved to the position of (005). Let The dimension line (005) is (00
Of the intervals between the dimension lines 1) to (004), they are arranged outside the dimension line (004) in accordance with the largest spacing value.

【0026】この追加、再配置の位置に、寸法線禁止領
域がある場合、図4aにおける寸法線(003)と(0
04)の間の斜線部分(図示する場合には図形部分も)
が禁止領域であるが、追加される寸法線(図4bの(0
03´))はこの禁止領域を外して追加される。再配置
の場合も同様で、もし禁止領域がある場合には、その禁
止領域を外して、既に寸法線が記載されている場合には
その位置に、また、寸法線がない場合には、禁止領域か
ら前記寸法線の間隔と同じ間隔をあけて再配置される。
If there is a dimension line prohibited area at the position of addition or rearrangement, the dimension lines (003) and (0
04) between the shaded areas (the figure also includes the figure)
Is the prohibited area, but the added dimension line ((0
03 ')) is added by removing this prohibited area. The same applies to the case of relocation. If there is a prohibited area, remove the prohibited area, and if there is already a dimension line, at that position, or if there is no dimension line, prohibit it. The area is rearranged at the same interval as the dimension line.

【0027】再配置終了後、寸法線ファイルの更新が行
われて、識別番号が付け直されて、(003´)は(0
04)に、(004)は(005)に、…と順番にす
る。
After the rearrangement is completed, the dimension line file is updated, the identification number is reassigned, and (003 ') becomes (0
04), (004) is changed to (005), and so on.

【0028】なお、本実施例では、寸法線のない部分
に、寸法線を再配置する場合には、グループ内の寸法線
間隔で最も間隔値としての頻度の多い間隔値にしたがっ
て、再配置することとしたが、この再配置の際の間隔
は、これに限らず、例えば、予め再配置の際の間隔値を
決めておいてこれにしたがって配置してもよいし、ま
た、グループ内の寸法線間隔の平均値によって再配置し
てもよい。
In the present embodiment, when the dimension lines are rearranged in the portion where there is no dimension line, the dimension lines are rearranged in accordance with the spacing value having the highest frequency as the spacing value in the group. However, the interval at the time of this rearrangement is not limited to this, and for example, the interval value at the time of the rearrangement may be determined in advance and arranged according to this, or the size within the group. You may rearrange by the average value of line spacing.

【0029】このように、寸法線が追加される場合に
は、寸法線ファイルを参照して、既に設計者によって描
かれている寸法線の部分に、追加する寸法線を描き入
れ、その部分に在った寸法線を順次移動、再配置するこ
とで、他の寸法線との重なりや寸法線と図形との重なり
がないように寸法線の追加変更ができる。これは、設計
者によってCADシステムにより描かれる寸法線は、設
計者が意図的に寸法線同士を重ねて描く以外は、通常、
寸法線同士を重ねて描くことはなく、また図形や寸法線
が描かれてはいけない領域をはずして描くため、上記の
ように、一旦設計者によってかかれた寸法線をファイル
に登録して、この寸法線ファイルをもとに、寸法線を追
加記入しても、その寸法線や移動再配置する寸法線が重
なるようなことがないのである。しかも、このように寸
法線ファイルから寸法線を再配置するので、従来のよう
に寸法線ごとの位置関係などを一つづつ検証して求める
必要がなく、その再配置のための処理時間が極短時間で
済むようになる。
As described above, when a dimension line is added, the dimension line file is referred to, the dimension line to be added is drawn in the portion of the dimension line already drawn by the designer, and the portion is added to that portion. By sequentially moving and rearranging the existing dimension lines, the dimension lines can be added and changed so that they do not overlap with other dimension lines or between the dimension line and the figure. This is because the dimension line drawn by the CAD system by the designer is usually the one except that the designer intentionally draws the dimension lines on top of each other.
Since the dimension lines are not drawn on top of each other and the area where figures and dimension lines should not be drawn is removed, the dimension lines once written by the designer should be registered in a file as described above. Even if additional dimension lines are entered based on the dimension line file, the dimension lines and the dimension lines to be moved and rearranged do not overlap. Moreover, since the dimension lines are rearranged from the dimension line file in this way, it is not necessary to verify and obtain the positional relationship for each dimension line one by one as in the conventional case, and the processing time for the rearrangement is extremely high. It will be done in a short time.

【0030】上記とは逆に、寸法線が削除になった場合
には、図4cに示すように、寸法線(003)が削除に
なると、上記同様に寸法線(003)が在った位置に
(004)を(004)の位置に(005)が再配置さ
れ、再配置終了後、寸法線ファイルを更新して、識別番
号を順番に付け直す。もちろん、寸法線削除の場合に
は、このような編集の必要がなければ、この編集作業自
体行わなくてもよい。
Contrary to the above, when the dimension line is deleted, as shown in FIG. 4c, when the dimension line (003) is deleted, the position where the dimension line (003) was present is the same as above. (004) is rearranged to (004) at the position of (004), and after the rearrangement is completed, the dimension line file is updated and the identification numbers are reassigned in order. Of course, in the case of deleting the dimension line, if there is no need for such editing, the editing work itself need not be performed.

【0031】次に、以上説明した寸法線編集の動作を図
5および図6に示すフローチャートを参照して説明す
る。
Next, the operation of the dimension line editing described above will be described with reference to the flow charts shown in FIGS. 5 and 6.

【0032】まず始めに、図5に示すように、図面の作
成と、基準点および寸法線のグループ化が行われる。こ
れには、まず、図面作成レイヤが定義され、この時通常
図面の原点座標を(0、0、0)とする(S1)。次
に、図面データより既に寸法線などが記入されている図
面データが呼び出されて寸法線編集を行う図形が定義さ
れるか、または、図形の作成と共に、寸法線が描かれる
(S2)。定義された図形に対し、その基準点(通常は
座標原点)を定義し(S3)、グループ化のために寸法
線が定義され(S4)、上記のように各グループごとに
ファイルに登録される(S5)。
First, as shown in FIG. 5, a drawing is created and reference points and dimension lines are grouped. To this end, first, a drawing creation layer is defined, and at this time, the origin coordinates of the normal drawing are set to (0, 0, 0) (S1). Next, drawing data in which a dimension line or the like has already been entered is called from the drawing data to define a figure for dimension line editing, or a dimension line is drawn together with the creation of the figure (S2). The reference point (usually the coordinate origin) of the defined figure is defined (S3), the dimension line is defined for grouping (S4), and each group is registered in a file as described above. (S5).

【0033】次に、編集動作は、図6に示すように、ま
ず、変更される図面が呼び出されて、その変更する図面
が指示され(S10)、設計者によって図形の変更がな
される(S11)、そして、寸法線変更の指示により、
前述したように、寸法線が図形の変更に合わせて移動、
再配置され(S12)、必要により寸法線の再定義(再
グループ化)が行われ(S13)、ファイルの更新が行
われる(S14)。
Next, in the editing operation, as shown in FIG. 6, first, the drawing to be changed is called, the drawing to be changed is designated (S10), and the figure is changed by the designer (S11). ), And by the instruction to change the dimension line,
As mentioned above, the dimension line moves as the shape changes,
It is rearranged (S12), the dimension line is redefined (regrouped) if necessary (S13), and the file is updated (S14).

【0034】以上のようにして寸法線の編集が行われた
より具体的な製図図面を図7および図8に示す。
More specific drawing drawings in which the dimension lines have been edited as described above are shown in FIGS. 7 and 8.

【0035】図7は、機会加工設備のマシニングセンタ
のツーリング図の例であるが、斜線によりハッチングさ
れた部分が寸法線禁止領域であり、それ以外は寸法線が
記入できるので、図形内にも寸法線を描くことができ
る。また、図8は組図であり、コメント部分を禁止領域
としてあり、その部分以外は寸法線が記入でき、この図
では、Aの位置に寸法線を追加した場合には、寸法線B
が点線部分に移動する。また、Dの位置に、寸法線を入
れる場合には、Cの寸法線を参照して追加される。この
ように複雑な図面であっても、寸法線の追加変更を寸法
線同士の重なりなどがなく行うことができる。
FIG. 7 is an example of a tooling diagram of a machining center of an opportunity machining facility. The hatched portion is the dimension line prohibited area, and the dimension line can be entered in other areas. You can draw a line. Further, FIG. 8 is an assembly drawing, in which the comment area is a prohibited area, and the dimension line can be entered in the area other than the comment area. In this figure, when the dimension line is added at the position A, the dimension line B
Moves to the dotted line. When a dimension line is placed at the position D, it is added by referring to the dimension line C. Even in such a complicated drawing, the dimension lines can be added and changed without overlapping of the dimension lines.

【0036】[0036]

【発明の効果】以上説明したように、本発明によれば、
複数の寸法線をグループ化し、そのグループ内の寸法線
の位置と寸法補助線の位置を記憶し、寸法線の追加の際
には、既にある寸法線部分に新たな寸法線を追加し、そ
の部分に在った寸法線は順次移動再配置して、寸法線の
ない部分には、既にある寸法線の間隔にしたがって配置
することとしたため、寸法線の変更編集の際には、グル
ープ化した記憶を基にして編集作業が行われるので、図
面上の寸法線の位置を一つ一つ抽出して検索する必要が
なくなり、より速い寸法線の編集処理ができる。また、
寸法線追加の際には、基本的に既にある寸法線部分に追
加されるので、寸法線同士の重なりや図形との不要な重
なりが生じることなく、寸法線の追加編集が行われる。
As described above, according to the present invention,
Group multiple dimension lines, store the position of dimension lines and the position of extension lines in the group, and when adding dimension lines, add new dimension lines to existing dimension line parts Since it was decided to move and relocate the dimension lines that existed in the part in order and to place them according to the intervals of the dimension lines that already exist in the part where there is no dimension line, when changing and editing the dimension lines, group them. Since the editing work is performed on the basis of the memory, it is not necessary to extract and search the position of each dimension line on the drawing one by one, and a faster dimension line editing process can be performed. Also,
When a dimension line is added, the dimension line is basically added to the existing dimension line portion, so that the dimension line can be added and edited without overlapping of dimension lines or unnecessary overlapping with a figure.

【0037】また、寸法線削除の際にも、上記同様に、
既にある寸法線に他の寸法線の移動が行われることとし
たので、寸法線同士の重なりや図形との不要な重なりが
生じることなく、寸法線の削除編集が行われる。
When deleting the dimension line, the same as above.
Since it is decided that another dimension line is moved to an existing dimension line, the dimension line can be deleted and edited without causing the dimension lines to overlap with each other or unnecessary overlap with the figure.

【0038】また、寸法線禁止領域を任意に指定するこ
ととしたので、図形以外のコメントなどを入れる部分に
寸法線が描かれることがなくなり、また、図形内におい
てもこの禁止領域を指定しないことで寸法線を入れるこ
とができる。
Further, since the dimension line prohibited area is arbitrarily designated, the dimension line is not drawn in a portion other than the figure where a comment or the like is inserted, and the prohibited area is not designated in the figure. You can enter the dimension line with.

【0039】さらに本発明では、寸法線のない部分に寸
法線を入れる場合には、既にある寸法線同士の間隔値の
最も多い頻度の間隔にしたがって配置することとしたの
で、前記グループ化と共に、複数の寸法線の間隔密度を
ほぼ同じようにすることができ、見易い出来上がり図面
となる。
Further, according to the present invention, when the dimension line is inserted in a portion having no dimension line, the dimension lines are arranged according to the spacing having the highest frequency of spacing values between the dimension lines. The space density of a plurality of dimension lines can be made substantially the same, and the resulting drawing is easy to see.

【図面の簡単な説明】[Brief description of drawings]

【図1】 本発明を適用した一実施例で用いるCADシ
ステムのブロック図である。
FIG. 1 is a block diagram of a CAD system used in an embodiment to which the present invention is applied.

【図2】 上記実施例における寸法線のグループ化の図
面である。
FIG. 2 is a drawing of grouping of dimension lines in the above embodiment.

【図3】 上記実施例における寸法線ファイルの一例で
ある。
FIG. 3 is an example of a dimension line file in the above embodiment.

【図4】 上記実施例における寸法線編集を説明するた
めの図面である。
FIG. 4 is a diagram for explaining dimension line editing in the above embodiment.

【図5】 上記実施例における寸法線編集の動作の流れ
を説明するためのフローチャートである。
FIG. 5 is a flow chart for explaining the flow of the operation of dimension line editing in the above embodiment.

【図6】 上記実施例における寸法線編集の動作の流れ
を説明するためのフローチャートである。
FIG. 6 is a flowchart for explaining a flow of an operation of dimension line editing in the above embodiment.

【図7】 上記実施例により編集した製図図面の具体例
である。
FIG. 7 is a specific example of a drawing drawing edited according to the above embodiment.

【図8】 上記実施例により編集した製図図面の具体例
である。
FIG. 8 is a concrete example of a drawing drawing edited according to the above embodiment.

【符号の説明】[Explanation of symbols]

1…CPU、 2…図面データ記憶部、3…RAM、
4…ROM、5…入出力インターフェース、 6…
CRT、7…キーボード、 8…タッチペン。
1 ... CPU, 2 ... Drawing data storage unit, 3 ... RAM,
4 ... ROM, 5 ... input / output interface, 6 ...
CRT, 7 ... keyboard, 8 ... touch pen.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 図面内の寸法線を任意の複数の寸法線ご
とにグループ化し、 該グループ内に描かれている寸法線ごとに、その寸法線
の寸法補助線の位置と寸法線の位置を記憶し、 寸法線が追加になったときには、前記グループ内で、前
記記憶を参照して既にある寸法線部分に、追加になった
寸法線を描き、既にある寸法線はその位置を順次既にあ
る寸法線の位置に移動し、最終的に既に描かれている寸
法線がない部分に寸法線を移動するときに、そのグルー
プ内の寸法線間隔にしたがって寸法線を配置することを
特徴とする寸法線自動編集方法。
1. A dimension line in a drawing is grouped by arbitrary plural dimension lines, and for each dimension line drawn in the group, the position of the dimension extension line and the position of the dimension line are determined. When the dimensional line is stored and added, the additional dimensional line is drawn in the existing dimensional line portion in the group with reference to the memory, and the existing dimensional line already has its position in sequence. A dimension characterized by placing dimension lines according to the dimension line spacing within the group when moving to the dimension line position and finally moving the dimension line to the part where there is no already drawn dimension line Automatic line editing method.
【請求項2】 前記寸法線自動編集方法において、寸法
線が削除される場合には、前記グループ内の残っている
寸法線のうち、該削除された寸法線に最も近いものから
順に、該削除された寸法線の在った位置に移動すること
を特徴とする請求項1記載の寸法線自動編集方法。
2. In the automatic dimension line editing method, when a dimension line is deleted, of the remaining dimension lines in the group, the one closest to the deleted dimension line is deleted in order. 2. The dimension line automatic editing method according to claim 1, wherein the dimension line is moved to a position where the designated dimension line exists.
【請求項3】 前記寸法線自動編集方法において、図面
上の任意の部分に禁止領域を設け、該禁止領域内に寸法
線が描かれる場合には、該禁止領域外の近接位置で、前
記グループ内の寸法線間隔で離隔した位置に寸法線を配
置することを特徴とする請求項1または請求項2記載の
寸法線自動編集方法。
3. In the automatic dimension line editing method, when a prohibited area is provided in an arbitrary portion on the drawing and a dimension line is drawn in the prohibited area, the group is placed at a close position outside the prohibited area. The dimension line automatic editing method according to claim 1 or 2, wherein the dimension lines are arranged at positions spaced apart by the dimension line intervals in the inside.
【請求項4】 前記グループ内の寸法線間隔にしたがっ
て寸法線を配置するときには、前記グループ内の各寸法
線の位置から寸法線同士の間隔を求め、その間隔値の頻
度が多いものにしたがって寸法線を配置することを特徴
とする請求項1〜3のいずれか1つに記載の寸法線自動
編集方法。
4. When arranging the dimension lines according to the dimension line spacing within the group, the spacing between the dimension lines is obtained from the position of each dimension line within the group, and the dimension value is determined according to the frequency of the spacing value. A line is arrange | positioned, The dimension line automatic edit method as described in any one of Claims 1-3 characterized by the above-mentioned.
JP6299365A 1994-12-02 1994-12-02 Method for automatically editing dimension lines Pending JPH08161359A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6299365A JPH08161359A (en) 1994-12-02 1994-12-02 Method for automatically editing dimension lines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6299365A JPH08161359A (en) 1994-12-02 1994-12-02 Method for automatically editing dimension lines

Publications (1)

Publication Number Publication Date
JPH08161359A true JPH08161359A (en) 1996-06-21

Family

ID=17871620

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6299365A Pending JPH08161359A (en) 1994-12-02 1994-12-02 Method for automatically editing dimension lines

Country Status (1)

Country Link
JP (1) JPH08161359A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001282861A (en) * 2000-03-31 2001-10-12 Honda Motor Co Ltd Graphic correction method in cad system and device therefor
JP2005222493A (en) * 2004-02-09 2005-08-18 Mitsubishi Electric Corp Plotter
JP2012018517A (en) * 2010-07-07 2012-01-26 Nsk Ltd Drawing creation support device
JP2021131579A (en) * 2020-02-18 2021-09-09 株式会社ア−キテック Reinforcing-bar length display system and reinforcing-bar length display program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001282861A (en) * 2000-03-31 2001-10-12 Honda Motor Co Ltd Graphic correction method in cad system and device therefor
JP2005222493A (en) * 2004-02-09 2005-08-18 Mitsubishi Electric Corp Plotter
JP4515108B2 (en) * 2004-02-09 2010-07-28 三菱電機株式会社 Plotter
JP2012018517A (en) * 2010-07-07 2012-01-26 Nsk Ltd Drawing creation support device
JP2021131579A (en) * 2020-02-18 2021-09-09 株式会社ア−キテック Reinforcing-bar length display system and reinforcing-bar length display program

Similar Documents

Publication Publication Date Title
US6480813B1 (en) Method and apparatus for defining a precision drawing in a drawing program
US4829446A (en) Method and apparatus for recording and rearranging representations of objects in a model of a group of objects located using a co-ordinate system
US5808616A (en) Shape modeling method and apparatus utilizing ordered parts lists for designating a part to be edited in a view
KR100537574B1 (en) Graphics image generation apparatus, method, and program
JP3347964B2 (en) Automatic programming device and method
JPH0581358A (en) Drawing information processing method and drawing information processing system for saving plural display methods
US5617520A (en) Three-dimensional pattern editing apparatus having moving distance calculator and/or a dragging pattern holding unit
JPH08161359A (en) Method for automatically editing dimension lines
JP3658027B2 (en) Graphic editing apparatus and graphic editing method
JP2800592B2 (en) Tool placement interference check method for machined figure data
JP3118379B2 (en) Layout processing device
JP2001195432A (en) Cad system
JPH07220115A (en) Three-dimensional cad system
JPH0434193B2 (en)
JPH0449471A (en) Image editing device
JP2819907B2 (en) Processing data creation device
JPH05265736A (en) Layout device
JP2993288B2 (en) Machining program creation device
JPH11185046A (en) Graphic editor, layout processing method and storage medium
JP3591892B2 (en) Character string display method and character string display device
JPH03116285A (en) Graphic producing device
JPH08129650A (en) Method and device for layout screen editing of plural figures
JP2620402B2 (en) Apparatus and method for processing chemical structure data
JPH05265171A (en) Layout device
JPH02257368A (en) Graphic processor