JP3524143B2 - Graphic processing method and apparatus - Google Patents

Graphic processing method and apparatus

Info

Publication number
JP3524143B2
JP3524143B2 JP06137294A JP6137294A JP3524143B2 JP 3524143 B2 JP3524143 B2 JP 3524143B2 JP 06137294 A JP06137294 A JP 06137294A JP 6137294 A JP6137294 A JP 6137294A JP 3524143 B2 JP3524143 B2 JP 3524143B2
Authority
JP
Japan
Prior art keywords
closed area
closed
surface shape
plane
dimensional
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP06137294A
Other languages
Japanese (ja)
Other versions
JPH07272002A (en
Inventor
まり 野村
均 吉原
勇一 佐藤
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP06137294A priority Critical patent/JP3524143B2/en
Publication of JPH07272002A publication Critical patent/JPH07272002A/en
Application granted granted Critical
Publication of JP3524143B2 publication Critical patent/JP3524143B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、複数の平面図形より対
応する3次元図形を作成する図形処理方法及びその装置
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic processing method and apparatus for creating a corresponding three-dimensional graphic from a plurality of planar graphics.

【0002】[0002]

【従来の技術】従来のCADなどの図形処理システムで
は、図面などで表現された複数の平面図形に基づいて3
次元の図形を作成する場合、各図形の要素(線、平面な
ど)単位で形状を定義し、全要素の形状を定義した後、
3次元化面(サーフェス)モデル化する処理を行なって
いた。
2. Description of the Related Art In a conventional figure processing system such as CAD, a three-dimensional figure based on a plurality of plane figures represented by a drawing or the like is used.
When creating a three-dimensional figure, after defining the shape of each figure element (line, plane, etc.) and defining the shape of all elements,
The process of modeling a three-dimensional surface was performed.

【0003】[0003]

【発明が解決しようとする課題】しかし従来の方式は、
図面などで表現された図形を、直接3次元モデル化して
表示させるものではなかった。即ち、従来は、夫々独立
した図形を、その図面を夫々独立に表示して、画面上で
その表示を見ながら、要素単位に形状を定義或は設定す
る必要があった。こうして各図形の全要素を定義した
後、3次元モデルを作成する処理を行なっていた。この
ため、3次元の図形を作成するのに非常に手間がかか
り、また、細かな作業が多くなるため、操作ミスなどに
よる図形の表示エラーの発生原因にもなっていた。
However, the conventional method is
The figure represented by a drawing or the like was not directly displayed as a three-dimensional model. That is, conventionally, it has been necessary to individually display each drawing and independently display the drawing, and to define or set the shape for each element while observing the display on the screen. After defining all the elements of each figure in this way, a process of creating a three-dimensional model is performed. For this reason, it takes a lot of time and effort to create a three-dimensional figure, and since a lot of detailed work is required, it causes a figure display error due to an operation error or the like.

【0004】本発明は上記従来例に鑑みてなされたもの
で、簡単に図形の各要素の面形状を定義して、それら定
義した図形要素に基づいて3次元図形を作成できる図形
処理方法及びその装置を提供することを目的とする。
The present invention has been made in view of the above conventional example, and a graphic processing method and a graphic processing method capable of easily defining the surface shape of each element of a graphic and creating a three-dimensional graphic based on the defined graphic elements. The purpose is to provide a device.

【0005】また本発明の他の目的は、これら図形要素
の面形状の定義内容を簡単に確認して変更できる図形処
理方法及び装置を提供することにある。
Another object of the present invention is to provide a graphic processing method and apparatus which can easily confirm and change the definition contents of the surface shape of these graphic elements.

【0006】また本発明の他の目的は、画面上で複数の
図形と図形要素とを確認しながら、それら図形に基づく
3次元図形を作成できる図形処理方法及びその装置を提
供することにある。
Another object of the present invention is to provide a graphic processing method and apparatus capable of creating a three-dimensional graphic based on a plurality of graphics and graphic elements while checking the graphics on the screen.

【0007】また本発明の他の目的は、所定の面の形状
を他の図形の対応する面形状に従って変更できるように
して、正確な3次元図形を作成できる図形処理方法及び
その装置を提供することにある。
Another object of the present invention is to provide a graphic processing method and apparatus capable of changing the shape of a predetermined surface in accordance with the corresponding surface shape of another graphic to create an accurate three-dimensional graphic. Especially.

【0008】更に本発明の他の目的は、開口部を含む図
形であっても、簡単な操作で3次元図形を作成できる図
形処理方法及びその装置を提供することにある。
Still another object of the present invention is to provide a graphic processing method and apparatus capable of creating a three-dimensional graphic by a simple operation even for a graphic including an opening.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に本発明の図形処理方法は以下のような工程を備える。
即ち、少なくとも表示装置と記憶装置及び入力装置を有
し、前記表示装置の表示画面に表示した複数の平面図形
に基づいて3次元図形を作成する図形処理装置における
図形処理方法であって、前記記憶装置に記憶されてい
る、1つの3次元図形を異なる方向から見た複数の平面
図形を前記表示画面上に表示する工程と、前記表示画面
に表示された前記平面図形から、オペレータにより前記
入力装置を使用して処理対象の閉領域を指示する工程
と、オペレータにより前記入力装置を使用して前記閉領
域の面形状を定義する工程と、オペレータにより前記入
力装置を使用して、表示されている他の平面図形におけ
る、前記閉領域に対応する面の形状を指示する工程と、
前記閉領域の幅と前記対応する閉領域の面の形状の長さ
とを比較して一致しない場合、前記閉領域に対応する面
の形状の長さを前記閉領域の幅と一致するように修正す
る工程と、前記各工程を前記複数の平面図形の各面に対
して実行し、前記複数の平面図形より3次元図形を作成
し、前記表示画面上に表示する工程とを有することを特
徴とする。上記目的を達成するために本発明の図形処理
方法は以下のような工程を備える。即ち、少なくとも表
示装置と記憶装置及び入力装置を有し、前記表示装置の
表示画面に表示した複数の平面図形に基づいて3次元図
形を作成する図形処理装置における図形処理方法であっ
て、前記記憶装置に記憶されている、1つの3次元図形
を異なる方向から見た複数の平面図形を前記表示画面上
に表示する工程と、前記表示画面に表示された前記平面
図形から、オペレータにより前記入力装置を使用して処
理対象の閉領域を指示する工程と、オペレータにより
記入力装置を使用して前記閉領域の面形状を定義する工
程と、前記閉領域が当該閉領域を含む平面図形の最外周
を含むか否かにより当該閉領域が開口部となり得るか否
かを判断する判断工程と、前記判断工程で開口部となり
得ると判断されると前記閉領域を含む平面図形に隣接す
る平面図形の方向を示すサーチ方向を決定し、前記サー
チ方向に直交する前記閉領域の幅を求める工程と、前記
閉領域の幅に基づき、前記サーチ方向に位置している平
面図形に含まれる前記閉領域に対応する要素が開口部選
択要素であるか否かを判断する工程と、前記開口部選択
要素であると判断された場合、前記閉領域を開口部であ
ると判定する工程と、開口部であると判定された前記閉
領域と、当該閉領域に対して定義された前記面形状に基
づいて前記複数の平面図形より3次元図形を作成し、前
記表示画面上に表示する工程とを有することを特徴とす
る。
In order to achieve the above object, the graphic processing method of the present invention comprises the following steps.
That is, a graphic processing method in a graphic processing device, which has at least a display device, a storage device, and an input device, and creates a three-dimensional graphic based on a plurality of planar graphics displayed on the display screen of the display device. A step of displaying on the display screen a plurality of plane figures, which are stored in the apparatus and viewed one three-dimensional figure from different directions, and the operator inputs the input apparatus from the plane figures displayed on the display screen. Is used to indicate the closed region to be processed, the operator defines the surface shape of the closed region using the input device, and the operator uses the input device to display. Instructing the shape of a surface corresponding to the closed region in another plane figure,
If the width of the closed area and the length of the shape of the surface of the corresponding closed area are compared and do not match, the length of the shape of the surface corresponding to the closed area is corrected to match the width of the closed area. And a step of performing each of the steps on each surface of the plurality of plane figures, creating a three-dimensional figure from the plurality of plane figures, and displaying the three-dimensional figure on the display screen. To do. In order to achieve the above object, the graphic processing method of the present invention includes the following steps. That is, a graphic processing method in a graphic processing device, which has at least a display device, a storage device, and an input device, and creates a three-dimensional graphic based on a plurality of planar graphics displayed on the display screen of the display device. A step of displaying on the display screen a plurality of plane figures, which are stored in the apparatus and viewed one three-dimensional figure from different directions, and the operator inputs the input apparatus from the plane figures displayed on the display screen. To indicate the closed region to be processed, an operator to define the surface shape of the closed region using the input device, and the closed region includes the closed region. A determination step of determining whether or not the closed region can be an opening depending on whether or not the outermost periphery of the planar figure is included, and a planar figure including the closed region is determined when the determination step determines that the closed area can be an opening. A step of determining a search direction indicating a direction of a plane figure in contact with the plane figure and determining a width of the closed area orthogonal to the search direction; and a step included in the plane figure positioned in the search direction based on the width of the closed area. Determining whether the element corresponding to the closed region is an opening selection element, and determining that the closed region is an opening when it is determined to be the opening selection element, A step of creating a three-dimensional figure from the plurality of planar figures based on the closed area determined to be an opening and the surface shape defined for the closed area, and displaying the three-dimensional figure on the display screen. It is characterized by having.

【0010】上記目的を達成するために本発明の図形処
理装置は以下のような構成を備える。即ち、表示画面上
に、1つの3次元図形を異なる方向から見た複数の平面
図形を表示する表示制御手段と、前記表示画面に表示さ
れた前記平面図形から処理対象の閉領域を、オペレータ
の操作により指示するための指示手段と、前記指示手段
を使用して指示された閉領域の面形状を、オペレータの
操作により定義するための面定義手段と、前記表示画面
上に表示されている他の平面図形における、前記閉領域
に対応する面の形状を、オペレータの操作により定義す
るための面形状定義手段と、前記閉領域の幅と前記対応
する閉領域の面の形状の長さとを比較して一致しない場
合、前記閉領域に対応する面の形状の長さを前記閉領域
の幅と一致するように修正する修正手段と、前記複数の
平面図形の各面に対して閉領域と前記閉領域に対応する
面の形状が設定されると、前記複数の平面図形より3次
元図形を作成し、前記表示画面上に表示する作成手段と
を有することを特徴とする。上記目的を達成するために
本発明の図形処理装置は以下のような構成を備える。即
ち、表示画面上に、1つの3次元図形を異なる方向から
見た複数の平面図形を表示する表示制御手段と、前記表
示画面に表示された表示された平面図形から処理対象の
閉領域を、オペレータの操作により指示するための指示
手段と、前記指示手段を使用して指示された前記閉領域
の面形状を、オペレータの操作により定義するための面
形状定義手段と、前記閉領域が当該閉領域を含む平面図
形の最外周を含むか否かにより当該閉領域が開口部とな
り得るか否かを判断する第1判断手段と、前記第1判断
手段の判断により開口部となり得ると判断されると前記
閉領域を含む平面図形に隣接する平面図形の方向を示す
サーチ方向を決定し、前記サーチ方向に直交する前記閉
領域の幅を求める幅決定手段と、前記幅決定手段により
決定された前記閉領域の幅に基づき、前記サーチ方向に
位置している平面図形に含まれる前記閉領域に対応する
要素が開口部選択要素であるか否かを判断する第2判断
手段と、前記第2判断手段の判断により開口部選択要素
であると判断された場合、当該閉領域を開口部であると
判定する判定手段と、開口部であると判定された閉領域
と、当該閉領域に対して定義された前記面形状に基づい
て前記複数の平面図形より3次元図形を作成し、前記表
示画面上に表示する作成手段とを有することを特徴とす
る。
In order to achieve the above object, the graphic processing apparatus of the present invention has the following configuration. That is, the display control means for displaying a plurality of plane figures in which one three-dimensional figure is viewed from different directions on the display screen, and the closed area to be processed from the plane figure displayed on the display screen are handled by the operator.
Of the surface area of the closed region instructed using the instructing means and the instructing means by the operator.
And surface defining means for defining the operation, in other plane figure that is displayed on the display screen, the shape of the surface corresponding to the closed area, and the surface shape definition means for defining the operation of the operator , If the width of the closed region and the length of the shape of the surface of the corresponding closed region are not matched and the lengths of the shapes of the faces corresponding to the closed regions match the width of the closed region, When a correction means for correcting and a shape of a closed area and a surface corresponding to the closed area are set for each surface of the plurality of plane figures, a three-dimensional figure is created from the plurality of plane figures and the display is performed. And a creating means for displaying on the screen. In order to achieve the above object, the graphic processing apparatus of the present invention has the following configuration. That is, a display control means for displaying a plurality of plane figures in which one three-dimensional figure is viewed from different directions on the display screen, and a closed area to be processed from the displayed plane figures displayed on the display screen . and instruction means for instructing the operation of an operator, the surface shape of the closed region is indicated by using the instructing unit, and the surface shape definition means for defining the operation of the operator, the closed area is the closed First determining means for determining whether or not the closed area can be an opening depending on whether the outermost periphery of the plane figure including the area is included, and it is determined that the closed area can be an opening by the determination by the first determining means. And a width determining means for determining a search direction indicating a direction of a plane figure adjacent to a plane figure including the closed area, and determining a width of the closed area orthogonal to the search direction, and the width determined by the width determining means. Second determining means for determining whether or not the element corresponding to the closed area included in the plane figure positioned in the search direction is the opening selection element based on the width of the area; and the second determining means. When it is determined that the element is an opening selection element, the determination unit that determines the closed area to be an opening, the closed area determined to be the opening, and the closed area are defined. And a creating means for creating a three-dimensional figure from the plurality of plane figures based on the surface shape and displaying the three-dimensional figure on the display screen.

【0011】[0011]

【作用】以上の構成において、1つの3次元図形を異な
る方向から見た複数の平面図形を表示し、その表示され
た平面図形から、オペレータにより処理対象の閉領域を
指示し、オペレータによりその面形状を定義し、表示さ
れている他の平面図形における、その閉領域に対応する
面の形状をオペレータにより指示し、その閉領域の幅と
前記対応する閉領域の面の形状の長さとを比較して一致
しない場合、その閉領域に対応する面の形状の長さを、
その閉領域の幅と一致するように修正する。そしてこの
ような工程を複数の平面図形の各面に対して実行するこ
とにより、複数の平面図形より3次元図形を作成して表
示画面上に表示する。また本発明の構成によれば、1つ
の3次元図形を異なる方向から見た複数の平面図形を表
示画面上に表示し、その表示された平面図形から、オペ
レータにより処理対象の閉領域を指示し、オペレータに
よりその閉領域の面形状を定義し、その閉領域が当該閉
領域を含む平面図形の最外周を含むか否かにより当該閉
領域が開口部となり得るか否かを判断し、開口部となり
得ると判断されると、その閉領域を含む平面図形に隣接
する平面図形の方向を示すサーチ方向を決定し、そのサ
ーチ方向に直交する閉領域の幅を求め、その幅に基づい
てサーチ方向に位置している平面図形に含まれる、その
閉領域に対応する要素が開口部選択要素であるか否かを
判断し、開口部選択要素であると判断された場合、その
閉領域を開口部であると判定し、その開口部であると判
定された閉領域と、当該閉領域に対して定義された面形
状に基づいて複数の平面図形より3次元図形を作成し、
表示画面上に表示する様に動作する。
In the above structure, a plurality of plane figures in which one three-dimensional figure is viewed from different directions are displayed, the operator designates a closed region to be processed from the displayed plane figures, and the operator displays the plane. Define the shape, instruct the operator to specify the shape of the surface corresponding to the closed area in other displayed planar figures, and compare the width of the closed area with the length of the shape of the surface of the corresponding closed area. And the length of the shape of the surface corresponding to the closed area is
Modify it to match the width of the closed area. By performing such a process for each surface of the plurality of plane figures, a three-dimensional figure is created from the plurality of plane figures and displayed on the display screen. Further, according to the configuration of the present invention, a plurality of plane figures obtained by viewing one three-dimensional figure from different directions are displayed on the display screen, and the operation is performed from the displayed plane figures.
Instructs closed region to be processed by the regulator, the operator
Get more define the surface shape of the closed region, it is determined whether the closed region by whether including outermost plane figures the closed area including the closed region can become the opening becomes the opening Then, the search direction indicating the direction of the plane figure adjacent to the plane figure including the closed area is determined, the width of the closed area orthogonal to the search direction is determined, and the position in the search direction is determined based on the width. It is determined whether or not the element corresponding to the closed area included in the planar figure is an opening selection element. If it is determined that the element is an opening selection element, the closed area is an opening. Then, a three-dimensional figure is created from a plurality of plane figures based on the closed area determined to be the opening and the surface shape defined for the closed area.
Operates as it is displayed on the display screen.

【0012】[0012]

【実施例】以下、添付図面を参照して本発明の好適な実
施例を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will now be described in detail with reference to the accompanying drawings.

【0013】図2は本発明の一実施例の図形処理システ
ムの概略構成を示すブロック図である。
FIG. 2 is a block diagram showing the schematic arrangement of a graphic processing system according to an embodiment of the present invention.

【0014】11は入力装置で、キーボード及びマウス
などのポインティングデバイスを備えており、メニュー
の表示、表示装置14の画面上に表示されている要素の
指示、画面上の位置の指示及び、その他の入力機能を有
している。12は記憶装置で、半導体メモリ或は磁気デ
ィスクなどを有し、処理の対象となる図面、本実施例の
前提とする閉領域、定義される面形状、本実施例の図形
処理システムが閉領域及び面形状から生成する3次元面
(サーフェス)モデル、その他の各種情報を格納してい
る。13は中央処理装置で、本実施例の図形処理システ
ムの各種制御を実行するための制御プログラムがロード
され、記憶装置12に記憶されている種々のデータの読
み込み、処理、書込み、その他の各種制御を実行してい
る。14は表示装置で、各種図形、閉領域、面形状、メ
ニュー、各種メッセージ、本実施例の図形処理システム
が閉領域及び面形状から生成する3次元面(サーフェ
ス)モデル、その他を表示する。
An input device 11 is provided with a pointing device such as a keyboard and a mouse, and displays a menu, an instruction of an element displayed on the screen of the display device 14, an instruction of a position on the screen, and other Has an input function. A storage device 12 has a semiconductor memory, a magnetic disk, or the like, and is a drawing to be processed, a closed area as a premise of this embodiment, a defined surface shape, and a graphic processing system of this embodiment is a closed area. And a three-dimensional surface (surface) model generated from the surface shape and other various information. Reference numeral 13 denotes a central processing unit, which is loaded with control programs for executing various controls of the graphic processing system of this embodiment, and reads, processes, writes, and other various data stored in the storage device 12. Is running. A display device 14 displays various figures, closed areas, surface shapes, menus, various messages, a three-dimensional surface (surface) model generated from the closed areas and surface shapes by the figure processing system of this embodiment, and the like.

【0015】[第1実施例]図1は本発明の第1実施例
の図形処理システムにおける面形状定義方法を示すフロ
ーチャートで、この処理を実行する制御プログラムは記
憶装置12に記憶されており、中央処理装置13にロー
ドされて実行される。
[First Embodiment] FIG. 1 is a flow chart showing a surface shape defining method in a graphic processing system according to a first embodiment of the present invention. A control program for executing this processing is stored in a storage device 12, It is loaded into the central processing unit 13 and executed.

【0016】本実施例においては、まずステップS1
で、記憶装置12に記憶されている図形情報(図面イメ
ージ)を読み込む。次にステップS2に進み、図面中の
線分、円弧等の図形要素の関係、即ち、隣接している
か、或は接続しているか等を調べながら図形を閉領域化
し、その結果を記憶装置12に格納する。ここでいう閉
領域とは、例えば図3に示すような閉じたループで構成
された領域のことで、外周ループを必ず1個持ち、内周
ループを0個以上持つ。次にステップS3に進み、閉領
域化した閉領域を表示装置14に表示する。ここまでの
処理で面形状の定義に必要な閉領域が準備されたことに
なる。
In the present embodiment, first, step S1
Then, the graphic information (drawing image) stored in the storage device 12 is read. Next, in step S2, the figure is closed while checking the relationship between the graphic elements such as line segments and arcs in the drawing, that is, whether they are adjacent or connected, and the result is stored in the storage device 12. To store. The closed region referred to here is, for example, a region formed by a closed loop as shown in FIG. 3, and always has one outer peripheral loop and zero or more inner peripheral loops. Next, the process proceeds to step S3, and the closed region that has been closed is displayed on the display device 14. By the processing up to this point, the closed region necessary for defining the surface shape is prepared.

【0017】次にステップS4に進み、閉図形領域の処
理方法を選択する。即ち、この処理では、表示装置14
に閉領域化された図面が表示されている状態において、
メニューに処理方法の選択項目をいくつか表示して、表
示装置14と連動した入力装置11によって、メニュー
項目の選択・指示の情報を与えて処理方法を選択する。
この処理方法の選択項目としては、面形状の定義、面形
状の定義のキャンセル、面形状の確認、3次元面化(サ
ーフェス)モデル表示等がある。この処理方法の選択に
より、これら選択項目の内から1つの処理方法が選択さ
れる。
Next, in step S4, a processing method for the closed graphic region is selected. That is, in this process, the display device 14
In the state where the drawing which is closed area is displayed,
Several selection items of the processing method are displayed on the menu, and information of selection / instruction of the menu item is given by the input device 11 linked with the display device 14 to select the processing method.
The selection items of this processing method include definition of the surface shape, cancellation of the definition of the surface shape, confirmation of the surface shape, and display of a three-dimensional surface (surface) model. By selecting this processing method, one processing method is selected from these selection items.

【0018】図4は、この処理方法の選択項目を表示す
るメニュー画面の一例を示す図で、選択項目としてメニ
ュー65には(DIRECT,CANCEL,INFO
RM,SURF)等が表示されており、これら選択項目
のいずれかが入力装置11を用いて指定される。図4に
おいて、40は正面図、41は上面図、42は右側面図
を示している。ここで、 ・“DIRECT”は、面形状の定義を指示するもの
で、閉領域の面形状を定義する。
FIG. 4 is a diagram showing an example of a menu screen displaying the selection items of this processing method. As the selection items, the menu 65 has (DIRECT, CANCEL, INFO).
(RM, SURF) and the like are displayed, and any of these selection items is designated using the input device 11. 4, 40 is a front view, 41 is a top view, and 42 is a right side view. Here, "DIRECT" indicates the definition of the surface shape, and defines the surface shape of the closed region.

【0019】・“CANCEL”は、面形状の定義をキ
ャンセルするもので、定義された閉領域の面形状を取り
消すのに使用される。
"CANCEL" cancels the definition of the surface shape, and is used to cancel the surface shape of the defined closed region.

【0020】・“INFORM”は、面形状の確認を意
味し、定義された閉領域の面形状を表示して確認するの
に使用される。
"INFORM" means confirmation of the surface shape, and is used for displaying and confirming the surface shape of the defined closed region.

【0021】・“SURF”は、3次元化面(サーフェ
ス)モデル作成を指示し、定義された閉領域の面形状と
定義方法とにより、3次元化面(サーフェス)モデルを
作成し、その結果を表示することを意味している。
"SURF" indicates the creation of a three-dimensional surface (surface) model, creates a three-dimensional surface (surface) model according to the surface shape of the defined closed region and the definition method, and the result Means to display.

【0022】こうして処理方法が選択されると、ステッ
プS5で、その選択された処理方法に従って、次に実行
する処理を振り分ける。即ち、面形状形定義(DIRE
CT)が選択された場合はステップS6に進み、閉領域
の面形状を定義する処理を実行する。また、面形状の定
義をキャンセル(CANCEL)するように選択された
場合はステップS7に進み、定義された閉領域の面形状
をキャンセルする。また面形状の確認(INFORM)
が選択された場合はステップS8に進み、その定義され
た閉領域の面形状を表示する。さらに、3次元化面モデ
ル表示(SURF)が選択された場合はステップS9に
進み、定義された閉領域の面形状と定義方法とにより、
その閉領域の3次元化面(サーフェス)モデルを作成す
る。これらステップS6乃至S9のいずれかの処理が終
了するとステップS10に進み、その処理結果を表示装
置14に表示する。
When the processing method is selected in this way, in step S5, the processing to be executed next is distributed according to the selected processing method. That is, the surface shape definition (DIRE
When (CT) is selected, the process proceeds to step S6, and the process of defining the surface shape of the closed region is executed. If it is selected to cancel the definition of the surface shape (CANCEL), the flow advances to step S7 to cancel the surface shape of the defined closed region. Confirmation of surface shape (INFOM)
If is selected, the flow advances to step S8 to display the surface shape of the defined closed region. Further, when the three-dimensional surface model display (SURF) is selected, the process proceeds to step S9, where the surface shape of the defined closed region and the defining method are used.
A three-dimensional surface model of the closed area is created. When any one of these steps S6 to S9 is completed, the process proceeds to step S10, and the processing result is displayed on the display device 14.

【0023】図5は、図1のステップS4で面形状の定
義が選択された時の処理を示すフローチャートで、この
フローチャートで示された処理は図1のステップS4〜
S6、S10の処理の流れに対応している。
FIG. 5 is a flow chart showing the processing when the definition of the surface shape is selected in step S4 of FIG. 1. The processing shown in this flow chart is from step S4 of FIG.
This corresponds to the processing flow of S6 and S10.

【0024】図1のステップS4に対応するステップS
21で、面形状の定義(DIRECT)が選択されると
ステップS22に進み、対象とする閉領域が指示される
のを待つ。これは表示装置14に表示されている閉領域
化された図形のうち、面形状を定義する対象とする任意
の閉領域を、オペレータが入力装置11を使用して指示
するものである。
Step S corresponding to step S4 in FIG.
When the definition of the surface shape (DIRECT) is selected in step 21, the process proceeds to step S22 and waits until the target closed region is designated. In this, the operator uses the input device 11 to instruct an arbitrary closed region, which is a target for defining a surface shape, of the closed region displayed on the display device 14.

【0025】この指示の方法は、例えば図6に図示する
ように、表示装置14の画面に表示されるメッセージ6
0に従って、表示装置14の表示と連動している入力装
置11によって、閉領域に含まれる任意の一点の位置を
指示する。例えば、図6の例では、上面図41の閉領域
62の中の一点61が指示されている。この一点が指示
されると、画面に表示されている各閉領域と、指示され
た点61の内外関係を判定し、その指示された点61を
内部に含む上面図41の閉領域62が、指示された閉領
域であると認識する。
The method of this instruction is, for example, as shown in FIG. 6, a message 6 displayed on the screen of the display device 14.
In accordance with 0, the position of any one point included in the closed region is designated by the input device 11 which is interlocked with the display of the display device 14. For example, in the example of FIG. 6, one point 61 in the closed region 62 of the top view 41 is designated. When this one point is designated, the internal / external relationship between each closed region displayed on the screen and the designated point 61 is determined, and the closed region 62 of the top view 41 including the designated point 61 inside is Recognize that it is the instructed closed area.

【0026】次にステップS23に進み、面形状の定義
を指示する。この指示は表示装置14に表示された面形
状の定義指示メニューを入力装置11により指示するこ
とによって行われる。即ち、この面形状の定義方法とし
ては、その閉領域が3次元で表すときに、どのような面
として表現されるかによって、平面定義(PALN
E)、断面定義(SECTION)、回転面定義(RO
T)、その他がある。
Next, in step S23, the definition of the surface shape is instructed. This instruction is performed by instructing the surface shape definition instruction menu displayed on the display device 14 with the input device 11. That is, as a method of defining the surface shape, a plane definition (PALN) is used depending on what surface is expressed when the closed region is expressed in three dimensions.
E), cross-section definition (SECTION), rotation plane definition (RO
T) and others.

【0027】図7は、この面形状の選択処理を説明する
ための図で、69は面形状の選択メニューを示してい
る。この図では、指示された上面図41の閉領域62が
平面であることを指示するために、メニュー69の平面
(PLANE)が選択されている。
FIG. 7 is a diagram for explaining this surface shape selection processing, and 69 shows a surface shape selection menu. In this figure, the plane (PLANE) of the menu 69 is selected to indicate that the closed region 62 in the top view 41 indicated is a plane.

【0028】次にステップS24に進み、面形状の定義
要素を指示して、指示されている閉領域の面形状を定義
する要素を指示する。この処理を図8を参照して説明す
る。まず、閉領域62の面形状の定義方法を指示する
と、その指示された面形状の定義方法に従い、メッセー
ジ67が表示装置14に表示され、面形状を定義する要
素の指示が促される。そこで、例えば、図示したような
閉領域62が指示された上面図41の平面や断面の面形
状は、例えば正面図40の対応する要素(66で示され
ている)によって定まる数学式によって表すことができ
る。そこで表示されたメッセージ67の指示に従って、
表示装置14に表示された正面図40の対応する要素
を、表示装置14と連動している入力装置11により指
示する。
Next, in step S24, the definition element of the surface shape is designated, and the element defining the surface shape of the designated closed region is designated. This process will be described with reference to FIG. First, when a method of defining the surface shape of the closed region 62 is instructed, a message 67 is displayed on the display device 14 according to the instructed method of defining the surface shape, and an instruction of an element that defines the surface shape is prompted. Therefore, for example, the plane shape of the plan view or the cross section of the top view 41 in which the closed region 62 is indicated as shown in the figure is represented by a mathematical formula determined by the corresponding element (shown by 66) of the front view 40, for example. You can Follow the instructions of the message 67 displayed there,
The corresponding element of the front view 40 displayed on the display device 14 is designated by the input device 11 which is linked with the display device 14.

【0029】同様に、図9に示したように、メニュー6
9の回転面(ROT)が指示されている状態で、上面図
41の回転面となる閉領域72が点71を指示すること
により指示されると、この閉領域72の面形状は、その
閉領域72の回転中心75と、正面図40の対応する回
転要素73によって定まる数学式によって表すことがで
きる。従って、要素指示を促すメッセージ76の指示に
従って入力装置11により指示する。また、表示装置1
4に表示されている要素の内、指示された要素73の表
示輝度を変更することによって、所望の要素が正しく指
定されたかどうかを確認することができる。
Similarly, as shown in FIG. 9, the menu 6
When the closed area 72 which is the rotation surface in the top view 41 is instructed by pointing to the point 71 in the state in which the rotation surface (ROT) of 9 is specified, the surface shape of the closed area 72 is the closed shape. It can be represented by a mathematical formula defined by the center of rotation 75 of the region 72 and the corresponding rotating element 73 of the front view 40. Therefore, the input device 11 gives an instruction according to the instruction of the message 76 prompting the element instruction. In addition, the display device 1
By changing the display brightness of the designated element 73 among the elements displayed in 4, it is possible to confirm whether or not the desired element is correctly designated.

【0030】次にステップS25に進み、閉領域とその
面形状とが一致しているかどうかを判定する。この処理
は、指示された閉領域の幅と面形状の長さを、互いの図
面の関係から求め、それぞれの長さが一致しているかど
うかを判定するものである。例えば、図10の(A)に
示したような、上面図41の閉領域82と側面図42の
要素83とが面形状として指示された時、図10(B)
に図示したように、上面図41と、右側面図42との関
係から、閉領域82の幅は上面図41のY軸方向での長
さ(W1)となり、面形状の要素83の長さは右側面図
42のX軸方向の長さ(L1)となる。これら求められ
た2つの要素の長さが一致しないときは、閉領域82の
面形状として合っていないと判断し、一致しているとき
は閉領域82と面形状の要素83とが一致していると
定される。
Next, in step S25, it is determined whether or not the closed region and its surface shape match. In this process, the width of the instructed closed region and the length of the surface shape are obtained from the relationship between the drawings, and it is determined whether or not the respective lengths match. For example, when the closed area 82 of the top view 41 and the element 83 of the side view 42 are designated as the surface shapes as shown in FIG.
As shown in FIG. 5, from the relationship between the top view 41 and the right side view 42, the width of the closed region 82 becomes the length (W1) in the Y-axis direction of the top view 41, and the length of the surface-shaped element 83. Is the length (L1) in the X-axis direction of the right side view 42. When these two calculated lengths do not match, it is determined that the surface shape of the closed region 82 does not match, and when they match, the closed region 82 and the surface-shaped element 83 match. that if it is determine <br/> constant.

【0031】閉領域の面形状が合っていないと判断され
るとステップS26に進み、その面形状の長さが、閉領
域の幅と同じ長さになる様に修正する。例えば、図11
(A)に示すように、指示された閉領域の幅(W1)と
面形状の長さ(L1)とが一致していない場合には、図
11(B)に示すように、面形状の長さが閉領域の幅
(W1)と一致するように(L1=W1)、要素83の
端点P2をP3まで延長した要素83’を面形状とす
る。
If it is determined that the surface shape of the closed area does not match, the process proceeds to step S26, and the length of the surface shape is corrected so as to be the same as the width of the closed area. For example, in FIG.
As shown in FIG. 11A, when the specified closed region width (W1) does not match the surface shape length (L1), as shown in FIG. The element 83 ', in which the end point P2 of the element 83 is extended to P3, has a surface shape so that the length matches the width (W1) of the closed region (L1 = W1).

【0032】こうしてステップS27に進み、ここまで
の処理で面形状の対象となる閉領域と、その面形状の定
義と、その面形状を定義する要素とが確定したことにな
る。そこで、これらにより面形状を表す数学式を導き、
対象とする閉領域の面形状として定義し、記憶装置12
に格納する。そしてステップS28に進み、面形状を定
義した結果を表示する。ここで表示装置14において、
閉領域の定義によって対象となる閉領域が指示された閉
領域の輝度を変更し、正しく面形状の定義が行われたど
うかを確認することができる。
In this way, the process proceeds to step S27, and the closed region which is the object of the surface shape, the definition of the surface shape, and the elements defining the surface shape are determined by the processing up to this point. Therefore, we derive a mathematical formula expressing the surface shape from these,
The storage device 12 is defined as the surface shape of the target closed region.
To store. Then, in step S28, the result of defining the surface shape is displayed. Here, in the display device 14,
It is possible to confirm whether or not the surface shape is correctly defined by changing the brightness of the closed region in which the target closed region is designated by the definition of the closed region.

【0033】図12は、図1のステップS4,S5,S
7,S10の面形状の定義をキャンセルする処理を示す
フローチャートである。
FIG. 12 shows steps S4, S5 and S of FIG.
7 is a flowchart showing a process of canceling the definition of the surface shape in S7.

【0034】図1のステップSに相当するステップS
31で、面形状の定義をキャンセルする指示が入力装置
11より入力されるとステップS32に進み、表示装置
14に表示されている閉領域化された図面のうち、既に
面形状が定義されている閉領域で、定義をキャンセルし
たい任意の閉領域を指示する。この指示の具体的な方法
を図13を参照して説明する。
Step S corresponding to step S 4 in FIG.
In step 31, when an instruction to cancel the definition of the surface shape is input from the input device 11, the process proceeds to step S32, and the surface shape is already defined in the closed region drawing displayed on the display device 14. In Closed area, specify any closed area whose definition you want to cancel. A specific method of this instruction will be described with reference to FIG.

【0035】図13(A)に示すように、面形状の定義
キャンセル(CANCEL)が指示されている状態で、
メッセージ84の指示に従って、表示装置14の表示と
連動している入力装置11によって、上面図41の閉領
域62に含まれる任意の一点61を指示する。この一点
61を指示すると、表示画面上に表示されている各閉領
域と、画面上の指示された点61の位置関係を判定し、
指示された点61を内部に含む閉領域62が指示された
閉領域であると認識される。
As shown in FIG. 13A, in the state where the surface shape definition cancel (CANCEL) is instructed,
According to the instruction of the message 84, the arbitrary point 61 included in the closed region 62 of the top view 41 is designated by the input device 11 which is interlocked with the display of the display device 14. When this one point 61 is designated, the positional relationship between each closed area displayed on the display screen and the designated point 61 on the screen is determined,
The closed region 62 including the designated point 61 inside is recognized as the designated closed region.

【0036】次にステップS33に進み、その指示され
た閉領域に対応する、記憶装置12に格納されている閉
領域の情報と、その閉領域に定義されている面形状とに
基づいて、対応する面形状の定義情報を格納している記
憶装置12の領域を求め、その記憶装置12よりその閉
領域の情報を削除する。
Next, in step S33, a correspondence is made based on the closed area information stored in the storage device 12 corresponding to the instructed closed area and the surface shape defined in the closed area. The area of the storage device 12 in which the definition information of the surface shape to be stored is found, and the information of the closed area is deleted from the storage device 12.

【0037】次にステップS34に進み、面形状の定義
をキャンセルする処理の結果を、図13(B)に示すよ
うに表示装置14に表示する。この図13(B)では、
キャンセルするように指示された上面図41の閉領域6
2の輝度を変更し、オペレータの意図するように、面形
状の定義がキャンセルされたかどうかを確認することが
できる。
Next, in step S34, the result of the process of canceling the definition of the surface shape is displayed on the display device 14 as shown in FIG. 13 (B). In this FIG. 13 (B),
Closed area 6 of top view 41 instructed to cancel
It is possible to change the luminance of 2 and confirm whether or not the definition of the surface shape is canceled as intended by the operator.

【0038】図14は、図1のフローチャートにおける
面形状の定義を確認するための処理を示すフローチャー
トである。
FIG. 14 is a flowchart showing the processing for confirming the definition of the surface shape in the flowchart of FIG.

【0039】まずステップS41で、図1のステップS
4に対応して、面形状の定義確認を指示する。これはメ
ニュー65の(INFORM)を指示することにより行
われる。次にステップS42に進み、表示装置14に表
示されている閉領域化された図形のうち、既に面形状が
定義されている閉領域において、その定義内容を確認し
たい任意の閉領域を指示する。この指示の方法は、図1
5(A)に示すように、メッセージ93の指示に従っ
て、表示装置14と連動している入力装置11によって
閉領域92に含まれる任意の一点91の位置を指示する
ことにより指示される。一点91を指示すると、表示さ
れている各閉領域と、指示された点91の内外関係を判
定し、指示された点91を内部に含む閉領域92が、所
望の閉領域であると認識される。
First, in step S41, step S in FIG.
Corresponding to 4, the confirmation of the definition of the surface shape is instructed. This is done by instructing (INFO) on the menu 65. Next, in step S42, in the closed area in which the surface shape is already defined, of the closed area figures displayed on the display device 14, an arbitrary closed area whose definition content is to be confirmed is designated. This instruction method is shown in FIG.
As shown in FIG. 5 (A), it is instructed by instructing the position of an arbitrary point 91 included in the closed region 92 by the input device 11 operating in conjunction with the display device 14 in accordance with the instruction of the message 93. When one point 91 is designated, the internal / external relationship between each of the displayed closed areas and the designated point 91 is determined, and the closed area 92 including the designated point 91 inside is recognized as the desired closed area. It

【0040】次にステップS43に進み、その指示され
た閉領域92に対応して記憶装置12に格納されている
閉領域情報と、その閉領域に定義されている面形状の情
報の中より、対応する面形状の定義情報を読み出して参
照する。そしてステップS44に進み、その確認された
面形状を表示装置14に表示する。これは例えば、図1
5(B)に示すように、表示装置14において、指示さ
れた閉領域92に対応する右側面図42における面形状
93の輝度を変更し、指示された閉領域の面形状をどの
要素で定義したか、どのような形状の領域か、などを確
認することができる。
Next, in step S43, from the closed area information stored in the storage device 12 corresponding to the instructed closed area 92 and the surface shape information defined in the closed area, The definition information of the corresponding surface shape is read and referred to. Then, in step S44, the confirmed surface shape is displayed on the display device 14. This is for example shown in FIG.
As shown in FIG. 5 (B), in the display device 14, the brightness of the surface shape 93 in the right side view 42 corresponding to the instructed closed area 92 is changed, and which element defines the surface shape of the instructed closed area. It is possible to confirm whether or not the shape has been formed.

【0041】図16は、3次元化面(サーフェス)モデ
ル作成処理(SURF)が選択された時の処理を示すフ
ローチャートである。
FIG. 16 is a flowchart showing the processing when the three-dimensional surface model generation processing (SURF) is selected.

【0042】図1のステップS4に対応するステップS
51で、3次元化面モデル作成指示が指示されるとステ
ップS52に進み、図面内に存在する全てのVIEW
(正面図、右側面図、左側面図、上面図、下面図、背面
図等)のZ軸方法ベクトルを記憶装置12より読み込
み、方向ベクトルの和を3次元スクリーンの視線方向と
して設定する。例えば、図17(A)に示したように、
右方向余弦をもつ正面図40、右側面図42、上面図4
1が作図された図面の場合、各VIEWのZ軸の方項ベ
クトル(Z1,Z2,Z3)の和ベクトル(Z4=Z1
+Z2+Z3)を求める。のベクトル座標系が図17
(B)に示されている。そして、図18に示したよう
に、求めたベクトルが視線方向(Z4)となる3次元ス
クリーンを自動設定する。次にステップS54に進み、
図19に示すように、表示装置14の設定された3次元
スクリーンにおいて、記憶装置12に定義された3次元
化面モデルを表示する。
Step S corresponding to step S4 in FIG.
When an instruction to create a three-dimensional surface model is issued at 51, the process proceeds to step S52, and all VIEWs existing in the drawing are processed.
The Z-axis method vector (front view, right side view, left side view, top view, bottom view, rear view, etc.) is read from the storage device 12, and the sum of the direction vectors is set as the viewing direction of the three-dimensional screen. For example, as shown in FIG.
Front view 40, right side view 42, top view 4 with right cosine
In the case where 1 is a drawing, the sum vector (Z4 = Z1) of the Z-axis direction vectors (Z1, Z2, Z3) of each VIEW.
+ Z2 + Z3) is calculated. Vector coordinate system of the Soviet Union 17
It is shown in (B). Then, as shown in FIG. 18, a three-dimensional screen in which the obtained vector is in the line-of-sight direction (Z4) is automatically set. Next, in step S54,
As shown in FIG. 19, the three-dimensional screen model defined in the storage device 12 is displayed on the set three-dimensional screen of the display device 14.

