JPH10283503A - Three-dimensional graphic machining device and three-dimensional graphic machining method - Google Patents

Three-dimensional graphic machining device and three-dimensional graphic machining method

Info

Publication number
JPH10283503A
JPH10283503A JP9092405A JP9240597A JPH10283503A JP H10283503 A JPH10283503 A JP H10283503A JP 9092405 A JP9092405 A JP 9092405A JP 9240597 A JP9240597 A JP 9240597A JP H10283503 A JPH10283503 A JP H10283503A
Authority
JP
Japan
Prior art keywords
assembled
graphic
created
dimensional
curved surface
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
JP9092405A
Other languages
Japanese (ja)
Inventor
Kenichi Noritomi
賢一 乗富
Koji Sugishita
幸司 杉下
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 JP9092405A priority Critical patent/JPH10283503A/en
Publication of JPH10283503A publication Critical patent/JPH10283503A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To easily create a curved surface because a curved surface that is finally acquired from an assembly drawing is predicted by creating an assembly drawing from graphic information of an assembly drawing that consists of one ore plural polyhedrons and creating a curved surface that is defined based on each vertex of the assembly drawing. SOLUTION: A graphic assembling means 1 creates an assembly drawing from graphic information that is inputted to an inputting means 100. A shape holding point setting means 2 sets a shape holding point based on shape holding point setting information that is inputted to the means 100. A detailed graphic creating means 6 consists of an adjacent graphic extracting part 3 which extracts an adjacent graphic, an additional graphic creating part 4 which creates an additional graphic and a detailed graphic creating part 5 which creates a detailed graphic and creates a detailed graphic based on the assembly drawing. A curved surface creating part 7 creates a curved surface that is defined based on each vertex coordinate of the created detailed graphic and the set shape holding point. A graphic correcting means 8 corrects an assembly drawing based on graphic correction that is inputted to the means 100.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、CADやコンピュ
ータグラフィックスの分野で使用される3次元図形加工
装置,及び3次元加工方法に関し、特に、最終的に得ら
れる3次元図形の断面が推測可能である必要がなく、か
つ最終的に得られる曲面が予測できる結果、3次元図形
を容易に作成できるものに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a three-dimensional graphic processing apparatus and a three-dimensional graphic processing method used in the field of CAD and computer graphics, and more particularly, to a cross section of a finally obtained three-dimensional graphic. It is possible to easily create a three-dimensional figure as a result of predicting a finally obtained curved surface.

【0002】[0002]

【従来の技術】近年、コンピュータの処理能力が高まっ
てきたことにより、3次元的な空間の曲線や曲面を高速
に取り扱ったり、表示することが可能になってきた。こ
のような曲線や曲面は、種々の工業分野の製品のデザイ
ンや映像上のキャラクタのデザインにおいて、重要な役
割を果たしている。このような事から、3次元的な空間
の曲線や曲面を容易に生成する図形加工方法の必要性が
高まっている。従来、この種の自由曲面を作成する3次
元図形加工方法として、例えば、スキン、メタボール、
3Dスカラプトと呼ばれる方法がある。
2. Description of the Related Art In recent years, as the processing capability of computers has increased, it has become possible to handle and display curves and curved surfaces in a three-dimensional space at high speed. Such curves and curved surfaces play an important role in the design of products in various industrial fields and the design of characters on images. For these reasons, there is an increasing need for a graphic processing method for easily generating curves or curved surfaces in a three-dimensional space. Conventionally, as a three-dimensional figure processing method for creating this kind of free-form surface, for example, skin, metaball,
There is a method called 3D scalapt.

【0003】まず、スキンと呼ばれる方法について、図
17を用いて説明する。スキンとは、作成したい形状を
幾つか輪切り状にした断面を繋ぎ合わせることで、3次
元形状をモデリングしていく方法である。図17におい
て、101は断面入力手段、102は3次元図形作成手
段である。まず、断面入力手段101において、2次元
の断面を複数入力する。次に、3次元図形作成手段10
2において、隣合う断面を複数の稜線で繋ぎ合わせて3
次元図形を作成する。
First, a method called a skin will be described with reference to FIG. The skin is a method of modeling a three-dimensional shape by connecting cross sections obtained by cutting several shapes to be created. In FIG. 17, reference numeral 101 denotes a section input unit, and reference numeral 102 denotes a three-dimensional figure creating unit. First, a plurality of two-dimensional cross sections are input by the cross section input unit 101. Next, a three-dimensional figure creating means 10
In 2, connect adjacent cross-sections with a plurality of ridges,
Create a dimensional figure.

【0004】次に、メタボールと呼ばれる方法につい
て、図18を用いて説明する。メタボールとは、3次元
空間内の点電荷分布の等電位面をモデルとした、3次元
形状を記述する方法である。図18において、111は
複数の球情報を入力する球情報入力手段であり、球情報
とは球の中心位置と半径と重みの情報とからなるもので
ある。ここで、重みとは球の中心位置での濃度値を表
し、濃度値は球の中心から遠ざかるにつれて小さくな
り、ある距離以上遠ざかるとその値は0になるように定
義されている。112は3次元図形作成手段である。ま
ず、球情報入力手段111において、複数の球情報を入
力する。次に、3次元図形作成手段112において、入
力された球情報に基づいて濃度値を計算し、濃度が所与
の値と等しい点の集合を3次元図形として作成する。
Next, a method called a metaball will be described with reference to FIG. The metaball is a method of describing a three-dimensional shape using an equipotential surface of a point charge distribution in a three-dimensional space as a model. In FIG. 18, reference numeral 111 denotes sphere information input means for inputting a plurality of pieces of sphere information. The sphere information includes information on the center position, radius, and weight of the sphere. Here, the weight represents a density value at the center position of the sphere, and the density value is defined so as to decrease as the distance from the center of the sphere increases, and to become 0 when the distance exceeds a certain distance. Reference numeral 112 denotes a three-dimensional figure creating unit. First, the sphere information input unit 111 inputs a plurality of pieces of sphere information. Next, the three-dimensional figure creating means 112 calculates a density value based on the input sphere information, and creates a set of points having a density equal to a given value as a three-dimensional figure.

【0005】最後に、3Dスカラプトと呼ばれる方法に
ついて、図19を用いて説明する。3Dスカラプトと
は、粘土細工の様に3次元形状を整形していく方法であ
る。図19において、121は基本図形を入力する基本
図形入力手段であり、球または立方体または円柱等の基
本的な3次元形状を基本図形とする。122は制御点設
定手段、123は制御点移動手段、124は3次元図形
作成手段である。まず、基本図形入力手段121におい
て、基本図形を入力し、制御点設定手段122におい
て、入力された基本図形の表面を、複数の多角形パッチ
に分解し、それぞれの多角形パッチに対応する制御点を
設定する。次に、制御点移動手段123において、制御
点を移動させて、3次元図形作成手段124において、
移動した制御点に追従させて対応する多角形パッチを変
形し、入力された基本図形の形状を変更して3次元図形
を作成する。
[0005] Finally, a method called 3D sculpting will be described with reference to FIG. 3D sculpting is a method of shaping a three-dimensional shape like clay work. In FIG. 19, reference numeral 121 denotes a basic figure input unit for inputting a basic figure, and a basic three-dimensional shape such as a sphere, a cube or a cylinder is used as a basic figure. 122 is a control point setting means, 123 is a control point moving means, and 124 is a three-dimensional figure creating means. First, the basic figure is input by the basic figure input means 121, and the control point setting means 122 decomposes the surface of the input basic figure into a plurality of polygon patches, and the control points corresponding to the respective polygon patches Set. Next, the control point is moved by the control point moving means 123, and
The corresponding polygon patch is deformed by following the moved control point, and the shape of the input basic figure is changed to create a three-dimensional figure.

【0006】[0006]

【発明が解決しようとする課題】上記のような、従来の
3次元図形加工方法の1つであるスキンでは、断面形状
のみから3次元形状を作成するので、断面形状が推測し
にくい場合には、3次元形状を作成することが難しいと
いう問題点があった。また、メタボールでは、複雑な曲
面を作成することはできるが、複数の球の組合せから、
どのような形状ができるのかユーザにとって推測しにく
いので、意図する形状に到達するのに熟練を必要とする
という問題点があった。また、3Dスカラプトでは、制
御点を操作することで細かな修正を行なうことはできる
が、制御点の操作がどのような変形に対応するのか、ユ
ーザにとって分かりにくいので、変形後の曲面が推測し
にくいという問題点があった。
In the above-described skin, which is one of the conventional three-dimensional graphic processing methods, a three-dimensional shape is created only from the cross-sectional shape. There is a problem that it is difficult to create a three-dimensional shape. Also, with metaballs, it is possible to create complex curved surfaces, but from the combination of multiple spheres,
Since it is difficult for a user to guess what shape can be formed, there is a problem that skill is required to reach an intended shape. In 3D sculpting, it is possible to make fine corrections by operating the control points, but it is difficult for the user to understand how the operation of the control points corresponds to the deformation. There was a problem that it was difficult.

【0007】本発明は、上記のような問題点を解決する
ためになされたものであり、最終的に得られる3次元図
形の断面が推測可能である必要がなく、かつ最終的に得
られる曲面が予測できる結果、3次元図形を容易に作成
できる3次元図形加工装置,及び3次元図形加工方法を
提供することを目的としている。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and it is not necessary to be able to estimate the cross section of a finally obtained three-dimensional figure, and to obtain a finally obtained curved surface. It is an object of the present invention to provide a three-dimensional figure processing apparatus and a three-dimensional figure processing method that can easily create a three-dimensional figure as a result of predicting the three-dimensional figure.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、請求項1の発明にかかる3次元図形加工装置は、外
部から入力される1つ,または複数の多面体で構成され
る組立図形の図形情報から組立図形を作成する図形組立
手段と、上記図形組立手段により作成された組立図形の
各頂点座標を基にして定まる曲面を生成する曲面生成手
段とを有するものである。
In order to achieve the above object, a three-dimensional figure processing apparatus according to the first aspect of the present invention provides a three-dimensional figure processing apparatus for an assembled figure composed of one or a plurality of polyhedrons inputted from outside. It has a figure assembling means for creating an assembling figure from the figure information, and a surface generating means for generating a curved surface determined based on each vertex coordinate of the assembling figure created by the figure assembling means.

【0009】また、請求項2の発明にかかる3次元図形
加工装置は、請求項1の3次元図形加工装置において、
上記図形組立手段により作成された組立図形に対して1
つ,または複数の形状保持点を設定するための形状保持
点設定手段を付加してなり、上記曲面生成手段が、上記
形状保持点設定手段により設定された形状保持点と,上
記図形組立手段により作成された組立図形の各頂点座標
とを基にして定まる曲面を生成するものであるようにし
たものである。
According to a second aspect of the present invention, there is provided a three-dimensional graphic processing apparatus according to the first aspect,
1 for the assembled figure created by the figure assembling means
Shape holding point setting means for setting one or a plurality of shape holding points, wherein the curved surface generating means includes a shape holding point set by the shape holding point setting means and a shape holding point set by the graphic assembling means. This is to generate a curved surface determined based on the coordinates of each vertex of the created assembled figure.

【0010】また、請求項3の発明にかかる3次元図形
加工装置は、請求項1または2の3次元図形加工装置に
おいて、上記図形組立手段により作成された組立図形を
構成する多面体を変形,または移動,または削除して該
組立図形の修正を行い、あるいは上記組立図形に新たな
多面体を追加して該組立図形の修正を行うための図形修
正手段を付加してなり、上記曲面生成手段が、上記図形
組立手段により作成された組立図形,または上記図形修
正手段により修正が行われた組立図形を基礎として上記
曲面を生成するものであるようにしたものである。
According to a third aspect of the present invention, in the three-dimensional figure processing apparatus according to the first or second aspect, the polyhedron constituting the assembled figure created by the figure assembling means is deformed, or The assembled figure is corrected by moving or deleting, or a figure correcting means for correcting the assembled figure by adding a new polyhedron to the assembled figure is added. The curved surface is generated based on an assembled figure created by the figure assembling means or an assembled figure corrected by the figure correcting means.

【0011】また、請求項4の発明にかかる3次元図形
加工装置は、請求項1の3次元図形加工装置において、
上記組立図形を構成する多面体のうち同一面を共有する
2つの多面体の組を隣接図形とし、上記隣接図形に外接
する多面体から該隣接図形を除いた図形の一部分を付加
図形とし、上記組立図形に上記付加図形を追加した図形
を詳細図形とし、上記図形組立手段により作成された組
立図形から全ての隣接図形を抽出し、該抽出した隣接図
形に対応する付加図形を全ての該隣接図形に対して作成
し、該作成した全ての付加図形を上記組立図形に追加し
て詳細図形を作成する詳細図形作成手段を付加してな
り、上記曲面生成手段が、上記詳細図形作成手段により
作成された詳細図形の各頂点座標を基にして定まる曲面
を生成するものであるようにしたものである。
According to a third aspect of the present invention, there is provided a three-dimensional figure processing apparatus according to the first aspect, wherein
A set of two polyhedrons sharing the same plane among the polyhedrons constituting the assembled figure is defined as an adjacent figure, and a part of the figure excluding the adjacent figure from the polyhedron circumscribing the adjacent figure is defined as an additional figure. The figure to which the additional figure is added is defined as a detailed figure, all adjacent figures are extracted from the assembled figure created by the figure assembling means, and additional figures corresponding to the extracted adjacent figure are added to all the adjacent figures. And a detailed figure creating means for creating a detailed figure by adding all the created additional figures to the assembled figure, wherein the curved surface generating means comprises a detailed figure created by the detailed figure creating means. This is to generate a curved surface determined based on the coordinates of each vertex.

