JPH0816630A - Cad system for substrate assembling diagram production device - Google Patents
Cad system for substrate assembling diagram production deviceInfo
- Publication number
- JPH0816630A JPH0816630A JP6149954A JP14995494A JPH0816630A JP H0816630 A JPH0816630 A JP H0816630A JP 6149954 A JP6149954 A JP 6149954A JP 14995494 A JP14995494 A JP 14995494A JP H0816630 A JPH0816630 A JP H0816630A
- Authority
- JP
- Japan
- Prior art keywords
- line
- parts
- segment
- cad system
- assembly drawing
- 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.)
- Withdrawn
Links
- 238000004519 manufacturing process Methods 0.000 title claims abstract description 27
- 238000010586 diagram Methods 0.000 title abstract description 14
- 239000000758 substrate Substances 0.000 title abstract description 5
- 238000005520 cutting process Methods 0.000 claims abstract description 15
- 101100296426 Caenorhabditis elegans pat-12 gene Proteins 0.000 abstract 1
- 238000013500 data storage Methods 0.000 description 13
- 238000000034 method Methods 0.000 description 5
- 238000011960 computer-aided design Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、基板に組み立てる複数
の部品の組立図を作成する基板組立図製造装置のCAD
(Computer Aided Design)システムの注記矢印線作成部
に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is a CAD of a board assembly drawing manufacturing apparatus for creating assembly drawings of a plurality of parts to be assembled on a board.
(Computer Aided Design) This is related to the note arrow line creation part of the system.
【0002】[0002]
【従来の技術】図2は、従来の基板組立図製造装置のC
ADシステムの注記矢印線を作成するための構成図であ
る。図に示すように注記矢印線を作成する機能を有する
基板組立図製造装置のCADシステムは、注記矢印線の
始点と終点を入力する入力部1、入力部1より入力され
た点の座標を格納しておく入力データ格納部2、格納さ
れたデータから線分を作成するライン作成部3、作成さ
れた線分データを格納する出力データ格納部4、出力デ
ータを表示装置6に出力する表示部5とから構成されて
いる。図3(a)〜(b)は、図2の処理内容を示す図
である。図中、KBは基板外形、D1は基板内に組立ら
れる部品である。以下、これらの図を参照しつつ図2の
動作を説明する。入力部1より、図3(a)に示すよう
に注記矢印線の始点P0(x0,y0)と終点P1(x1,y1)の座標
が入力され、これらの座標が入力データ格納部2に格納
される。ライン作成部3は、入力データ格納部2に格納
された座標から始点P0 の座標とと終点P1 とを結ぶ式
(1)で示される直線の式と式(2)で示される直線の
有効範囲を求めて線分を作成し、 y−y0 =[(y1−y0)/(x1-x0)](x−x0) ・・・(1) x0≦x≦x1,y0≦y≦y1 ・・・(2) その結果を出力データ格納部4に格納する。表示部5
は、図3(b)に示すように出力データ格納部4に格納
されたデータを表示装置6に注記矢印線Lとして表示す
る。2. Description of the Related Art FIG. 2 shows a conventional board assembly drawing manufacturing apparatus C.
It is a block diagram for creating a note arrow line of the AD system. As shown in the figure, a CAD system of a board assembly drawing manufacturing apparatus having a function of creating an annotation arrow line stores an input unit 1 for inputting a start point and an end point of the annotation arrow line, and coordinates of a point input from the input unit 1. The input data storage unit 2, the line creation unit 3 that creates a line segment from the stored data, the output data storage unit 4 that stores the created line segment data, and the display unit that outputs the output data to the display device 6. It is composed of 5 and. 3A and 3B are diagrams showing the processing contents of FIG. In the figure, KB is the outer shape of the board, and D1 is a part assembled in the board. The operation of FIG. 2 will be described below with reference to these figures. As shown in FIG. 3A, the coordinates of the starting point P0 (x0, y0) and the ending point P1 (x1, y1) of the annotation arrow line are input from the input unit 1, and these coordinates are stored in the input data storage unit 2. To be done. The line creation unit 3 determines the effective range of the straight line shown by the formula (1) and the straight line shown by the formula (2) connecting the coordinates of the start point P0 and the end point P1 from the coordinates stored in the input data storage unit 2. Then, a line segment is created and y−y0 = [(y1−y0) / (x1-x0)] (x−x0) (1) x0 ≦ x ≦ x1, y0 ≦ y ≦ y1 .. (2) The result is stored in the output data storage unit 4. Display unit 5
Displays the data stored in the output data storage unit 4 on the display device 6 as a note arrow line L, as shown in FIG.
【0003】[0003]
【発明が解決しようとする課題】しかしながら、従来の
注記矢印線作成するためのCADシステムにおいては、
次のような課題があった。基板外形KB内に組み立てる
部品と注記矢印線とが重なる場合、部品が見難くなるの
を避けるために注記矢印線と部品との重なり部分の表示
を避ける必要があり、そのために(1)または(2) の
ような操作をしなければならず煩雑であった。図4
(a)〜(c)、図5(a)〜(b)は、部品と注記矢
印線とが重なる場合の問題点を示す図である。これらの
図中、KBは基板外形、D1、D2は部品である。 (1) 図4(a)に示すように始点P0 及び終点P1
を入力し、同図(b)に示すように始点P0 と終点P1
を結ぶ線分L1を作成する。その後、図4(c)に示す
ように線分L1と部品D2との重なり部分の両端点を入
力し、その部分を削除し、線分L1を線分L1−1とL
1−2に分割する。これらの線分L1−1,L1−2を
注記矢印線とする。 (2) 図5(a)に示すように注記矢印線が部品と重
ならないように複数の点P0 ,P0', P1',P1 を入力
し、同図(b)に示すように点P0 とP0'とを結ぶ線分
L2−1、点P1 とP1'とを結ぶ線分L2−2といった
具合に注記矢印線を数本に分割して各始点及び終点を入
力する。However, in the conventional CAD system for creating the annotation arrow line,
There were the following issues. When the part to be assembled in the board outline KB and the note arrow line overlap with each other, it is necessary to avoid displaying the overlapping part of the note arrow line and the part in order to avoid making the part difficult to see. Therefore, (1) or ( It was complicated because the operation like 2) had to be performed. FIG.
(A)-(c) and FIG. 5 (a)-(b) are diagrams showing a problem in the case where a part and a note arrow line overlap each other. In these figures, KB is the outer shape of the board, and D1 and D2 are parts. (1) As shown in FIG. 4A, the starting point P0 and the ending point P1
Enter, and as shown in Fig. 2 (b), start point P0 and end point P1
A line segment L1 connecting the two is created. After that, as shown in FIG. 4C, both end points of the overlapping portion of the line segment L1 and the part D2 are input, the portions are deleted, and the line segment L1 is changed to the line segments L1-1 and L1.
Divide into 1-2. These line segments L1-1 and L1-2 are set as note arrow lines. (2) As shown in FIG. 5 (a), input a plurality of points P0, P0 ', P1', P1 so that the arrow lines of notes do not overlap the parts, and as shown in FIG. The annotation arrow line is divided into several lines such as a line segment L2-1 connecting P0 'and a line segment L2-2 connecting points P1 and P1', and each start point and end point are input.
【0004】[0004]
【課題を解決するための手段】第1の発明は、前記課題
を解決するために、基板に配置する複数の部品の組立図
を製造する基板組立図製造装置のCADシステムにおい
て、以下の処理部を備えている。すなわち、注記矢印線
の始点と終点を入力する入力部と、前記始点と終点とを
結ぶ線分を作成するライン作成部と、前記線分と重なる
全ての前記部品について前記線分と重なりのない有効範
囲を求め、該有効範囲に基づき前記線分を全ての部品と
重なりのない複数個のラインに分割するライン切断部と
を、備えている。第2の発明では、第1の発明のライン
切断部は、複数個に分割したた各ラインについてその長
さが所定よりも短かければそのラインを削除するように
する。In order to solve the above-mentioned problems, a first aspect of the present invention is a CAD system of a board assembly drawing manufacturing apparatus for manufacturing an assembly drawing of a plurality of parts to be arranged on a board. Is equipped with. That is, an input unit for inputting the start point and the end point of the note arrow line, a line creation unit for creating a line segment connecting the start point and the end point, and all the parts that overlap the line segment do not overlap with the line segment. And a line cutting section that divides the line segment into a plurality of lines that do not overlap all parts based on the effective range. In the second invention, the line cutting unit of the first invention deletes each of the plurality of divided lines if the length is shorter than a predetermined length.
【0005】[0005]
【作用】第1の発明によれば、以上のように基板組立図
製造装置のCADシステムを構成したので、ライン切断
部はライン作成部により作成された注記矢印線の始点と
終点とを結ぶ線分と重なる全ての部品について、線分と
の重なり部分をカットする。これにより、線分が複数の
部品と重なりを持つ場合でも、いずれの部品とも重なり
を持たない複数のラインに分割される。従って、前記課
題を解決できるのである。According to the first aspect of the invention, since the CAD system of the board assembly drawing manufacturing apparatus is configured as described above, the line cutting unit connects the starting point and the ending point of the note arrow line created by the line creating unit. Cut the part that overlaps the line segment for all parts that overlap with the min. As a result, even when the line segment overlaps a plurality of parts, it is divided into a plurality of lines that do not overlap any part. Therefore, the above problem can be solved.
【0006】[0006]
【実施例】図1は、本発明の実施例を示す基板組立図製
造装置のCADシステムの構成図であり、図2中の要素
と同様の要素には同一の符号を付している。この基板組
立図製造装置のCADシステムが従来と異なる点は、ラ
イン作成部3により注記矢印線の始点と終点とを結ぶ線
分を作成した後、基板に組み立てる複数の部品の部品配
置データ11を用いてその線分と重なる全ての部品につ
いて、線分と重なりのない有効範囲を求め、この有効範
囲に基づいてその線分を全ての部品と重なりのない複数
個のラインに分割するライン切断部12を設け、このラ
イン切断部12により分割した複数のラインのデータを
出力データ格納部4に格納するようにしたことである。
この図に示すように、この基板組立図製造装置のCAD
システムに設けられたライン切断部12は、ライン作成
部3及び部品配置データ11の出力側に接続されてい
る。ライン切断部12の出力側には、出力データ格納部
4が接続されている。図6は、図1の基板組立図製造装
置のCADシステムの処理手順を示すフローチャートで
ある。図7(a)〜(d)は、図1の基板組立図製造装
置のCADシステムの処理内容を示す図である。図中、
KBは基板外形、D1,D2は部品、A1は部品D2の
部品配置逃げ領域である。以下、これらの図を参照しつ
つ図1の基板組立図製造装置のCADシステムの動作を
説明する。1 is a block diagram of a CAD system of a substrate assembly drawing manufacturing apparatus showing an embodiment of the present invention, in which elements similar to those in FIG. 2 are designated by like reference characters. The CAD system of this board assembly drawing manufacturing apparatus is different from the conventional one, after the line creation unit 3 creates a line segment connecting the start point and the end point of the note arrow line, and then the component placement data 11 of a plurality of components to be assembled on the board is displayed. A line cutting part that calculates the effective range that does not overlap the line segment for all parts that overlap with that line segment and divides the line segment into multiple lines that do not overlap all parts based on this effective range 12 is provided and the data of a plurality of lines divided by the line cutting unit 12 is stored in the output data storage unit 4.
As shown in this figure, the CAD of this board assembly drawing manufacturing apparatus
The line cutting unit 12 provided in the system is connected to the line creation unit 3 and the output side of the component placement data 11. The output data storage unit 4 is connected to the output side of the line cutting unit 12. FIG. 6 is a flowchart showing a processing procedure of the CAD system of the board assembly drawing manufacturing apparatus of FIG. 7A to 7D are diagrams showing the processing contents of the CAD system of the board assembly drawing manufacturing apparatus of FIG. In the figure,
KB is the outer shape of the board, D1 and D2 are components, and A1 is a component placement escape area of the component D2. The operation of the CAD system of the board assembly drawing manufacturing apparatus in FIG. 1 will be described below with reference to these drawings.
【0007】入力部1 入力部1では、図6中のステップ20において、図7
(a)に示すように注記矢印線の始点P0(x0,y0)及び終
点P1(x1,y1)の座標を入力し、この始点と終点をメモリ
などの入力データ格納部2に格納し、ステップ21に進
む。ライン作成部3 ステップ21において、図7(b)に示すように式
(1)で示される始点P0から終点P1 への直線と式
(2)で示される直線の有効範囲とを求めて、始点P0
と終点P1 を結ぶ線分L1を作成し、線分L1をライン
切断部12に出力する。ライン切断部12 まず、基板外形KB内に配置する各部品の配置領域を示
す部品配置データ11から、図7(c)に示すように全
ての部品についてその部品配置領域を一回り大きくした
点R0(xl,yl)・点R1(xr,yr)をそれぞれ矩形の左下・右
上座標にもつ部品配置逃げ領域A1を作成し、ステップ
22に進む。ステップ22において、未チェックの部品
配置逃げ領域があるかどうかを判別し、あればステップ
23に進み、なければステップ25に進む。ステップ2
3において、部品配置逃げ領域と線分が重なるかをチェ
ックし、重ならなければステップ22に戻り、重なれば
ステップ24に進む。ステップ24において、図7
(c)に示すように式(3)で示される部品配置逃げ領
域A1の式(4)で示される4線分と線分L1との交点
P0'(x0',y0') 、P1'(x1',y1') を求め、この交点から
式(5)で示される線分L1が部品配置逃げ領域と重な
らない有効範囲を求める。 Input unit 1 In the input unit 1, at step 20 in FIG.
As shown in (a), the coordinates of the starting point P0 (x0, y0) and the ending point P1 (x1, y1) of the note arrow line are input, and the starting point and the ending point are stored in the input data storage unit 2 such as a memory. Proceed to 21. In the line creation unit 3 step 21, the straight line from the starting point P0 shown in formula (1) to the ending point P1 and the effective range of the straight line shown in formula (2) are obtained as shown in FIG. P0
A line segment L1 connecting the end point P1 and the end point P1 is created, and the line segment L1 is output to the line cutting unit 12. Line cutting unit 12 First, from the component placement data 11 indicating the placement region of each component placed within the board outline KB, as shown in FIG. (xl, yl) · point R1 (xr, yr) is formed in the lower left / upper right coordinates of the rectangle, and the component placement escape area A1 is created, and the process proceeds to step 22. In step 22, it is determined whether or not there is an unchecked component placement escape area, and if there is, it proceeds to step 23, and if it does not, it proceeds to step 25. Step 2
In step 3, it is checked whether or not the component placement escape area and the line segment overlap. If they do not overlap, the process returns to step 22, and if they overlap, the process proceeds to step 24. In step 24, FIG.
As shown in (c), the intersections P0 '(x0', y0 ') and P1' (of the four line segments shown by equation (4) and the line segment L1 of the component placement escape area A1 shown by equation (3), P1 '( x1 ', y1') is obtained, and an effective range in which the line segment L1 represented by the equation (5) does not overlap the component arrangement escape area is obtained from this intersection.
【0008】 xl≦x≦xr かつ yl≦y≦yr ・・・(3) x=xl,x=xr,y=yl,y=yr ・・・(4) x0≦x≦x0' かつx1' ≦x≦x1 ・・・(5) この結果、図7(c)に示すように線分L1が点P0 と
P0'を結ぶ線分L1−1と、点P1'とP1 を結ぶ線分L
1−2に分割されることになる。さらに、この有効範囲
とこれまでに線分と重なる部品配置逃げ領域について求
めた有効範囲との共通の範囲を新たな有効範囲として求
め直す。これにより、この新たな有効範囲は、線分L1
を分割する複数のラインに対応する範囲に分けられる。
そして、この求め直した新たな有効範囲が所定よりも小
さいときはその部分の有効範囲を削除し、新たな有効範
囲を出力データ格納部6に格納する。その後、ステップ
22に戻る。表示部7 ステップ25において、その出力データ格納部6に格納
された最終的な有効範囲を注記矢印線Lとして図7
(d)に示すように、表示部7により表示装置8に表示
する。 以上のように、本実施例では、基板組立図製造装置のC
ADシステムに、ライン切断部12を設けたので、注記
矢印線を容易に作成することができ、人手による書き込
み作業がなくなるため基板組立図の製造時間を短縮する
ことができるという利点がある。さらに、カットされた
ラインが所定の長さよりも短くなったときに、そのライ
ンを削除するので注記矢印線が見にくくなることを防止
できるという利点がある。Xl ≦ x ≦ xr and yl ≦ y ≦ yr (3) x = xl, x = xr, y = yl, y = yr (4) x0 ≦ x ≦ x0 ′ and x1 ′ ≦ x ≦ x1 (5) As a result, as shown in FIG. 7C, the line segment L1 connects the points P0 and P0 ′ to the line segment L1-1 and the line segment L1 connects the points P1 ′ and P1.
It will be divided into 1-2. Further, a common range of this effective range and the effective range obtained so far for the component disposition relief area overlapping the line segment is recalculated as a new effective range. As a result, the new effective range is the line segment L1.
Is divided into a range corresponding to a plurality of lines for dividing.
Then, when the re-obtained new effective range is smaller than the predetermined value, the effective range of that portion is deleted, and the new effective range is stored in the output data storage unit 6. Then, the process returns to step 22. In the display unit 7 step 25, the final effective range stored in the output data storage unit 6 is set as a note arrow line L in FIG.
As shown in (d), it is displayed on the display device 8 by the display unit 7. As described above, in this embodiment, the C of the board assembly drawing manufacturing apparatus is used.
Since the line cutting unit 12 is provided in the AD system, the note arrow line can be easily created, and there is an advantage that the manufacturing time of the board assembly drawing can be shortened because manual writing work is eliminated. Further, when the cut line becomes shorter than a predetermined length, the line is deleted, so that it is possible to prevent the note arrow line from being difficult to see.
【0009】[0009]
【発明の効果】以上詳細に説明したように、第1,第2
の発明によれば、基板組立図製造装置のCADシステム
において、注記矢印線の始点と終点を結ぶ線分と重なる
全ての部品について線分との重なり部分をカットし、部
品と重なりを持たない複数個のラインに分割するライン
切断部を設けたので、注記矢印線を容易に作成すること
ができ、人手による書き込み作業がなくなるため基板組
立図の製造時間を短縮させることができる。As described in detail above, the first and second
According to the invention described above, in the CAD system of the board assembly drawing manufacturing apparatus, all the parts that overlap the line segment connecting the start point and the end point of the note arrow line are cut at the overlapping portions, and a plurality of parts that do not overlap with the part are cut. Since the line cutting section for dividing the line into individual lines is provided, the note arrow line can be easily created, and the manual writing work is eliminated, so that the manufacturing time of the board assembly drawing can be shortened.
【図1】本発明の実施例を示す基板組立図製造装置のC
ADシステムの構成図である。FIG. 1 is a board assembly drawing manufacturing apparatus C showing an embodiment of the present invention.
It is a block diagram of an AD system.
【図2】従来の基板組立図製造装置のCADシステムの
構成図である。FIG. 2 is a configuration diagram of a CAD system of a conventional board assembly drawing manufacturing apparatus.
【図3】図2の処理内容を示す図である。FIG. 3 is a diagram showing the processing contents of FIG.
【図4】従来の問題点を示す図である。FIG. 4 is a diagram showing a conventional problem.
【図5】従来の問題点を示す図である。FIG. 5 is a diagram showing a conventional problem.
【図6】図1のフローチャートである。FIG. 6 is a flowchart of FIG.
【図7】図1の処理内容を示す図である。FIG. 7 is a diagram showing the processing contents of FIG. 1.
1 入力部 2 入力データ格納部 3 ライン作成部 4 出力データ格納部 5 表示部 6 表示装置 11 部品配置データ 12 ライン切断部 1 Input Section 2 Input Data Storage Section 3 Line Creation Section 4 Output Data Storage Section 5 Display Section 6 Display Device 11 Parts Placement Data 12 Line Cutting Section
Claims (2)
造する基板組立図製造装置のCADシステムにおいて、 注記矢印線の始点と終点を入力する入力部と、 前記始点と終点とを結ぶ線分を作成するライン作成部
と、 前記線分と重なる全ての前記部品について前記線分と重
なりのない有効範囲を求め、該有効範囲に基づき前記線
分を全ての部品と重なりのない複数個のラインに分割す
るライン切断部とを、 備えたことを特徴とする基板組立図製造装置のCADシ
ステム。1. In a CAD system of a board assembly drawing manufacturing apparatus for manufacturing an assembly drawing of a plurality of components arranged on a board, an input unit for inputting a start point and an end point of an annotation arrow line, and a line connecting the start point and the end point. A line creation unit that creates a segment, and obtains an effective range that does not overlap the line segment for all the parts that overlap with the line segment, and based on the effective range, divides the line segment into a plurality of parts that do not overlap with all the parts. A CAD system of a board assembly drawing manufacturing apparatus, comprising: a line cutting unit that divides into lines.
各ラインについてその長さが所定よりも短かければその
ラインを削除するようにしたことを特徴とする請求項1
記載の基板組立図製造装置のCADシステム。2. The line cutting unit deletes each line divided into a plurality of lines if the length thereof is shorter than a predetermined length.
CAD system of the described board assembly drawing manufacturing apparatus.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6149954A JPH0816630A (en) | 1994-06-30 | 1994-06-30 | Cad system for substrate assembling diagram production device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6149954A JPH0816630A (en) | 1994-06-30 | 1994-06-30 | Cad system for substrate assembling diagram production device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0816630A true JPH0816630A (en) | 1996-01-19 |
Family
ID=15486232
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6149954A Withdrawn JPH0816630A (en) | 1994-06-30 | 1994-06-30 | Cad system for substrate assembling diagram production device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0816630A (en) |
-
1994
- 1994-06-30 JP JP6149954A patent/JPH0816630A/en not_active Withdrawn
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0765201A (en) | Shape modeling device and shape modeling method | |
| JPH0816630A (en) | Cad system for substrate assembling diagram production device | |
| JP2912227B2 (en) | 3D shape generation method | |
| JPH0616290B2 (en) | Method for defining shape of three-dimensional connected body | |
| JP3305395B2 (en) | Figure division device | |
| JP2000048218A (en) | Computer-aided design apparatus, computer-aided design method, and recording medium recording computer-aided design program | |
| JP2713582B2 (en) | Plot editor | |
| JP2000187680A (en) | Printed circuit board design system and printed circuit board design method using the same | |
| JP3654450B2 (en) | CAD system | |
| JP3377394B2 (en) | Apparatus and method for identifying shape of object | |
| JP3254286B2 (en) | Plate mask making equipment | |
| JPH0731671B2 (en) | Formula input editing method | |
| JP2526092B2 (en) | Dimension check method in CAD system | |
| JP2916534B2 (en) | Table output device | |
| JP2959513B2 (en) | Integrated circuit design flow generation system | |
| JP3006988B2 (en) | Spreadsheet apparatus and data management method for spreadsheet apparatus | |
| JPH11185046A (en) | Graphic editing apparatus, layout processing method, and storage medium | |
| JPH0352004A (en) | Cad/cam device | |
| JP3681240B2 (en) | Three-dimensional shape display method and three-dimensional CAD system using the method | |
| JP2554906B2 (en) | Right-justified edit input control method | |
| JP3274905B2 (en) | How to process CAD data | |
| JPS6330984A (en) | Graphic processing device | |
| JPH02171963A (en) | Lead distribution design system | |
| JPS63178372A (en) | Polyhedral shape forming device | |
| JPH03245272A (en) | Logic circuit production system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20010904 |