[go: up one dir, main page]

JPH0344772A - Graphic information producing method for graphic processor - Google Patents

Graphic information producing method for graphic processor

Info

Publication number
JPH0344772A
JPH0344772A JP1179106A JP17910689A JPH0344772A JP H0344772 A JPH0344772 A JP H0344772A JP 1179106 A JP1179106 A JP 1179106A JP 17910689 A JP17910689 A JP 17910689A JP H0344772 A JPH0344772 A JP H0344772A
Authority
JP
Japan
Prior art keywords
graphic
information
registered
tangent
pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP1179106A
Other languages
Japanese (ja)
Other versions
JP2582298B2 (en
Inventor
Mika Kouwa
香和 美加
Koji Yamamoto
廣治 山元
Shunji Oku
奥 俊二
Yasuo Hatoba
波戸場 靖夫
Hidehiko Ichikawa
英彦 市川
Mitsuhiro Ozawa
尾澤 光浩
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.)
Minolta Co Ltd
Sanyo Electric Co Ltd
Original Assignee
Minolta Co Ltd
Sanyo Electric 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 Minolta Co Ltd, Sanyo Electric Co Ltd filed Critical Minolta Co Ltd
Priority to JP1179106A priority Critical patent/JP2582298B2/en
Publication of JPH0344772A publication Critical patent/JPH0344772A/en
Application granted granted Critical
Publication of JP2582298B2 publication Critical patent/JP2582298B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PURPOSE:To omit the complicated tasks and to improve the working efficiency by producing the graphic information on a new graphic based on the graphic information to be referred to and the information on the space between external form lines of the new graphic to the relevant graphic. CONSTITUTION:A CPU1 is prepared together with a keyboard 2, a digitizer 3, an external storage storing a system program, a design data file 5, a printer 6, a display device 7, and a memory 8 which stores temporarily the necessary one of those data stored in the file 5 for a due task. Then the graphic information on a new graphic is produced based on the registered graphic information to be referred to and the information on the space between external form lines of the new graphic to the registered one. Thus it is possible to omit the complicated tasks on the screen of a display device and to improve the working efficiency.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、プリント基板設計などをおこなう図形処理
装置における図形情報の作成方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for creating graphic information in a graphic processing apparatus that designs printed circuit boards.

〔従来の技術〕[Conventional technology]

中央処理装置と、これに接続される入力装置、表示装置
、出力装置、記憶装置等から構成され、対話型処理によ
ってプリント基板設計をおこなう図形処理装置は既に知
られている。この種の図形処理装置で配線パターンを描
くには、隣接する配線パターン、ランド等から設計ルー
ルで定められた所定の間隔を保つよう考慮しつつ、円弧
や直線を組合せて描いてゆく。このとき、所定の線巾の
配線パターンを描くときは、まず、ノくターンの中心線
を想定し、ついで所定の線巾情報を入力することにより
、所定の線巾をもった配線ノ〈ターンを描くことができ
る。
2. Description of the Related Art Graphic processing apparatuses are already known, which are composed of a central processing unit, an input device, a display device, an output device, a storage device, etc. connected to the central processing unit, and perform printed circuit board design through interactive processing. When drawing a wiring pattern using this type of graphic processing device, a combination of circular arcs and straight lines are drawn while taking into consideration maintaining a predetermined spacing determined by design rules from adjacent wiring patterns, lands, etc. At this time, when drawing a wiring pattern with a predetermined line width, first imagine the center line of the turn, and then input the predetermined line width information to draw a wiring pattern with a predetermined line width. can be drawn.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところで、配線パターンの設計では既に描かれた図形と
関連する処理が多い。
By the way, in designing a wiring pattern, there are many processes related to already drawn figures.

例えば、第1図囚のように、既に登録されている円弧パ
ターンAIの外側に′同心の円弧パターンBlを作成す
る場合、作業者は、オフセット命令を入力し、既登録図
形(すなわち円弧)くターンA1)を指定するとともに
カーソルによって新たに作成するパターン(すなわち円
弧パターンBl)の方向を入力する。更に、作業者は、
新たに作成する円弧バター7B□の中心線NBIを想定
し、それと既登録図形パターン(円弧パターンAt)の
中心線NA1との間隔d1を入力する。すると、装置は
新たに円弧パターンBlを作成するのである。また、第
1図(ロ)のように既に登録されている直線ノ〈ターン
A2に平行に新たな直線パターンB2を作成する場合も
同様に、作業者は、オフセット命令入力、既登録図形(
すなわち直線パターンA2)の指定、カーソルによる方
向入力を行う。更に、作業者は、新たに作成する直線パ
ターンB2の中心線NB2を想定し、それと既登録図形
パターン(直線)くターンA2)の中心線NA2どの間
隔d2を入力する。すると、装置は新たに直線パターン
B2を作成するのである。
For example, when creating a 'concentric circular arc pattern Bl outside the already registered circular arc pattern AI, as shown in Figure 1, the operator inputs an offset command to create a previously registered figure (i.e. circular arc). Turn A1) is designated, and the direction of the newly created pattern (ie, circular arc pattern Bl) is input using the cursor. Furthermore, the worker
Assuming the center line NBI of the newly created arc butter 7B□, input the distance d1 between it and the center line NA1 of the registered graphic pattern (arc pattern At). Then, the device creates a new arc pattern Bl. Similarly, when creating a new straight line pattern B2 parallel to the already registered straight line turn A2 as shown in FIG.
That is, designation of the straight line pattern A2) and direction input using the cursor are performed. Further, the operator assumes the center line NB2 of the newly created straight line pattern B2, and inputs the distance d2 between it and the center line NA2 of the registered graphic pattern (straight line) (turn A2). Then, the device creates a new straight line pattern B2.

更に、第1図(Qのように、既に登録されている円形ラ
ンドA3の外側に円パターンB3を作成する場合、作業
者がこの円パターンB3の中心線NB3の半径RLNを
計算しておき、円を作成する命令、計算した半径RLN
、及び円パターンの巾WCを装置に入力すると、装置が
円パターンB3を作成するのである。また、第1図■の
ように、既に登録されている円パターンA4に接する接
線パターンB4を作成する場合、予め作業者が円)くタ
ーンA4の半径Rcを計算しておき、円を作成する命令
及び計算した半径Rcを装置に入力してまず補助線とし
て円Nlを描く。次に、接線を作成する命令及びその接
線の基点の座標(XM、YM)を作業者が入力して接線
Llを描き、その接線L1の補助線としての円N!との
交点の座標(XN、YN)を求める。
Furthermore, when creating a circular pattern B3 outside the already registered circular land A3 as shown in FIG. 1 (Q), the operator calculates the radius RLN of the center line NB3 of this circular pattern B3, Instruction to create a circle, calculated radius RLN
, and the width WC of the circular pattern are input to the device, and the device creates a circular pattern B3. In addition, when creating a tangent pattern B4 that is in contact with the circle pattern A4 that has already been registered, as shown in Figure 1 (■), the operator calculates the radius Rc of the circular turn A4 in advance and creates the circle. The command and the calculated radius Rc are input into the device, and a circle Nl is first drawn as an auxiliary line. Next, the operator inputs a command to create a tangent line and the coordinates (XM, YM) of the base point of the tangent line, draws a tangent line Ll, and creates a circle N as an auxiliary line for the tangent line L1! Find the coordinates (XN, YN) of the intersection with

それから、作業者が、直線を作成する命令、及び始点及
び終点の座標(XN、YN) + (XM、YM)を入
力すると、装置によって接線ノくターンB4が作成され
るのである。第1図■のように既に登録されている円形
ランドA5に接する接線ノくターンB5を作成する場合
も同様に、予め作業者が補助線としての円N2の半径R
Lを計算しておき、円を作成する命令及び計算した半径
RLを装置に入力してまず円N2を描く。次に、接線を
作成する命令及びその接線の基点の座標(XM r Y
M )を作業者が入力して接線L2を描き、その接線L
2と補助線としての円N2との交点座標(XN、YN)
を求める。それから、作業者が、直線を作成する命令、
始点及び終点の座標(XN、YN) 、 (XM、YM
)、及び巾Wを入力すると、装置によって接線パターン
B5が作成されるのである。
Then, when the operator inputs a command to create a straight line and the coordinates (XN, YN) + (XM, YM) of the starting point and ending point, the device creates a tangential turn B4. Similarly, when creating a turn B5 using a tangent line touching the circular land A5 that has already been registered as shown in Figure 1 (■), the operator should prepare the radius R of the circle N2 as an auxiliary line in advance.
After calculating L, a command to create a circle and the calculated radius RL are input to the device to first draw a circle N2. Next, the command to create a tangent and the coordinates of the base point of the tangent (XM r Y
M ) is input by the worker to draw a tangent L2, and that tangent L
2 and circle N2 as an auxiliary line (XN, YN)
seek. Then, the worker gives an instruction to create a straight line,
Coordinates of start point and end point (XN, YN), (XM, YM
), and the width W, the tangent pattern B5 is created by the device.