【0012】また、請求項5の発明にかかる3次元図形
加工装置は、請求項4の3次元図形加工装置において、
上記図形組立手段により作成された組立図形に対して1
つ,または複数の形状保持点を設定するための形状保持
点設定手段を付加してなり、上記曲面生成手段が、上記
形状保持点設定手段により設定された形状保持点と、上
記詳細図形作成手段により作成された詳細図形の各頂点
座標とを基にして定まる曲面を生成するものであるよう
にしたものである。
According to a fifth aspect of the present invention, there is provided a three-dimensional graphic processing apparatus according to the fourth aspect, wherein
1 for the assembled figure created by the figure assembling means
One or more shape holding point setting means for setting one or a plurality of shape holding points, wherein the curved surface generating means includes a shape holding point set by the shape holding point setting means, and a detailed figure creating means. Is to generate a curved surface determined on the basis of the vertex coordinates of the detailed figure created by the above.

【0013】また、請求項6の発明にかかる3次元図形
加工装置は、請求項4または5の3次元図形加工装置に
おいて、上記詳細図形作成手段により作成された詳細図
形の基となる組立図形を構成する多面体を変形,または
移動,または削除して該組立図形の修正を行い、あるい
は上記詳細図形の基となる組立図形に対して新たな多面
体を追加して該組立図形の修正を行うための図形修正手
段を付加してなり、上記詳細図形作成手段が、上記図形
組立手段により作成された組立図形,または上記図形修
正手段により修正が行われた組立図形を基として詳細図
形を作成するものであるようにしたものである。
According to a third aspect of the present invention, there is provided the three-dimensional figure processing apparatus according to the fourth or fifth aspect, wherein the assembled figure serving as a basis of the detailed figure created by the detailed figure creating means is used. Modifying the assembled figure by deforming, moving, or deleting the constituent polyhedron, or modifying the assembled figure by adding a new polyhedron to the assembled figure on which the detailed figure is based The figure correcting means is added, and the detailed figure creating means creates a detailed figure based on the assembled figure created by the figure assembling means or the assembled figure corrected by the figure correcting means. It is as it were.

【0014】また、請求項7の発明にかかる3次元図形
加工方法は、1つ,または複数の多面体を組み合わせて
組立図形を作成し、該作成した組立図形の各頂点座標を
基にして定まる曲面を生成するものである。
According to a third aspect of the present invention, there is provided a three-dimensional figure processing method, wherein an assembled figure is created by combining one or a plurality of polyhedrons, and a curved surface determined based on each vertex coordinate of the created assembled figure. Is generated.

【0015】また、請求項8の発明にかかる3次元図形
加工方法は、請求項7の3次元図形加工方法において、
上記作成した組立図形に対して1つ,または複数の形状
保持点を設定し、該設定した形状保持点と上記組立図形
の各頂点座標とを基にして定まる曲面を生成するように
しているものである。
According to a third aspect of the present invention, there is provided a three-dimensional graphic processing method according to the seventh aspect.
One or a plurality of shape holding points are set for the created assembled figure, and a curved surface determined based on the set shape holding point and each vertex coordinate of the assembled figure is generated. It is.

【0016】また、請求項9の発明にかかる3次元図形
加工方法は、請求項7または8の3次元図形加工方法に
おいて、上記組立図形を基礎として上記曲面を生成した
後に、該組立図形を構成する多面体を変形,または移
動,または削除して該組立図形の修正を行い、あるいは
該組立図形に新たな多面体を追加して該組立図形の修正
を行い、該修正後の組立図形を基礎として上記曲面を生
成するようにしているものである。
According to a ninth aspect of the present invention, there is provided the three-dimensional graphic processing method according to the seventh or eighth aspect, wherein the curved surface is generated based on the assembled graphic, and then the assembled graphic is formed. Modifying the assembled figure by deforming, moving, or deleting the polyhedron to be modified, or modifying the assembled figure by adding a new polyhedron to the assembled figure, and using the modified assembled figure as a basis based on the modified assembled figure This is to generate a curved surface.

【0017】また、請求項10の発明にかかる3次元図
形加工方法は、請求項7の3次元図形加工方法におい
て、上記組立図形を構成する多面体のうち同一面を共有
する2つの多面体の組を隣接図形とし、該隣接図形に外
接する多面体から該隣接図形を除いた図形の一部分を付
加図形とし、上記組立図形に該付加図形を追加した図形
を詳細図形とし、上記組立図形から全ての隣接図形を抽
出し、該抽出した全ての隣接図形に対応する付加図形を
作成し、該作成した全ての付加図形を上記組立図形に追
加して詳細図形を作成し、該作成した詳細図形の各頂点
座標を基にして定まる曲面を生成するようにしているも
のである。
According to a tenth aspect of the present invention, in the three-dimensional figure processing method of the seventh aspect, a set of two polyhedrons sharing the same plane among the polyhedrons constituting the assembled figure is used. An adjacent figure, a part of the figure excluding the adjacent figure from the polyhedron circumscribing the adjacent figure is defined as an additional figure, and a figure obtained by adding the additional figure to the above-described assembled figure is defined as a detailed figure. Is extracted, additional graphics corresponding to all the extracted adjacent graphics are created, all the created additional graphics are added to the above-mentioned assembled graphics to create detailed graphics, and each vertex coordinate of the created detailed graphics is generated. Is to generate a curved surface determined based on.

【0018】また、請求項11の発明にかかる3次元図
形加工方法は、請求項10の3次元図形加工方法におい
て、上記組立図形に対して1つ,または複数の形状保持
点を設定し、該設定した形状保持点と上記作成した詳細
図形の各頂点座標とを基にして定まる曲面を生成するよ
うにしているものである。
In the three-dimensional figure processing method according to the eleventh aspect of the present invention, in the three-dimensional figure processing method according to the tenth aspect, one or a plurality of shape holding points are set for the assembled figure. A curved surface determined based on the set shape holding point and each vertex coordinate of the created detailed figure is generated.

【0019】また、請求項12の発明にかかる3次元図
形加工方法は、請求項10または11の3次元図形加工
方法において、上記作成した詳細図形を基礎として上記
曲面を生成した後に、該詳細図形の基となる組立図形を
構成する多面体を変形,または移動,または削除して該
組立図形の修正を行い、あるいは該組立図形に新たな多
面体を追加して該組立図形の修正を行い、該修正後の組
立図形から詳細図形を再度作成し、該再度作成した詳細
図形を基礎として上記曲面を生成するようにしているも
のである。
According to a twelfth aspect of the present invention, there is provided a three-dimensional graphic processing method according to the tenth or eleventh aspect, further comprising the step of: The polyhedron constituting the base figure is modified, moved, or deleted to correct the base figure, or a new polyhedron is added to the base figure to correct the base figure, and the correction is performed. A detailed figure is created again from a later assembled figure, and the curved surface is generated based on the created detail figure.

【0020】[0020]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態1.まず、本発明の実施の形態1による3次
元図形加工装置の全体の構成を、図1,図2を用いて説
明する。図1は、本実施の形態1による3次元図形加工
装置を実現するハードウエアの構成を示すブロック図で
ある。図において、31はユーザーから数値情報などを
受け付けるキーボード、32はユーザーからディスプレ
イ上の位置情報や距離情報などを受け付けるマウス、3
3は図形などを表示するディスプレイ、34はディスプ
レイ33に表示する情報を一時的に保持しておくビデオ
RAMである。37はプログラムやデータなどを保存し
ておくハードディスクなどの補助記憶装置、35は補助
記憶装置37からプログラムやデータを読み込んで一時
的に保持したり,キーボード31やマウス32から入力
されたデータを一時的に保持する主記憶装置、36は主
記憶装置35に保持されているプログラムを構成する個
々の命令によってデータに対して四則演算や論理演算な
どの処理を施したり,装置全体の動作を制御する中央処
理装置である。そして、38はキーボード31,マウス
32,ビデオRAM34,主記憶装置35,中央処理装
置36,及び補助記憶装置37を接続するためのバスで
あり、中央処理装置36からの制御によりこのバス38
を通して装置間でデータやプログラムを送受信すること
ができる。
Embodiment 1 FIG. First, an overall configuration of a three-dimensional graphic processing apparatus according to a first embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a block diagram showing a hardware configuration for realizing the three-dimensional graphic processing apparatus according to the first embodiment. In the figure, reference numeral 31 denotes a keyboard for receiving numerical information and the like from the user; 32, a mouse for receiving position information and distance information on the display from the user;
Reference numeral 3 denotes a display for displaying figures and the like, and reference numeral 34 denotes a video RAM for temporarily storing information to be displayed on the display 33. Reference numeral 37 denotes an auxiliary storage device such as a hard disk for storing programs, data, and the like. Reference numeral 35 reads programs and data from the auxiliary storage device 37 to temporarily store the data, and temporarily stores data input from the keyboard 31 and the mouse 32. A main storage device 36, which temporarily stores data, performs processing such as four arithmetic operations and logical operations on data in accordance with individual instructions constituting a program stored in the main storage device 35, and controls the operation of the entire device. It is a central processing unit. Reference numeral 38 denotes a bus for connecting the keyboard 31, the mouse 32, the video RAM 34, the main storage device 35, the central processing unit 36, and the auxiliary storage device 37. The bus 38 is controlled by the central processing unit 36.
, Data and programs can be transmitted and received between the devices.

【0021】図2は、本実施の形態1による3次元図形
加工装置の構成を示す機能ブロック図である。図におい
て、100は、図形情報,形状保持設定情報,及び図形
修正情報を入力するための入力手段である。ここで、図
形情報として、1つまたは複数の多面体によって構成さ
れる組立図形の図形情報が入力され、形状保持設定情報
として、1つまたは複数の形状保持点が入力され、図形
修正情報として、組立図形を構成する多面体の変形,移
動,削除,または組立図形に対する新たな多面体の追加
を行なうための情報が入力される。
FIG. 2 is a functional block diagram showing the configuration of the three-dimensional graphic processing apparatus according to the first embodiment. In the figure, reference numeral 100 denotes input means for inputting graphic information, shape holding setting information, and graphic correction information. Here, graphic information of an assembled figure composed of one or more polyhedrons is input as graphic information, one or more shape holding points are input as shape holding setting information, and assembling information is displayed as graphic correction information. Information for deforming, moving, or deleting a polyhedron constituting a figure or adding a new polyhedron to an assembled figure is input.

【0022】fig_tblは、組立図形を構成する多
面体の情報と付加図形の情報を格納する多面体情報テー
ブル、1は、入力手段100から入力される図形情報を
fig_tblに格納することにより組立図形を作成す
る図形組立手段、2は、入力手段100から入力される
形状保持点設定情報に基づき形状保持点を設定する形状
保持点設定手段である。
Fig_tbl is a polyhedron information table for storing information on polyhedrons constituting the assembled figure and information on additional figures. 1 is for creating an assembled figure by storing figure information input from the input means 100 in FIG_tbl. The figure assembling means 2 is a shape holding point setting means for setting a shape holding point based on the shape holding point setting information input from the input means 100.

【0023】r_tblは、隣接図形の情報を格納する
隣接図形情報テーブル、6は、詳細図形作成手段であ
り、隣接図形を抽出する隣接図形抽出部3と、付加図形
を作成する付加図形作成部4と、詳細図形を作成する詳
細図形作成部5とで構成され、隣接図形抽出部3で抽出
された隣接図形の情報は隣接図形情報テーブルr_tb
lに、付加図形作成部4で作成された付加図形の情報は
多面体情報テーブルfig_tblに格納される。ここ
で、隣接図形は、組立図形を構成する多面体のうち、隣
接する,すなわち互いに同一面を共有する2つの多面体
の組からなるものである。付加図形は、隣接図形に外接
する多面体から、該隣接図形を除いた図形の一部分から
なるものである。詳細図形は、上記組立図形に上記付加
図形を追加した図形からなるものである。
R_tbl is an adjacent graphic information table for storing information of adjacent graphics, 6 is a detailed graphic creation means, an adjacent graphic extraction unit 3 for extracting adjacent graphics, and an additional graphic creation unit 4 for creating additional graphics. And a detailed figure creating unit 5 for creating a detailed figure. The information of the adjacent figure extracted by the adjacent figure extracting unit 3 is stored in an adjacent figure information table r_tb.
The information of the additional figure created by the additional figure creating unit 4 is stored in the polyhedron information table fig_tbl. Here, the adjacent graphic is a set of two polyhedrons that are adjacent to each other, that is, two polyhedrons that share the same plane among the polyhedrons forming the assembled graphic. The additional figure is a part of a figure excluding the adjacent figure from the polyhedron circumscribing the adjacent figure. The detailed figure is a figure formed by adding the additional figure to the assembled figure.

【0024】7は、作成された詳細図形の各頂点座標
と,設定された形状保持点とを基にして定まる曲面を生
成する曲面生成部(曲面生成手段)、8は、入力手段1
00から入力される図形修正情報に基づき組立図形を修
正する図形修正手段である。
Reference numeral 7 denotes a curved surface generating unit (curved surface generating means) for generating a curved surface determined based on each vertex coordinate of the created detailed figure and the set shape holding point;
This is a figure correcting means for correcting the assembled figure based on the figure correction information inputted from 00.

【0025】また、図形組立手段1においては、入力さ
れた多面体の面の個数を格納する変数nと、頂点座標リ
ストを格納する配列変数list[1]〜list
[n]と、付与する多面体の識別子を格納する変数ne
xt_idを使用する。
In the figure assembling means 1, the variable n for storing the number of faces of the input polyhedron and the array variables list [1] to list for storing the vertex coordinate list are stored.
[N] and a variable ne for storing the identifier of the polyhedron to be assigned
Use xt_id.

【0026】また、形状保持点設定手段2においては、
入力された形状保持点の座標リストを格納する配列変数
hold_listを使用する。
In the shape holding point setting means 2,
An array variable hold_list for storing a coordinate list of the input shape holding points is used.

【0027】また、詳細図形作成手段6においては、テ
ーブルfig_tblから1レコード読み出すとき、多
面体識別子を格納する変数my_id,your_id
と、面の個数を格納する変数my_n,your_n
と,頂点座標リストを格納する配列変数my_list
[1]〜my_list[my_n],your_li
st[1]〜your_list[your_n]と、
計算結果を格納する変数m,fnと配列変数ids
[1]〜ids[m],f_list[1]〜f_li
st[fn]と、ループカウンタ変数i,jと、付与す
る多面体の識別子を格納する変数next_idとを使
用する。
In the detailed figure creating means 6, when one record is read from the table FIG_tbl, the variables my_id and youur_id storing the polyhedron identifier are read.
And variables my_n and your_n for storing the number of faces
And an array variable my_list that stores the vertex coordinate list
[1] to my_list [my_n], your_li
st [1] to your_list [your_n];
Variables m and fn for storing calculation results and array variables ids
[1] to ids [m], f_list [1] to f_li
st [fn], loop counter variables i and j, and a variable next_id for storing an identifier of a polyhedron to be assigned are used.

【0028】また、曲面生成部7においては、計算結果
を格納する配列変数s_listを使用する。また、図
形修正手段8においては、追加入力された多面体の面の
個数を格納する変数add_nと、頂点座標リストを格
納する配列変数add_list[1]〜add_li
st[add_n]と、付与する多面体の識別子を格納
する変数next_idと、削除された多面体の識別子
を格納する変数del_idと、変形・移動された多面
体の識別子を格納する変数chg_idと、面の個数を
格納する変数chg_nと、頂点座標リストを格納する
配列変数chg_list[1]〜chg_list
[chg_n]を使用する。
The curved surface generator 7 uses an array variable s_list for storing the calculation result. Further, in the figure correcting means 8, a variable add_n for storing the number of additionally input faces of the polyhedron and array variables add_list [1] to add_li for storing a vertex coordinate list are stored.
st [add_n], a variable next_id for storing an identifier of a polyhedron to be assigned, a variable del_id for storing an identifier of a deleted polyhedron, a variable chg_id for storing an identifier of a deformed / moved polyhedron, and the number of faces. Variable chg_n to be stored and array variables chg_list [1] to chg_list to store the vertex coordinate list
[Chg_n] is used.

【0029】ここで、入力手段100は、図1のキーボ
ード31,及びマウス32で実現され、多面体情報テー
ブルfig_tbl,及び隣接図形情報テーブルr_t
blは、図1の主記憶装置35で実現され、図形組立手
段1,形状保持点設定手段2,詳細図作成手段6,曲面
生成部7,図形修正手段8は、図1の補助記憶装置3
7,中央処理装置36,及び主記憶装置35で実現さ
れ、これら各ブロック1,2,6〜8における上記各変
数を格納するメモリは主記憶装置35で実現される。
Here, the input means 100 is realized by the keyboard 31 and the mouse 32 shown in FIG. 1, and includes a polyhedron information table fig_tbl and an adjacent figure information table r_t.
bl is realized by the main storage device 35 of FIG. 1, and the graphic assembling means 1, the shape holding point setting means 2, the detailed drawing creating means 6, the curved surface generating unit 7, and the graphic correcting means 8 are the auxiliary storage device 3 of FIG.
7, the central processing unit 36, and the main storage unit 35, and the memories for storing the variables in the blocks 1, 2, 6 to 8 are realized by the main storage unit 35.

【0030】次に、上記3次元図形作成装置の各部の構
成(動作)を、図3〜図14を用いて説明する。図3
は、本実施の形態1による3次元図形加工装置で用いら
れる,メモリ上に仮想された多面体情報テーブルfig
_tblを表す模式図である。図において、多面体識別
子とは、多面体を識別する唯一の番号のことであり、面
の個数とは、多面体を構成する面の個数のこと、頂点座
標リストとは、多面体を構成する各頂点の位置座標リス
トのことである。また、分類とは、組立図形を構成する
多面体か,あるいは詳細図形作成手段6によって作成さ
れた付加図形かの区別を示すものであり、ORG(組立
図形を構成する多面体を表す)かADD(付加図形を表
す)のどちらかの値をとる。
Next, the configuration (operation) of each part of the three-dimensional figure creating apparatus will be described with reference to FIGS. FIG.
Is a virtual polyhedron information table FIG. Used in the three-dimensional graphic processing apparatus according to the first embodiment.
It is a schematic diagram showing _tbl. In the figure, the polyhedron identifier is a unique number for identifying the polyhedron, the number of faces is the number of faces constituting the polyhedron, and the vertex coordinate list is the position of each vertex constituting the polyhedron It is a coordinate list. The classification indicates the distinction between a polyhedron constituting an assembled figure or an additional figure created by the detailed figure creating means 6, and is classified into ORG (representing a polyhedron constituting the assembled figure) or ADD (additional figure). (Representing a figure).

【0031】図4は、本実施の形態1による3次元図形
加工装置で用いられる,メモリ上に仮想された隣接図形
情報テーブルr_tblを表す模式図である。図におい
て、多面体の個数とは、同一平面を共有する多面体の個
数のこと、隣接多面体リストとは、上記多面体の識別子
のリストのことである。
FIG. 4 is a schematic diagram showing an adjacent graphic information table r_tbl imagined on a memory used in the three-dimensional graphic processing apparatus according to the first embodiment. In the figure, the number of polyhedrons is the number of polyhedrons sharing the same plane, and the adjacent polyhedron list is a list of the identifiers of the polyhedron.

【0032】図5は、図形組立手段の動作を示すフロー
チャートである。図において、図形組立手段は、組立図
形の作成を開始すると、変数next_idに1を格納
する(S1−1)。
FIG. 5 is a flowchart showing the operation of the figure assembling means. In the figure, when starting the creation of an assembled figure, the figure assembling means stores 1 in a variable next_id (S1-1).

【0033】次いで、図2の入力手段100からの入力
を受け付け、図形情報として入力された多面体の面の個
数,及び各頂点の頂点座標リストを変数n,及び配列変
数list[1]〜list[n]に格納し(S1−
2,S1−3)、次いで、多面体情報テーブルfig_
tblにおいて、1レコードを新規に追加作成し、多面
体識別子にnext_idの値を、面の個数にnの値
を、頂点座標リストにlist[1]〜list[n]
を、分類にORGをそれぞれ格納し(S1−4)、次い
で、next_idの値を1インクリメントする(S1
−5)。以降、上記ステップS1−2〜S1−5を、図
形情報の入力が終了するまで繰り返す。これにより、入
力された多面体の面の個数,及び各頂点の頂点座標リス
トが、多面体情報テーブルfig_tblに格納され、
組立図形の作成処理が行われる。
Next, the input from the input means 100 of FIG. 2 is received, and the number of faces of the polyhedron input as graphic information and the vertex coordinate list of each vertex are represented by a variable n and array variables list [1] to list [ n] (S1-
2, S1-3), and then the polyhedron information table fig_
At tbl, one additional record is created, the value of next_id is set as the polyhedron identifier, the value of n is set as the number of faces, and list [1] to list [n] are set as the vertex coordinate list.
Is stored in the classification as ORG (S1-4), and the value of next_id is incremented by 1 (S1).
-5). Thereafter, the above steps S1-2 to S1-5 are repeated until the input of the graphic information is completed. As a result, the input number of faces of the polyhedron and the vertex coordinate list of each vertex are stored in the polyhedron information table FIG_tbl,
A process for creating an assembled figure is performed.

【0034】図6は、形状保持点設定手段の動作を示す
フローチャートである。図において、形状保持点設定手
段は、形状保持点の設定を開始すると、図2の入力手段
100からの入力を受け付け、多面体情報テーブルfi
g_tblに格納されている多面体の頂点座標リストに
対して、形状保持点設定情報として入力された形状保持
点の座標リストを、配列変数hold_listに格納
する(S2−1)。これにより、組立図形を構成する多
面体の頂点に対して、形状保持点の設定処理が行われ
る。
FIG. 6 is a flowchart showing the operation of the shape holding point setting means. In the figure, when the setting of the shape holding point is started, the shape holding point setting means receives an input from the input means 100 of FIG.
With respect to the vertex coordinate list of the polyhedron stored in g_tbl, the coordinate list of the shape holding points input as the shape holding point setting information is stored in the array variable hold_list (S2-1). As a result, the shape holding point setting process is performed on the vertices of the polyhedron constituting the assembled figure.

【0035】図7は、詳細図形作成手段の動作を示すフ
ローチャートである。図において、詳細図形作成手段
は、詳細図形の作成を開始すると、図2の隣接図形抽出
部3が多面体情報テーブルfig_tblに格納されて
いる多面体から隣接図形を抽出し(S3−1)、近傍長
方形を作成し(S3−3)、近傍長方形の占有領域を決
定し(S3−4)、付加長方形を作成する(S3−
5)。
FIG. 7 is a flowchart showing the operation of the detailed figure creating means. In the figure, when detailed figure creation means starts creation of a detailed figure, the adjacent figure extraction unit 3 of FIG. 2 extracts an adjacent figure from the polyhedron stored in the polyhedron information table fig_tbl (S3-1), and generates a neighboring rectangle. Is created (S3-3), the occupied area of the neighboring rectangle is determined (S3-4), and an additional rectangle is created (S3--3).
5).

【0036】次いで、付加図形作成部4が、抽出したそ
れぞれの隣接図形に対して付加図形を作成し、その面の
個数を変数fnに、頂点座標リストを配列変数f_li
st[1]〜f_list[fn]にそれぞれ格納する
(S3−6)。
Next, the additional graphic creating unit 4 creates an additional graphic for each of the extracted adjacent graphics, sets the number of faces as a variable fn, and a vertex coordinate list as an array variable f_li.
It is stored in each of st [1] to f_list [fn] (S3-6).

【0037】次いで、テーブルfig_tblにおいて
1レコードを新規に追加作成し、多面体識別子にnex
t_idの値を、面の個数にfnの値を、頂点座標リス
トにf_list[1]〜f_list[fn]の値
を、分類にADDをそれぞれ格納する(S3−7)。
Next, one new record is additionally created in the table FIG_tbl, and nex is added to the polyhedron identifier.
The value of t_id, the value of fn for the number of faces, the values of f_list [1] to f_list [fn] for the vertex coordinate list, and the ADD for classification are stored (S3-7).

【0038】次いで、next_idの値を1インクリ
メントする(S3−8)。以降、以上のS3−3〜S3
−8のステップを、隣接図形情報テーブルr_tblに
登録されている全ての隣接図形につい繰り返す(S3−
2,S3−9)。これにより、詳細図形が作成され、作
成された付加図形が多面体情報テーブルfig_tbl
に格納される。
Next, the value of next_id is incremented by 1 (S3-8). Thereafter, the above S3-3 to S3
Step -8 is repeated for all the adjacent figures registered in the adjacent figure information table r_tbl (S3-
2, S3-9). As a result, a detailed figure is created, and the created additional figure is stored in the polyhedral information table FIG_tbl.
Is stored in

【0039】図8は、隣接図形抽出部の動作を示すフロ
ーチャートであって、図7のステップS3−1のさらに
詳細な動作を示すものであり、この隣接図形抽出部の動
作の説明を以下に行う。図において、隣接図形抽出部
は、隣接図形の抽出を開始すると、まず、一方の変数
(変数my_id,変数my_n,配列変数my_li
st[1]〜my_list[my_n])を用いて、
ある多面体情報(多面体識別子,面の個数,頂点座標リ
スト)を読み出す(S3−1−2)。
FIG. 8 is a flowchart showing the operation of the adjacent figure extracting unit, and shows the more detailed operation of step S3-1 in FIG. 7. The operation of the adjacent figure extracting unit will be described below. Do. In the figure, when starting the extraction of the adjacent graphic, the adjacent graphic extraction unit first starts the operation of one of the variables (variable my_id, variable my_n, array variable my_li).
st [1] to my_list [my_n]),
Certain polyhedron information (polyhedron identifier, number of faces, vertex coordinate list) is read (S3-1-2).

【0040】次いで、変数mに1を格納する(S3−1
−4)。次いで、他方の変数(変数your_id,変
数your_n,及び配列変数your_list
[1]〜your_list[your_n])を用
い、かつ同じ多面体情報を読み出した場合には読み出し
直すようにして、他の多面体情報(多面体識別子,面の
個数,頂点座標リスト)を読み出す(S3−1−6,S
3−1−7,S3−1−15,S3−1−5)。
Next, 1 is stored in the variable m (S3-1).
-4). Next, the other variables (variable you_id, variable you_n, and array variable you_list)
[1] to your_list [your_n]), and when the same polyhedron information is read, the other polyhedron information (polyhedron identifier, number of faces, vertex coordinate list) is read out (S3-1). -6, S
3-1-7, S3-1-15, S3-1-5).

【0041】次いで、上記ある多面体情報のある平面
(my_list[i])について、上記他の多面体情
報のある平面(your_list[j])が同一否か
を判定し(S3−1−9)、同一であれば、一方の多面
体識別子(my_id)を配列変数ids[1]に格納
し、mをインクリメントした後、他方の多面体識別子
(your_id)を配列変数ids[m]に格納し
(S3−1−10〜S3−1−13)、同一でなけれ
ば、上記他の多面体情報の次の平面を判定するようにし
て(S3−1−14,S3−1−8,S3−1−9)、
上記ある多面体のある平面について、上記他の多面体が
隣接図形であるか否かを判定する。次いで、他方の変数
を用いて、次の他の多面体情報を読み出し、この読み出
した次の多面体情報について、以上の処理を行う。
Then, it is determined whether or not the plane (my_list [i]) having the certain polyhedron information is the same as the plane (your_list [j]) having the other polyhedron information (S3-1-9). If so, one polyhedron identifier (my_id) is stored in the array variable ids [1], and after incrementing m, the other polyhedron identifier (your_id) is stored in the array variable ids [m] (S3-1-1). 10 to S3-1-13), if they are not the same, the next plane of the other polyhedron information is determined (S3-1-14, S3-1-8, S3-1-9),
With respect to a certain plane of the certain polyhedron, it is determined whether or not the other polyhedron is an adjacent figure. Next, using the other variable, the next other polyhedron information is read, and the above processing is performed on the next read polyhedron information.

【0042】以降、上記した他方の変数を用いて多面体
情報を読み出す以降の処理を、多面体情報テーブルfi
g_tblに登録されている全ての多面体について繰り
返すことにより(S3−1−5〜S3−1−15)、上
記ある多面体のある平面についての全ての隣接図形を抽
出する。
Hereinafter, the subsequent processing for reading the polyhedron information using the other variable will be referred to as the polyhedron information table fi.
By repeating for all the polyhedrons registered in g_tbl (S3-1-5 to S3-1-15), all the adjacent graphics on a certain plane of the certain polyhedron are extracted.

【0043】そして、この抽出した図形を、隣接図形情
報テーブルr_tblにおいて1レコードを新規に追加
作成し、多面体の個数にmの値を、隣接多面体識別子リ
ストにids[1]〜ids[m]の値をそれぞれ格納
するようにして、該隣接図形情報テーブルr_tblに
格納する(S3−1−17)。
Then, one additional record is newly created for the extracted figure in the adjacent figure information table r_tbl, the value of m is set as the number of polyhedrons, and the ids [1] to ids [m] are set in the adjacent polyhedron identifier list. The values are respectively stored in the adjacent graphic information table r_tbl (S3-1-17).

【0044】次いで、上記ある多面体情報の次の平面に
ついて、以上の処理を行う。以降、上記した変数mに1
を格納する以降の処理を、上記ある多面体情報の全ての
面について繰り返すことにより(S3−1−3〜S3−
1−18)、上記ある多面体についての全ての隣接図形
を抽出して、隣接図形情報テーブルr_tblに格納す
る。
Next, the above processing is performed on the next plane of the above-mentioned polyhedron information. Thereafter, the variable m is set to 1
Is repeated for all the faces of the above-mentioned certain polyhedron information (S3-1-3 to S3--3).
1-18) Extract all the adjacent graphics for the above-mentioned polyhedron and store them in the adjacent graphics information table r_tbl.

【0045】次いで、一方の変数を用いて、次の多面体
情報を読み出し、この読み出した次の多面体情報につい
て、以上の処理を行う。以降、上記した一方の変数を用
いて多面体情報を読み出す以降の処理を、多面体情報テ
ーブルfig_tblに登録されている全ての多面体に
ついて繰り返し(S3−1−1〜S3−1−19)、こ
れにより、全ての隣接図形の抽出,及び多面体情報テー
ブルfig_tblへの格納が行われる。
Next, the next polyhedron information is read out using one of the variables, and the above-described processing is performed on the next read polyhedron information. Thereafter, the process of reading the polyhedron information using the above one variable is repeated for all the polyhedrons registered in the polyhedron information table FIG_tbl (S3-1-1 to S3-1-19), whereby Extraction of all adjacent graphics and storage in the polyhedral information table fig_tbl are performed.

【0046】図9〜図11は、付加図形作成部が行う処
理内容の説明図である。すなわち、図9〜図11は、上
記図7のS3−3〜S3−6のさらに詳細な説明を示し
ている。まず、図9(a) を用いて、親平面,子平面,X
〜Z軸の説明をする。この図9(a) に示すように、抽出
した隣接図形を構成する多面体の互いに一致している面
のうち含む側の面を親平面,含まれる側の面を子平面と
し、親平面を持つ多面体を親多面体,子平面を持つ多面
体を子多面体とする。ただし、含む側の面と含まれる側
の面を区別できない場合には、一方の面を親平面とし、
他方の面のうち親平面と重なっている部分を子平面とす
る。また、親平面の1つの辺を通る直線をX軸とし、X
軸に直交する親平面上の直線のうちの1つをY軸とす
る。更に、親平面に垂直で、X軸とY軸の交点を通る直
線をZ軸とする。
FIG. 9 to FIG. 11 are explanatory diagrams of the processing contents performed by the additional graphic creating unit. That is, FIGS. 9 to 11 show more detailed descriptions of S3-3 to S3-6 in FIG. First, using FIG. 9A, the parent plane, the child plane, X
The Z axis will be described. As shown in FIG. 9 (a), of the polyhedrons constituting the extracted adjacent figure, the included plane is defined as a parent plane, the included plane is defined as a child plane, and the included plane is defined as a parent plane. A polyhedron is called a parent polyhedron, and a polyhedron having a child plane is called a child polyhedron. However, if it is not possible to distinguish between the included side and the included side, one of the faces is designated as the parent plane,
A portion of the other surface overlapping the parent plane is defined as a child plane. A straight line passing through one side of the parent plane is defined as an X axis, and X
One of the straight lines on the parent plane orthogonal to the axis is defined as the Y axis. Further, a straight line perpendicular to the parent plane and passing through the intersection of the X axis and the Y axis is defined as the Z axis.

【0047】図9(b) は、付加図形作成部による1つの
子平面Cに対する近傍長方形の作成処理(図7のS3−
3)を示す説明図であり、この作成処理の説明を以下に
行う。ここで、子平面Cの各頂点を、C1,C2,C
3,C4とする。図において、まず、頂点C1を通りX
軸,Y軸に平行な直線を、それぞれLx1,Ly1とし
て作成し、次いで直線Lx1,Ly1が子平面Cの内部
を通るか判断し、通らない直線を選択する。頂点C2,
C3,C4についても同様の処理を行い、選択した直線
の交点を計算してP1,P2,P3,P4とし、P1,
P2,P3,P4を頂点とする図形を近傍長方形として
作成する。全ての子平面について、上記と同様の処理を
行い、近傍長方形の作成処理を終了する。
FIG. 9B shows a process of creating a neighboring rectangle for one child plane C by the additional figure creating unit (S3-FIG. 7).
It is an explanatory view showing 3), and the creation processing will be described below. Here, each vertex of the child plane C is represented by C1, C2, C
3, C4. In the figure, first, X passes through vertex C1.
Straight lines parallel to the axis and the Y axis are created as Lx1 and Ly1, respectively. Then, it is determined whether the straight lines Lx1 and Ly1 pass inside the child plane C, and straight lines that do not pass are selected. Vertex C2
The same processing is performed for C3 and C4, and the intersections of the selected straight lines are calculated to be P1, P2, P3, and P4.
A figure having vertices P2, P3, and P4 is created as a neighborhood rectangle. The same process as described above is performed for all child planes, and the process of creating a neighboring rectangle is completed.

【0048】図10(a) は、付加図形作成部による近傍
長方形の占有領域決定処理(図7のS3−4)を示す説
明図であり、この占有領域決定処理の説明を以下に行
う。なお、ここでは、近傍長方形の各辺のうち、X軸に
平行でY座標の大きい辺を上辺,X軸に平行でY座標の
小さい辺を下辺,Y軸に平行でX座標の大きい辺を右
辺,Y軸に平行でX座標の小さい辺を左辺とする。図に
おいて、まず、近傍長方形が2つ以上存在するか否かを
判断し、存在すれば以下に示す(B1)の処理を行い、
存在しなければ(B2)の処理を行う。 (B1) 近傍長方形が2つ以上存在する場合(以下の
例は2つの近傍長方形A,Bの組が存在する場合につい
てである)、まず、近傍長方形Aの上辺(以下上辺A)
のY座標より近傍長方形Bの下辺(以下下辺Bという)
のY座標が大きい場合には、上辺Aに平行で、上辺Aと
下辺Bの距離を2等分する直線を作成する。近傍長方形
Aの下辺(以下下辺Aという)のY座標より近傍長方形
Bの上辺(以下上辺Bという)のY座標が小さい場合に
は、下辺Aに平行で、下辺Aと上辺Bの距離を2等分す
る直線を作成する。近傍長方形Aの右辺(以下右辺Aと
いう)のX座標より近傍長方形Bの左辺(以下左辺Bと
いう)のX座標が大きい場合には、右辺Aに平行で、右
辺Aと左辺Bの距離を2等分する直線を作成する。近傍
長方形Aの左辺(以下左辺Aという)のX座標より近傍
長方形Bの右辺(以下右辺Bという)のX座標が小さい
場合には、左辺Aに平行で、左辺Aと右辺Bの距離を2
等分する直線を作成する。2つの近傍長方形の全ての組
について、上記と同様の処理を行う。 (B2) 近傍長方形が1つの場合、作成した直線また
は親平面の各辺を領域候補線として、近傍長方形Aの上
辺(以下上辺Aという)のY座標より大きく、上辺Aに
平行で、上辺Aとの距離が最も小さい領域候補線を選択
する。近傍長方形Aの下辺(以下下辺Aという)のY座
標より小さく、下辺Aに平行で、下辺Aとの距離が最も
小さい領域候補線を選択する。近傍長方形Aの右辺(以
下右辺Aという)のX座標より大きく、右辺Aに平行
で、右辺Aとの距離が最も小さい領域候補線を選択す
る。近傍長方形Aの左辺(以下左辺Aという)のX座標
より小さく、左辺Aに平行で、左辺Aとの距離が最も小
さい領域候補線を選択する。選択した領域候補線の交点
を計算し、q1,q2,q3,q4とし、q1,q2,
q3,q4を頂点とする図形を近傍長方形Aの占有領域
として作成する。全ての近傍長方形について、上記と同
様の処理を行う。
FIG. 10 (a) is an explanatory diagram showing the occupation area determination processing of the neighboring rectangle by the additional graphic creating section (S3-4 in FIG. 7). The occupation area determination processing will be described below. Here, of the sides of the neighboring rectangle, the side parallel to the X axis and having a large Y coordinate is the upper side, the side parallel to the X axis and the Y coordinate is small is the lower side, and the side parallel to the Y axis and the X coordinate is large. The right side, the side parallel to the Y axis and having a small X coordinate, is defined as the left side. In the figure, first, it is determined whether or not there are two or more neighboring rectangles, and if so, the processing of (B1) shown below is performed.
If not, the processing of (B2) is performed. (B1) When there are two or more neighboring rectangles (the following example is a case where there are two pairs of neighboring rectangles A and B), first, the upper side of the neighboring rectangle A (hereinafter, upper side A)
The lower side of the neighboring rectangle B (hereinafter referred to as the lower side B) from the Y coordinate of
If the Y coordinate is large, a straight line that is parallel to the upper side A and bisects the distance between the upper side A and the lower side B is created. If the Y coordinate of the upper side of the neighboring rectangle B (hereinafter referred to as upper side B) is smaller than the Y coordinate of the lower side of the neighboring rectangle A (hereinafter referred to as lower side A), the distance between the lower side A and the upper side B is 2 parallel to the lower side A. Create a straight line that divides equally. When the X coordinate of the left side (hereinafter referred to as left side B) of the neighboring rectangle B is larger than the X coordinate of the right side (hereinafter referred to as right side A) of the neighboring rectangle A, the distance between the right side A and the left side B is 2 parallel to the right side A. Create a straight line that divides equally. When the X coordinate of the right side (hereinafter referred to as right side B) of the neighboring rectangle B is smaller than the X coordinate of the left side (hereinafter referred to as left side A) of the neighboring rectangle A, the distance between the left side A and the right side B is parallel to the left side A.
Create a straight line that divides equally. The same processing as described above is performed for all sets of two neighboring rectangles. (B2) In the case where there is one neighboring rectangle, the created straight line or each side of the parent plane is used as a region candidate line and is larger than the Y coordinate of the upper side (hereinafter referred to as the upper side A) of the neighboring rectangle A, parallel to the upper side A, and Is selected, the region candidate line having the shortest distance to the region is selected. An area candidate line that is smaller than the Y coordinate of the lower side of the neighboring rectangle A (hereinafter referred to as lower side A), is parallel to the lower side A, and has the shortest distance from the lower side A is selected. An area candidate line that is larger than the X coordinate of the right side of the neighboring rectangle A (hereinafter referred to as right side A), is parallel to the right side A, and has the shortest distance from the right side A is selected. An area candidate line that is smaller than the X coordinate of the left side of the neighboring rectangle A (hereinafter referred to as left side A), is parallel to the left side A, and has the shortest distance to the left side A is selected. The intersections of the selected area candidate lines are calculated and set as q1, q2, q3, q4, and q1, q2,
A figure having vertices q3 and q4 is created as an occupied area of the neighboring rectangle A. The same processing as described above is performed for all neighboring rectangles.

【0049】図10(b) は、付加図形作成部による1つ
の近傍長方形Aに対する付加長方形の作成処理(図7の
S3−5)を示す説明図であり、この作成処理の説明を
以下に行う。ここで、近傍長方形Aの各辺をそれぞれL
a1,La2,La3,La4とする。図において、ま
ず、近傍長方形Aの占有領域の各辺のうち、辺La1と
平行でかつ最も距離が小さい辺をLb1として抽出し、
辺La2,La3,La4についても同様の処理を行
い、抽出した辺をそれぞれLb2,Lb3,Lb4とす
る。辺La1に平行で、辺La1と辺Lb1の間の距離
を2等分する直線を作成してL1とし、辺La1と辺L
b1,辺La2と辺Lb2,辺La3と辺Lb3につい
ても同様の処理を行い、作成した直線をそれぞれL2,
L3,L4とする。直線L1,L2,L3,L4の交点
を計算し、r1,r2,r3,r4とす、r1,r2,
r3,r4を頂点とする長方形を付加長方形として作成
する。全ての近傍長方形について、上記と同様の処理を
行う。
FIG. 10B is an explanatory diagram showing the process of creating an additional rectangle for one neighboring rectangle A by the additional figure creating section (S3-5 in FIG. 7). This creating process will be described below. . Here, each side of the neighboring rectangle A is represented by L
a1, La2, La3, and La4. In the figure, first, of the sides of the occupied area of the neighboring rectangle A, the side parallel to the side La1 and having the shortest distance is extracted as Lb1,
The same processing is performed for the sides La2, La3, and La4, and the extracted sides are set to Lb2, Lb3, and Lb4, respectively. A straight line parallel to the side La1 and bisecting the distance between the side La1 and the side Lb1 is created as L1, and the side La1 and the side L
The same processing is performed for b1, side La2 and side Lb2, side La3 and side Lb3, and the created straight lines are respectively referred to as L2 and L2.
L3 and L4. The intersections of the straight lines L1, L2, L3, L4 are calculated, and r1, r2, r3, r4, r1, r2,
A rectangle having vertices r3 and r4 is created as an additional rectangle. The same processing as described above is performed for all neighboring rectangles.

【0050】図11は、付加図形作成部による1つの付
加長方形Aに対する付加図形の作成処理を示す説明図で
あり、この作成処理の説明を以下に行う。ここで、付加
長方形Aと対応する近傍長方形,子平面,子多面体を、
それぞれ近傍長方形K(A),子平面H(A),子多面
体T(A)とする。また、近傍長方形K(A)の1つの
辺Ldに平行かつ最も距離が小さい付加長方形Aの辺が
辺Leである時、辺Leは辺Ldに対応する辺とし、子
平面H(A)の各頂点をa1,a2,a3,a4とす
る。図において、まず、子平面H(A)と近傍長方形K
(A)が一致するか否かを判断し、一致する場合には以
下に示す(D1)の処理を行い、一致しなかった場合に
は(D2)の処理を行う。 (D1) 子平面H(A)と近傍長方形K(A)が一致
した場合、付加長方形A自身を付加多角形Aとして作成
し、付加多角形Aから子平面H(A)の領域を除いた図
形を、親平面に垂直に子多面体T(A)の半分の高さま
でスイープした図形を付加図形Aとして作成する。全て
の付加長方形について、上記と同様の処理を行う。 (D2) 子平面H(A)と近傍長方形K(A)が一致
しなかった場合、頂点a1,a2,a3,a4が存在す
る近傍長方形K(A)の辺を、それぞれLd1,Ld
2,Ld3,Ld4とし、辺Ld1,Ld2,Ld3,
Ld4に対応する付加長方形Aの辺を、それぞれLe
1,Le2,Le3,Le4とする。次に、頂点a1か
ら辺Le1に対して垂線を下ろし、辺Le1との交点を
s1とする。頂点a2,a3,a4についても同様の処
理を行ない、交点をそれぞれs2,s3,s4とし、s
1,s2,s3,s4を頂点とする図形を付加多角形A
として作成する。そして、付加多角形Aから子平面H
(A)の領域を除いた図形を、親平面に垂直に子多面体
T(A)の半分の高さまでスイープした図形を付加図形
Aとして作成する。全ての付加長方形について、上記と
同様の処理を行う。
FIG. 11 is an explanatory diagram showing a process of creating an additional figure for one additional rectangle A by the additional figure creating section. This creating process will be described below. Here, the neighboring rectangle, child plane, and child polyhedron corresponding to the additional rectangle A are
These are the neighborhood rectangle K (A), child plane H (A), and child polyhedron T (A). When the side of the additional rectangle A parallel to one side Ld of the neighboring rectangle K (A) and having the shortest distance is the side Le, the side Le is a side corresponding to the side Ld, and the side Le of the child plane H (A) Let each vertex be a1, a2, a3, a4. In the figure, first, the child plane H (A) and the neighborhood rectangle K
It is determined whether or not (A) matches, and if they match, the process of (D1) shown below is performed, and if they do not match, the process of (D2) is performed. (D1) When the child plane H (A) matches the neighboring rectangle K (A), the additional rectangle A itself is created as an additional polygon A, and the area of the child plane H (A) is removed from the additional polygon A. A figure swept perpendicular to the parent plane to half the height of the child polyhedron T (A) is created as an additional figure A. The same processing as described above is performed for all the additional rectangles. (D2) When the child plane H (A) does not coincide with the neighboring rectangle K (A), the sides of the neighboring rectangle K (A) where the vertices a1, a2, a3, and a4 are located are Ld1 and Ld, respectively.
2, Ld3, Ld4, and sides Ld1, Ld2, Ld3
Let the sides of the additional rectangle A corresponding to Ld4 be Le
1, Le2, Le3, and Le4. Next, a perpendicular is drawn from the vertex a1 to the side Le1, and an intersection with the side Le1 is defined as s1. The same processing is performed for the vertices a2, a3, and a4, and the intersections are s2, s3, and s4, respectively, and s
A figure with vertices 1, s2, s3, and s4 as an additional polygon A
Create as Then, from the additional polygon A to the child plane H
A graphic excluding the area of (A), which is swept perpendicular to the parent plane to half the height of the child polyhedron T (A), is created as an additional graphic A. The same processing as described above is performed for all the additional rectangles.

【0051】なお、上記に説明した付加図形作成部が行
う処理内容は、親多面体,及び子多面体が全て直方体で
ある場合についてであったが、親多面体が直方体で,子
多面体が子平面と平行な面を持つ多角柱の場合であって
も、上記処理内容と同様にして付加図形を作成すること
ができる。
The processing performed by the additional figure creating unit described above is for the case where the parent polyhedron and the child polyhedron are all cuboids. However, the parent polyhedron is a cuboid and the child polyhedron is parallel to the child plane. Even in the case of a polygonal prism having various surfaces, an additional figure can be created in the same manner as in the above processing contents.

【0052】また、親多面体が直方体で,子多面体が子
平面を底面とする多角錐の場合であっても、上記処理内
容と同様にして、付加多角形を作成し、その付加多角形
の各頂点と子多面体の頂上点によって表される多面体か
ら子多面体を除いた図形を付加図形として考えれば、上
記処理内容と同様にして付加図形を作成することができ
る。
Even when the parent polyhedron is a rectangular parallelepiped and the child polyhedron is a polygonal pyramid whose bottom is the child plane, an additional polygon is created in the same manner as in the above processing, and each of the additional polygons is created. If a figure obtained by removing the child polyhedron from the polyhedron represented by the vertices and the top point of the child polyhedron is considered as an additional figure, an additional figure can be created in the same manner as the above processing contents.

【0053】また、親多面体が直方体でなくとも子多面
体が直方体の場合、または子多面体が子平面と平行な面
を持つ多角柱の場合、または子多面体が子平面を底面と
する多角錐の場合であっても、親平面補正処理で親多角
形を作成し、その親多面体が直方体の場合の親平面を親
多角形として考えれば、上記処理内容と同様にして付加
図形を作成することができる。
Further, when the parent polyhedron is not a rectangular parallelepiped and the child polyhedron is a rectangular parallelepiped, or when the child polyhedron is a polygonal column having a plane parallel to the child plane, or when the child polyhedron is a polygonal pyramid having the child plane as the base. Even if the parent polygon is created by the parent plane correction processing and the parent plane when the parent polyhedron is a rectangular parallelepiped is considered as the parent polygon, an additional figure can be created in the same manner as the above processing contents.

【0054】図12は、そのような親平面補正処理につ
いての説明図であり、この図12を用いて親平面補正処
理の詳細を以下に示す。図において、まず、近傍長方形
を上記処理内容と同様にして作成し、1つの近傍長方形
Aを所与のマージンで拡大する。例えば、図中の近傍長
方形Aの各頂点とその座標をそれぞれ、a1(Xs,Y
s),a2(Xe,Ys),a3(Xe,Ye),a4
(Xs,Ye)(ただし、Xs<Xe,Ys<Ye)と
し、拡大後の頂点座標をそれぞれ、a1(Xs−MRG
N,Ys−MRGN),a2(Xe+MRGN,Ys−
MRGN),a3(Xe+MRGN,Ye+MRG
N),a4(Xs−MRGN,Ye+MRGN)(ただ
し、MRGNは所与のマージン)となるように近傍長方
形Aを拡大する。全ての近傍長方形について、同様の処
理を行う。次いで、親平面の領域から近傍長方形の領域
が出ているか否かを判断し、出ている場合は(F1)の
処理を行い、出ていない場合は(F2)の処理を行う。 (F1) 親平面の領域から近傍長方形の領域が出てい
る場合は、その近傍長方形を近傍長方形Bとして、近傍
長方形Bを一旦拡大前の状態に戻してMRGNの値を調
整して再度拡大し、この処理を繰り返し行って親平面の
領域内に近傍長方形Bの領域が収まった時点で、親平面
の辺と接している近傍長方形Bの辺をLbとして抽出す
る。辺Lbが上辺または下辺の場合には、辺Lbの両端
点である頂点のY座標を固定し、辺Lbが右辺または左
辺の場合には、辺Lbの両端点である頂点のX座標を固
定する。
FIG. 12 is an explanatory diagram of such a parent plane correction process. Details of the parent plane correction process will be described below with reference to FIG. In the figure, first, a neighboring rectangle is created in the same manner as the above processing contents, and one neighboring rectangle A is enlarged by a given margin. For example, each vertex of the neighboring rectangle A in the figure and its coordinates are respectively denoted by a1 (Xs, Y
s), a2 (Xe, Ys), a3 (Xe, Ye), a4
(Xs, Ye) (where Xs <Xe, Ys <Ye), and the vertex coordinates after the enlargement are respectively a1 (Xs-MRG)
N, Ys-MRGN), a2 (Xe + MRGN, Ys-
MRGN), a3 (Xe + MRGN, Ye + MRG
N), a4 (Xs-MRGN, Ye + MRGN) (where MRGN is a given margin). The same processing is performed for all neighboring rectangles. Next, it is determined whether or not a nearby rectangular area is out of the area of the parent plane. If so, the processing of (F1) is performed, and if not, the processing of (F2) is performed. (F1) When an area of a neighboring rectangle is present from the area of the parent plane, the neighboring rectangle is set as a neighboring rectangle B, and the neighboring rectangle B is temporarily returned to a state before the enlargement, the value of MRGN is adjusted, and the neighboring rectangle is enlarged again. When this process is repeatedly performed and the area of the neighboring rectangle B falls within the area of the parent plane, the side of the neighboring rectangle B that is in contact with the side of the parent plane is extracted as Lb. When the side Lb is the upper side or the lower side, the Y coordinate of the vertex which is both ends of the side Lb is fixed, and when the side Lb is the right side or the left side, the X coordinate of the vertex which is both ends of the side Lb is fixed. I do.

【0055】(F2) 親平面の領域から近傍長方形の
領域が出ていない場合は、近傍長方形の領域が他の近傍
長方形の領域と重なっているか否かを判断し、重なって
いる場合には(F3)の処理を行い、重なっていない場
合は(F4)の処理を行う。 (F3) 近傍長方形の領域が他の近傍長方形の領域と
重なっている場合は、その近傍長方形を近傍長方形Cと
して、近傍長方形Cを一旦拡大前の状態に戻してMRG
Nの値を調整して再度拡大し、この処理を繰り返し行っ
て近傍長方形Cの領域が他の近傍長方形領域と重ならな
くなった時点で、他の近傍長方形の辺と接している近傍
長方形Cの辺をLcとして抽出する。辺Lcが上辺また
は下辺の場合には、辺Lcの両端点である頂点のY座標
を固定し、辺Lcが右辺または左辺の場合には、辺Lc
の両端点である頂点のX座標を固定する。この(F3)
の処理が終われば(F4)の処理に進む。 (F4) (F3)の処理が終了した場合、及び近傍長
方形の領域が他の近傍長方形の領域と重なっていない場
合は、上記(F1)〜(F3)の処理を繰り返し行い、
全ての近傍長方形の各頂点の座標が固定された時点で、
全ての近傍長方形の領域の和で表される多角形を親多角
形として作成し、親平面補正処理が終了する。
(F2) If the neighboring rectangular area does not protrude from the parent plane area, it is determined whether the neighboring rectangular area overlaps another neighboring rectangular area. The processing of F3) is performed, and if they do not overlap, the processing of (F4) is performed. (F3) When the neighboring rectangle area overlaps with another neighboring rectangle area, the neighboring rectangle is set as the neighboring rectangle C, and the neighboring rectangle C is returned to the state before the enlargement, and the MRG is returned.
The value of N is adjusted and enlarged again, and when this processing is repeated and the area of the neighboring rectangle C no longer overlaps with another neighboring rectangular area, the neighboring rectangle C in contact with the side of the other neighboring rectangle C The side is extracted as Lc. When the side Lc is the upper side or the lower side, the Y coordinate of the vertex which is the both ends of the side Lc is fixed, and when the side Lc is the right side or the left side, the side Lc
The X coordinates of the vertices that are both end points of are fixed. This (F3)
When the process of (1) is completed, the process proceeds to the process of (F4). (F4) When the processing of (F3) is completed, and when the neighboring rectangular area does not overlap with other neighboring rectangular areas, the above processing of (F1) to (F3) is repeated,
When the coordinates of each vertex of all neighboring rectangles are fixed,
A polygon represented by the sum of all neighboring rectangular areas is created as a parent polygon, and the parent plane correction processing ends.

【0056】図13は、曲面生成部の動作を示すフロー
チャートであり、この曲面生成部の動作の説明を以下に
行う。曲面生成部は、曲面の生成を開始すると、まず、
多面体情報テーブルfig_tblに登録されている全
ての多面体の頂点座標リストから詳細図形の内部でない
頂点を全て抽出し、抽出した頂点座標リストを配列変数
s_listにそれぞれ格納し(S4−1)、次いで、
頂点座標リストs_listと形状保持点リストhol
d_listを定義多角形の頂点として、B−スプライ
ン曲面を生成し(S4−2)、曲面の生成を終了する。
B−スプライン曲面の生成方法については、日刊工業新
聞社「コンピュータグラフィックス」第6−12節で当
該の技術は開示されている。
FIG. 13 is a flowchart showing the operation of the curved surface generating unit. The operation of the curved surface generating unit will be described below. When the surface generation unit starts generating a surface, first,
From the vertex coordinate list of all the polyhedrons registered in the polyhedron information table fig_tbl, all vertices that are not inside the detailed figure are extracted, and the extracted vertex coordinate list is stored in the array variable s_list (S4-1).
Vertex coordinate list s_list and shape holding point list hol
Using d_list as the vertices of the defining polygon, a B-spline surface is generated (S4-2), and the generation of the surface ends.
Regarding a method for generating a B-spline surface, the technique is disclosed in Section 6-12 of "Computer Graphics" by Nikkan Kogyo Shimbun.

【0057】図14は、図形修正手段の動作を示すフロ
ーチャートであり、この図形修正手段の動作の説明を以
下に行う。図形修正手段は、組立図形の修正を開始する
と、まず、修正の種類を判断する(S7−1)。修正の
種類は、作成された組立図形に対して新たな多面体の追
加,または多面体情報テーブルに格納されている多面体
の削除や,変形・移動の入力といったものがある。修正
の種類が追加の場合、図形修正手段は、多面体の入力を
受け付け、入力された多面体の面の個数を変数add_
nに格納し、頂点座標リストを配列変数add_lis
t[i]_list[add_n]にそれぞれ格納する
(S7−2)。
FIG. 14 is a flowchart showing the operation of the graphic correction means. The operation of the graphic correction means will be described below. When the correction of the assembled graphic is started, the graphic correction means first determines the type of correction (S7-1). The types of correction include adding a new polyhedron to the created assembly figure, deleting the polyhedron stored in the polyhedron information table, and inputting deformation / movement. When the type of correction is added, the graphic correction unit receives the input of the polyhedron, and sets the number of faces of the input polyhedron to a variable add_
n, and stores the vertex coordinate list in the array variable add_lis.
Each is stored in t [i] _list [add_n] (S7-2).

【0058】次いで、テーブルfig_tblにおい
て、1レコードを新規に追加作成し、多面体識別子にn
ext_idの値を,面の個数にadd_nの値を,頂
点座標リストにadd_list[i]〜add_li
st[add_n]の値をそれぞれ格納する(S7−
3)。
Next, in the table FIG_tbl, one additional record is newly created, and n is added to the polyhedron identifier.
The value of ext_id, the value of add_n for the number of faces, and add_list [i] to add_li for the vertex coordinate list
The values of st [add_n] are stored (S7-
3).

【0059】次いで、next_idの値を1インクリ
メントし(S7−4)、その後、多面体情報テーブルf
ig_tblにおいて分類がADDであるレコードを全
て削除し、隣接図形情報テーブルr_tblの全てのレ
コードを削除し(S7−9)、組立図形の追加修正を終
了する。修正の種類が削除の場合、図形修正手段は、多
面体の削除入力を受け付け、削除された多面体の識別子
を変数del_idに格納し(S7−5)、次いで、テ
ーブルfig_tblにおいて多面体識別子del_i
dをもつレコードを削除し(S7−6)、多面体情報テ
ーブルfig_tblにおいて分類がADDであるレコ
ードを全て削除し、隣接図形情報テーブルr_tblの
全てのレコードを削除して(S7−9)、組立図形の削
除修正を終了する。修正の種類が変形・移動の場合、図
形修正手段は、多面体の変形・移動入力を受け付け、変
形・移動された多面体の識別子を変数chg_idに,
面の個数を変数chg_nに,頂点座標リストを配列変
数chg_list[1]〜chg_list[chg
_n]にそれぞれ格納し(S7−7)、次いで、テーブ
ルfig_tblにおいて多面体識別子chg_idを
もつレコードの面の個数をchg_nで、頂点座標リス
トをchg_list[1]〜chg〜list[ch
g_n]でそれぞれ更新する(S7−8)。
Next, the value of next_id is incremented by 1 (S7-4), and thereafter, the polyhedron information table f
In ig_tbl, all records whose classification is ADD are deleted, all records in the adjacent graphic information table r_tbl are deleted (S7-9), and the additional correction of the assembled graphic is ended. When the type of correction is deletion, the graphic correction unit accepts the input of deleting the polyhedron, stores the identifier of the deleted polyhedron in a variable del_id (S7-5), and then, in the table FIG_tbl, the polyhedron identifier del_i.
d is deleted (S7-6), all records whose classification is ADD in the polyhedron information table fig_tbl are deleted, and all records in the adjacent figure information table r_tbl are deleted (S7-9), and the assembled figure is deleted. Terminate the deletion of. When the type of correction is deformation / movement, the figure correction means receives a polyhedron deformation / movement input, and stores the identifier of the deformed / moved polyhedron in a variable chg_id.
The number of faces is set to a variable chg_n, and the vertex coordinate list is set to array variables chg_list [1] to chg_list [chg
_N] (S7-7), then the number of faces of the record having the polyhedron identifier chg_id in the table fig_tbl is chg_n, and the vertex coordinate list is chg_list [1] to chg to list [ch
g_n] (S7-8).

【0060】次いで、多面体情報テーブルfig_tb
lにおいて分類がADDであるレコードを全て削除し、
隣接図形情報テーブルr_tblの全てのレコードを削
除して(S7−9)、組立図形の変形・移動修正を終了
する。
Next, the polyhedron information table fig_tb
l, delete all records whose classification is ADD,
All records in the adjacent graphic information table r_tbl are deleted (S7-9), and the deformation / movement correction of the assembled graphic is completed.

【0061】上記において、新たに追加された多面体の
面の個数,及び各頂点の頂点座標リストは多面体情報テ
ーブルに格納され、削除された多面体に関する情報は多
面体情報テーブルから削除され、変形または移動された
多面体に関する情報は変形または移動後の面の個数,及
び頂点座標リストに更新される。
In the above description, the number of faces of the newly added polyhedron and the vertex coordinate list of each vertex are stored in the polyhedron information table, and the information on the deleted polyhedron is deleted from the polyhedron information table and is deformed or moved. The information on the polyhedron is updated to the number of deformed or moved faces and a vertex coordinate list.

【0062】次に、以上のように構成された3次元加工
装置の全体の動作を、詳細図を作成する場合と詳細図を
作成しない場合とに分けて説明する。まず、詳細図を作
成する場合を、図15,図16を用いて説明する。図1
5は3次元加工装置全体の動作(3次元図形加工方法)
を示すフローチャート、図16は3次元図形加工装置に
おける3次元図形の加工過程を模式的に示す斜視図であ
る。
Next, the overall operation of the three-dimensional machining apparatus configured as described above will be described separately for a case where a detailed drawing is created and a case where a detailed drawing is not created. First, the case of creating a detailed view will be described with reference to FIGS. FIG.
5 is the operation of the entire 3D processing apparatus (3D graphic processing method)
FIG. 16 is a perspective view schematically showing a process of processing a three-dimensional figure in the three-dimensional figure processing apparatus.

【0063】ここで、図16(a) に示すような、多面体
A,B,Cからなる組立図形の図形情報、及び多面体C
の下面の頂点c1,c2,c3,c4からなる形状保持
点設定情報,図16(d) に示すような、多面体Cを変形
する図形修正情報を入力するものとし、生成した曲面を
さらに滑らかにはしないものとする。これらの図におい
て、3次元図形図形加工装置は、図形情報が入力される
と、該入力された図形情報に基づき、多面体A,B,C
からなる組立図形の作成を行う(S1,図16(a) )。
Here, as shown in FIG. 16 (a), the graphic information of the assembled figure composed of the polyhedrons A, B and C, and the polyhedron C
The shape holding point setting information composed of the vertices c1, c2, c3, and c4 of the lower surface of FIG. 4 and the graphic correction information for deforming the polyhedron C as shown in FIG. Shall not be used. In these figures, when graphic information is input, the three-dimensional graphic graphic processing apparatus performs a polyhedron A, B, C based on the input graphic information.
An assembled figure is created (S1, FIG. 16A).

【0064】次いで、形状保持点設定情報が入力される
と、該入力された形状保持点設定情報に基づき、組立図
形に対し、頂点c1,c2,c3,c4を形状保持点と
して設定する(S2,図16(a) )。
Next, when the shape holding point setting information is input, the vertices c1, c2, c3, and c4 are set as the shape holding points for the assembled figure based on the input shape holding point setting information (S2). 16 (a)).

【0065】次いで、隣接図形として、多面体A,Bか
ら構成される隣接図形と、多面体B,Cから構成される
隣接図形を抽出し、それぞれの隣接図形に対して付加図
形を作成し、組立図形に付加図形を加えた図形を詳細図
形として作成する(S3,図16(b) )。
Next, an adjacent figure composed of polyhedrons A and B and an adjacent figure composed of polyhedrons B and C are extracted as adjacent figures, and an additional figure is created for each adjacent figure. A figure obtained by adding an additional figure to the figure is created as a detailed figure (S3, FIG. 16 (b)).

【0066】次いで、詳細図形の各頂点のうち、詳細図
形の内部に存在しない頂点の座標リストを抽出し、抽出
した頂点座標リストとステップS2で設定した形状保持
点c1〜c4の座標リストとを定義多角形の頂点とし
て、B−スプライン曲面を生成する(S4,図16(c)
)。
Next, of the vertices of the detailed figure, a coordinate list of vertices not existing inside the detailed figure is extracted, and the extracted vertex coordinate list and the coordinate list of the shape holding points c1 to c4 set in step S2 are extracted. A B-spline surface is generated as vertices of the defining polygon (S4, FIG. 16C)
).

【0067】次いで、ステップS5で、ユーザの選択入
力(図示せず)に基づき、生成した曲面を更に滑らかな
曲面にするか否かを判定する。もし、生成した曲面を更
に滑らかな曲面にする場合にはステップS3に戻る。
Next, in step S5, it is determined whether or not the generated curved surface is to be made a smoother surface based on a user's selection input (not shown). If the generated surface is to be made a smoother surface, the process returns to step S3.

【0068】ここでは、更に滑らかな曲面にはしないの
で、ステップS6に進み、図形修正情報に基づき、生成
した曲面を修正するか否かを判定する。もし、修正しな
い場合は本処理を終了する。ここでは、生成した曲面を
修正するのでステップS7に進み、図形修正情報が入力
されと、入力された図形修正情報に基づき、多面体Cに
対して変形を行う(図16(d) )。
Here, since the curved surface is not further smoothed, the process proceeds to step S6, and it is determined whether or not to modify the generated curved surface based on the graphic modification information. If no correction is required, the process ends. Here, since the generated curved surface is corrected, the process proceeds to step S7, and when the graphic correction information is input, the polyhedron C is deformed based on the input graphic correction information (FIG. 16 (d)).

【0069】次いで、ステップS3に戻り、修正した組
立図形を基にして、再度詳細図形を作成する(図16
(e) )。次いで、ステップS4で、再度作成した詳細図
形を基に、再度曲面を生成する。この結果、図16(f)
から明らかなように、ステップS7で行なわれた組立図
形に対する修正結果が、再度生成された曲面の形状に反
映されている。
Next, returning to step S3, a detailed figure is created again based on the corrected assembled figure (FIG. 16).
(e)). Next, in step S4, a curved surface is generated again based on the detailed figure created again. As a result, FIG.
As is clear from the above, the result of the correction made to the assembled figure performed in step S7 is reflected on the shape of the curved surface generated again.

【0070】次に、詳細図を作成しない場合について説
明する。この場合には、図15において、ステップS2
から、ステップS3を飛ばして、直接ステップS4に進
み、作成した組立図形について上記したのと同様の処理
を行うことにより、作成した組立図形から曲面を生成す
ることができる。
Next, a case where a detailed drawing is not created will be described. In this case, in FIG.
Then, the process skips step S3 and directly proceeds to step S4, where the same processing as described above is performed on the created assembled figure, whereby a curved surface can be generated from the created assembled figure.

【0071】また、ステップS5,S6を経てステップ
S7で、上記作成した組立図形を図形修正情報に基づい
て修正し、その後、ステップS3を飛ばして、直接ステ
ップS4に戻ることにより、該修正した組立図形に基づ
き、再度曲面を生成することができる。なお、上記の説
明では、曲面を生成する際にB−スプライン曲面を用い
るようにしたが、頂点座標の列に基づいて定まる曲面で
あれば、曲面の種類は問わない。
In step S7 through steps S5 and S6, the created assembled figure is corrected based on the graphic correction information. Then, step S3 is skipped and the process returns directly to step S4, whereby the corrected assembled figure is returned. A curved surface can be generated again based on the figure. In the above description, a B-spline surface is used when generating a surface, but any type of surface can be used as long as the surface is determined based on a column of vertex coordinates.

【0072】以上のように、本実施の形態1において
は、多面体を組み合わせて作成した組立図形の各頂点座
標から曲面を生成するようにしているので、最終的に得
られる3次元図形の断面が推測可能である必要はなく、
かつ基本図形である組立図形から最終的に得られる曲面
が予測できるため、曲面の作成を容易に行うことができ
る。
As described above, in the first embodiment, since a curved surface is generated from each vertex coordinate of the assembled figure created by combining the polyhedrons, the cross section of the finally obtained three-dimensional figure is obtained. Need not be guessable,
In addition, since a curved surface finally obtained from the assembled graphic as the basic graphic can be predicted, the curved surface can be easily created.

【0073】また、本実施の形態1においては、組立図
形に含まれる各隣接図形にに外接する多面体から該各隣
接図形を除いた図形の一部である各付加図形をそれぞれ
作成し、この作成した各付加図形を全て組立図形に追加
して作成した詳細図形の各頂点座標から曲面を生成する
ようにしているので、組立図形の全体形状の特徴を活か
したより滑らかな曲面を生成することができる。
Further, in the first embodiment, each additional graphic which is a part of a figure obtained by removing each adjacent figure from a polyhedron circumscribing each adjacent figure included in the assembled figure is created. Since a curved surface is generated from each vertex coordinate of the detailed graphic created by adding all the additional graphics to the assembled graphic, a smoother curved surface can be generated by utilizing the features of the entire shape of the assembled graphic. .

【0074】また、本実施の形態1においては、形状保
持点を設定し、設定した形状保持点と詳細図形の各頂点
座標とを基にして定まる曲面を生成するようにしている
ので、組立図形に忠実でより滑らかな曲面を生成するこ
とができる。
Further, in the first embodiment, the shape holding point is set, and a curved surface determined based on the set shape holding point and each vertex coordinate of the detailed figure is generated. And a smoother surface can be generated.

【0075】また、本実施の形態1においては、詳細図
形から曲面を生成した後に、詳細図形の基となる組立図
形に修正を加え、この修正した組立図形を基に再度作成
した詳細図形から曲面を生成するようにしているので、
より滑らかな曲面の形状の修正を容易に行うことができ
る。
In the first embodiment, after a curved surface is generated from a detailed figure, a correction is made to the assembled figure which is the basis of the detailed figure, and the curved surface is re-created based on the corrected assembled figure. Is generated, so
It is possible to easily correct the shape of the smooth curved surface.

【0076】なお、上記実施の形態1では、図11(b)
に示すように、隣接図形の小さい方の多面体の基部外周
に、枠状の図形を付加図形として付加するようにしてい
るが、付加図形は、隣接図形に外接する多面体から該隣
接図形を除いた図形の一部分であればよく、例えば、隣
接図形の大きい方の多面体の外周中央部に、枠状の図形
を付加図形として付加したり、隣接図形の小さい方の多
面体の上面中央部に、直方体形状の図形を付加図形とし
て付加するようにしてもよい。
In the first embodiment, FIG.
As shown in the figure, a frame-shaped figure is added as an additional figure to the outer periphery of the base of the smaller polyhedron of the adjacent figure, but the additional figure is obtained by removing the adjacent figure from the polyhedron circumscribing the adjacent figure. Any part of the figure may be used.For example, a frame-shaped figure may be added as an additional figure to the center of the outer periphery of the larger polyhedron of the adjacent figure, or a rectangular parallelepiped may be added to the center of the upper surface of the smaller polyhedron of the adjacent figure. May be added as an additional graphic.

【0077】[0077]

【発明の効果】以上のように、請求項1,及び7の発明
によれば、多面体を組み合わせて作成した組立図形の各
頂点座標から曲面を生成するようにしているので、従来
例とは異なり、最終的に得られる3次元図形の断面が推
測可能である必要はなく、かつ基本図形である組立図形
から最終的に得られる曲面が予測できるため、曲面の作
成を容易に行うことができるという効果が得られる。
As described above, according to the first and seventh aspects of the present invention, a curved surface is generated from each vertex coordinate of an assembled figure created by combining polyhedrons. It is not necessary to be able to estimate the cross section of the finally obtained three-dimensional figure, and since the finally obtained curved surface can be predicted from the assembled figure as the basic figure, it is possible to easily create the curved surface. The effect is obtained.

【0078】また、請求項2,及び8の発明によれば、
形状保持点を設定し、設定した形状保持点と組立図形の
各頂点座標とを基にして定まる曲面を生成するようにし
ているので、組立図形を詳細に見たときに、組立図形に
忠実な曲面を生成することができるという効果が得られ
る。
According to the second and eighth aspects of the present invention,
Since the shape holding point is set, and a curved surface determined based on the set shape holding point and each vertex coordinate of the assembled figure is generated, when the assembled figure is viewed in detail, it is faithful to the assembled figure. The effect that a curved surface can be generated is obtained.

【0079】また、請求項3,及び9の発明によれば、
多面体を組み合わせて作成した組立図形から曲面を生成
した後に、組立図形に修正を加え、この修正した組立図
形の各頂点座標から曲面を生成するようにしているの
で、曲面の形状の修正を容易に行うことができるという
効果が得られる。
According to the third and ninth aspects of the present invention,
After a curved surface is generated from an assembled figure created by combining polyhedrons, a correction is made to the assembled figure, and a curved surface is generated from each vertex coordinate of the corrected assembled figure, so that the shape of the curved surface can be easily corrected. The effect that can be performed is obtained.

【0080】また、請求項4,及び10の発明によれ
ば、組立図形に含まれる各隣接図形にに外接する多面体
から該各隣接図形を除いた図形の一部である各付加図形
をそれぞれ作成し、この作成した各付加図形を全て組立
図形に追加して作成した詳細図形の各頂点座標から曲面
を生成するようにしているので、組立図形の全体形状の
特徴を活かしたより滑らかな曲面を生成することができ
るという効果が得られる。
According to the inventions of claims 4 and 10, each additional graphic which is a part of a figure obtained by removing each adjacent figure from a polyhedron circumscribing each adjacent figure included in the assembled figure is created. Then, a surface is generated from each vertex coordinate of the detailed figure created by adding all of the created additional figures to the assembled figure, so that a smoother surface is generated by utilizing the characteristics of the entire shape of the assembled figure. The effect is obtained.

【0081】また、請求項5,及び11の発明によれ
ば、形状保持点を設定するとともに詳細図形を作成し、
設定した形状保持点と詳細図形の各頂点座標とを基にし
て定まる曲面を生成するようにしているので、組立図形
に忠実でより滑らかな曲面を生成することができるとい
う効果が得られる。
According to the invention of claims 5, 11, a shape holding point is set and a detailed figure is created.
Since a curved surface determined based on the set shape holding point and each vertex coordinate of the detailed graphic is generated, an effect that a smoother surface faithful to the assembled graphic can be generated can be obtained.

【0082】また、請求項6,及び12の発明によれ
ば、詳細図形から曲面を生成した後に、詳細図形の基と
なる組立図形に修正を加え、この修正した組立図形を基
に再度作成した詳細図形から曲面を生成するようにして
いるので、より滑らかな曲面の形状の修正を容易に行う
ことができるという効果が得られる。
According to the inventions of claims 6 and 12, after a curved surface is generated from a detailed figure, a correction is made to the assembled figure which is the basis of the detailed figure, and the modified figure is created again based on the corrected assembled figure. Since the curved surface is generated from the detailed figure, an effect is obtained that the shape of the curved surface can be easily corrected more smoothly.

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

【図1】 本発明の実施の形態1による3次元図形加工
装置を実現するハードウエアの構成を示すブロック図で
ある。
FIG. 1 is a block diagram illustrating a hardware configuration for realizing a three-dimensional graphic processing apparatus according to a first embodiment of the present invention;

【図2】 本実施の形態1による3次元図形加工装置の
構成を示す機能ブロック図である。
FIG. 2 is a functional block diagram showing a configuration of a three-dimensional graphic processing apparatus according to the first embodiment.

【図3】 本実施の形態1による3次元図形加工装置で
用いられる多面体情報テーブルを表す模式図である。
FIG. 3 is a schematic diagram illustrating a polyhedron information table used in the three-dimensional graphic processing apparatus according to the first embodiment;

【図4】 本実施の形態1による3次元図形加工装置で
用いられる隣接図形情報テーブルを表す模式図である。
FIG. 4 is a schematic diagram illustrating an adjacent graphic information table used in the three-dimensional graphic processing apparatus according to the first embodiment;

【図5】 本実施の形態1による図形組立手段の動作を
示すフローチャート図である。
FIG. 5 is a flowchart showing the operation of the graphic assembling means according to the first embodiment.

【図6】 本実施の形態1による形状保持点設定手段の
動作を示すフローチャート図である。
FIG. 6 is a flowchart showing the operation of the shape holding point setting means according to the first embodiment.

【図7】 本実施の形態1による詳細図形作成手段の動
作を示すフローチャート図である。
FIG. 7 is a flowchart showing the operation of the detailed figure creating means according to the first embodiment.

【図8】 本実施の形態1による隣接図形抽出部の動作
を示すフローチャート図である。
FIG. 8 is a flowchart showing the operation of the adjacent figure extracting unit according to the first embodiment.

【図9】 本実施の形態1による付加図形作成部が行う
処理内容の説明図である。
FIG. 9 is an explanatory diagram of processing contents performed by an additional graphic creating unit according to the first embodiment;

【図10】 本実施の形態1による付加図形作成部が行
う処理内容の説明図である。
FIG. 10 is an explanatory diagram of processing contents performed by an additional graphic creating unit according to the first embodiment;

【図11】 本実施の形態1による付加図形作成部が行
う処理内容の説明図である。
FIG. 11 is an explanatory diagram of the processing performed by an additional graphic creating unit according to the first embodiment;

【図12】 本実施の形態1による付加図形作成部が行
う処理内容の説明図である。
FIG. 12 is an explanatory diagram of the processing performed by an additional graphic creating unit according to the first embodiment;

【図13】 本実施の形態1による曲面生成部の動作を
示すフローチャート図である。
FIG. 13 is a flowchart illustrating an operation of the curved surface generation unit according to the first embodiment.

【図14】 本実施の形態1による図形修正手段の動作
を示すフローチャート図である。
FIG. 14 is a flowchart showing the operation of the graphic correction unit according to the first embodiment.

【図15】 本実施の形態1による3次元図形加工装置
全体の動作を示すフローチャート図である。
FIG. 15 is a flowchart illustrating an operation of the entire three-dimensional graphic processing apparatus according to the first embodiment;

【図16】 本実施の形態1による3次元図形加工装置
における3次元図形の加工過程を模式的に示す斜視図で
ある。
FIG. 16 is a perspective view schematically showing a process of processing a three-dimensional graphic in the three-dimensional graphic processing apparatus according to the first embodiment;

【図17】 従来の3次元図形加工方法の一例であるス
キンを実施する装置の構成を示す機能ブロック図であ
る。
FIG. 17 is a functional block diagram illustrating a configuration of an apparatus that implements a skin, which is an example of a conventional three-dimensional graphic processing method.

【図18】 従来の3次元図形加工方法の一例であるメ
タボールを実施する装置の構成を示す機能ブロック図で
ある。
FIG. 18 is a functional block diagram showing a configuration of an apparatus for performing a metaball which is an example of a conventional three-dimensional graphic processing method.

【図19】 従来の3次元図形加工方法の一例である3
Dスカラプトを実施する装置の構成を示す機能ブロック
図である。
FIG. 19 illustrates an example of a conventional three-dimensional graphic processing method.
It is a functional block diagram showing the composition of the device which performs D sculpt.

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

1 図形組立手段 2 形状保持点設定手段 3 隣接図形抽出部 4 付加図形作成部 5 詳細図形作成部 6 詳細図形作成手段 7 曲面生成部 8 図形修正手段 31 キーボード 32 マウス 33 ディスプレイ 34 ビデオRAM 35 主記憶装置 36 中央処理装置 37 補助記憶装置 38 バス 101 断面入力手段 102 3次元図形作成手段 111 球情報入力手段 112 3次元図形作成手段 121 基本図形入力手段 122 制御点設定手段 123 制御点移動手段 124 3次元図形作成手段。 fig_tbl 多面体情報テーブル r_tbl 隣接図形情報テーブル DESCRIPTION OF SYMBOLS 1 Figure assembling means 2 Shape holding point setting means 3 Adjacent figure extracting unit 4 Additional figure creating unit 5 Detailed figure creating unit 6 Detailed figure creating means 7 Curved surface generating unit 8 Figure modifying means 31 Keyboard 32 Mouse 33 Display 34 Video RAM 35 Main storage Device 36 Central processing unit 37 Auxiliary storage device 38 Bus 101 Section input means 102 Three-dimensional figure creating means 111 Ball information input means 112 Three-dimensional figure creating means 121 Basic figure input means 122 Control point setting means 123 Control point moving means 124 Three-dimensional Figure creation means. fig_tbl Polyhedron information table r_tbl Neighboring graphic information table

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 外部から入力される1つ,または複数の
多面体で構成される組立図形の図形情報から組立図形を
作成する図形組立手段と、 上記図形組立手段により作成された組立図形の各頂点座
標を基にして定まる曲面を生成する曲面生成手段と、を
有することを特徴とする3次元図形加工装置。
1. A graphic assembling means for generating an assembled graphic from graphic information of one or more polyhedrons inputted from outside, and each vertex of the assembled graphic generated by said graphic assembling means. A three-dimensional figure processing apparatus, comprising: a curved surface generating unit that generates a curved surface determined based on coordinates.
【請求項2】 請求項1に記載の3次元図形加工装置に
おいて、 上記図形組立手段により作成された組立図形に対して1
つ,または複数の形状保持点を設定するための形状保持
点設定手段を付加してなり、 上記曲面生成手段は、上記形状保持点設定手段により設
定された形状保持点と,上記図形組立手段により作成さ
れた組立図形の各頂点座標とを基にして定まる曲面を生
成するものであることを特徴とする3次元図形加工装
置。
2. The three-dimensional graphic processing apparatus according to claim 1, wherein one of the assembled figures created by said figure assembling means is one.
One or more shape holding point setting means for setting one or more shape holding points, wherein the curved surface generating means includes a shape holding point set by the shape holding point setting means, and a shape holding point set by the figure assembling means. A three-dimensional figure processing apparatus for generating a curved surface determined based on each vertex coordinate of a created assembled figure.
【請求項3】 請求項1または2に記載の3次元図形加
工装置において、 上記図形組立手段により作成された組立図形を構成する
多面体を変形,または移動,または削除して該組立図形
の修正を行い、あるいは上記組立図形に新たな多面体を
追加して該組立図形の修正を行うための図形修正手段を
付加してなり、 上記曲面生成手段は、上記図形組立手段により作成され
た組立図形,または上記図形修正手段により修正が行わ
れた組立図形を基礎として上記曲面を生成するものであ
ることを特徴とする3次元図形加工装置。
3. The three-dimensional graphic processing apparatus according to claim 1, wherein the polyhedron forming the assembled figure created by the figure assembling means is modified, moved, or deleted to correct the assembled figure. Or a new polyhedron is added to the assembled figure, and a figure correcting means for correcting the assembled figure is added. The curved surface generating means comprises an assembled figure created by the figure assembling means, or A three-dimensional figure processing apparatus for generating the curved surface based on the assembled figure corrected by the figure correcting means.
【請求項4】 請求項1に記載の3次元図形加工装置に
おいて、 上記組立図形を構成する多面体のうち同一面を共有する
2つの多面体の組を隣接図形とし、上記隣接図形に外接
する多面体から該隣接図形を除いた図形の一部分を付加
図形とし、上記組立図形に上記付加図形を追加した図形
を詳細図形とし、上記図形組立手段により作成された組
立図形から全ての隣接図形を抽出し、該抽出した隣接図
形に対応する付加図形を全ての該隣接図形に対して作成
し、該作成した全ての付加図形を上記組立図形に追加し
て詳細図形を作成する詳細図形作成手段を付加してな
り、 上記曲面生成手段は、上記詳細図形作成手段により作成
された詳細図形の各頂点座標を基にして定まる曲面を生
成するものであることを特徴とする3次元図形加工装
置。
4. The three-dimensional graphic processing apparatus according to claim 1, wherein a set of two polyhedrons sharing the same plane among the polyhedrons constituting the assembled graphic is set as an adjacent graphic, and a polyhedron circumscribing the adjacent graphic is used as a set. A part of the figure excluding the adjacent figure is defined as an additional figure, a figure obtained by adding the additional figure to the assembled figure is defined as a detailed figure, and all adjacent figures are extracted from the assembled figure created by the figure assembling means. An additional figure corresponding to the extracted adjacent figure is created for all the adjacent figures, and a detailed figure creating means for creating the detailed figure by adding all the created additional figures to the above-mentioned assembled figure is added. The three-dimensional figure processing apparatus, wherein the curved surface generating means generates a curved surface determined based on each vertex coordinate of the detailed graphic created by the detailed graphic creating means.
【請求項5】 請求項4に記載の3次元図形加工装置に
おいて、 上記図形組立手段により作成された組立図形に対して1
つ,または複数の形状保持点を設定するための形状保持
点設定手段を付加してなり、 上記曲面生成手段は、上記形状保持点設定手段により設
定された形状保持点と、上記詳細図形作成手段により作
成された詳細図形の各頂点座標とを基にして定まる曲面
を生成するものであることを特徴とする3次元図形加工
装置。
5. The three-dimensional figure processing apparatus according to claim 4, wherein one of the assembled figures created by said figure assembling means is one.
Shape holding point setting means for setting one or a plurality of shape holding points, wherein the curved surface generating means comprises: a shape holding point set by the shape holding point setting means; A three-dimensional figure processing apparatus for generating a curved surface determined based on each vertex coordinate of a detailed figure created by the method.
【請求項6】 請求項4または5に記載の3次元図形加
工装置において、 上記詳細図形作成手段により作成された詳細図形の基と
なる組立図形を構成する多面体を変形,または移動,ま
たは削除して該組立図形の修正を行い、あるいは上記詳
細図形の基となる組立図形に対して新たな多面体を追加
して該組立図形の修正を行うための図形修正手段を付加
してなり、 上記詳細図形作成手段は、上記図形組立手段により作成
された組立図形,または上記図形修正手段により修正が
行われた組立図形を基として詳細図形を作成するもので
あることを特徴とする3次元図形加工装置。
6. The three-dimensional figure processing apparatus according to claim 4, wherein a polyhedron forming an assembled figure which is a basis of the detailed figure created by said detailed figure creating means is deformed, moved, or deleted. And correcting the assembled figure by adding a new polyhedron to the assembled figure on which the detailed figure is based, and adding a figure correcting means for correcting the assembled figure. The three-dimensional figure processing apparatus is characterized in that the creating means creates a detailed figure based on the assembled figure created by the figure assembling means or the assembled figure corrected by the figure correcting means.
【請求項7】 1つ,または複数の多面体を組み合わせ
て組立図形を作成し、該作成した組立図形の各頂点座標
を基にして定まる曲面を生成することを特徴とする3次
元図形加工方法。
7. A three-dimensional figure processing method, wherein an assembled figure is created by combining one or a plurality of polyhedrons, and a curved surface determined based on each vertex coordinate of the created assembled figure is generated.
【請求項8】 請求項7に記載の3次元図形加工方法に
おいて、 上記作成した組立図形に対して1つ,または複数の形状
保持点を設定し、該設定した形状保持点と上記組立図形
の各頂点座標とを基にして定まる曲面を生成することを
特徴とする3次元図形加工方法。
8. The three-dimensional figure processing method according to claim 7, wherein one or a plurality of shape holding points are set for the created assembled figure, and the set shape holding point and the A three-dimensional graphic processing method characterized by generating a curved surface determined based on each vertex coordinate.
【請求項9】 請求項7または8に記載の3次元図形加
工方法において、 上記組立図形を基礎として上記曲面を生成した後に、該
組立図形を構成する多面体を変形,または移動,または
削除して該組立図形の修正を行い、あるいは該組立図形
に新たな多面体を追加して該組立図形の修正を行い、該
修正後の組立図形を基礎として上記曲面を生成すること
を特徴とする3次元図形加工方法。
9. The three-dimensional figure processing method according to claim 7, wherein after the curved surface is generated based on the assembled figure, the polyhedron constituting the assembled figure is deformed, moved, or deleted. A three-dimensional figure, wherein the three-dimensional figure is modified by modifying the assembled figure or adding a new polyhedron to the assembled figure to modify the assembled figure, and generating the curved surface based on the modified assembled figure. Processing method.
【請求項10】 請求項7に記載の3次元図形加工方法
において、 上記組立図形を構成する多面体のうち同一面を共有する
2つの多面体の組を隣接図形とし、該隣接図形に外接す
る多面体から該隣接図形を除いた図形の一部分を付加図
形とし、上記組立図形に該付加図形を追加した図形を詳
細図形とし、上記組立図形から全ての隣接図形を抽出
し、該抽出した全ての隣接図形に対応する付加図形を作
成し、該作成した全ての付加図形を上記組立図形に追加
して詳細図形を作成し、該作成した詳細図形の各頂点座
標を基にして定まる曲面を生成することを特徴とする3
次元図形加工方法。
10. The three-dimensional graphic processing method according to claim 7, wherein a set of two polyhedrons sharing the same plane among the polyhedrons constituting the assembled graphic is set as an adjacent graphic, and a polyhedron circumscribing the adjacent graphic is set. A part of the figure excluding the adjacent figure is defined as an additional figure, a figure obtained by adding the additional figure to the above-described assembled figure is defined as a detailed figure, and all adjacent figures are extracted from the assembled figure. A corresponding additional figure is created, all the created additional figures are added to the assembled figure to create a detailed figure, and a curved surface determined based on each vertex coordinate of the created detailed figure is generated. 3
Dimensional figure processing method.
【請求項11】 請求項10に記載の3次元図形加工方
法において、 上記組立図形に対して1つ,または複数の形状保持点を
設定し、該設定した形状保持点と上記作成した詳細図形
の各頂点座標とを基にして定まる曲面を生成することを
特徴とする3次元図形加工方法。
11. The three-dimensional figure processing method according to claim 10, wherein one or more shape holding points are set for the assembled figure, and the set shape holding point and the created detailed figure are A three-dimensional graphic processing method characterized by generating a curved surface determined based on each vertex coordinate.
【請求項12】 請求項10または11に記載の3次元
図形加工方法において、 上記作成した詳細図形を基礎として上記曲面を生成した
後に、該詳細図形の基となる組立図形を構成する多面体
を変形,または移動,または削除して該組立図形の修正
を行い、あるいは該組立図形に新たな多面体を追加して
該組立図形の修正を行い、該修正後の組立図形から詳細
図形を再度作成し、該再度作成した詳細図形を基礎とし
て上記曲面を生成することを特徴とする3次元図形加工
方法。
12. The three-dimensional figure processing method according to claim 10, wherein after generating the curved surface based on the created detailed figure, a polyhedron constituting an assembled figure that is a basis of the detailed figure is deformed. , Or move or delete to correct the assembled figure, or add a new polyhedron to the assembled figure to correct the assembled figure, re-create a detailed figure from the corrected assembled figure, A method for processing a three-dimensional figure, wherein the curved surface is generated based on the detailed figure created again.
JP9092405A 1997-04-10 1997-04-10 Three-dimensional graphic machining device and three-dimensional graphic machining method Pending JPH10283503A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9092405A JPH10283503A (en) 1997-04-10 1997-04-10 Three-dimensional graphic machining device and three-dimensional graphic machining method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9092405A JPH10283503A (en) 1997-04-10 1997-04-10 Three-dimensional graphic machining device and three-dimensional graphic machining method

Publications (1)

Publication Number Publication Date
JPH10283503A true JPH10283503A (en) 1998-10-23

Family

ID=14053515

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9092405A Pending JPH10283503A (en) 1997-04-10 1997-04-10 Three-dimensional graphic machining device and three-dimensional graphic machining method

Country Status (1)

Country Link
JP (1) JPH10283503A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770651A (en) * 2010-03-03 2010-07-07 潮峰钢构集团有限公司 Detailed design for working drawing of bent-torsional member

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770651A (en) * 2010-03-03 2010-07-07 潮峰钢构集团有限公司 Detailed design for working drawing of bent-torsional member

Similar Documents

Publication Publication Date Title
EP1710720B1 (en) Method of computer-aided design of a modeled object having several faces
EP1550085B1 (en) Method of generating a computer readable model
US4821214A (en) Computer graphics method for changing the shape of a geometric model using free-form deformation
JP4810561B2 (en) Graphics model conversion apparatus and graphics model processing program for causing computer to function as graphics model conversion apparatus
JPH05342310A (en) Method and device for three-dimensional conversion of linear element data
JP3599386B2 (en) Edge mixing method
KR20130004066A (en) Method for designing a geometrical three-dimensional modeled object
KR20140139984A (en) Compression and decompression of a 3d modeled object
JP2002329215A (en) Method for generating adaptively sampled distance field of object
JP2002324250A (en) Method for editing graphics object by using computer implemented tool
JPH08194840A (en) Graphic input and output device
Liu et al. Real-time, dynamic level-of-detail management for three-axis NC milling simulation
JP2002324251A (en) Method for editing graphics object
JP2962369B2 (en) Method of operating graphics display system and method of storing data
JPH05346957A (en) Device and method for presenting shape feature quantity
US6930682B1 (en) Subdivision operation and user interface for volume sculpting
CN116433794A (en) Processing method and system for three-dimensional model in CAE software
JPH08315183A (en) Method and system for automatic mesh generation
JPH10293862A (en) Three-dimensional object data processing method
JPH10283503A (en) Three-dimensional graphic machining device and three-dimensional graphic machining method
JPH087800B2 (en) Method and apparatus for synthesizing solid model
JP3792584B2 (en) Tool path surface calculation method, tool path surface calculation program, and recording medium recording tool path surface calculation program
JPS62162173A (en) Graphic display method
KR100848304B1 (en) Apparatus for nurbs surface rendering of sculpting deformation effect using the multi-resolution curved surface trimming
JP4067083B2 (en) Three-dimensional shape processing apparatus, draft generation method, program, and storage medium