【0043】[第2実施例]次に図形上に開口部が設け
られている場合の3次元モデルの作成処理を示す本発明
の第2実施例の処理を詳しく説明する。尚、この第2実
施例における図形処理システムのハードウェア構成は、
前述の第1実施例の装置の構成とほぼ同様であるので、
その説明を省略する。
[Second Embodiment] Next, the process of the second embodiment of the present invention showing the process of creating a three-dimensional model when an opening is provided on a figure will be described in detail. The hardware configuration of the graphic processing system according to the second embodiment is as follows.
Since the configuration of the apparatus of the first embodiment is almost the same,
The description is omitted.

【0044】図20は、第2実施例の図形処理装置にお
ける処理を示すフローチャートで、この処理を実行する
制御プログラムは記憶装置12に記憶されており、中央
処理装置13により実行される。
FIG. 20 is a flow chart showing the processing in the graphic processing apparatus of the second embodiment. The control program for executing this processing is stored in the storage device 12 and executed by the central processing unit 13.

【0045】ステップS61では、前述の図1のステッ
プS1と同様に、記憶装置12から図面情報を読み込
む。次にステップS62に進み、図1のステップS2と
同様にして、図面中の線分、円弧等の図形要素の隣接関
係、接続状態等を調べながら、図形を閉領域化して記憶
装置12に格納する。
In step S61, the drawing information is read from the storage device 12 as in step S1 of FIG. Next, the process proceeds to step S62, and in the same manner as step S2 of FIG. 1, the figure is closed and stored in the storage device 12 while checking the adjacency relation of the graphic elements such as line segments and arcs in the drawing and the connection state. To do.