このように、従来の装置では配線パターンの中心線を求
めることが必要であり、そのために多くの工数を要し、
しかも作図後事用となる作業線を一旦描くという動作が
必要であるために、繁雑な作業となり作業効率の悪いも
のであった。
In this way, with conventional equipment, it is necessary to find the center line of the wiring pattern, which requires a lot of man-hours.
Moreover, since it is necessary to once draw a work line for later use after drawing, the work becomes complicated and the work efficiency is poor.

〔課題を解決するための手段〕[Means to solve the problem]

この発明は上記課題を解決するため、既登録の図形情報
を参照し、その図形情報を利用して新たな図形情報を作
成するものであって、中央処理装置と、これに接続され
た入力装置、出力装置、表示装置及び記憶装置を備え、
表示装置上に図形情報を可視的に表示し、これを観察し
ながら図形情報の作成なおこなう図形処理装置において
、参照すべき既登録の図形情報と、該既登録の図形に対
する新図形の外形線間隔に関する情報とに基づいて新図
形に関する図形情報を作成することを特徴とするもので
ある。また、この発明は、既登録の図形を参照してその
接線を描く場合には、参照すべき既登録の図形情報と、
該既登録の図形に対して描かれるべき接線の基点位置に
関する情報とに基づいて新図形である該接線に関する図
形情報を作成することを特徴とするものである。
In order to solve the above problems, this invention refers to already registered graphic information and creates new graphic information using the graphic information, and includes a central processing unit and an input device connected to the central processing unit. , comprising an output device, a display device, and a storage device,
In a graphic processing device that visually displays graphic information on a display device and creates graphic information while observing the graphic information, registered graphic information to be referenced and the outline of a new graphic with respect to the registered graphic are provided. The present invention is characterized in that graphic information regarding a new graphic is created based on information regarding intervals. Further, in the case of drawing a tangent line with reference to a registered figure, the present invention provides registered figure information to be referred to;
The present invention is characterized in that graphic information regarding the tangent, which is a new graphic, is created based on information regarding the base point position of the tangent to be drawn with respect to the registered graphic.

〔作  用〕[For production]

参照する図形情報を指定し、その図形情報に対する新図
形の外形線間隔に関する情報もしくは新図形が接線であ
る場合にはその接線の基点位置を入力するのみで、線形
図形情報を自動的に演算させるから、表示装置の画面上
での繁雑な作業を省略することができる。
Automatically calculate linear figure information by simply specifying the figure information to be referenced and inputting information about the outline spacing of the new figure for that figure information or, if the new figure is a tangent, the base point position of the tangent. Therefore, complicated operations on the screen of the display device can be omitted.

〔実 施 例〕〔Example〕

以下、この発明の実施例について説明する。 Examples of the present invention will be described below.

第2図はこの発明を実施するに適したプリント基板設計
装置の全体構成を示すブロック図であって、1は中央処
理装置(CPU)、2はキーボード、3はデジタイザ、
4はシステムプログラムの格納された外部記憶装置、5
は設計されたプリント基板の設計データの格納された設
計データファイル、6はプリンタ、7はCRT等を使用
した表示装置、8は設計データファイルに格納されたデ
ータのうち必要なデータを作業のために一時記憶するメ
モリである。
FIG. 2 is a block diagram showing the overall configuration of a printed circuit board design apparatus suitable for carrying out the present invention, in which 1 is a central processing unit (CPU), 2 is a keyboard, 3 is a digitizer,
4 is an external storage device in which system programs are stored; 5
6 is a printer, 7 is a display device using a CRT, etc., and 8 is a design data file that stores the design data of the designed printed circuit board. 8 is a design data file that stores the necessary data from the design data file for work. It is a memory that temporarily stores data.

プリント基板設計装置による基板設計は次のようにして
おこなわれる。まず、キーボード2からシステムプログ
ラムのロードを指令し、外部記憶装置4に格納されてい
るプログラムをCPU 1にロードして装置を起動する
。設計データファイル5の中から所望のプリント基板設
計データを読出して表示装置7上に基板図形を表示し、
表示された図形を見ながら対話型処理により図形に修正
を加え、あるいは新たに図形を設計してゆく。
Board design using the printed circuit board design device is performed as follows. First, a command is given to load a system program from the keyboard 2, the program stored in the external storage device 4 is loaded into the CPU 1, and the device is started. Read desired printed circuit board design data from the design data file 5 and display the board shape on the display device 7;
While looking at the displayed figure, you can modify the figure or design a new figure through interactive processing.

次に、この発明による既登録図形情報を参照して新たな
線形図形情報を作成する作業について第3図第4図を参
照しつつ説明する。
Next, the operation of creating new linear graphic information by referring to registered graphic information according to the present invention will be explained with reference to FIGS. 3 and 4.

設計が完了した配線パターン、ランド等の図形は、第1
表に示す図形情報が登録され、設計データファイル5に
格納される。直線と円弧の組合された配線パターンは直
線、円弧の図形要素に分解されて登録される。
Figures such as wiring patterns and lands that have been designed are placed in the first
The graphic information shown in the table is registered and stored in the design data file 5. A wiring pattern that is a combination of straight lines and circular arcs is separated into graphic elements of straight lines and circular arcs and registered.

参照すべき既登録図形を表示装置上でカーソルにより指
定すると、該当する図形情報が設計データファイルから
読出される。キーボード、カーソルを使用して、新たに
設計すべき図形について、既登録図形との間隔G1既登
録図形に対する新図形の配置方向f、どの相対位置情報
り及び線巾Wを入力し、先に入力された既登録図形情報
とこれら入力した情報とに基いて新たな図形情報を演算
する。
When a registered graphic to be referenced is designated with a cursor on the display device, the corresponding graphic information is read from the design data file. Using the keyboard and cursor, enter the distance G1 between the new figure and the registered figure, the placement direction f of the new figure relative to the registered figure, the relative position information, and the line width W for the figure to be newly designed. New graphic information is calculated based on the previously registered graphic information and the input information.

この新たな図形の作成の仕方について第3図及び第4図
を参照して説明する。第3図は既に登録されている図形
パターンを参照して新たな図形パターンを作成する過程
を示すものであり、第4図はこれを実現するためのフロ
ーチャートを示している。
How to create this new figure will be explained with reference to FIGS. 3 and 4. FIG. 3 shows a process of creating a new graphic pattern by referring to already registered graphic patterns, and FIG. 4 shows a flowchart for realizing this process.

第4図のフローチャートにおいて、まずステップ#1で
作業者が、オフセットもしくは接線のコマンドを入力す
ることによって新たな図形パターンの作成を選択すると
、ステップ#2では、この入力されたコマンドがオフセ
ットか接線かを判別する。ステップ#2でオフセットの
コマンドが入力されたと判別されると、次に、作業者は
、ステップ#3で新たな図形を作成するために参照すべ
き既に登録されている図形を指定し、ステップ#4で既
登録図形の外形線から新たに作成する図形までの間隔G
と新たに作成する図形の線巾Wとを入力する。すると、
ステップ#5で装置はステップ#3で指定された既登録
図形が、ランドか円弧か直線かを判別する。
In the flowchart of Fig. 4, first in step #1, the operator selects to create a new figure pattern by inputting an offset or tangent command, then in step #2, the input command is Determine whether When it is determined in step #2 that an offset command has been input, the operator then specifies an already registered shape to refer to in order to create a new shape in step #3, and In step 4, set the distance G from the outline of the registered shape to the newly created shape.
and the line width W of the newly created figure. Then,
In step #5, the device determines whether the registered figure specified in step #3 is a land, an arc, or a straight line.

ここで、第3図囚のように、オフセットのコマンドが入
力され既登録図形が円弧パターンである場合について説
明する。この場合はステップ#6に進んで、まず既に登
録されている円弧パターンA1に対する新たに作成され
る円弧パターンB1の配置方向をカーソルを用いて作業
者が指定する。
Here, as shown in FIG. 3, a case will be described in which an offset command is input and the registered figure is an arc pattern. In this case, the process proceeds to step #6, where the operator first specifies the arrangement direction of the newly created arc pattern B1 with respect to the already registered arc pattern A1 using a cursor.

すると、装置はステップ#7でこの指定された座標(X
E、YE)を取得する。そして、ステップ#8で、CP
U  1は設計データファイル5かも、既に登録されて
いる円弧パターンAlに関する情報をメモリ8に取り出
す。この情報と′しては、円弧パターンAxの中心座標
(Xc、Yc)、半径Ro、始角θ1終角θ2及び線巾
Wcを含んでいる。CPUIは、ステップ#9で、この
円弧パターンA1に関するこれらの情報と座標(XB、
YB)とから新たに作成される円弧パターンBrの配置
方向を示す情報Cを算出する。この配置方向情報Cは、
座標(XgtYE)が既に登録されている円弧パターン
A□の内側の位置を示すとき+1−1”となり、外側の
位置を示すとき’+1”となる。そして、CPU1は、
ステップ#10で、新たに作成される円弧パターンB1
の中心座標(Xc、Yc)、半径RON 、始角θ11
終角θ2及び線巾Wを算出する。ここで、半径RCNは
以下の式に基づいて算出される。
Then, the device moves to this specified coordinate (X
E, YE). Then, in step #8, CP
U 1 takes out information regarding the already registered arc pattern Al from the design data file 5 to the memory 8 . This information includes the center coordinates (Xc, Yc) of the circular arc pattern Ax, radius Ro, starting angle θ1, ending angle θ2, and line width Wc. In step #9, the CPUI obtains this information and coordinates (XB,
Information C indicating the arrangement direction of the newly created arc pattern Br is calculated from YB). This arrangement direction information C is
When the coordinates (XgtYE) indicate a position inside the already registered arc pattern A□, it is +1-1'', and when it indicates a position outside, it is '+1''. And CPU1 is
In step #10, the newly created arc pattern B1
center coordinates (Xc, Yc), radius RON, starting angle θ11
The terminal angle θ2 and the line width W are calculated. Here, the radius RCN is calculated based on the following formula.

ROM=RO+[G+(W/  2)+(WO/2)コ
×C第3図■のように、オフセットのコマンドが入力さ
れ既登録図形が直線パターンである場合について次に説
明する。この場合はステップ#5からステップ#11及
び#12に進み、ステップ#6及び#7と同様に、新た
に作成される直線パターンB2の配置方向をカーソルを
用いて作業者が指定し、装置がこの指定された座標(X
E、Yg)を取得する。
ROM=RO+[G+(W/2)+(WO/2)Co×C As shown in FIG. 3, the case where an offset command is input and the registered figure is a straight line pattern will be described next. In this case, the process proceeds from step #5 to steps #11 and #12, where, similarly to steps #6 and #7, the operator uses the cursor to specify the arrangement direction of the newly created straight line pattern B2, and the device This specified coordinate (X
E, Yg).

更に、ステップ#13で、設計データファイル5に既に
登録されている直線パターンA2の始点座標(Xw・Y
l )・終点座標(X2・Y2)及び線巾W1を取り出
してメモリ8に格納し、ステップ#14でステップ#9
と同様にこの直線パターンA2に関スるこれらの情報と
座標(Xg、Yg)とから新たに作成される直線パター
ンB2の配置方向を示す情報Cを算出する。この配置方
向情報Cは、座標(Xa。
Furthermore, in step #13, the starting point coordinates (Xw/Y
l )・Take out the end point coordinates (X2, Y2) and line width W1 and store them in the memory 8, and in step #14 step #9
Similarly, information C indicating the arrangement direction of the newly created straight line pattern B2 is calculated from these pieces of information related to the straight line pattern A2 and the coordinates (Xg, Yg). This arrangement direction information C is the coordinate (Xa.

YE)が既に登録されている直線パターンA2の上方向
の位置を示す場合”+1”となり、下方向の位置を示す
場合+11nとなる。そして、ステップ#15で、CP
U1は新たに作成される直線パターンB2の始点座標(
XNI IYNI) 、終点座標(XN2.YN2)及
び線巾wNを算出する。ここで、第3図■のように新た
な直線パターンB2が直線パターンA2に対して下方向
にのみシフトされる場合、直線パターンB2の始点座標
(XN1t Y Nt )及び終点座標(Xra。
When YE) indicates the upward position of the already registered straight line pattern A2, it becomes "+1", and when it indicates the downward position, it becomes +11n. Then, in step #15, CP
U1 is the starting point coordinates of the newly created straight line pattern B2 (
XNI IYNI), the end point coordinates (XN2.YN2) and the line width wN are calculated. Here, when the new straight line pattern B2 is shifted only downward relative to the straight line pattern A2 as shown in FIG. 3, the starting point coordinates (XN1t Y Nt ) and the ending point coordinates (Xra.

YN2)は以下のように求められる。YN2) is obtained as follows.

XNI  = Xi  、  YN1=Y1+[G+−
(W/2)+(W!/2)コ×CXN2  = X2 
、YN2=Y2+[G+(W/2)+(Wt /2)コ
×C更に、第3図0のように、オフセットのコマンドが
入力され既登録図形がランドパターンである場合につい
て説明する。この場合はステップ#5からステップ#1
6に進んで、設計データファイル5に既に登録されてい
るランドパターンA3の中心座標(XL、YL)及び半
径RLを取り出してメモリ8に格納し、新たに作成され
る円弧ノくターンB3の中心座標(XL、YL)、円弧
の中心線の半径RLN、及び線巾wLNがステップ#1
7で算出される。ここで、円弧の中心線の半径RLNは
、以下のように求められる。
XNI = Xi, YN1=Y1+[G+-
(W/2)+(W!/2)ko×CXN2 = X2
, YN2=Y2+[G+(W/2)+(Wt/2)×C Further, as shown in FIG. 3, the case where an offset command is input and the registered figure is a land pattern will be described. In this case, step #5 to step #1
Proceeding to step 6, the center coordinates (XL, YL) and radius RL of land pattern A3 already registered in the design data file 5 are retrieved and stored in the memory 8, and the center coordinates of the newly created arc-shaped turn B3 are retrieved. The coordinates (XL, YL), radius RLN of the center line of the arc, and line width wLN are step #1
Calculated at 7. Here, the radius RLN of the center line of the circular arc is determined as follows.

RLN = RL + G + (W/ 2)一方、第
4図のステップ#2で接線のコマンドが入力されたと判
別された場合は、ステップ#18に進ム。ステップ#1
8では、ステップ#3と同様に、作業者が新たな図形を
作成するために参照すべき既に登録されている図形を指
定する。そして、更に、ステップ#19で、ステップ#
6と同様に、新たに作成される直線パターンB2の配置
方向をカーソルを用いて作業者が指定する。すると、ス
テップ#加で・CPUIが新たに作成される接線の配置
方向を示す座標(XE、YE )を取得し、ステップ#
21では作業者が接線の他端の基点となる座標(XMI
YM )を入力する。次に、ステップ#セにおいて、C
PU1はステップ#18で指定された図形が円弧である
かランドであるかを判別する。
RLN=RL+G+(W/2) On the other hand, if it is determined in step #2 of FIG. 4 that a tangent command has been input, the process advances to step #18. Step #1
In step 8, similarly to step #3, the operator specifies an already registered figure to be referred to in order to create a new figure. Further, in step #19, step #
6, the operator specifies the arrangement direction of the newly created straight line pattern B2 using the cursor. Then, in step #, the CPUI obtains the coordinates (XE, YE) indicating the arrangement direction of the newly created tangent line, and in step #
21, the operator selects the coordinates (XMI
Enter YM). Next, in step #ce, C
PU1 determines whether the specified figure is an arc or a land in step #18.

ここで、第3図■のように円弧パターンhである場合に
は、ステップ#おに進んで、この円弧パターンムの中心
座標(Xc、Yc ) 、半径RO、線巾Wo の情報
を設計データファイルから取り出してメモリ8に格納す
る。そして、ステップ#24で、CPU1は、基点座標
(XMe YM)を通り円弧パターンMに接する直線の
うちで配置方向を示す座標(XE、YB )に近い方の
直線と円弧との交点の座標(XN、YN )を算出して
、ステップ#5に進む。一方、ステップ#汐において、
ステップ#18で指定された図形が第3図■のようにラ
ンドパターンAsであると判別された場合には、ステッ
プ#あに進み、作成される接線の線巾Wが作業者によっ
て入力される。そして、ステップ#nで設計データファ
イル5に登録されているランドパターンA5の中心座標
(XL 、KL)及び半径RLを取り出してメモリ8に
格納する。次に、ステップ#路で、ステップ#必と同様
に、基点座標(XM、YM)を通り中心座標(XL・Y
L)及び半径(I(L −W/2)の円に接する直線の
うちで配置方向を示す座標(Xw、Yw )に近い方の
直線と円弧との交点の座標(XN、YN )を算出して
、ステップ#るに進む。
Here, if the arc pattern is h as shown in Fig. 3 (■), proceed to step #1 and input the information of the center coordinates (Xc, Yc), radius RO, and line width Wo of this arc pattern to the design data. It is extracted from the file and stored in the memory 8. Then, in step #24, the CPU 1 determines the coordinates ( XN, YN) and proceed to step #5. On the other hand, at step #shio,
If it is determined in step #18 that the specified figure is a land pattern As as shown in FIG. . Then, in step #n, the center coordinates (XL, KL) and radius RL of the land pattern A5 registered in the design data file 5 are extracted and stored in the memory 8. Next, at step # path, pass through the base point coordinates (XM, YM) and the center coordinates (XL, Y
Calculate the coordinates (XN, YN) of the intersection of the arc and the straight line that is closer to the coordinates (Xw, Yw) indicating the arrangement direction among the straight lines tangent to the circle with radius (L) and radius (I (L - W/2)) and proceed to step #1.

ステップ#5では、ステップ#21で入力された座標(
XMIYM ) 、ステップ#24もしくは#沼で算出
された座標(XNI YN ) 、及び ステップ#お
で取り出された線巾Woもしくはステップ#あで入力さ
れた線巾Wに基づいて、接線の始点(XN。
In step #5, the coordinates input in step #21 (
XMIYM), the coordinates (XNI YN) calculated in step #24 or #swamp, and the line width Wo taken out in step #o or the line width W input in step #A, the starting point of the tangent (XN .

YN)、終点座標(XMIYM )及び線巾Wを算出す
る。
YN), end point coordinates (XMIYM), and line width W are calculated.

そして、ステップ#四では、ステップ#10.:#:1
5、#17もしくは#5で算出されたデータがメモリ8
に格納され、この格納されたデータに基づX、6でステ
ップ#加で新たに作成された図形が表示されて、このフ
ローは終了する。従って、ステップ#加において、第3
図囚〜■のいずれかに示されたごとき新色形B1〜B5
が表示されるのである。
Then, in step #4, step #10. :#:1
5. The data calculated in #17 or #5 is stored in memory 8.
Based on the stored data, the newly created figure in step # is displayed in step #6, and this flow ends. Therefore, in step #addition, the third
New color shapes B1 to B5 as shown in any of the figures ~■
is displayed.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、この発明によれば、既に描かれ、
登録された図形を参照して新たな配線パターン等を描く
場合、参照すべき図形を指定することによりその図形情
報を読出し、読出した図形情報と、その図形に対する新
色形の外形線間隔に関する情報とに基づいて新色形に関
する図形情報を自動的に演算して作成することができる
から、表示装置の画面上での繁雑な作業を省き、作業効
率を高めることができる。
As explained above, according to the present invention, it is possible to
When drawing a new wiring pattern etc. by referring to a registered figure, by specifying the figure to be referenced, the figure information is read out, and information about the read figure information and the outer line spacing of the new color shape for that figure. Since the graphical information regarding the new color shape can be automatically calculated and created based on the above, complicated work on the screen of the display device can be omitted and work efficiency can be improved.

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

第1図は従来の図形パターンの描画方法を説明する図、
第2図はこの発明を実施するに適した図形処理装置の構
成を示すブロック図、第3図はこの発明による図形パタ
ーンの描画方法を説明する図、第4図は図形パターン描
画処理方法を示すフローチャートである。 1:中央処理装置、2−:キーボード、3:デジタイザ
、4:外部記憶装置、5:設計データファイル、6:プ
リンタ、7:表示装置。 (D) (E) 5 第 図 (B) 弔 図 第 図 (A) CB) 第 図 (C) (E) 第 図
FIG. 1 is a diagram illustrating a conventional graphic pattern drawing method.
FIG. 2 is a block diagram showing the configuration of a graphic processing device suitable for carrying out the present invention, FIG. 3 is a diagram illustrating a graphic pattern drawing method according to the present invention, and FIG. 4 shows a graphic pattern drawing processing method. It is a flowchart. 1: Central processing unit, 2-: Keyboard, 3: Digitizer, 4: External storage device, 5: Design data file, 6: Printer, 7: Display device. (D) (E) 5 Figure (B) Funeral map Figure (A) CB) Figure (C) (E) Figure

Claims (1)

【特許請求の範囲】 1、中央処理装置と、これに接続された入力装置、出力
装置、表示装置及び記憶装置を備え、表示装置上に図形
情報を可視的に表示し、これを観察しながら図形情報の
作成をおこなう図形処理装置において、参照すべき既登
録の図形情報と、該既登録の図形に対する新図形の外形
線間隔に関する情報とに基づいて新図形に関する図形情
報を作成することを特徴とする図形処理装置における図
形情報作成方法。 2、中央処理装置と、これに接続された入力装置、出力
装置、表示装置及び記憶装置を備え、表示装置上に図形
情報を可視的に表示し、これを観察しながら図形情報の
作成をおこなう図形処理装置において、参照すべき既登
録の図形情報と、該既登録の図形に対して描かれるべき
接線の基点位置に関する情報とに基づいて新図形である
該接線に関する図形情報を作成することを特徴とする図
形処理装置における図形情報作成方法。 3、既登録の図形情報と、既登録の図形に対する接線の
配置方向に関する情報と、接線の基点位置に関する情報
とに基づいて該接線と既登録の図形との交点に関する情
報を演算し、この演算された交点に関する情報と接線の
基点位置に関する情報とに基づいて接線に関する図形情
報を作成することを特徴とする請求項2記載の図形処理
装置における図形情報作成方法。
[Scope of Claims] 1. A central processing unit, an input device, an output device, a display device, and a storage device connected to the central processing unit, and graphic information is visually displayed on the display device, and the graphic information is visually displayed while being observed. A graphic processing device that creates graphic information is characterized in that graphic information regarding a new graphic is created based on previously registered graphic information to be referenced and information regarding an outline spacing of a new graphic with respect to the registered graphic. A method for creating graphic information in a graphic processing device. 2. Equipped with a central processing unit, an input device, an output device, a display device, and a storage device connected to the central processing unit, graphic information is visually displayed on the display device, and graphic information is created while observing this. In the graphic processing device, graphic information regarding the tangent line, which is a new graphic, is created based on the registered graphic information to be referenced and the information regarding the base point position of the tangent line to be drawn with respect to the registered graphic. A graphic information creation method in a graphic processing device characterized by: 3. Calculate the information regarding the intersection of the tangent and the registered figure based on the registered figure information, the information about the arrangement direction of the tangent to the registered figure, and the information about the base point position of the tangent, and calculate this 3. The method for creating graphic information in a graphic processing apparatus according to claim 2, wherein graphic information regarding the tangent is created based on information regarding the intersection point and information regarding the base point position of the tangent.
JP1179106A 1989-07-13 1989-07-13 Graphic information creation method in graphic processing device Expired - Fee Related JP2582298B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1179106A JP2582298B2 (en) 1989-07-13 1989-07-13 Graphic information creation method in graphic processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1179106A JP2582298B2 (en) 1989-07-13 1989-07-13 Graphic information creation method in graphic processing device

Publications (2)

Publication Number Publication Date
JPH0344772A true JPH0344772A (en) 1991-02-26
JP2582298B2 JP2582298B2 (en) 1997-02-19

Family

ID=16060129

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1179106A Expired - Fee Related JP2582298B2 (en) 1989-07-13 1989-07-13 Graphic information creation method in graphic processing device

Country Status (1)

Country Link
JP (1) JP2582298B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61262884A (en) * 1985-05-16 1986-11-20 Fujitsu Ltd Method for drawing to specified point on element

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61262884A (en) * 1985-05-16 1986-11-20 Fujitsu Ltd Method for drawing to specified point on element

Also Published As

Publication number Publication date
JP2582298B2 (en) 1997-02-19

Similar Documents

Publication Publication Date Title
JPH0344772A (en) Graphic information producing method for graphic processor
JP3593353B2 (en) Sheet cutting data generator in automatic programming system for sheet metal working
JPH0344768A (en) Graphic drawing method for graphic processor
JPS63118820A (en) Menu display device
JP2792921B2 (en) Graphic display method in graphic processing device
US5093796A (en) Automatic programming definition of a machining configuration for a numerical control device
JPH0785132A (en) Graphic processing device
JPH11143926A (en) Three-dimensional graphic layout device
JP2727819B2 (en) CAD / CAM equipment
JPH02103672A (en) Panning system
JP2001046768A (en) Sewing data creation device
JP2916534B2 (en) Table output device
JP2879259B2 (en) Interactive data correction device in CAD system
JP2830550B2 (en) Integrated circuit layout design equipment
JPS62256104A (en) Nc data producing device for numerical control
JP3000749B2 (en) Character editing device
JP2575636B2 (en) Graphic display device
JPS63118882A (en) Image editing device
JPH03189708A (en) Working shape copying method in cad/cam system for metalling mold
JPH0896159A (en) Graphic editing device
JPH0664589B2 (en) Drawing method in CAD system
JPH0378879A (en) Graphic processor
JPH0314005A (en) Interactive nc program generating method
JPH04296907A (en) Interactive numerical controller
JPH05174083A (en) Dimension line generator

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees