JPH0315224B2 - - Google Patents

Info

Publication number
JPH0315224B2
JPH0315224B2 JP59207766A JP20776684A JPH0315224B2 JP H0315224 B2 JPH0315224 B2 JP H0315224B2 JP 59207766 A JP59207766 A JP 59207766A JP 20776684 A JP20776684 A JP 20776684A JP H0315224 B2 JPH0315224 B2 JP H0315224B2
Authority
JP
Japan
Prior art keywords
dimension
numbers
paper
drawn
shape information
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
Application number
JP59207766A
Other languages
Japanese (ja)
Other versions
JPS6186874A (en
Inventor
Tsukasa Tokunaga
Koichi Ishido
Kimio Itsushiki
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.)
Sumitomo Metal Mining Co Ltd
Original Assignee
Sumitomo Metal Mining 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 Sumitomo Metal Mining Co Ltd filed Critical Sumitomo Metal Mining Co Ltd
Priority to JP59207766A priority Critical patent/JPS6186874A/en
Publication of JPS6186874A publication Critical patent/JPS6186874A/en
Publication of JPH0315224B2 publication Critical patent/JPH0315224B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 技術分野 本発明は、CADシステムを用いた製図装置に
より複雑な図形をわかり易く変形させて製図する
ようにした不均一縮尺自動製図方法に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to an automatic non-uniform scale drawing method in which complex figures are deformed and drawn in an easy-to-understand manner using a drawing device using a CAD system.

従来技術 従来、一般にCADシステムを用いた製図装置
により製図を行なう場合には、X方向及びY方向
共に均一な縮尺で作図し且つ各線分に対して寸法
線及び寸法補助線を書込み、さらに寸法数字等を
印字するようにしている。しかしながら、この方
法によれば、図形が例えば第3図に示されている
ように部分的に複雑で且つ微小な形状を有してい
ると、その形状が不鮮明で見にくく、特に破線
A,Bで囲まれた部分では寸法線が重なつてしま
い図形のどの部分の寸法を示しているかが分別し
にくい。また第3図と同じ図形をJISに基づいて
製図すると、第4図に示したように製図が行なわ
れるので、寸法補助線が長くなつてまい同様に図
形のどの部分の寸法を示しているかが分別しにく
いと共に、図形に対して寸法補助線が極端に大き
なスペースを必要とするので図面全体がアンバラ
ンスになつてしまう等の問題点があつた。
Prior Art Conventionally, when drawings are generally performed using a drafting device using a CAD system, the drawings are drawn at a uniform scale in both the X and Y directions, dimension lines and dimension assistance lines are written for each line segment, and dimension numbers are also written. etc. are printed. However, according to this method, if the figure has a partially complex and minute shape as shown in FIG. In the enclosed area, the dimension lines overlap, making it difficult to distinguish which part of the figure is being measured. Also, if the same figure as shown in Figure 3 is drawn based on JIS, the drawing will be done as shown in Figure 4, so the dimension extension lines will be long and it will be difficult to see which part of the figure is measuring. In addition to being difficult to distinguish, the dimension extension lines require an extremely large space relative to the figures, resulting in problems such as the overall drawing becoming unbalanced.

このために図面全体またはその一部を拡大して
製図すると、大きな製図用紙が必要となつたり図
面の枚数が増えることにより、かくして図面の管
理が煩雑になつてまうと共に、次の段階でNC機
器等に入力する際複数の図面を参照しながら入力
を行なわなければならず、誤りを生じ易いという
欠点があつた。
For this purpose, enlarging the whole drawing or a part of it and drafting it requires large drawing paper and increases the number of drawings, which makes drawing management complicated and requires NC equipment in the next step. When inputting data, etc., it is necessary to refer to a plurality of drawings while inputting information, which has the drawback of being prone to errors.

目 的 本発明は、以上の点に鑑み、図面全体の大きさ
をそれほど大きくすることなく、複雑で且つ微小
な形状を有する図形の場合にも寸法線、寸法補助
線及び寸法数字が見易いように図形の形状に合せ
て図形を不均一に(即ち図形を構成する各辺の倍
率が異なるように)拡大または縮小させて製図す
るようにした不均一縮尺自動製図方法を提供する
ことを目的としている。
Purpose In view of the above points, the present invention provides a method for making dimension lines, dimension extension lines, and dimension numbers easy to see even in the case of figures having complex and minute shapes, without increasing the overall size of the drawing. It is an object of the present invention to provide an automatic non-uniform scale drawing method that enlarges or reduces a figure non-uniformly (that is, the magnification of each side composing the figure is different) according to the shape of the figure. .

概 要 この目的は、CADシステムを用いた製図装置
において、CADシステムのコンピユータに入力
された実物と均等縮尺の図形形状情報を読み込
み、読み込まれた該図形形状情報に基づきX方向
及びY方向に表示が必要な寸法数字の個数を夫々
算出し、算出された該個数に寸法数字を見易くす
る寸法数字高さ+寸法数字を見易くする寸法数字
間隔の値を乗じたX方向及びY方向の値を夫々求
め、これらの値と用紙の短辺及び長辺の長さとを
夫々比較して使用する用紙のサイズを決定し、上
記図形形状情報から得られた寸法数字間隔と上記
寸法数字を見易くする寸法数字高さ+上記寸法数
字を見易くする寸法数字間隔の値と上記寸法数字
の個数と上記用紙の短辺又は長辺の長さとから、
作画される図形が上記用紙内に収まるように上記
図形形状情報から得られた寸法数字間隔の適切な
倍率を算出し、上記寸法数字間隔と上記倍率と上
記寸法数字を見易くする寸法数字高さ+上記寸法
数字を見易くする寸法数字間隔の値とから作画さ
れる図形の各線分の長さを算出し、該各線分の長
さに基づいて製図装置を制御することにより図形
を作画するようにしたことを特徴とする、不均一
縮尺自動製図方法により解決される。
Overview The purpose of this is to use a drafting device that uses a CAD system to read graphic shape information on the same scale as the actual object input into the CAD system computer, and display it in the X and Y directions based on the read graphic shape information. Calculate the number of required dimension numbers, and multiply the calculated number by the height of the dimension numbers to make the dimension numbers easier to read + the value of the dimension number interval to make the dimension numbers easier to see, respectively, and calculate the values in the X and Y directions, respectively. determine the size of the paper to be used by comparing these values with the lengths of the short and long sides of the paper, and calculate the dimension number spacing obtained from the figure shape information and the dimension numbers that make the above dimension numbers easier to read. From the height + the value of the interval between the dimension numbers to make it easier to see the dimension numbers above, the number of the dimension numbers above, and the length of the short side or long side of the paper,
Calculate an appropriate magnification of the dimension number interval obtained from the figure shape information so that the figure to be drawn will fit within the paper, and calculate the dimension number interval, the magnification, and the dimension number height + that makes it easier to see the dimension number. The length of each line segment of the figure to be drawn is calculated from the value of the dimension number interval that makes the dimension numbers easier to see, and the figure is drawn by controlling the drafting device based on the length of each line segment. This problem is solved by a non-uniform scale automatic drafting method characterized by the following.

実施例 以下図面に示した一実施例に基づき本発明を詳
細に説明する。
Embodiment The present invention will be described in detail below based on an embodiment shown in the drawings.

第1図はCADシステムのコンピユータ内にお
ける不均一縮尺の演算方法を示すフローチヤート
である。
FIG. 1 is a flowchart showing a method of calculating non-uniform scale within a computer of a CAD system.

まず、CADシステムのコンピユータに入力さ
れている実物と均等縮尺の図形形状情報、即ち図
形形状を定義する各線分(図形を構成する各辺)
の両端点のxy座標及び円、円弧の中心座標と半
径を読み込む。読み込まれた情報に基づき、x方
向及びy方向に表示が必要な寸法数字の個数(x
軸、y軸に水平或は垂直でない線分は、角度表示
を行なう為、角度表示用の寸法数字も含む個数)
Nx,Nyを算出する。算出したNx,Nyに定数a
を乗じ、a・Nx,a・Nyを算出する。定数a
は、寸法数字を見易くする為に寸法数字の高さに
寸法数字間の隙間の値を加えた値である。
First, the shape information of the figure on the same scale as the actual object that is input into the computer of the CAD system, that is, each line segment that defines the figure shape (each side that makes up the figure)
Read the xy coordinates of both end points and the center coordinates and radius of the circle and arc. Based on the read information, the number of dimension numbers that need to be displayed in the x and y directions (x
For line segments that are not horizontal or perpendicular to the axis or y-axis, the angle is displayed, so the number also includes the dimension number for angle display)
Calculate Nx and Ny. A constant a is added to the calculated Nx and Ny.
Multiply by to calculate a・Nx and a・Ny. constant a
is the value of the height of the dimension numbers plus the value of the gap between the dimension numbers in order to make the dimension numbers easier to see.

次に、算出したa・Nx・a・Nyと、予め入力
されている各出力用紙サイズのうち、まずA4用
紙の短辺Lx1、長辺Ly1と長さの比較を行い、Lx1
≧a・Nx且つLy1≧a・Nyである場合はA4用紙
に作画可能と判断し、そうでない場合はA3用紙
について同様の比較判断を行なう。A3用紙に作
画不可能と判断した場合はA2用紙について同様
に比較判断を行なう。A2用紙について作画不可
能と判断した場合は例外図形として演算を終了す
る。
Next, among the output paper sizes input in advance, the calculated a, Nx, a, and Ny are compared with the short side Lx 1 and long side Ly 1 of A4 paper, and Lx 1
If ≧a・Nx and Ly 1 ≧a・Ny, it is determined that drawing is possible on A4 paper, and if not, a similar comparative judgment is made for A3 paper. If it is determined that it is not possible to draw on A3 paper, a similar comparison will be made on A2 paper. If it is determined that it is impossible to draw on A2 paper, the calculation is terminated as an exception figure.

ここで、A4からA2の用紙のうち例えばA4用紙
に作画可能と判断した場合は、第2図に示した如
く、 L1=Lx1−a・Nx ……(1) L2=Ly1−a・Ny ……(2) の演算を行い、L1<L2の場合は Lx1Nxi=2 (a+b×(Δxic) ……(3) より、又L1≧L2の場合は Ly1Nxi=2 (a+b×(Δyic) ……(4) より倍率bの値を演算する。この時のΔxi,Δyi
はi番目の寸法数字からi−1番目の寸法数字ま
での座標の差を示し、cは短い線分は比較的長く
長い線分は比較的短く拡大するために任意に設定
される数値であつて、、1/2の値(c=1/2)を用
いた方が縮尺カーブが適当で計算も簡易である。
Here, if it is determined that it is possible to draw on A4 paper among A4 to A2 paper, as shown in Fig. 2, L 1 =Lx 1 -a・Nx ...(1) L 2 =Ly 1 - a・Ny ……(2) is calculated, and if L 1 <L 2 , Lx 1 = Nxi=2 (a+b×(Δx i ) c ) ……(3), and L 1 ≧L In the case of 2 , the value of the magnification b is calculated from Ly 1 = Nxi=2 (a+b×(Δy i ) c ) (4). At this time Δx i , Δy i
indicates the difference in coordinates from the i-th dimension number to the i-1th dimension number, and c is a numerical value that is arbitrarily set so that short line segments are relatively long and long line segments are enlarged to be relatively short. Therefore, it is better to use the value of 1/2 (c=1/2) because the scale curve is more appropriate and the calculation is simpler.

この倍率bにより、A4用紙を最大限に作画範
囲として使用できることになる。
This magnification b allows A4 paper to be used to the maximum extent as a drawing area.

ここで定数a、倍率b、実物と均等縮尺の場合
の隣接する寸法数字の座標の差Δxi,Δyiから ΔXi=a+b×(Δxic ……(5) ΔYi=a+b×(Δyic ……(6) c=1/2 の演算を行なうことにより、実物と均等縮尺の場
合の距離の値であるΔxi,Δyiを本発明の不均一
縮尺による値ΔXi,ΔYiに変換し、このΔXi
ΔYiに基づいて新たな図形形状を定義する。即
ち、作画される図形の各線分の長さを定義する。
又、円、円弧の中心座標も同様にしてΔXi,ΔYi
の値が設定され、円弧は円として定義し、直径は
実物の直径の値をΔxiとして式(5)よりΔXiとして
算出する。
Here , from the constant a, the magnification b, and the difference in the coordinates of adjacent dimension numbers Δx i and Δy i when the scale is equal to that of the actual object, ΔX i = a + b × (Δx i ) c ……(5) ΔY i = a + b × ( Δy i ) c ... (6) By performing the calculation of c=1/2, the distance values Δx i and Δy i in the case of uniform scale from the real object are changed to the values ΔX i and Δy i due to the non-uniform scale of the present invention . Convert to ΔY i and this ΔX i ,
Define a new figure shape based on ΔY i . That is, the length of each line segment of the figure to be drawn is defined.
Similarly, the center coordinates of circles and arcs are ΔX i , ΔY i
The value of is set, the arc is defined as a circle, and the diameter is calculated as ΔX i from equation (5), with the actual diameter value as Δx i .

以上のような方法により第3図の図形と同じ図
形を不均一縮尺で製図すると、第5図に示したよ
うに製図が行なわれ、図形の複雑で且つ微小な形
状が各々の寸法線及び寸法数字と共に非常にわか
り易く示されるようになり、円孔は各々符号
「1」を付され且つ下方に「No.1》2−M3」なる
表示が行なわれることにより符号「1」で示され
た円孔が二個あつてその直径が3mmであることが
示されており、好ましくは製図すべき図形の全体
の形状が容易に視認され得るように均一縮尺の縮
小図(第5図C図参照)が併記される。
When the same figure as the figure in Figure 3 is drawn at a non-uniform scale using the method described above, the drawing is done as shown in Figure 5, and the complex and minute shape of the figure is drawn with each dimension line and dimension. It is now very easy to understand with numbers, and each circular hole is marked with the symbol "1", and the symbol "No. 1》2-M3" is displayed below, making it easier to understand the circle indicated by the symbol "1". It is shown that there are two holes with a diameter of 3 mm, preferably a reduced drawing of uniform scale so that the overall shape of the figure to be drawn can be easily seen (see Figure 5C). is also written.

第6図,第7図は、他の形状の図形を本発明方
法により不均一縮尺で製図した場合の図面を示し
ており、第6図の場合円弧状の切欠部があつて、
これは符号「15」により示された円により作図さ
れ「No.15》1−D6.1」なる表示により符号「15」
で示された円弧が一個あつてその直径が6.1mmで
あることが示されているが、併記された均一縮尺
の全体縮小図により円弧状切欠部であることが容
易に視認され得る。また第7図の場合にも円弧状
切欠部があるが、この場合作図によつてこれに対
応する円が図面の外形に重ならなくなるが、同様
に併記された均一縮尺の全体縮小図により円弧状
切欠部であることが容易に視認され得る。
FIGS. 6 and 7 show drawings of figures of other shapes drawn at non-uniform scales using the method of the present invention, and in the case of FIG. 6, there is an arc-shaped notch,
This is drawn by a circle indicated by the symbol "15", and the symbol "15" is drawn by the display "No. 15》1-D6.1".
Although it is shown that there is one circular arc with a diameter of 6.1 mm, it can be easily recognized that it is an arc-shaped notch from the uniformly scaled whole scale diagram attached. Also, in the case of Figure 7, there is an arcuate notch, but in this case, the corresponding circle does not overlap the outline of the drawing due to the drawing, but the circle is The arcuate notch can be easily recognized.

発明の効果 以上述べたように本発明によれば、製図すべき
図形の形状と、該図形のX方向及びY方向の各線
分に対する寸法線の数と、印字すべき寸法数字の
大きさとから、使用する用紙の寸法を決定し、各
線分の寸法線及び寸法数字が相互に適度に離間せ
しめられるように各線分の長さを拡大または縮小
した長さとして演算し、演算された不均一縮尺の
各線分の長さに基づいて製図装置を制御すること
により製図すべき図形を不均一縮尺で製図するよ
うにしたから、大きな寸法の線分は縮小されまた
小さな寸法の線分は拡大されて図形全体が不均一
縮尺で表示され且つ各線分の長さは最小でも寸法
数字の高さより十分大きく選定されているため
に、寸法線及び寸法数字は相互に適度に離間せし
められ、図形の複雑で且つ微小な形状は拡大さ
れ、而も寸法補助線は不要であるから、図形全体
が見易く、その各寸法数字は指示すべき部分の近
くに在るために正確に且つ迅速に読み取ることが
可能で、また使用する用紙は必要最小限のものが
選択され得るので図面の管理が簡単になる等、極
めて効果的である。
Effects of the Invention As described above, according to the present invention, from the shape of the figure to be drawn, the number of dimension lines for each line segment of the figure in the X direction and Y direction, and the size of the dimension number to be printed, Determine the dimensions of the paper to be used, calculate the length of each line segment as an enlarged or reduced length so that the dimension lines and dimension numbers of each line segment are appropriately spaced from each other, and calculate the calculated non-uniform scale length. By controlling the drawing device based on the length of each line segment, the figures to be drawn are drawn at non-uniform scales, so that line segments with large dimensions are reduced and lines with small dimensions are enlarged to form the figure. Since the whole is displayed on a non-uniform scale and the length of each line segment is selected to be at least sufficiently larger than the height of the dimension number, the dimension lines and dimension numbers are spaced appropriately from each other, and the complex and Minute shapes are enlarged, and extension lines are not required, so the entire shape is easy to see, and each dimension number is located close to the part to be indicated, so it can be read accurately and quickly. Furthermore, since the minimum necessary paper size can be selected, drawing management becomes easy, which is extremely effective.

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

第1図は本発明の一実施例を示すフローチヤー
ト、第2図は倍率演算方法を示すフローチヤー
ト、第3図及び第4図は従来方法により均一縮尺
で製図を行つた図形の一例を示す図、第5図は本
発明により不均一縮尺で製図を行なつた第3図の
図形と同じ図形を示す図、第6図及び第7図は本
発明方法により製図した他の図形の例を示す図で
ある。
Fig. 1 is a flowchart showing an embodiment of the present invention, Fig. 2 is a flowchart showing a magnification calculation method, and Figs. 3 and 4 show an example of a figure drawn at a uniform scale by a conventional method. Figure 5 shows the same figure as the figure in Figure 3 drawn at a non-uniform scale according to the present invention, and Figures 6 and 7 show examples of other figures drawn according to the method of the present invention. FIG.

Claims (1)

【特許請求の範囲】[Claims] 1 CADシステムのコンピユータに入力された
実物と均等縮尺の図形形状情報を読み込み、読み
込まれた該図形形状情報に基づきX方向及びY方
向に表示が必要な寸法数字の個数を夫々算出し、
算出された該個数に寸法数字を見易くする寸法数
字高さ+寸法数字を見易くする寸法数字間隔の値
を乗じたX方向及びY方向の値を夫々求め、これ
らの値と用紙の短辺及び長辺の長さとを夫々比較
して使用する用紙のサイズを決定し、上記図形形
状情報から得られた寸法数字間隔と上記寸法数字
を見易くする寸法数字高さ+上記寸法数字を見易
くする寸法数字間隔の値と上記寸法数字の個数と
上記用紙の短辺又は長辺の長さとから、作画され
る図形が上記用紙内に納まるように上記図形形状
情報から得られた寸法数字間隔の適切な倍率を算
出し、上記図形形状情報から得られた寸法数字間
隔と上記倍率と上記寸法数字を見易くする寸法数
字高さ+上記寸法数字を見易くする寸法数字間隔
の値とから作画される図形の各線分の長さを算出
し、該各線分の長さに基づいて製図装置を制御す
ることにより図形を作画するようにしたことを特
徴とする、不均一縮尺自動製図方法。
1. Read the figure shape information of the same scale as the real thing input into the computer of the CAD system, calculate the number of dimension numbers that need to be displayed in the X direction and the Y direction based on the read figure shape information, respectively,
Multiply the calculated number by the height of the dimension numbers to make the dimension numbers easy to read + the value of the dimension number interval to make the dimension numbers easy to see, respectively, to find the values in the X direction and Y direction, and combine these values with the short side and length of the paper. The size of the paper to be used is determined by comparing the lengths of each side, and the dimension number spacing obtained from the above figure shape information and the dimension number height that makes the above dimension numbers easy to read + the dimension number spacing that makes the above dimension numbers easy to see Based on the value of , the number of dimension numbers above, and the length of the short side or long side of the paper, calculate the appropriate magnification of the interval between dimension numbers obtained from the figure shape information so that the figure to be drawn will fit within the paper. Each line segment of a figure is calculated from the dimension number interval obtained from the figure shape information, the magnification, the dimension number height that makes the above dimension numbers easier to see, and the value of the dimension number interval that makes the above dimension numbers easier to see. 1. A non-uniform scale automatic drawing method, characterized in that a figure is drawn by calculating the length of each line segment and controlling a drawing device based on the length of each line segment.
JP59207766A 1984-10-03 1984-10-03 Automatic drawing method for uneven reduction Granted JPS6186874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59207766A JPS6186874A (en) 1984-10-03 1984-10-03 Automatic drawing method for uneven reduction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59207766A JPS6186874A (en) 1984-10-03 1984-10-03 Automatic drawing method for uneven reduction

Publications (2)

Publication Number Publication Date
JPS6186874A JPS6186874A (en) 1986-05-02
JPH0315224B2 true JPH0315224B2 (en) 1991-02-28

Family

ID=16545180

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59207766A Granted JPS6186874A (en) 1984-10-03 1984-10-03 Automatic drawing method for uneven reduction

Country Status (1)

Country Link
JP (1) JPS6186874A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63147266A (en) * 1986-12-11 1988-06-20 Fujitsu Ltd Automatic production system for detailed chart
JPS63150763A (en) * 1986-12-16 1988-06-23 Fujitsu Ltd Automatic forming system for detailed drawing

Also Published As

Publication number Publication date
JPS6186874A (en) 1986-05-02

Similar Documents

Publication Publication Date Title
JPH0315224B2 (en)
JP3332476B2 (en) Graphic correction method and information processing apparatus for implementing the method
JP2868666B2 (en) Electronic typesetting device for typesetting along any line
JP3083701B2 (en) Part model data check device
JPH06176122A (en) Graphic editing device
JPH0517594B2 (en)
US20010004245A1 (en) CAD data compressing method and apparatus thereof
CN116204104B (en) Dynamic display method, device, terminal and storage medium for geometric figure
JP3481294B2 (en) Automatic dimension line drawing system
JPH07160873A (en) Method for converting picture data including bezier curve
JP2564696B2 (en) Character processor
JP2656484B2 (en) Drawing management method and apparatus
JP2003296373A (en) Cad program for disaster prevention facility
JP3039987B2 (en) Drawing management device
JPS6346472B2 (en)
JPH05246192A (en) Automatic drawing apparatus
JPH05174127A (en) Accuracy adjustment method for drawing output device
JPH0731671B2 (en) Formula input editing method
JPH11185046A (en) Graphic editor, layout processing method and storage medium
JPS6265080A (en) Graph display system
JP3363669B2 (en) Image processing method and apparatus
JP3177359B2 (en) Graphic drawing device
JPH07296029A (en) Dimension line editing method
JPH0729024A (en) Image forming device and its method
JPH05120374A (en) Setting method for slit for pattern verification