JPH0844783A - Graphic processor - Google Patents

Graphic processor

Info

Publication number
JPH0844783A
JPH0844783A JP6176814A JP17681494A JPH0844783A JP H0844783 A JPH0844783 A JP H0844783A JP 6176814 A JP6176814 A JP 6176814A JP 17681494 A JP17681494 A JP 17681494A JP H0844783 A JPH0844783 A JP H0844783A
Authority
JP
Japan
Prior art keywords
solid model
input
dimensional
arc
shape data
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
JP6176814A
Other languages
Japanese (ja)
Inventor
Masahiko Haraguchi
雅彦 原口
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP6176814A priority Critical patent/JPH0844783A/en
Publication of JPH0844783A publication Critical patent/JPH0844783A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PURPOSE:To provide the graphic processor with superior reliability and operability which can restore a three-dimensional solid model without correcting a two-dimensional trihedral drawing by automatically converting an arc part that can not be restored to the three-dimensional solid model on the two-dimensional trihedral drawing into shape data which can be restored. CONSTITUTION:This graphic processor is equipped with an input part 1 for input specification, a display part 2 for display, and a control part 7 having a two-dimensional drawing input means 4 which inputs shape data, etc., a solid model converting means 5 which restores the solid model, and a solid model display means 6 which displays the converted solid model, and also has a beveling conversion means 3 which substitutes a segment connecting the end points of the arc of arc data for the arc.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は特にComputer
Aided Design(以下CADと略す)と呼ば
れる図形処理装置に関するものである。
FIELD OF THE INVENTION The present invention is particularly applicable to Computers.
The present invention relates to a graphic processing device called Aided Design (hereinafter abbreviated as CAD).

【0002】[0002]

【従来の技術】近年、2次元の3面図で描かれた図面か
ら各面図間の図形要素の整合性または合致性を調整し、
3次元の立体図面であるソリッドモデルへの復元が行わ
れている。
2. Description of the Related Art In recent years, the consistency or conformity of graphic elements between each drawing is adjusted from a drawing drawn in a two-dimensional three-view drawing,
Restoration to a solid model, which is a three-dimensional solid drawing, is being performed.

【0003】以下に従来の図形処理装置について、図面
を参照しながら説明する。図18は従来の図形処理装置
の機能ブロック図である。10は文字,数値,図形要
素,位置等の入力,指定を行う入力部、11は入力部1
0で入力された文字,数値,図形要素,位置等を表示す
る表示部、12は入力部10で入力指定された形状デー
タ等を入力する2次元図面入力手段、13は2次元図面
入力手段12で入力された3面図の形状データ等をもと
にソリッドモデルを復元するソリッドモデル変換手段、
14はソリッドモデル変換手段13で変換された3次元
の図形要素を表示するソリッドモデル表示手段、15は
装置全体の制御を行う制御部である。
A conventional graphic processing apparatus will be described below with reference to the drawings. FIG. 18 is a functional block diagram of a conventional graphic processing device. Reference numeral 10 is an input section for inputting and designating characters, numerical values, graphic elements, positions, etc., 11 is an input section 1.
A display unit for displaying characters, numerical values, graphic elements, positions, etc. input by 0, 12 is a two-dimensional drawing input unit for inputting shape data, etc. specified by the input unit 10, and 13 is a two-dimensional drawing input unit 12 Solid model conversion means for restoring a solid model based on the shape data of the three views input in
Reference numeral 14 is a solid model display means for displaying the three-dimensional graphic elements converted by the solid model conversion means 13, and reference numeral 15 is a control unit for controlling the entire apparatus.

【0004】以上のように構成された従来の図形処理装
置について、以下その動作を説明する。図19は従来の
図形処理装置のフローチャートであり、図20は従来の
図形処理装置の変換前後の3面図及び3次元ソリッドモ
デルの一例を示す図である。まず、2次元で描かれた3
面図データを読み込む(S1)。次に、S1で読み込ん
だデータをもとに各方向から見た面図間のデータの整合
性または合致性を考慮して、3次元座標軸上に全てのデ
ータを取り込む(S2)。次に、S2で取り込まれたデ
ータをもとに3次元座標軸上の閉じた立体として構成で
きるか判断する(S3)。Noである場合はS1へジャ
ンプし、Yesである場合は3次元形状のソリッドモデ
ルとして復元する(S4)。
The operation of the conventional graphic processing apparatus having the above-described structure will be described below. FIG. 19 is a flowchart of a conventional graphic processing apparatus, and FIG. 20 is a diagram showing a three-dimensional view of a conventional graphic processing apparatus before and after conversion and an example of a three-dimensional solid model. First, 3 drawn in two dimensions
The plan data is read (S1). Next, based on the data read in S1, all the data are loaded on the three-dimensional coordinate axes in consideration of the matching or matching of the data between the views viewed from each direction (S2). Next, based on the data captured in S2, it is determined whether or not it can be configured as a closed solid on the three-dimensional coordinate axes (S3). If No, the process jumps to S1, and if Yes, a three-dimensional solid model is restored (S4).

【0005】[0005]

【発明が解決しようとする課題】しかしながら上記従来
の構成では、円,円環,円錐等の円弧を有する図形にお
いて、2次元の3面図で正確な形状を表すことができな
い場合や、2次元の3面図による形状データだけでは各
図面間の整合性,合致性またはデータ不足のために、3
次元座標軸上において完全な閉じた立体を作成すること
ができない場合があり、正確な3次元のソリッドモデル
を復元することができず、ソリッドモデルを復元できな
い場合には2次元の3面図における各図面間の整合性ま
たは合致性を再び考慮して変換させなくてはならず信頼
性,作業性に欠けるという問題点を有していた。
However, in the above-mentioned conventional configuration, in the case of a figure having an arc such as a circle, an annulus, or a cone, a two-dimensional three-dimensional drawing cannot represent an accurate shape or a two-dimensional figure. However, if the shape data from the three views is not consistent, there is a lack of data because of the consistency and conformity between drawings.
In some cases, it may not be possible to create a completely closed solid on the dimensional coordinate axes, and it is not possible to restore an accurate three-dimensional solid model. There was a problem in that reliability and workability were lacking because conversion had to be performed again considering consistency or conformity between drawings.

【0006】本発明は上記従来の問題点を解決するもの
で、2次元の3面図上における3次元のソリッドモデル
に復元不可能な円弧部分を、復元できる形状データに自
動的に変換して、2次元の3面図の修正を行うことなく
3次元のソリッドモデルを復元することができる信頼
性,作業性に優れた図形処理装置を提供することを目的
とする。
The present invention solves the above-mentioned problems of the prior art by automatically converting an arc portion that cannot be restored to a three-dimensional solid model on a two-dimensional three-view drawing into shape data that can be restored. An object of the present invention is to provide a graphic processing device which is capable of restoring a three-dimensional solid model without modifying a two-dimensional three-view drawing and which is excellent in reliability and workability.

【0007】[0007]

【課題を解決するための手段】この目的を達成するため
に本発明の請求項1に記載の図形処理装置は文字,数
値,図形要素,位置等の入力,指定を行う入力部と、入
力部で入力された文字,数値,図形要素,位置等を表示
する表示部と、入力部で入力指定された形状データ等を
入力する2次元図面入力手段と、2次元図面入力手段で
入力された3面図の形状データ等をもとにソリッドモデ
ルを復元するソリッドモデル変換手段と、ソリッドモデ
ル変換手段で変換された3次元の図形要素を表示するソ
リッドモデル表示手段と、を有する制御部と、を備えて
いる図形処理装置であって、制御部が入力部で入力指定
された形状データの円弧を円弧の端点を結ぶ線分に置換
する面取り変換手段を有しており、請求項2に記載の図
形処理装置は文字,数値,図形要素,位置等の入力,指
定を行う入力部と、入力部で入力された文字,数値,図
形要素,位置等を表示する表示部と、入力部で入力指定
された形状データ等を入力する2次元図面入力手段と、
2次元図面入力手段で入力された3面図の形状データ等
をもとにソリッドモデルを復元するソリッドモデル変換
手段と、ソリッドモデル変換手段で変換された3次元の
図形要素を表示するソリッドモデル表示手段と、を有す
る制御部と、を備えている図形処理装置であって、制御
部が入力部で入力指定された形状データの円弧を円弧の
各端点と各端点における接線の交点とを結ぶ線分に置換
する角付け変換手段を有しており、請求項3に記載の図
形処理装置は文字,数値,図形要素,位置等の入力,指
定を行う入力部と、入力部で入力された文字,数値,図
形要素,位置等を表示する表示部と、入力部で入力指定
された形状データ等を入力する2次元図面入力手段と、
2次元図面入力手段で入力された3面図の形状データ等
をもとにソリッドモデルを復元するソリッドモデル変換
手段と、ソリッドモデル変換手段で変換された3次元の
図形要素を表示するソリッドモデル表示手段と、を有す
る制御部と、を備えている図形処理装置であって、制御
部が入力部で入力指定された形状データの円弧を円弧の
分割点を結ぶ線分に置換する分割面取り変換手段を有し
た構成を有している。
In order to achieve this object, a graphic processing apparatus according to claim 1 of the present invention comprises an input section for inputting and designating characters, numerical values, graphic elements, positions, etc., and an input section. The display unit for displaying the characters, numerical values, graphic elements, positions, etc. input in step 2, the two-dimensional drawing input means for inputting the shape data etc. specified by the input section, and the three-dimensional drawing input means for inputting 3 And a control unit having a solid model conversion means for restoring a solid model based on the shape data of the floor plan, and a solid model display means for displaying the three-dimensional graphic elements converted by the solid model conversion means. The graphic processing device provided, wherein the control unit has chamfering conversion means for replacing the arc of the shape data input and designated by the input unit with a line segment connecting the end points of the arc, and The graphics processor is a character, The input section for inputting and specifying values, graphic elements, positions, etc., the display section for displaying the characters, numerical values, graphic elements, positions, etc. input by the input section, and the shape data etc. specified by the input section Two-dimensional drawing input means for inputting,
Solid model conversion means for restoring a solid model based on the shape data of the three views input by the two-dimensional drawing input means, and solid model display for displaying the three-dimensional graphic elements converted by the solid model conversion means A graphic processing device comprising: a control unit having means; and a line connecting the arcs of the shape data input and designated by the input unit by the control unit to each end point of the arc and the intersection of the tangents at each end point. The graphic processing device according to claim 3, further comprising squaring conversion means for substituting minutes, an input unit for inputting and designating characters, numerical values, graphic elements, positions, etc., and a character input by the input unit. , A display unit for displaying numerical values, graphic elements, positions, etc., and a two-dimensional drawing input means for inputting shape data etc. designated by the input unit,
Solid model conversion means for restoring a solid model based on the shape data of the three views input by the two-dimensional drawing input means, and solid model display for displaying the three-dimensional graphic elements converted by the solid model conversion means And a control unit having means, wherein the control unit replaces the circular arc of the shape data input and designated by the input unit with a line segment connecting the division points of the circular arc. It has a configuration with.

【0008】ここで、分割面取り変換手段としては、対
象円弧の半径に応じて分割数を変化させることができ
る。
Here, the dividing / chamfering converting means can change the dividing number according to the radius of the target arc.

【0009】[0009]

【作用】この構成によって、入力部が文字,数値,図形
要素,位置等の入力,指定を行い、表示部が入力部で入
力された文字,数値,図形要素,位置等を表示し、制御
部の2次元図面入力手段が入力部で入力指定された形状
データ等を入力し、ソリッドモデル変換手段が2次元図
面入力手段で入力された3面図の形状データ等をもとに
ソリッドモデルを復元し、ソリッドモデル表示手段がソ
リッドモデル変換手段で変換された3次元の図形要素を
表示し、面取り変換手段が入力部で入力指定された形状
データの円弧を前記円弧の端点を結ぶ線分に置換し、角
付け変換手段が入力部で入力指定された形状データの円
弧を前記円弧の各端点と前記各端点における接線の交点
とを結ぶ線分に置換し、分割面取り変換手段が入力部で
入力指定された形状データの円弧を前記円弧の分割点を
結ぶ線分に置換するために、ソリッドモデルに変換不可
能な円弧部分を整合性,合致性を考慮しながら近似を行
い、3次元ソリッドモデルに変換可能な形状データに変
換することができる。
With this configuration, the input unit inputs and specifies characters, numerical values, graphic elements, positions, etc., and the display unit displays the characters, numerical values, graphic elements, positions, etc. input by the input unit, and the control unit The 2D drawing input means inputs the shape data etc. specified by the input section, and the solid model conversion means restores the solid model based on the 3D drawing shape data etc. inputted by the 2D drawing input means. Then, the solid model display means displays the three-dimensional graphic element converted by the solid model conversion means, and the chamfer conversion means replaces the arc of the shape data input and designated by the input section with the line segment connecting the end points of the arc. Then, the squaring conversion means replaces the circular arc of the shape data input and designated by the input section with a line segment connecting each end point of the circular arc and an intersection of tangents at each end point, and the divided chamfer conversion means inputs it at the input section. The specified shape In order to replace the arc of the data with the line segment that connects the dividing points of the arc, the arc part that cannot be converted to the solid model can be approximated while considering the consistency and matching, and can be converted to the 3D solid model. It can be converted into shape data.

【0010】[0010]

【実施例】【Example】

(実施例1)以下本発明の一実施例における図形処理装
置について、図面を参照しながら説明する。図1は本発
明の第1の実施例における図形処理装置の機能ブロック
図である。1は入力部、2は表示部、4は2次元図面入
力手段、5はソリッドモデル変換手段、6はソリッドモ
デル表示手段、7は制御部であり、従来と同様なものな
ので説明を省略する。3は前記入力部1で入力指定され
た形状データの円弧を前記円弧の端点を結ぶ線分に置換
する面取り変換手段である。
(Embodiment 1) A graphic processing apparatus according to an embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a functional block diagram of a graphic processing apparatus according to the first embodiment of the present invention. Reference numeral 1 is an input unit, 2 is a display unit, 4 is a two-dimensional drawing input unit, 5 is a solid model conversion unit, 6 is a solid model display unit, and 7 is a control unit. Reference numeral 3 denotes a chamfer conversion means for replacing the arc of the shape data input and designated by the input unit 1 with a line segment connecting the end points of the arc.

【0011】以上のように構成された本発明の図形処理
装置について、以下その動作について説明を行う。図2
は本発明の第1の実施例における図形処理装置のフロー
チャートであり、図3は本発明の第1の実施例における
図形処理装置の変換前後の3面図及び3次元ソリッドモ
デルの一例を示す図であり、図4は本発明の第1の実施
例における図形処理装置の変換過程の3面図の一例を示
す図であり、図5は本発明の第1の実施例における図形
処理装置のフローチャートであり、図6は本発明の第1
の実施例における図形処理装置の2以上の円弧が混在す
る場合の変換前後の3面図及び3次元ソリッドモデルの
一例を示す図であり、図7は本発明の第1の実施例にお
ける図形処理装置の2以上の円弧が混在する場合の変換
過程の3面図の一例を示す図である。まず、図2に示す
ように、2次元の3面図より3次元のソリッドモデルに
変換不可能な円弧部分を3面図より取り出す(S5)。
ここでは、図3のCにおける正面図の円弧が対象とな
る。次に、S5で取り出された円弧が含まれる線分を図
4のEに示すように他の面図から検出する(S6)。次
に、取り出した円弧の形状を表す線分を他の図面から検
出する(S7)。次に、候補となる線分の長さを図9の
Fに示すようにS5で選択した線分の間で限定する(S
8)。次に、対象円弧の端点を各面図に投影した点を基
点にしてS8で取り出した線分の傾き及び長さをもとに
して図4のGに示すようなC面エッジ線を作成する(S
9)。次に、図4のHに示すような、円弧の端点同士を
結ぶC面線に置き換える(S10)。次に、2次元図面
入力手段4によって、S5乃至S10で得られたデータ
を3次元座標軸上に取り込む(S11)。次に、ソリッ
ドモデル変換手段5によってS11で得られたデータを
もとにして3次元のソリッドモデルを復元する(S1
2)。次に、ソリッドモデル表示手段6によって、S1
1で復元されたソリッドモデルを表示部2に表示する
(S13)。
The operation of the graphic processing apparatus of the present invention configured as described above will be described below. Figure 2
FIG. 3 is a flow chart of the graphic processing apparatus according to the first embodiment of the present invention, and FIG. 3 is a diagram showing a three-dimensional view before and after conversion of the graphic processing apparatus according to the first embodiment of the present invention and an example of a three-dimensional solid model. FIG. 4 is a diagram showing an example of three views of the conversion process of the graphic processing apparatus in the first embodiment of the present invention, and FIG. 5 is a flow chart of the graphic processing apparatus in the first embodiment of the present invention. FIG. 6 shows the first embodiment of the present invention.
FIGS. 7A and 7B are diagrams showing an example of a three-dimensional view and a three-dimensional solid model before and after conversion when two or more arcs of the graphic processing apparatus in the embodiment are mixed, and FIG. 7 is a graphic processing in the first embodiment of the present invention. It is a figure which shows an example of the 3rd figure of the conversion process in case two or more arcs of a device coexist. First, as shown in FIG. 2, an arc portion that cannot be converted into a three-dimensional solid model from the two-dimensional three-view drawing is extracted from the three-view drawing (S5).
Here, the arc of the front view in C of FIG. 3 is targeted. Next, a line segment including the arc extracted in S5 is detected from another plan as shown in E of FIG. 4 (S6). Next, a line segment representing the shape of the extracted arc is detected from another drawing (S7). Next, the length of the candidate line segment is limited to the line segment selected in S5 as shown in F of FIG. 9 (S
8). Next, a C-plane edge line as shown in G of FIG. 4 is created based on the inclination and length of the line segment extracted in S8, with the point at which the end point of the target arc is projected on each plan as the base point. (S
9). Next, it is replaced with a C-plane line connecting the end points of the circular arc as shown in H of FIG. 4 (S10). Next, the two-dimensional drawing input means 4 takes in the data obtained in S5 to S10 on the three-dimensional coordinate axes (S11). Next, the solid model converting means 5 restores a three-dimensional solid model based on the data obtained in S11 (S1).
2). Next, by the solid model display means 6, S1
The solid model restored in 1 is displayed on the display unit 2 (S13).

【0012】ここで、2次元の3面図に2以上の円弧が
混在する場合について説明する。まず、図5に示すよう
に、S5乃至S10と同様にしてC面エッジ線及びC面
線を作成する。次に、C面エッジ線及びC面線にレベル
を付加し、C面エッジ線には円弧の両端点からでる線分
にペアを作りシーケンシャルに番号を付ける(S1
4)。ここでは、最初に作成される線分のレベルをL
1、図7のFの正面図に示すペアをP1、右側面図に示
すペアをP2とする。次に、C面エッジ線及びC面線を
引く際に、他のC面エッジ線及びC面線と交差するか判
断する(S15)。Noである場合はS14へジャンプ
し、Yesである場合は交差するC面エッジ線のレベル
がL1であるか判断する(S16)。Yesである場合
はレベルL1のC面エッジ線と交差する側を残し、他方
を交差する点まで削除する(S17)。Noである場合
は交差する線分のペア同士の交点を結ぶ線分をレベルL
2の線分として作成する(S18)。ここで、図7のH
に示すように、新たに作成するレベルL2の線分が他の
線分と交差する場合には、交差するところまでを線分と
する。次に、S11乃至S13と同様にしてソリッドモ
デルを復元する。
Here, a case where two or more arcs are mixed in a two-dimensional three-view drawing will be described. First, as shown in FIG. 5, C-plane edge lines and C-plane lines are created in the same manner as S5 to S10. Next, a level is added to the C-plane edge line and the C-plane line, and the C-plane edge line is sequentially paired with line segments extending from both end points of the arc (S1).
4). Here, the level of the line segment created first is L
1, the pair shown in the front view of F in FIG. 7 is P1, and the pair shown in the right side view is P2. Next, when drawing the C-plane edge line and the C-plane line, it is determined whether or not they intersect with other C-plane edge lines and the C-plane line (S15). If No, the process jumps to S14, and if Yes, it is determined whether the level of the intersecting C-plane edge line is L1 (S16). If Yes, the side that intersects with the C-plane edge line of level L1 is left, and the other point is deleted (S17). If No, the line segment connecting the intersections of the pair of intersecting line segments is level L.
It is created as a line segment of 2 (S18). Here, H in FIG.
As shown in, when the newly created line segment of level L2 intersects with another line segment, the line segment is defined up to the intersection. Next, the solid model is restored in the same manner as S11 to S13.

【0013】(実施例2)以下本発明の第2の実施例に
おける図形処理装置について、図面を参照しながら説明
する。図8は本発明の第2の実施例における図形処理装
置の機能ブロック図である。1は入力部、2は表示部、
4は2次元図面入力手段、5はソリッドモデル変換手
段、6はソリッドモデル表示手段、7は制御部であり、
従来と同様なものなので説明を省略する。8は前記入力
部1で入力指定された形状データの円弧を前記円弧の各
端点と前記各端点における接線の交点とを結ぶ線分に置
換する角付け変換手段である。
(Embodiment 2) A graphic processing apparatus according to a second embodiment of the present invention will be described below with reference to the drawings. FIG. 8 is a functional block diagram of the graphic processing apparatus according to the second embodiment of the present invention. 1 is an input unit, 2 is a display unit,
Reference numeral 4 is a two-dimensional drawing input means, 5 is a solid model conversion means, 6 is a solid model display means, 7 is a control unit,
The description is omitted because it is the same as the conventional one. Reference numeral 8 denotes squaring conversion means for replacing the arc of the shape data input and designated by the input unit 1 with a line segment connecting each end point of the arc and the intersection of the tangent lines at each end point.

【0014】以上のように構成された本発明の図形処理
装置について、以下その動作について説明を行う。図9
は本発明の第2の実施例における図形処理装置のフロー
チャートであり、図10は本発明の第2の実施例におけ
る図形処理装置の変換前後の3面図及び3次元ソリッド
モデルの一例を示す図であり、図11は本発明の第2の
実施例における図形処理装置の変換過程の3面図の一例
を示す図であり、図12は本発明の第2の実施例におけ
る図形処理装置の変換前後の3面図及び3次元ソリッド
モデルの一例を示す図であり、図13は本発明の第2の
実施例における図形処理装置の変換過程の3面図の一例
を示す図である。まず、図9に示すように、2次元の3
面図より3次元のソリッッドモデルに変換不可能な円弧
を取り出す(S19)。次に、S19で取り出した円弧
の各端点に接線を引き、図11のFに示すような円弧の
端点と前記円弧における接線の交点とを結ぶ線分を作成
する(S20)。次に、円弧の端点における接線が共に
X軸に平行であるか判断する(S21)。Yesである
場合はS23へジャンプし、Noである場合はX軸方向
にある面図に対して、接線の交点を投影した点を通る線
分を発生させる(S22)。次に、円弧の端点における
接線が共にY軸に平行であるか判断する(S23)。Y
esである場合はS25へジャンプし、Noである場合
はY軸方向にある面図に対して、接線の交点を投影した
点を通る線分を発生させる(S24)。次に、2次元図
面入力手段4によって、面取り変換手段3で得られたデ
ータを3次元座標軸上に入力する(S25)。次に、ソ
リッドモデル変換手段5によってS25で得られたデー
タをもとにして3次元のソリッドモデルを復元する(S
26)。次に、ソリッドモデル表示手段6によって、S
26で復元されたソリッドモデルを表示部2に表示する
(S27)。
The operation of the graphic processing apparatus of the present invention configured as described above will be described below. Figure 9
FIG. 10 is a flow chart of the graphic processing apparatus according to the second embodiment of the present invention, and FIG. 10 is a diagram showing an example of a three-dimensional view and a three-dimensional solid model before and after conversion of the graphic processing apparatus according to the second embodiment of the present invention. FIG. 11 is a diagram showing an example of a three-view drawing of the conversion process of the graphic processing device according to the second embodiment of the present invention, and FIG. 12 is a conversion of the graphic processing device according to the second embodiment of the present invention. FIG. 13 is a diagram showing an example of front and rear three views and an example of a three-dimensional solid model, and FIG. 13 is a diagram showing an example of three views of a conversion process of the graphic processing apparatus according to the second embodiment of the present invention. First, as shown in FIG. 9, two-dimensional 3
An arc that cannot be converted into a three-dimensional solid model is extracted from the plan view (S19). Next, a tangent line is drawn to each end point of the arc extracted in S19 to create a line segment connecting the end point of the arc and the intersection of the tangent lines in the arc as shown in F of FIG. 11 (S20). Next, it is determined whether the tangents at the end points of the arc are both parallel to the X axis (S21). If Yes, the process jumps to S23, and if No, a line segment that passes through the point where the intersection of the tangents is projected is generated for the plan in the X-axis direction (S22). Next, it is determined whether the tangents at the end points of the arc are both parallel to the Y axis (S23). Y
If it is es, the process jumps to S25. If it is No, a line segment passing through the point where the intersection of the tangents is projected is generated for the plan in the Y-axis direction (S24). Next, the two-dimensional drawing input means 4 inputs the data obtained by the chamfer conversion means 3 on the three-dimensional coordinate axes (S25). Next, the solid model converting means 5 restores a three-dimensional solid model based on the data obtained in S25 (S).
26). Next, by the solid model display means 6, S
The solid model restored in 26 is displayed on the display unit 2 (S27).

【0015】ここで、対象円弧の角付けを行った後に発
生する他の面図に対する交点を投影した新しい形状を表
す線分の引く範囲を決定する処理について説明する。ま
ず、平面図に対して円弧の対応する線分を探索する。こ
こでは、図13のEに示すように、4本の線分が候補と
してあがる。この円弧に角付けにより発生する投影線は
図13のFに示すように4本の線分の間に3本まで引く
ことができるが、全て引くことができるか判断すること
ができないので、先に右側面図に対して同様の処理を行
う。ここでは、図13のGに示すように、4本の候補線
が検出されるとともに、図13のHに示すように円弧の
形状を表す線分の候補として2本が検出され、線分間の
投影線を限定する。次に、右側面図において、限定され
た投影線を平面図に対してフィードバックさせて、図1
3のIに示すように投影線を2本に限定する。
Now, the process of determining the drawing range of a line segment representing a new shape obtained by projecting an intersection point with respect to another plan view that occurs after cornering of the target arc will be described. First, the corresponding line segment of the circular arc is searched for in the plan view. Here, as shown in E of FIG. 13, four line segments are candidates. The projection line generated by squaring this arc can draw up to three lines between four line segments as shown in F of FIG. 13, but it is impossible to judge whether all lines can be drawn. Then, the same processing is performed on the right side view. Here, as shown by G in FIG. 13, four candidate lines are detected, and as shown by H in FIG. 13, two candidate lines are detected as line segment candidates that represent the shape of the arc. Limit the projection line. Next, in the right side view, the limited projection line is fed back to the plan view to
The number of projection lines is limited to two as indicated by I in 3.

【0016】(実施例3)以下本発明の第3の実施例に
おける図形処理装置について、図面を参照しながら説明
する。図14は本発明の第3の実施例における図形処理
装置の機能ブロック図である。1は入力部、2は表示
部、4は2次元図面入力手段、5はソリッドモデル変換
手段、6はソリッドモデル表示手段、7は制御部であ
り、従来と同様なものなので説明を省略する。9は前記
入力部1で入力指定された形状データの円弧を前記円弧
の分割点を結ぶ線分に置換する分割面取り変換手段であ
る。
(Embodiment 3) A graphic processing apparatus according to a third embodiment of the present invention will be described below with reference to the drawings. FIG. 14 is a functional block diagram of the graphic processing apparatus in the third embodiment of the present invention. Reference numeral 1 is an input unit, 2 is a display unit, 4 is a two-dimensional drawing input unit, 5 is a solid model conversion unit, 6 is a solid model display unit, and 7 is a control unit. Reference numeral 9 denotes a division chamfer conversion means for replacing the arc of the shape data input and designated by the input unit 1 with a line segment connecting the division points of the arc.

【0017】以上のように構成された本発明の図形処理
装置について、以下その動作について説明を行う。図1
5は本発明の第3の実施例における図形処理装置のフロ
ーチャートであり、図16は本発明の第3の実施例にお
ける図形処理装置の変換前後の3面図及び3次元ソリッ
ドモデルの一例を示す図であり、図17は本発明の第3
の実施例における図形処理装置の変換過程の3面図の一
例を示す図である。まず、図15に示すように、3次元
のソリッドモデルに変換不可能な円弧を取り出す(S2
8)。次に、S28で取り出した円弧の分割数を決定す
るために円弧の半径を検出する(S29)。次に、S2
9で検出された半径に応じて分割する角度を決定する
(S30)。ここでは、円弧の半径をキーとした変換表
をもとに分割角度を決定する。次に、図18のFに示す
ように円弧の分割点を結ぶ線分を引くとともにもとの円
弧を消去する(S31)。次に、S31で引かれた線分
により、他の面図に発生する投影線分を実施例2と同様
にして、図17のGに示すように平面図及び右側面図に
追加する(S32)。次に、実施例2のS25乃至S2
7と同様にしてソリッドモデルへの変換処理を行う(S
33乃至S35)。
The operation of the graphic processing apparatus of the present invention configured as described above will be described below. FIG.
5 is a flow chart of the graphic processing apparatus according to the third embodiment of the present invention, and FIG. 16 shows an example of a three-dimensional view and a three-dimensional solid model before and after conversion of the graphic processing apparatus according to the third embodiment of the present invention. FIG. 17 shows the third embodiment of the present invention.
FIG. 6 is a diagram showing an example of a three-view diagram of a conversion process of the graphic processing device in the embodiment of the present invention. First, as shown in FIG. 15, an arc that cannot be converted into a three-dimensional solid model is extracted (S2
8). Next, the radius of the circular arc is detected to determine the number of divisions of the circular arc extracted in S28 (S29). Next, S2
The angle to be divided is determined according to the radius detected in 9 (S30). Here, the division angle is determined based on the conversion table using the radius of the arc as a key. Next, as shown in F of FIG. 18, a line segment connecting the division points of the arc is drawn and the original arc is erased (S31). Next, by using the line segment drawn in S31, a projection line segment generated in another plan view is added to the plan view and the right side view as shown in G of FIG. 17 in the same manner as in Example 2 (S32). ). Next, S25 to S2 of the second embodiment
Conversion processing to a solid model is performed in the same manner as in 7 (S
33 to S35).

【0018】尚、本実施例では分割・近似変換手段にお
いて対象円弧を2つに分割したが対象円弧の半径に応じ
て分割角度を決定し、分割数を変化させることができ
る。
In this embodiment, the division / approximation conversion means divides the target arc into two, but the division angle can be determined according to the radius of the target arc, and the number of divisions can be changed.

【0019】[0019]

【発明の効果】以上のように本発明は、入力部が文字,
数値,図形要素,位置等の入力,指定を行い、表示部が
入力部で入力された文字,数値,図形要素,位置等を表
示し、制御部の2次元図面入力手段が入力部で入力指定
された形状データ等を入力し、ソリッドモデル変換手段
が2次元図面入力手段で入力された3面図の形状データ
等をもとにソリッドモデルを復元し、ソリッドモデル表
示手段がソリッドモデル変換手段で変換された3次元の
図形要素を表示し、面取り変換手段が入力部で入力指定
された形状データの円弧を前記円弧の端点を結ぶ線分に
置換し、角付け変換手段が入力部で入力指定された形状
データの円弧を前記円弧の各端点と前記各端点における
接線の交点とを結ぶ線分に置換し、分割面取り変換手段
が入力部で入力指定された形状データの円弧を前記円弧
の分割点を結ぶ線分に置換するために、ソリッドモデル
に変換不可能な円弧部分を整合性,合致性を考慮しなが
ら近似を行い、3次元ソリッドモデルに変換可能な形状
データに変換することができるので形状データの整合性
または合致性を調整せずに、正確な3次元のソリッドモ
デルを復元することができる信頼性,作業性に優れた図
形処理装置を実現できるものである。
As described above, according to the present invention, the input section is composed of characters,
Numerical values, graphic elements, positions, etc. are input and specified, the display section displays the characters, numerical values, graphic elements, positions, etc. input by the input section, and the two-dimensional drawing input means of the control section inputs and specifies by the input section. The solid model conversion means inputs the shape data and the like, and the solid model conversion means restores the solid model based on the shape data of the three views input by the two-dimensional drawing input means. The converted three-dimensional graphic element is displayed, and the chamfering conversion means replaces the arc of the shape data input and specified by the input section with a line segment connecting the end points of the arc, and the squaring conversion means inputs and specifies by the input section. The arc of the shape data is replaced with a line segment that connects each end point of the arc and the intersection of the tangents at each end point, and the dividing chamfer conversion means inputs the shape data into the arc and divides the arc of the shape data specified by the input unit. Line connecting points In order to replace with, the arc part that cannot be converted into a solid model can be converted into shape data that can be converted into a 3D solid model by performing approximation while considering consistency and conformity. It is possible to realize a graphic processing device excellent in reliability and workability that can restore an accurate three-dimensional solid model without adjusting the property or conformity.

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

【図1】本発明の第1の実施例における図形処理装置の
機能ブロック図
FIG. 1 is a functional block diagram of a graphic processing device according to a first embodiment of the present invention.

【図2】本発明の第1の実施例における図形処理装置の
フローチャート
FIG. 2 is a flowchart of the graphic processing apparatus according to the first embodiment of the present invention.

【図3】本発明の第1の実施例における図形処理装置の
変換前後の3面図及び3次元ソリッドモデルの一例を示
す図
FIG. 3 is a diagram showing an example of a three-dimensional view and a three-dimensional solid model before and after conversion of the graphic processing apparatus according to the first embodiment of the present invention.

【図4】本発明の第1の実施例における図形処理装置の
変換過程の3面図の一例を示す図
FIG. 4 is a diagram showing an example of three views of a conversion process of the graphic processing apparatus according to the first embodiment of the present invention.

【図5】本発明の第1の実施例における図形処理装置の
フローチャート
FIG. 5 is a flowchart of the graphic processing apparatus according to the first embodiment of the present invention.

【図6】本発明の第1の実施例における図形処理装置の
2以上の円弧が混在する場合の変換前後の3面図及び3
次元ソリッドモデルの一例を示す図
6A and 6B are three views before and after the conversion when two or more arcs of the figure processing apparatus according to the first embodiment of the present invention are mixed.
Figure showing an example of a three-dimensional solid model

【図7】本発明の第1の実施例における図形処理装置の
2以上の円弧が混在する場合の変換過程の3面図の一例
を示す図
FIG. 7 is a diagram showing an example of a three-view diagram of a conversion process in the case where two or more arcs are mixed in the graphic processing apparatus according to the first embodiment of the present invention.

【図8】本発明の第2の実施例における図形処理装置の
機能ブロック図
FIG. 8 is a functional block diagram of a graphic processing device according to a second embodiment of the present invention.

【図9】本発明の第2の実施例における図形処理装置の
フローチャート
FIG. 9 is a flow chart of the graphic processing apparatus in the second embodiment of the present invention.

【図10】本発明の第2の実施例における図形処理装置
の変換前後の3面図及び3次元ソリッドモデルの一例を
示す図
FIG. 10 is a diagram illustrating an example of a three-dimensional view and a three-dimensional solid model before and after conversion of the graphic processing device according to the second embodiment of the present invention.

【図11】本発明の第2の実施例における図形処理装置
の変換過程の3面図の一例を示す図
FIG. 11 is a diagram showing an example of three views of a conversion process of the graphic processing device according to the second embodiment of the present invention.

【図12】本発明の第2の実施例における図形処理装置
の変換前後の3面図及び3次元ソリッドモデルの一例を
示す図
FIG. 12 is a diagram showing an example of a three-dimensional view and a three-dimensional solid model before and after conversion of the graphic processing device according to the second embodiment of the present invention.

【図13】本発明の第2の実施例における図形処理装置
の変換過程の3面図の一例を示す図
FIG. 13 is a diagram showing an example of three views of a conversion process of the graphic processing apparatus according to the second embodiment of the present invention.

【図14】本発明の第3の実施例における図形処理装置
の機能ブロック図
FIG. 14 is a functional block diagram of a graphic processing device according to a third embodiment of the present invention.

【図15】本発明の第3の実施例における図形処理装置
のフローチャート
FIG. 15 is a flowchart of a graphic processing device according to a third embodiment of the present invention.

【図16】本発明の第3の実施例における図形処理装置
の変換前後の3面図及び3次元ソリッドモデルの一例を
示す図
FIG. 16 is a diagram showing an example of a three-dimensional view and a three-dimensional solid model before and after conversion of the graphic processing device according to the third embodiment of the present invention.

【図17】本発明の第3の実施例における図形処理装置
の変換過程の3面図の一例を示す図
FIG. 17 is a diagram showing an example of three views of a conversion process of the graphic processing device according to the third embodiment of the present invention.

【図18】従来の図形処理装置の機能ブロック図FIG. 18 is a functional block diagram of a conventional graphic processing device.

【図19】従来の図形処理装置のフローチャートFIG. 19 is a flowchart of a conventional graphic processing device.

【図20】従来の図形処理装置の変換前後の3面図及び
3次元ソリッドモデルの一例を示す図
FIG. 20 is a diagram showing an example of a three-dimensional view and a three-dimensional solid model before and after conversion in a conventional graphic processing device.

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

1,10 入力部 2,11 表示部 3 面取り変換手段 4,12 2次元図面入力手段 5,13 ソリッドモデル変換手段 6,14 ソリッドモデル表示手段 7,15 制御部 8 角付け変換手段 9 分割面取り変換手段 DESCRIPTION OF SYMBOLS 1,10 Input part 2,11 Display part 3 Chamfer conversion means 4,12 Two-dimensional drawing input means 5,13 Solid model conversion means 6,14 Solid model display means 7,15 Control part 8 Square conversion means 9 Divided chamfer conversion means

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】文字,数値,図形要素,位置等の入力,指
定を行う入力部と、前記入力部で入力された文字,数
値,図形要素,位置等を表示する表示部と、前記入力部
で入力指定された形状データ等を入力する2次元図面入
力手段と、前記2次元図面入力手段で入力された3面図
の形状データ等をもとにソリッドモデルを復するソリッ
ドモデル変換手段と、前記ソリッドモデル変換手段で変
換された3次元の図形要素を表示するソリッドモデル表
示手段と、を有する制御部と、を備えている図形処理装
置であって、前記制御部が前記入力部で入力指定された
形状データの円弧を前記円弧の端点を結ぶ線分に置換す
る面取り変換手段を有することを特徴とする図形処理装
置。
1. An input unit for inputting and specifying characters, numerical values, graphic elements, positions, etc., a display unit for displaying characters, numerical values, graphic elements, positions, etc. input by the input unit, and the input unit. Two-dimensional drawing input means for inputting the shape data etc. designated by the above, and solid model conversion means for reconstructing a solid model based on the three-dimensional drawing shape data etc. inputted by the two-dimensional drawing input means, A graphic processing device comprising: a control unit having a solid model display means for displaying the three-dimensional graphic elements converted by the solid model conversion means, wherein the control unit specifies an input by the input unit. A graphic processing apparatus comprising chamfering conversion means for replacing an arc of the shape data thus created with a line segment connecting end points of the arc.
【請求項2】文字,数値,図形要素,位置等の入力,指
定を行う入力部と、前記入力部で入力された文字,数
値,図形要素,位置等を表示する表示部と、前記入力部
で入力指定された形状データ等を入力する2次元図面入
力手段と、前記2次元図面入力手段で入力された3面図
の形状データ等をもとにソリッドモデルを復元するソリ
ッドモデル変換手段と、前記ソリッドモデル変換手段で
変換された3次元の図形要素を表示するソリッドモデル
表示手段と、を有する制御部と、を備えている図形処理
装置であって、前記制御部が前記入力部で入力指定され
た形状データの円弧を前記円弧の各端点と前記各端点に
おける接線の交点とを結ぶ線分に置換する角付け変換手
段を有することを特徴とする図形処理装置。
2. An input unit for inputting and specifying characters, numerical values, graphic elements, positions, etc., a display unit for displaying characters, numerical values, graphic elements, positions, etc. input by the input unit, and the input unit. Two-dimensional drawing input means for inputting the shape data etc. designated by the above, and solid model conversion means for restoring a solid model based on the three-dimensional shape data etc. inputted by the two-dimensional drawing input means, A graphic processing device comprising: a control unit having a solid model display means for displaying the three-dimensional graphic elements converted by the solid model conversion means, wherein the control unit specifies an input by the input unit. A graphic processing device comprising: squaring conversion means for replacing an arc of the shape data thus created with a line segment connecting each end point of the arc and an intersection of tangents at each end point.
【請求項3】文字,数値,図形要素,位置等の入力,指
定を行う入力部と、前記入力部で入力された文字,数
値,図形要素,位置等を表示する表示部と、前記入力部
で入力指定された形状データ等を入力する2次元図面入
力手段と、前記2次元図面入力手段で入力された3面図
の形状データ等をもとにソリッドモデルを復元するソリ
ッドモデル変換手段と、前記ソリッドモデル変換手段で
変換された3次元の図形要素を表示するソリッドモデル
表示手段と、を有する制御部と、を備えている図形処理
装置であって、前記制御部が前記入力部で入力指定され
た形状データの円弧を前記円弧の分割点を結ぶ線分に置
換する分割面取り変換手段を有することを特徴とする図
形処理装置。
3. An input unit for inputting and specifying characters, numerical values, graphic elements, positions, etc., a display unit for displaying the characters, numerical values, graphic elements, positions, etc. input by the input unit, and the input unit. Two-dimensional drawing input means for inputting the shape data etc. designated by the above, and solid model conversion means for restoring a solid model based on the three-dimensional shape data etc. inputted by the two-dimensional drawing input means, A graphic processing device comprising: a control unit having a solid model display means for displaying the three-dimensional graphic elements converted by the solid model conversion means, wherein the control unit specifies an input by the input unit. A graphic processing apparatus comprising: a divided chamfering conversion unit that replaces an arc of the generated shape data with a line segment connecting the division points of the arc.
JP6176814A 1994-07-28 1994-07-28 Graphic processor Pending JPH0844783A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6176814A JPH0844783A (en) 1994-07-28 1994-07-28 Graphic processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6176814A JPH0844783A (en) 1994-07-28 1994-07-28 Graphic processor

Publications (1)

Publication Number Publication Date
JPH0844783A true JPH0844783A (en) 1996-02-16

Family

ID=16020317

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6176814A Pending JPH0844783A (en) 1994-07-28 1994-07-28 Graphic processor

Country Status (1)

Country Link
JP (1) JPH0844783A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11945040B2 (en) 2018-11-27 2024-04-02 Lg Energy Solution, Ltd. Electric resistance welder and method manufacturing battery using the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11945040B2 (en) 2018-11-27 2024-04-02 Lg Energy Solution, Ltd. Electric resistance welder and method manufacturing battery using the same

Similar Documents

Publication Publication Date Title
US4855939A (en) 3D Dimensioning in computer aided drafting
US5649080A (en) Apparatus and method for converting line segment data to three-dimensional data
JP4776531B2 (en) MAP INFORMATION GENERATION DEVICE, MAP INFORMATION GENERATION METHOD, AND MAP INFORMATION GENERATION PROGRAM
JPH03250267A (en) Device and method for displaying picture
US5734383A (en) Apparatus and method for generating a three-dimensional model on a graphic display from a two-dimensional image
JPH0844783A (en) Graphic processor
JP4804257B2 (en) Combination sectional view generation method, apparatus and program thereof
JP2003187263A (en) Projection control processor and computer program
US20040164982A1 (en) Method and apparatus for editing three-dimensional model, and computer readable medium
KR100452606B1 (en) System for creating and editing 3-dimensional spatial data
JPH02150975A (en) Drawing display system
JPH0696178A (en) Graphic processing system
JPH07271998A (en) Method and device for three-dimensional display
JP2602492B2 (en) Surface display method
JPH0773341A (en) Three-dimensional solid modelling device
JP2723058B2 (en) Line-symmetric figure input device
JPH08185542A (en) Graphic processor
JPH06259507A (en) Graphic dividing device
JPS60201473A (en) Trihedral drawing input device
JPH10255083A (en) Cad drawing method and device
Versluis et al. Feature visualization
JPH04119484A (en) Method and device for displaying drawing for three-dimensional shape
JPH05258075A (en) Frame plotting method for three-dimensional plane for two-dimensional color display device
JPS63241625A (en) Line drawing input device
JPH09128565A (en) Method for deciding line type of ridge line of object in state of three-dimensionally projection