【0046】次にステップS63に進み、閉領域化した
閉領域を表示装置14に表示する。ここまでの処理で、
面形状の定義に必要な閉領域が準備されたことになる。
以下、詳細な説明に入る前に、後述の説明で使用する用
語を定義しておく。
Next, in step S63, the closed area that has been closed is displayed on the display device 14. By the processing so far,
The closed area required for defining the surface shape is prepared.
Hereinafter, before entering the detailed description, terms used in the following description will be defined.

【0047】これから面形状を定義する対象である閉領
域が存在するビュー(投影図)を着目ビューとし、対象
とする閉領域の面形状を定義する要素の存在をサーチす
るビューをサーチビューとし、サーチビューの支線方向
をサーチ方向とする。また、このサーチ方向に直交する
方向をサーチ直交方向とする。
From now on, a view (projection view) in which a closed region which is a target for defining the surface shape exists is a view of interest, and a view for searching for the existence of an element defining the surface shape of the target closed region is a search view. The branch direction of the search view is the search direction. Further, a direction orthogonal to this search direction is a search orthogonal direction.

【0048】ステップS63では、面形状が未確定の閉
領域があるかどうかをサーチする。即ち、記憶装置12
に記憶されている全ての閉領域をサーチして、その閉領
域の面形状が確定しているかどうかを調べ(S65)、
面形状の自動定義の対象となる未確定の閉領域を取り出
す。以下の処理も特に断りのない限り、記憶装置12に
おける処理を示している。
In step S63, it is searched whether or not there is a closed region whose surface shape is undetermined. That is, the storage device 12
All the closed areas stored in are searched to see if the surface shape of the closed area is fixed (S65),
Extract an undetermined closed area that is the target of automatic definition of the surface shape. The following processing also indicates processing in the storage device 12 unless otherwise specified.

【0049】こうして面形状が確定していない閉領域が
見つかるとステップS66に進み、開口部自動定義ステ
ップを実行する。これは、それまでのステップで取り出
した面形状が未確定の閉領域に対して開口部を定義しよ
うとするもので、この開口部自動定義ステップの詳細な
フローチャートを図21に、また、開口部の自動定義の
図面例を図22(A)(B)に示す。
When a closed region whose surface shape is not determined is found in this way, the flow advances to step S66 to execute the automatic opening definition step. This is intended to define an opening for a closed region in which the surface shape extracted in the steps so far is undetermined. A detailed flowchart of this automatic opening definition step is shown in FIG. 22 (A) and 22 (B) show examples of automatically defined drawings.

【0050】まずステップS81で、対象とする閉領域
が開口部として成立し得るかどうかをチェックする。こ
のチェックの方法は、例えば、対象とする閉領域内の要
素(エッジ)に最外周ループ(図3参照)のものがない
かどうかを判定することにより実現できる。これは最外
周部を持つ閉領域またはループが、開口部となることは
有り得ないことによる。次にステップS82に進み、開
口部を定義する開口部定義要素をサーチする方向を決定
する。このサーチする方向は、例えば、対象とする閉領
域の存在する着目ビューに隣接する各ビューの視線方向
である(図22(A)参照)。各々のビューの方向にサ
ーチを行なってゆき、ステップS85、S86で開口部
が確定するまで、あるいはステップS82で全ての隣接
ビューのサーチが終了するまで、サーチ方向を変えなが
ら以下の処理を行う。
First, in step S81, it is checked whether the target closed region can be realized as an opening. This checking method can be realized by, for example, determining whether or not the element (edge) in the target closed area has the outermost loop (see FIG. 3). This is because the closed region or loop having the outermost periphery cannot be the opening. Next, in step S82, the direction in which to search for the opening definition element that defines the opening is determined. The direction of this search is, for example, the line-of-sight direction of each view adjacent to the view of interest in which the target closed region exists (see FIG. 22A). The search is performed in the direction of each view, and the following processing is performed while changing the search direction until the openings are determined in steps S85 and S86 or until the search of all adjacent views is completed in step S82.

【0051】次にステップS83に進み、対象とする閉
領域の開口部定義要素サーチ直交方向の幅が最大になる
位置を計算する。この計算の方法は、例えば、閉領域を
構成する各要素をサーチ方向に投影し、その最大・最小
値を取ることにり求められる。次にステップS84に進
み、対象とする閉領域の最大幅位置の一端に合致する開
口部定義要素をサーチする。この方法は、例えば、サー
チビュー内の全要素を調べて始終点が対象となる閉領域
の最大幅位置の一端に一致する開口部定義要素、例え
ば、図22(B)の破線で表現された線分など、を選択
することにより行われる。
Next, in step S83, the position where the width of the target closed area in the direction orthogonal to the opening defining element search is maximized is calculated. This calculation method is obtained, for example, by projecting each element forming the closed region in the search direction and taking the maximum and minimum values thereof. Next, proceeding to step S84, an opening defining element that matches one end of the maximum width position of the target closed area is searched. In this method, for example, all the elements in the search view are examined, and the opening and defining elements whose start and end points coincide with one end of the maximum width position of the target closed region, for example, are represented by the broken line in FIG. This is done by selecting a line segment or the like.

【0052】次にステップS85に進み、対象とする閉
領域の最大幅位置の両端に上記ステップでサーチした開
口部選択要素が存在するかどうかをチェックする。そし
てステップS84で、対象とする閉領域の最大幅位置の
両端に開口部選択要素が存在する場合は、対象とする閉
領域を開口部として確定する(ステップS86)。ここ
までの処理で開口部として確定しない場合はステップS
87に進み、開口部の自動定義未確定とする。
Next, in step S85, it is checked whether or not the opening selection elements searched in the above step are present at both ends of the maximum width position of the target closed area. Then, in step S84, when the opening selection element exists at both ends of the maximum width position of the target closed area, the target closed area is determined as the opening (step S86). If it is not decided as the opening by the processing so far, step S
Proceeding to 87, the automatic definition of the opening is undetermined.

【0053】こうして開口部を含むことが確定すると図
20のステップS68に進み、断面を自動的に定義する
処理を実行する。この断面自動定義ステップの詳細なフ
ローチャートが図23に示されている。また図24
(A)(B)は、断面の自動定義の図面例を示してい
る。
When it is determined that the opening is included, the flow advances to step S68 in FIG. 20 to execute the process of automatically defining the cross section. A detailed flow chart of this automatic section definition step is shown in FIG. Also in FIG.
(A) and (B) have shown the drawing example of the automatic definition of a cross section.

【0054】まずステップS91で、対象とする閉領域
の断面定義要素をサーチする方向を決定する。このサー
チする方向は、例えば、着目ビューに隣接する各ビュー
の視線方向である。図24(A)の例において、現在の
面形状自動定義対象閉領域が、101または102の場
合、このサーチ方向は、図24(B)の隣接ビュー内の
閉領域103の方向となる。このように、それぞれのビ
ューの方向にサーチを行ってゆき、断面が確定するま
で、あるいは、全ての隣接ビューのサーチが終了するま
でサーチ方向を変えながら以下の処理を行う。
First, in step S91, the direction in which the cross-section defining element of the target closed area is searched is determined. This search direction is, for example, the line-of-sight direction of each view adjacent to the view of interest. In the example of FIG. 24A, when the current surface shape automatic definition target closed region is 101 or 102, this search direction is the direction of the closed region 103 in the adjacent view of FIG. 24B. In this way, the search is performed in the direction of each view, and the following processing is performed while changing the search direction until the section is determined or until the search of all adjacent views is completed.

【0055】ステップS92では、サーチ方向における
対象閉領域のサーチ直交方向の最大幅および最大幅位置
の計算を行う。この計算の方法は、開口部の最大幅位置
の計算時と同様にして行われる。次にステップS93に
進み、対象閉領域の最大幅位置の両端に合致する断面定
義要素候補をサーチする。この方法は、例えば、サーチ
ビュー内の全要素に対して、各要素のサーチ直交方向の
最大幅位置を計算し、これを対象閉領域の最大幅位置の
両端と比較してゆくことにより実現される。比較の結
果、両端が一致した要素が円弧や線分は、断面定義要素
候補とする。このとき、着目要素の幅が対象領域の幅よ
りも小さくて、かつ隣接要素と延長可能な場合、例え
ば、同一直線上または同一円弧上にある場合など、には
要素を延長して、改めて対象とする閉領域の最大幅位置
の両端を比較する。
In step S92, the maximum width and the maximum width position in the search orthogonal direction of the target closed region in the search direction are calculated. This calculation method is performed in the same manner as the calculation of the maximum width position of the opening. Next, proceeding to step S93, a section defining element candidate matching both ends of the maximum width position of the target closed region is searched. This method is implemented, for example, by calculating the maximum width position of each element in the search orthogonal direction for all elements in the search view and comparing this with both ends of the maximum width position of the target closed region. It As a result of the comparison, an arc or a line segment whose both ends coincide with each other is regarded as a section definition element candidate. At this time, if the width of the focused element is smaller than the width of the target area and can be extended with the adjacent element, for example, if they are on the same straight line or on the same circular arc, the element is extended and the target Both ends of the maximum width position of the closed area are compared.

【0056】図24の例において、現在の面形状自動定
義対象閉領域が101の場合、サーチ直交方向における
101の最大幅位置の両端に一致する要素は、図24
(B)の隣接ビューのe09のみである。また、対象閉
領域が102の場合、サーチ直交方向における閉領域1
02の最大幅位置の両端に一致する要素は、図24
(B)の隣接ビューのe10のみである。また、対象閉
領域が103の場合、サーチ直交方向における閉領域1
03の最大幅位置の両端に一致する要素は、延長された
2組の要素、(e04+e07)、および(e02+e
05)である。
In the example of FIG. 24, when the current surface shape automatic definition target closed region is 101, the elements matching the both ends of the maximum width position of 101 in the search orthogonal direction are shown in FIG.
Only e09 of the adjacent view in (B). Further, when the target closed region is 102, the closed region 1 in the search orthogonal direction is
Elements corresponding to both ends of the maximum width position of 02 are shown in FIG.
Only e10 of the adjacent view in (B). When the target closed area is 103, the closed area 1 in the search orthogonal direction is
The elements corresponding to both ends of the maximum width position of 03 are two extended elements, (e04 + e07), and (e02 + e
05).

【0057】次にステップS94に進み、上記ステップ
でサーチした断面定義要素候補を取拾選択する。これら
断面定義要素候補の種別には、例えば円、円弧、傾いた
線分、水平な線分等があるが、これらの取捨選択の基準
は、例えば、 要素候補自身が、さらに隣接要素と延長可能な場合は
選択を捨てる(延長不可のルール)。
Next, in step S94, the section defining element candidate searched in the above step is selected and selected. The types of these cross-section definition element candidates include, for example, circles, arcs, slanted line segments, horizontal line segments, etc., but the criteria for selecting these are, for example, the element candidates themselves can be extended with adjacent elements. If not, discard the selection (non-extendable rule).

【0058】水平な線分とそれ以外の要素が同時に候
補となっている場合には、水平な線分を捨てる(水平劣
勢のルール)。
When a horizontal line segment and other elements are candidates at the same time, the horizontal line segment is discarded (horizontal inferiority rule).

【0059】同一種の要素候補が同時に候補となって
いる場合には、最も対象閉領域に近い側の要素候補以外
の選択を捨てる(手前優先のルール)。
When element candidates of the same type are simultaneously candidates, selections other than the element candidate closest to the target closed area are discarded (precedence priority rule).

【0060】などである。And so on.

【0061】この図24の例において、現在の面形状の
自動定義提唱閉領域が、隣接ビューの閉領域103の場
合には、2組の断面定義要素候補要素(e04+e0
7)、および(e02+e05)のうち、(e02+e
05)は、前述のの手前優先のルールによって捨てら
れる。次にステップS95に進み、上記ステップで取捨
選択した断面定義要素候補をチェックし、残った候補の
数を調べる。残った候補の数が一つの場合には断面形状
が一意に定まったことになり、その場合には対象となる
閉領域を定まった断面定義要素で定義できる断面として
確定する(ステップS96)。
In the example of FIG. 24, when the current area-defined automatically defined proposed closed area is the closed area 103 of the adjacent view, two sets of cross-section definition element candidate elements (e04 + e0) are used.
7) and (e02 + e05), (e02 + e)
05) is abandoned by the above-mentioned prioritized rule. Next, proceeding to step S95, the cross-section defining element candidates selected in the above step are checked and the number of remaining candidates is checked. If the number of remaining candidates is one, it means that the cross-sectional shape is uniquely determined. In that case, the target closed region is determined as a cross-section that can be defined by the fixed cross-section defining element (step S96).

【0062】また図24の例において、対象閉領域が1
01の場合、e09によって断面が一意に定まるので確
定する。また、対象閉領域が102の場合、e10によ
って断面が一意に定まるので確定する。また、対象閉領
域が103の場合には、(e04+e07)によって断
面が一意に定まるので確定する。こうして、これまでの
ステップで確定していない閉領域は、ステップS91で
新たにサーチ方向を変え、面形状が確定するまで、また
は全てのサーチ方向をサーチするまで断面定義要素のサ
ーチを続ける。こうして最後まで断面形状が確定しない
場合には、断面形状の自動定義未確定とする(ステップ
S97)。
In the example of FIG. 24, the target closed area is 1
In the case of 01, since the cross section is uniquely determined by e09, it is determined. Further, when the target closed region is 102, the cross section is uniquely determined by e10, and thus it is determined. Further, when the target closed region is 103, the section is uniquely determined by (e04 + e07), and thus is determined. In this way, in the closed region which has not been determined in the steps so far, the search direction is newly changed in step S91, and the search for the cross-section defining element is continued until the surface shape is determined or all the search directions are searched. In this way, when the sectional shape is not finalized until the end, the automatic definition of the sectional shape is undetermined (step S97).

【0063】こうして再び図20のステップS69に進
み、断面形状が確定しているときはステップS70に進
み、ここまでの処理で面形状の定義の対象となる閉領域
と、その面形状を定義する要素が確定したことになり、
これらにより面形状を表わす数学式等を導き、対象閉領
域の面形状として定義して記憶装置12に格納する。一
方、断面が確定できないときはステップS71に進み、
ここまでの処理で面形状定義の対象となる閉領域と、そ
の面形状を定義する要素が未確定であるので、未定義面
として記憶装置12に格納する。
In this way, the process proceeds to step S69 of FIG. 20 again, and when the cross-sectional shape is confirmed, the process proceeds to step S70 to define the closed area to be the object of defining the surface shape and the surface shape by the processing up to this point. The element has been decided,
A mathematical expression or the like expressing the surface shape is derived from these, defined as the surface shape of the target closed region, and stored in the storage device 12. On the other hand, when the cross section cannot be determined, the process proceeds to step S71,
Since the closed area to be the surface shape definition target and the element defining the surface shape have not been determined by the processing up to this point, they are stored in the storage device 12 as undefined surfaces.

【0064】以上のステップにより定義された面形状
は、ステップS72において面形状定義結果として表示
される。即ち、前述の処理によって定義された情報が記
憶装置12から呼び出されて、面形状の種別ごとに区別
して表示される。この表示を区別する方法は、例えば、
開口部、断面、未定義ごとに色を替えて閉領域を塗りつ
ぶすなどにより達成される。
The surface shape defined by the above steps is displayed as the surface shape definition result in step S72. That is, the information defined by the above-mentioned processing is called from the storage device 12 and displayed separately for each type of surface shape. The way to distinguish this display is, for example,
This is achieved by changing the color for each opening, section, and undefined to fill the closed area.

【0065】図25(A)(B)は、面形状を定義した
結果の表示例を示す。この図25では、閉領域250が
開口部として定義され、その断面が隣接ビュー(図25
(B))で破線で示されている。
FIGS. 25A and 25B show display examples of the results of defining the surface shape. In FIG. 25, a closed region 250 is defined as an opening, and its cross section is adjacent to the view (FIG. 25).
(B)) is indicated by a broken line.

【0066】ここまでの処理により、図面などで表現さ
れた図形の閉領域化と、閉領域のそれぞれの面形状の自
動定義、及びその結果が表示される。このようにして記
憶装置12に記憶されている閉領域と面形状とにより、
3次元の図形が作成されて表示され、この作成された3
次元モデルデータは、記憶装置12に記憶されて保存さ
れる。
By the processing up to this point, the closed area of the figure represented by the drawing, the automatic definition of the surface shape of each closed area, and the result are displayed. In this way, by the closed area and the surface shape stored in the storage device 12,
A three-dimensional figure is created and displayed.
The dimensional model data is stored and saved in the storage device 12.

【0067】図26は図25のデータに基づいて作成さ
れた3次元モデルの表示例を示す図である。
FIG. 26 is a diagram showing a display example of a three-dimensional model created based on the data of FIG.

【0068】以上説明したように第2実施例によれば、
従来不可能であった、図面などで表現された図形に基づ
いて、直接3次元のモデルを作成することができる。
As described above, according to the second embodiment,
It is possible to directly create a three-dimensional model based on a figure represented by a drawing or the like, which has been impossible in the past.

【0069】またこの実施例によれば、図形の表面形状
を自動的に定義して3次元モデルを作成できるので、3
次元形状図形の入力の手間を大幅に節減でき、かつその
3次元モデルの精度を高めることができる。
According to this embodiment, the surface shape of a figure can be automatically defined to create a three-dimensional model.
The labor of inputting the three-dimensional figure can be significantly reduced, and the accuracy of the three-dimensional model can be improved.

【0070】[0070]

【他の実施例】上記の実施例の面形状定義では、表示装
置14に表示された閉領域と図形要素とを、入力装置1
1を使用して順次指示してゆく面形状の定義方法につい
て説明したが、他の実施例として、予め図面中の閉領域
の内部、およびその面形状を表す要素上に、各々対にな
る図形属性(例えば記号や文字、色など)を指示してお
く。更に、予めこの図形属性毎の面形状の定義を指示し
ておくことにより、表示或は入力指示などにおける対話
処理を行うことなく、バッチ処理にて面形状を定義する
こともできる。
[Other Embodiments] In the surface shape definition of the above embodiment, the closed area and the graphic element displayed on the display device 14 are defined by the input device 1.
Although the method of defining the surface shape which is sequentially instructed using 1 has been described, as another embodiment, a pair of figures are formed inside the closed region in the drawing and on the element representing the surface shape in advance. Indicate attributes (eg symbols, characters, colors, etc.). Furthermore, by instructing the definition of the surface shape for each graphic attribute in advance, the surface shape can be defined by batch processing without performing interactive processing such as display or input instruction.

【0071】尚、本発明は、複数の機器から構成される
システムに適用しても、1つの機器から成る装置に適用
しても良い。また、本発明はシステム或は装置に、本発
明を実施するプログラムを供給することによって達成さ
れる場合にも適用できることは言うまでもない。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of one device. Further, it goes without saying that the present invention can also be applied to the case where it is achieved by supplying a program for implementing the present invention to a system or an apparatus.

【0072】以上説明したように本実施例によれば、従
来、不可能であった図面などに表現された図形に基づい
て、直接3次元モデル(サーフェス)化した図形を作成
して表示できる。これにより、3次元モデルの図形を作
成するための、形状入力等の手間を省略でき、その作成
される3次元図形の精度を大幅に向上できるという効果
がある。
As described above, according to this embodiment, it is possible to directly create and display a figure which is made into a three-dimensional model (surface) based on a figure expressed in a drawing or the like, which has been impossible in the past. As a result, it is possible to eliminate the trouble of inputting a shape or the like for creating a three-dimensional model graphic, and it is possible to significantly improve the accuracy of the created three-dimensional graphic.

【0073】[0073]

【発明の効果】以上説明したように本発明によれば、簡
単に図形の各要素の面形状を定義して、それら定義した
図形要素に基づいて3次元図形を作成できる効果があ
る。
As described above, according to the present invention, the surface shape of each element of a figure can be easily defined, and a three-dimensional figure can be created based on the defined figure elements.

【0074】また本発明によれば、これら図形要素の面
形状の定義内容を簡単に確認して変更できる。
Further, according to the present invention, the definition contents of the surface shape of these graphic elements can be easily confirmed and changed.

【0075】また本発明によれば、画面上で複数の図形
と図形要素とを確認しながら、それら図形に基づく3次
元図形を、簡単な操作で作成できる効果がある。
Further, according to the present invention, while confirming a plurality of figures and figure elements on the screen, a three-dimensional figure based on these figures can be created by a simple operation.

【0076】また本発明によれば、所定の面の形状を他
の図形の対応する面形状に従って変更できるようにし
て、正確な3次元図形を作成できる。
Further, according to the present invention, the shape of a predetermined surface can be changed according to the corresponding surface shape of another graphic, and an accurate three-dimensional graphic can be created.

【0077】更に本発明によれば、開口部を含む図形で
あっても、簡単な操作で平面図形より3次元図形を作成
できるという効果がある。
Further, according to the present invention, there is an effect that even a figure including an opening can be made into a three-dimensional figure from a plane figure by a simple operation.

【0078】[0078]

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

【図1】本発明の第1実施例における3次元モデル作成
のための図形処理方法を説明するフローチャートであ
る。
FIG. 1 is a flowchart illustrating a graphic processing method for creating a three-dimensional model according to a first embodiment of the present invention.

【図2】本実施例の図形処理システムの概略構成を示す
ブロック図である。
FIG. 2 is a block diagram showing a schematic configuration of a graphic processing system of this embodiment.

【図3】本実施例における閉領域を説明する図である。FIG. 3 is a diagram illustrating a closed region in this embodiment.

【図4】第1実施例における図形とメニューの表示例を
示す図である。
FIG. 4 is a diagram showing a display example of a graphic and a menu in the first embodiment.

【図5】第1実施例における面形状の定義処理を示すフ
ローチャートである。
FIG. 5 is a flowchart showing a surface shape defining process in the first embodiment.

【図6】第1実施例における対象閉領域の指示例を説明
する図である。
FIG. 6 is a diagram illustrating an example of designation of a target closed region according to the first embodiment.

【図7】第1実施例における面形状を定義する処理例を
示す図である。
FIG. 7 is a diagram showing a processing example for defining a surface shape in the first embodiment.

【図8】第1実施例における面形状要素の指示例(平
面)を示す図である。
FIG. 8 is a diagram showing an instruction example (plane) of a surface shape element in the first embodiment.

【図9】第1実施例における面形状要素の指示例(回転
面)を示す図である。
FIG. 9 is a diagram showing an instruction example (rotational surface) of a surface shape element in the first embodiment.

【図10】閉領域及び面形状幅が一致しているかを判定
する例を示す図である。
FIG. 10 is a diagram illustrating an example of determining whether the closed region and the surface shape width match.

【図11】面形状の修正例を示す図である。FIG. 11 is a diagram showing a modification example of the surface shape.

【図12】第1実施例における面形状の定義をキャンセ
ルする処理を示すフローチャートである。
FIG. 12 is a flowchart showing processing for canceling the definition of the surface shape in the first embodiment.

【図13】第1実施例における面形状の定義をキャンセ
ル例を示す図である。
FIG. 13 is a diagram showing an example of canceling the definition of the surface shape in the first embodiment.

【図14】第1実施例における面形状の確認処理を示す
フローチャートである。
FIG. 14 is a flowchart showing a surface shape confirmation process in the first embodiment.

【図15】第1実施例における面形状の定義を確認する
例を示す図である。
FIG. 15 is a diagram showing an example of confirming the definition of the surface shape in the first embodiment.

【図16】第1実施例における3次元モデルの作成処理
を示すフローチャートである。
FIG. 16 is a flowchart showing a process of creating a three-dimensional model in the first embodiment.

【図17】第1実施例における図面内のVIEW方向余
弦例を示す図である。
FIG. 17 is a diagram showing an example of VIEW direction cosine in the drawing in the first embodiment.

【図18】第1実施例における3次元スクリーンの設定
例を示す図である。
FIG. 18 is a diagram showing a setting example of a three-dimensional screen in the first embodiment.

【図19】本実施例における3次元モデルの表示例を示
す図である。
FIG. 19 is a diagram showing a display example of a three-dimensional model in the present embodiment.

【図20】本発明の第2実施例における面形状の自動定
義処理を示すフローチャートである。
FIG. 20 is a flowchart showing a surface shape automatic definition process in the second embodiment of the present invention.

【図21】第2実施例における開口部の自動定義を説明
するフローチャートである。
FIG. 21 is a flowchart illustrating automatic definition of an opening in the second embodiment.

【図22】開口部の自動定義を説明するための図であ
る。
FIG. 22 is a diagram for explaining automatic definition of an opening.

【図23】断面の自動定義処理を示すフローチャートで
ある。
FIG. 23 is a flowchart showing a section automatic definition process.

【図24】断面の自動定義を説明するための図である。FIG. 24 is a diagram for explaining automatic definition of a cross section.

【図25】第2実施例における面形状を自動定義した結
果の表示例を示す図である。
FIG. 25 is a diagram showing a display example of a result of automatically defining a surface shape in the second embodiment.

【図26】第2実施例における3次元モデルの作成例を
示す図である。
FIG. 26 is a diagram showing an example of creating a three-dimensional model in the second embodiment.

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

11 入力装置 12 記憶装置 13 中央処理装置 14 表示装置 11 Input device 12 storage devices 13 Central processing unit 14 Display

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平4−296975(JP,A) 特開 平4−360275(JP,A) 佐藤勇一 他,CAD図面に基づいた ソリッドモデル生成処理,情報処理学会 研究報告,社団法人情報処理学会,1991 年 5月24日,vol.91,no.43 (CG−50),p.43−50 (58)調査した分野(Int.Cl.7,DB名) G06F 17/50 JICSTファイル(JOIS)─────────────────────────────────────────────────── ─── Continuation of front page (56) References JP-A-4-296975 (JP, A) JP-A-4-360275 (JP, A) Yuichi Sato et al. Solid model generation processing based on CAD drawings, information processing Academic Research Report, Information Processing Society of Japan, May 24, 1991, vol. 91, no. 43 (CG-50), p. 43-50 (58) Fields surveyed (Int.Cl. 7 , DB name) G06F 17/50 JISST file (JOIS)

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】少なくとも表示装置と記憶装置及び入力装
置を有し、前記表示装置の表示画面に表示した複数の平
面図形に基づいて3次元図形を作成する図形処理装置に
おける図形処理方法であって、 前記記憶装置に記憶されている、1つの3次元図形を異
なる方向から見た複数の平面図形を前記表示画面上に表
示する工程と、 前記表示画面に表示された前記平面図形から、オペレー
タにより前記入力装置を使用して処理対象の閉領域を指
示する工程と、オペレータにより 前記入力装置を使用して前記閉領域の
面形状を定義する工程と、オペレータにより 前記入力装置を使用して、表示されて
いる他の平面図形における、前記閉領域に対応する面の
形状を指示する工程と、 前記閉領域の幅と前記対応する閉領域の面の形状の長さ
とを比較して一致しない場合、前記閉領域に対応する面
の形状の長さを前記閉領域の幅と一致するように修正す
る工程と、 前記各工程を前記複数の平面図形の各面に対して実行
し、前記複数の平面図形より3次元図形を作成し、前記
表示画面上に表示する工程と、 を有することを特徴とする図形処理方法。
1. A graphic processing method in a graphic processing device, which has at least a display device, a storage device, and an input device, and creates a three-dimensional graphic based on a plurality of planar graphics displayed on a display screen of the display device. the storage device is stored, and displaying a plurality of plane figures viewed one three-dimensional shape from different directions on the display screen, from the plane figure displayed on the display screen, operator
A step of instructing the closed region to be processed by using the input device by data, a step of defining a surface shape of the closed region by using the input device by the operator, using the input device by the operator , Comparing the width of the closed area with the length of the shape of the surface of the corresponding closed area in the other planar figure being displayed, and the shape of the surface corresponding to the closed area is not matched. In this case, the step of correcting the length of the shape of the surface corresponding to the closed region so as to match the width of the closed region, and performing each of the steps for each surface of the plurality of planar figures, And a step of creating a three-dimensional figure from the plane figure and displaying it on the display screen.
【請求項2】前記閉領域に対して定義されている面形状
の定義事項を、オペレータにより前記表示画面上で確認
させる工程を更に有することを特徴とする請求項1に記
載の図形処理方法。
2. The operator confirms the definition items of the surface shape defined for the closed area on the display screen.
Graphic processing method according to claim 1, further comprising a step of Ru is.
【請求項3】少なくとも表示装置と記憶装置及び入力装
置を有し、前記表示装置の表示画面に表示した複数の平
面図形に基づいて3次元図形を作成する図形処理装置に
おける図形処理方法であって、 前記記憶装置に記憶されている、1つの3次元図形を異
なる方向から見た複数の平面図形を前記表示画面上に表
示する工程と、 前記表示画面に表示された前記平面図形から、オペレー
タにより前記入力装置を使用して処理対象の閉領域を指
示する工程と、オペレータにより 前記入力装置を使用して前記閉領域の
面形状を定義する工程と、 前記閉領域が当該閉領域を含む平面図形の最外周を含む
か否かにより当該閉領域が開口部となり得るか否かを判
断する判断工程と、 前記判断工程で開口部となり得ると判断されると前記閉
領域を含む平面図形に隣接する平面図形の方向を示すサ
ーチ方向を決定し、前記サーチ方向に直交する前記閉領
域の幅を求める工程と、 前記閉領域の幅に基づき、前記サーチ方向に位置してい
る平面図形に含まれる前記閉領域に対応する要素が開口
部選択要素であるか否かを判断する工程と、 前記開口部選択要素であると判断された場合、前記閉領
域を開口部であると判定する工程と、 開口部であると判定された前記閉領域と、当該閉領域に
対して定義された前記面形状に基づいて前記複数の平面
図形より3次元図形を作成し、前記表示画面上に表示す
る工程と、 を有することを特徴とする図形処理方法。
3. A graphic processing method in a graphic processing device, which has at least a display device, a storage device, and an input device, and creates a three-dimensional graphic based on a plurality of planar graphics displayed on a display screen of the display device. the storage device is stored, and displaying a plurality of plane figures viewed one three-dimensional shape from different directions on the display screen, from the plane figure displayed on the display screen, operator
And a step of instructing the closed region to be processed by using the input device by data, a step of defining a surface shape of the closed region by using the input device by an operator, the closed area is a the closed area A determination step of determining whether or not the closed region can be an opening depending on whether or not the outermost periphery of the planar figure is included; A step of determining a search direction indicating the directions of adjacent plane figures and obtaining a width of the closed region orthogonal to the search direction; and including a plane figure positioned in the search direction based on the width of the closed region. Determining whether the element corresponding to the closed region is an opening selection element, and determining that the closed region is an opening when it is determined to be the opening selection element. At the opening And a step of creating a three-dimensional figure from the plurality of plane figures on the basis of the surface shape defined for the closed area and displaying the three-dimensional figure on the display screen. Figure processing method characterized by.
【請求項4】表示画面上に、1つの3次元図形を異なる
方向から見た複数の平面図形を表示する表示制御手段
と、 前記表示画面に表示された前記平面図形から処理対象の
閉領域を、オペレータの操作により指示するための指示
手段と、 前記指示手段を使用して指示された閉領域の面形状を
オペレータの操作により定義するための面定義手段と、 前記表示画面上に表示されている他の平面図形におけ
る、前記閉領域に対応する面の形状を、オペレータの操
作により定義するための面形状定義手段と、 前記閉領域の幅と前記対応する閉領域の面の形状の長さ
とを比較して一致しない場合、前記閉領域に対応する面
の形状の長さを前記閉領域の幅と一致するように修正す
る修正手段と、 前記複数の平面図形の各面に対して閉領域と前記閉領域
に対応する面の形状が設定されると、前記複数の平面図
形より3次元図形を作成し、前記表示画面上に表示する
作成手段と、 を有することを特徴とする図形処理装置。
4. A display control means for displaying a plurality of plane figures in which one three-dimensional figure is viewed from different directions on a display screen, and a closed area to be processed from the plane figure displayed on the display screen. An instructing means for instructing by an operator's operation, and a surface shape of the closed region instructed by using the instructing means ,
Surface definition means for defining by operator's operation, and the shape of the surface corresponding to the closed area in the other plane figure displayed on the display screen is manipulated by the operator.
If the shape of the surface corresponding to the closed area does not match by comparing the width of the closed area with the length of the shape of the surface of the corresponding closed area, the length of the shape of the surface corresponding to the closed area is defined. Correcting means for correcting so as to match the width of the closed area, and when the shape of the closed area and the surface corresponding to the closed area are set for each surface of the plurality of planar figures, the plurality of flat surfaces A graphic processing device, comprising: a creating means for creating a three-dimensional graphic from the graphic and displaying it on the display screen.
【請求項5】表示画面上に、1つの3次元図形を異なる
方向から見た複数の平面図形を表示する表示制御手段
と、 前記表示画面に表示された表示された平面図形から処理
対象の閉領域を、オペレータの操作により指示するため
の指示手段と、 前記指示手段を使用して指示された前記閉領域の面形状
、オペレータの操作により定義するための面形状定義
手段と、 前記閉領域が当該閉領域を含む平面図形の最外周を含む
か否かにより当該閉領域が開口部となり得るか否かを判
断する第1判断手段と、 前記第1判断手段の判断により開口部となり得ると判断
されると前記閉領域を含む平面図形に隣接する平面図形
の方向を示すサーチ方向を決定し、前記サーチ方向に直
交する前記閉領域の幅を求める幅決定手段と、 前記幅決定手段により決定された前記閉領域の幅に基づ
き、前記サーチ方向に位置している平面図形に含まれる
前記閉領域に対応する要素が開口部選択要素であるか否
かを判断する第2判断手段と、 前記第2判断手段の判断により開口部選択要素であると
判断された場合、当該閉領域を開口部であると判定する
判定手段と、 開口部であると判定された閉領域と、当該閉領域に対し
て定義された前記面形状に基づいて前記複数の平面図形
より3次元図形を作成し、前記表示画面上に表示する作
成手段と、 を有することを特徴とする図形処理装置。
5. A display control means for displaying a plurality of plane figures in which one three-dimensional figure is viewed from different directions on a display screen, and closing a processing target from the displayed plane figures displayed on the display screen. Instructing means for instructing an area by an operator's operation , surface shape defining means for defining a surface shape of the closed area instructed by using the instructing means by an operator's operation, and the closed area A first judgment means for judging whether or not the closed area can be an opening depending on whether or not includes the outermost periphery of the plane figure including the closed area; and an opening can be formed by the judgment of the first judgment means. When it is determined, a search direction indicating the direction of a plane figure adjacent to the plane figure including the closed area is determined, and a width determination means for determining the width of the closed area orthogonal to the search direction is determined by the width determination means. Second determining means for determining, based on the width of the closed region, whether or not the element corresponding to the closed region included in the planar figure positioned in the search direction is an opening selection element; If it is determined by the second determination means that the element is an opening selection element, the determination means determines that the closed area is an opening, the closed area determined to be the opening, and the closed area. A graphic processing device comprising: a creating unit that creates a three-dimensional graphic from the plurality of planar graphics based on the surface shape defined for the screen and displays the three-dimensional graphic on the display screen.
JP06137294A 1994-03-30 1994-03-30 Graphic processing method and apparatus Expired - Fee Related JP3524143B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06137294A JP3524143B2 (en) 1994-03-30 1994-03-30 Graphic processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06137294A JP3524143B2 (en) 1994-03-30 1994-03-30 Graphic processing method and apparatus

Publications (2)

Publication Number Publication Date
JPH07272002A JPH07272002A (en) 1995-10-20
JP3524143B2 true JP3524143B2 (en) 2004-05-10

Family

ID=13169285

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06137294A Expired - Fee Related JP3524143B2 (en) 1994-03-30 1994-03-30 Graphic processing method and apparatus

Country Status (1)

Country Link
JP (1) JP3524143B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4616585B2 (en) * 2004-06-30 2011-01-19 富士通株式会社 Image display device and image display program
JP6145234B1 (en) * 2017-01-25 2017-06-07 日建リース工業株式会社 Design support apparatus for temporary structure and program thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
佐藤勇一 他,CAD図面に基づいたソリッドモデル生成処理,情報処理学会研究報告,社団法人情報処理学会,1991年 5月24日,vol.91,no.43(CG−50),p.43−50

Also Published As

Publication number Publication date
JPH07272002A (en) 1995-10-20

Similar Documents

Publication Publication Date Title
EP0640943B1 (en) Shape modeling apparatus and method
US7420556B2 (en) Information processing method and information processing apparatus
US5734383A (en) Apparatus and method for generating a three-dimensional model on a graphic display from a two-dimensional image
US6879872B2 (en) Method for generating three-dimensional sheet-metal model and a computer program
JP2010277115A (en) Harness verification device and harness verification program
JP4046370B2 (en) 3D shape drawing method
EP0640906B1 (en) Display apparatus
JP6040873B2 (en) Information processing apparatus, information processing method, and computer-readable recording medium
JP3524143B2 (en) Graphic processing method and apparatus
JP3868867B2 (en) Assembly editing method and medium
JP3356645B2 (en) Shape data verification method
JP3145462B2 (en) Embroidery data creation device
JPH0696178A (en) Graphic processing system
JP3138430B2 (en) User interface screen creation support device
JP2002259359A (en) Editor, recording medium with stored program therefor, and program
JPH07296023A (en) Dimension plotting method in cad system
JPH1011480A (en) Method and device for drawing inspection
CN114546317B (en) Vehicle-mounted display device and display method thereof
JP2004005575A (en) Three-dimensional space graphics processing device and three-dimensional space graphics processing method
JP2637923B2 (en) Method for correcting stripe pattern direction data and information processing apparatus for executing the same, and method for correcting stripe pattern pitch data and information processing apparatus for executing the same
JPH0798720A (en) Automatic generating method for dimension line and device therefor
JPH10105334A (en) Two-point selected figure moving method by touch panel
JPH10240790A (en) Method for instructing formation of fillet surface
JPH11306370A (en) Picture processor
JP2683114B2 (en) Curve control device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040206

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040212

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080220

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090220

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100220

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100220

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110220

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees