JPH07192144A - Method and device for cutting and editing polyhedral solid - Google Patents

Method and device for cutting and editing polyhedral solid

Info

Publication number
JPH07192144A
JPH07192144A JP5346950A JP34695093A JPH07192144A JP H07192144 A JPH07192144 A JP H07192144A JP 5346950 A JP5346950 A JP 5346950A JP 34695093 A JP34695093 A JP 34695093A JP H07192144 A JPH07192144 A JP H07192144A
Authority
JP
Japan
Prior art keywords
cutting
solid model
point
points
plane
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
JP5346950A
Other languages
Japanese (ja)
Inventor
Koji Ogawa
皓司 小川
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP5346950A priority Critical patent/JPH07192144A/en
Publication of JPH07192144A publication Critical patent/JPH07192144A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make it possible to perform the cutting and editing processing on a plane even if data quantity is a little by cutting and editing a solid model by the number of the crossing points of a specified edge line and a cut plane. CONSTITUTION:Based on the data registered in a solid model data part 1, a solid model processing part 7 performs the cutting and editing processing of a solid model by utilizing plane (cut plane) data to be inputted from the outside. In this case, one of the surfaces of the solid model composed of a polyhedron is defined as a first surface and the other surface of the solid model facing this first surface each other is defined as a second surface. The crossing point of the set column of plural points composing each contour of the first surface and the second surface and the cutting surface for cutting and editing the solid model and the crossing point of the edge line connecting the point composing the set column of the first surface and the point composing the set column of the second surface facing this point each other and the cutting surface are determined, respectively. By the number of each crossing point, the cutting direction for the solid model is determined.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、多面体からなるソリ
ッドモデルに対し、切断平面にて切断することにより創
成・編集を行う多面体ソリッドの切断編集方法及び装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a polyhedral solid cutting / editing method and apparatus for creating / editing a polyhedral solid model by cutting along a cutting plane.

【0002】[0002]

【従来の技術】コンピュータにより物体の三次元形状を
ソリッドモデルで扱い、ソリッドモデルに対する創成・
編集処理機能を備えた処理システム、すなわちCADシ
ステムとしては、例えば特開平2−41573号公報に
記載されたものがある。このシステムでは、一つのソリ
ッドモデルに対し、以下に示すデータが必要である。 (1) ソリッドモデルに関する形状データ (2) ソリッドモデルに関する二次元の図面及び文字デー
タを含む二次元付属データ (3) ソリッドモデルに関してアプリケーションが使用す
る三次元付属データ (4) ソリッドモデルが配置される三次元空間内の平面上
における図形データ
2. Description of the Related Art A computer treats a three-dimensional shape of an object as a solid model and creates a solid model.
As a processing system having an edit processing function, that is, a CAD system, there is, for example, one described in Japanese Patent Laid-Open No. 2-41573. This system requires the following data for one solid model. (1) Shape data for solid model (2) Two-dimensional auxiliary data including two-dimensional drawing and character data for solid model (3) Three-dimensional auxiliary data used by application for solid model (4) Solid model is placed Graphic data on a plane in three-dimensional space

【0003】[0003]

【発明が解決しようとする課題】ところで、一般にCA
Dシステムにおいては、与えられるデータ量が少ない程
処理速度が速くなるなど、システムとして高度化し信頼
性が向上するものとなるが、上記した従来の技術では、
ソリッドモデルに関して(1) 〜(4) に示したように極め
て多くのデータ量が必要であり、CADシステムとして
改善の余地がある。
By the way, in general, CA
In the D system, the smaller the amount of data given, the faster the processing speed, and the more advanced and reliable the system will be. However, in the conventional technology described above,
As shown in (1) to (4) for the solid model, an extremely large amount of data is required, and there is room for improvement as a CAD system.

【0004】一方、このようなCADシステムにおい
て、多面体からなるソリッドモデルに対し、平面で切断
編集する処理を行う場合を想定すると、一つの例えば立
方体あるいは直方体からなるソリッドモデルに対し、8
つの角部における点データと、角部同志を結ぶ稜線デー
タとからなる面データが必要であり、さらに立方体(直
方体)によって形成される6つの面の相互の位置関係も
データとして必要であることから、データ量が多量とな
り、処理速度が遅くなるなど、システムとしての信頼性
が低下するものとなる。逆に言えば、一つの多面体ソリ
ッドに対し登録されているデータ量が少ない場合には、
得られるデータが大量であっても処理速度が遅くなるこ
とがない反面、多面体ソリッドに対する平面での切断編
集処理ができないことになる。
On the other hand, in such a CAD system, assuming that the processing for cutting and editing on a plane is performed on a solid model made up of polyhedra, one solid model made up of, for example, a cube or a rectangular parallelepiped is used.
Since surface data consisting of point data at one corner and ridge line data connecting the corners is necessary, and the mutual positional relationship of the six surfaces formed by a cube (rectangular parallelepiped) is also necessary as data. However, the amount of data becomes large, the processing speed becomes slow, and the reliability of the system decreases. Conversely, if the amount of data registered for one polyhedral solid is small,
Even if a large amount of data is obtained, the processing speed does not slow down, but on the other hand, the cutting and editing processing on the plane of the polyhedral solid cannot be performed.

【0005】そこで、この発明は、多面体からなるソリ
ッドモデルに関するデータ量が少なくても、ソリッドモ
デルに対して平面での切断編集処理をできるようにする
ことを目的としている。
Therefore, an object of the present invention is to enable cutting and editing processing on a solid model in a plane even if the amount of data relating to the solid model composed of a polyhedron is small.

【0006】[0006]

【課題を解決するための手段】前記目的を達成するため
に、この発明は、第1に、多面体からなるソリッドモデ
ルの一つの面を第1の面とするとともに、この第1の面
に向かい合う前記ソリッドモデルの他の一つの面を第2
の面とし、前記第1の面及び第2の面のそれぞれの輪郭
を構成する複数の点の集合列と、前記ソリッドモデルを
切断編集するための切断平面との交点及び、前記第1の
面の集合列を構成する点とこの点に向かい合う前記第2
の面の集合列を構成する点とを結ぶ稜線と、前記切断平
面との交点をそれぞれ求め、これらの交点の数により、
ソリッドモデルに対する切断方向を決定する方法として
ある。
In order to achieve the above-mentioned object, the present invention firstly sets one surface of a solid model composed of a polyhedron as a first surface, and faces the first surface. The other surface of the solid model is
Of the first surface and the second surface, and an intersection of a set of a plurality of points forming the contours of the first surface and the second surface and a cutting plane for cutting and editing the solid model, and the first surface. And a point that constitutes the set sequence of
The ridgeline connecting the points forming the set sequence of the surface of, and the intersection points with the cutting plane are respectively obtained, and by the number of these intersection points,
This is a method for determining the cutting direction for the solid model.

【0007】第2に、多面体からなるソリッドモデルの
一つの面を第1の面とするとともに、この第1の面に向
かい合う前記ソリッドモデルの他の一つの面を第2の面
とし、前記第1の面及び第2の面のそれぞれの輪郭を構
成する複数の点の集合列データを格納するソリッドモデ
ルデータ部を備えるとともに、前記集合列及び、前記第
1の面の集合列を構成する点とこの点に向かい合う前記
第2の面の集合列を構成する点とを結ぶ稜線と、前記ソ
リッドモデルを切断するための切断平面との交点の数に
よってソリッドモデルに対する切断方向を決定する切断
編集処理部を備えた構成としてある。
Secondly, one surface of the solid model made up of polyhedra is the first surface, and the other surface of the solid model facing the first surface is the second surface, and the first surface is the second surface. A solid model data section for storing a set sequence data of a plurality of points forming respective contours of the first face and the second face, and points constituting the set sequence and the set sequence of the first face. A cutting edit process for determining the cutting direction for the solid model by the number of intersections of the ridge line connecting the point and the point forming the set sequence of the second surface facing this point and the cutting plane for cutting the solid model. It is configured to include a section.

【0008】[0008]

【作用】第1の方法または第2の構成によれば、多面体
からなるソリッドモデルにおける相互に向かい合う第1
の面及び第2の面それぞれの輪郭を構成する複数の点の
集合列データに基づき、これら集合列及び、第1の面の
集合列を構成する点とこの点に向かい合う第2の面の集
合列を構成する点とを結ぶ稜線と、ソリッドモデルを切
断するための切断平面との交点の数により、ソリッドモ
デルを切断編集することが可能となる。
According to the first method or the second configuration, the first facing each other in the solid model composed of the polyhedron.
Based on the set sequence data of a plurality of points forming the contours of the respective faces and the second faces, and the set of these set sequences and the points forming the set sequence of the first faces and the set of the second faces facing this point. The solid model can be cut and edited by the number of intersections of the ridge line connecting the points forming the column and the cutting plane for cutting the solid model.

【0009】[0009]

【実施例】以下、この発明の実施例を図面に基づき説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

【0010】図1は、この発明の一実施例を示す多面体
ソリッドの切断編集方法に使用するCPU及びメモリな
どからなる同編集装置の概略的なブロック図である。以
下、ここでは多面体からなるソリッドモデルを、図2に
示すような直方体もしくは立方体として扱うこととす
る。このソリッドモデルを平面で切断するに必要なデー
タとしては、図1に示すソリッドモデルデータ部1に見
られるように、6面体からなるソリッドモデルの第1の
面としての上面3及び、この上面3に向かい合う第2の
面としての底面5のベクトルのみである。
FIG. 1 is a schematic block diagram of the same editing apparatus including a CPU and a memory used in the method for cutting and editing a polyhedral solid according to an embodiment of the present invention. Hereinafter, a solid model composed of a polyhedron will be treated as a rectangular parallelepiped or a cube as shown in FIG. As the data necessary for cutting this solid model in a plane, as seen in the solid model data part 1 shown in FIG. 1, the upper surface 3 as the first surface of the solid model composed of a hexahedron and this upper surface 3 Is the vector of the bottom surface 5 as the second surface facing to.

【0011】上面3のベクトルとしては、上面3の輪郭
を構成する点の数(図2において代表的な角部の点を示
すと、U1 点を始点としてU2 、U3 、U4 及び、終点
としてU5 点である)と、この複数の点の三次元空間で
の座標値(x,y,z)とを含んでいる。底面5のベク
トルについても、上面3と同様に、底面5の輪郭を構成
する点の数(同D1 点を始点としてD2 、D3 、D4
び、終点としてD5 点)と、この複数の点の三次元空間
での座標値(x,y,z)とを含んでいる。
As the vector of the upper surface 3, the number of points forming the contour of the upper surface 3 (when a representative corner point in FIG. 2 is shown, starting point U 1 is U 2 , U 3 , U 4 and , The end point is U 5 point) and the coordinate values (x, y, z) of the plurality of points in the three-dimensional space. As for the vector of the bottom surface 5, as in the case of the top surface 3, the number of points forming the contour of the bottom surface 5 (D 2 , D 3 , D 4 with the same D 1 point as the start point and D 5 point as the end point) and this It includes coordinate values (x, y, z) in a three-dimensional space of a plurality of points.

【0012】上記したソリッドモデルデータ部1に登録
されているデータに基づき、ソリッドモデル処理部7
が、外部から入力される平面(切断平面)データを利用
してソリッドモデルの切断編集処理を行う。以下、その
処理方法を説明する。
Based on the data registered in the solid model data section 1 described above, the solid model processing section 7
Cuts and edits a solid model using plane (cutting plane) data input from the outside. The processing method will be described below.

【0013】図3は、ソリッドモデルに対し、切断平面
によりどの方向から切断するかを決定する際の処理を示
すフローチャートである。切断方向としては、図4
(a)〜(e)に示すように、ソリッドモデル9に対す
る切断平面11の切断方向が、側面−側面、底面−側
面、上面−側面、上面−底面及び、上面−側面−底面の
5通りに分けられる。このような各切断方向を決定する
に際し、まず、切断平面11に対し、ソリッドモデル9
を構成する点の集合列(以下、単に点列と呼ぶ)と切断
平面11との交点を求める処理を行う(ステップ30
3)。ソリッドモデル9を構成する点列としては、前述
した上面3や底面5の輪郭を構成する点列に加え、上面
3の点とこの点に向かい合う底面5の点とを結ぶ稜線L
1 ,L2 ,L3 ,L4 ,L5 における点列がある。
FIG. 3 is a flow chart showing a process for determining from which direction a solid model is cut by a cutting plane. As the cutting direction, see FIG.
As shown in (a) to (e), the cutting direction of the cutting plane 11 with respect to the solid model 9 is in five ways: side surface-side surface, bottom surface-side surface, top surface-side surface, top surface-bottom surface, and top surface-side surface-bottom surface. Be divided. In determining each such cutting direction, first, with respect to the cutting plane 11, the solid model 9
A process of obtaining an intersection of a set sequence of points (hereinafter, simply referred to as a sequence of points) constituting the cutting plane and the cutting plane 11 is performed (step 30).
3). As the sequence of points forming the solid model 9, in addition to the sequence of points forming the contours of the top surface 3 and the bottom surface 5 described above, a ridge line L connecting the point on the top surface 3 and the point on the bottom surface 5 facing this point.
There are point sequences at 1 , L 2 , L 3 , L 4 , and L 5 .

【0014】なお、以下に示す処理において、上面3に
おける角部の点U1 ,U2 ,U3 ,U4 ,U5 及び、底
面5における角部の点D1 ,D2 ,D3 ,D4 ,D
5 は、稜線L1 ,L2 ,L3 ,L4 ,L5 側にそれぞれ
含まれるものとして扱う。
In the following processing, corner points U 1 , U 2 , U 3 , U 4 , U 5 on the upper surface 3 and corner points D 1 , D 2 , D 3 , D 4 , D
5 is treated as included on the ridge lines L 1 , L 2 , L 3 , L 4 , and L 5 sides, respectively.

【0015】上記交点を求める処理としては、次のステ
ップ305に示すように、 A:上面3の点列と切断平面との交点が2点あるか否か
の判断 B:底面5の点列と切断平面との交点が2点あるか否か
の判断 C:側面における稜線と切断平面との交点が1点以上あ
るか否かの判断 をそれぞれ行い、これら3つの判断結果の組み合わせで
前記図4に示す切断方向が決定される。
As the processing for obtaining the above-mentioned intersections, as shown in the next step 305, A: judgment whether or not there are two intersections between the point plane on the upper surface 3 and the cutting plane B: the point sequence on the bottom surface 5 Judgment whether or not there are two intersections with the cutting plane C: It is judged whether or not there is at least one intersection between the ridgeline on the side surface and the cutting plane. The cutting direction shown in is determined.

【0016】まず、図4(a)の側面−側面の切断は、
Cの判断結果のみ「有」となった場合である。ここで、
側面の稜線と切断平面11との交点が1点の場合も含ん
でいるが、これは切断平面が角部に接している場合であ
り、この場合も側面−側面の切断と見做す。
First, the side-to-side cutting of FIG.
This is a case where only the judgment result of C is “present”. here,
The case where the ridgeline of the side surface and the cutting plane 11 intersect at one point is also included, but this is the case where the cutting plane is in contact with the corner portion, and in this case as well, it is regarded as the side-side cutting.

【0017】図4(b)の底面−側面の切断は、B及び
Cの判断結果が「有」となった場合である。つまり、切
断平面11が底面の点列と2点で交差し、かつ側面の稜
線と1点以上(ここでは2点)で交差する場合である。
The bottom-side cutting of FIG. 4B is when the judgment results of B and C are "present". That is, this is the case where the cutting plane 11 intersects the point sequence on the bottom surface at two points, and intersects the ridgeline on the side surface at one or more points (here, two points).

【0018】図4(c)の上面−側面の切断は、A及び
Cの判断結果が「有」となった場合である。つまり、切
断平面7が上面の点列と2点で交差し、かつ側面の稜線
と1点以上(ここでは2点)で交差する場合である。
The cutting from the upper surface to the side surface in FIG. 4 (c) is when the judgment results of A and C are "present". That is, this is the case where the cutting plane 7 intersects the point sequence on the upper surface at two points and intersects the ridgeline on the side surface at one or more points (here, two points).

【0019】図4(d)の上面−底面の切断は、A及び
Bの判断結果が「有」となった場合であり、切断平面1
1が上面の点列及び底面の点列双方にそれぞれ2点で交
差する場合である。
The top-bottom cutting in FIG. 4D is the case where the judgment results of A and B are "Yes", and the cutting plane 1
This is the case where 1 intersects both the point sequence on the top and the point sequence on the bottom at two points.

【0020】図4(e)の上面−側面−底面の切断は、
A、B及びCのすべての判断結果が「有」となった場合
で、切断平面11が上面の点列及び底面の点列双方にそ
れぞれ2点で交差するとともに、側面の稜線と1点以上
(ここでは2点)で交差する場合である。
The top-side-bottom cut of FIG.
When all the judgment results of A, B, and C are “Yes”, the cutting plane 11 intersects both the point sequence on the top surface and the point sequence on the bottom surface at two points, and the ridgeline on the side surface and one or more points. This is the case where they intersect at two points here.

【0021】その他の組み合わせ、つまりA、B及びC
のすべての判断結果が「無」となった場合、Bの判断結
果のみが「有」の場合及び、Aの判断結果のみが「有」
の場合については、エラー処理となる。
Other combinations, namely A, B and C
When all the judgment results of “No” are “No”, only the judgment result of “B” is “Yes” and only the judgment result of “A” is “Yes”
In the case of, error processing is performed.

【0022】次に、図4(a)〜(e)の各切断方向に
おける処理方法を順を追って説明する。
Next, the processing method in each of the cutting directions shown in FIGS. 4A to 4E will be described step by step.

【0023】図5は、側面−側面の切断でのフローチャ
ートを示しており、まず、側面の稜線における切断平面
11との交点の座標値を求める(ステップ505)。切
断後の上側のソリッド9aの底面に、上記交点の座標値
を入力し(ステップ507)、切断後の下側のソリッド
9bの上面に、上記交点の座標値を入力する(ステップ
509)。これにより、ソリッドモデル9に対して切断
平面11により側面−側面の切断処理が完了する。
FIG. 5 shows a flow chart for side-to-side cutting. First, the coordinate value of the intersection of the ridgeline of the side and the cutting plane 11 is obtained (step 505). The coordinate value of the intersection is input to the bottom surface of the upper solid 9a after cutting (step 507), and the coordinate value of the intersection is input to the upper surface of the lower solid 9b after cutting (step 509). As a result, the side-to-side cutting process is completed by the cutting plane 11 for the solid model 9.

【0024】図6は、底面−側面の切断でのフローチャ
ートを示し、図7は同切断処理過程における処理動作説
明図である。底面の交点D11,D12をスイープ方向(上
面と底面とを垂直に結ぶ方向、ここでは上面に向かう方
向)に投影し(ステップ601)、底面の交点D11,D
12と上面での投影点U11,U12の四つの点で平面を定義
する(ステップ603)。定義した平面13でソリッド
モデル9を上面−底面の切断処理にて切断を行う(ステ
ップ605)。この上面−底面の切断により発生する2
つのソリッド15,17に対して側面に交点L11,L12
がある側のソリッド15を、最初の切断平面11で側面
−側面の切断処理を行う(ステップ607)。これによ
り、ソリッドモデル9に対して切断平面11により底面
−側面の切断編集処理が完了する。
FIG. 6 is a flow chart for bottom-side cutting, and FIG. 7 is an explanatory view of the processing operation in the cutting process. The intersection points D 11 and D 12 of the bottom surface are projected in the sweep direction (the direction perpendicularly connecting the top surface and the bottom surface, here, the direction toward the top surface) (step 601), and the intersection points D 11 and D of the bottom surface are projected.
A plane is defined by 12 and four projection points U 11 and U 12 on the upper surface (step 603). The solid model 9 is cut along the defined plane 13 by the top-bottom cutting process (step 605). 2 caused by cutting the top-bottom
Intersection points L 11 and L 12 on the sides of the two solids 15 and 17
The side-to-side cutting processing is performed on the solid 15 on the side having the first cutting plane 11 (step 607). As a result, the bottom surface-side surface cutting edit processing is completed by the cutting plane 11 for the solid model 9.

【0025】図8は、上面−側面の切断でのフローチャ
ートを示し、図9は同切断処理過程における処理動作説
明図である。上面の交点U13,U14をスイープ方向(上
面と底面とを垂直に結ぶ方向、ここでは下面に向かう方
向)に投影し(ステップ801)、上面の交点U13,U
14と底面での投影点D13,D14の四つの点で平面を定義
する(ステップ803)。定義した平面19でソリッド
モデル9を上面−底面の切断処理にて切断を行う(ステ
ップ805)。この上面−底面の切断により発生する2
つのソリッド21,23に対して側面に交点L13,L14
がある側のソリッド21を、最初の切断平面11で側面
−側面の切断処理を行う(ステップ807)。これによ
り、ソリッドモデル9に対して切断平面11により上面
−側面の切断編集処理が完了する。
FIG. 8 shows a flowchart for cutting from the upper surface to the side surface, and FIG. 9 is an explanatory view of the processing operation in the cutting processing process. The intersections U 13 , U 14 of the upper surface are projected in the sweep direction (the direction perpendicularly connecting the upper surface and the bottom surface, here, the direction toward the lower surface) (step 801), and the intersections U 13 , U of the upper surface are projected.
A plane is defined by four points of 14 and projection points D 13 and D 14 on the bottom surface (step 803). The solid model 9 is cut along the defined plane 19 by the top-bottom cutting process (step 805). 2 caused by cutting the top-bottom
Intersection points L 13 and L 14 on one side of the two solids 21 and 23
The side 21 of the solid 21 on the side where there is is subjected to side-to-side cutting processing at the first cutting plane 11 (step 807). As a result, the cutting / editing process of the top surface-side surface of the solid model 9 is completed by the cutting plane 11.

【0026】図10は、上記底面−側面の切断及び、上
面−側面の切断で使用した上面−底面の切断でのフロー
チャートを示している。ソリッドモデル9に対し、上面
の2つの交点と底面の2つの交点とを結ぶ面にて切断平
面11で切断するが、切断によって発生する図4(d)
に示す二つのソリッド23,25に対し、それぞれの上
面の点列を並べ変え新たに設定するとともに(ステップ
1001)、それぞれの底面の点列を並べ変え新たに設
定し(ステップ1003)、これら新たに設定した二つ
のソリッド23,25の上面及び底面の点列データを、
ソリッドモデルデータ部1に入力する。
FIG. 10 shows a flowchart for the above-described bottom-side cutting and top-side cutting used in the top-side cutting. The solid model 9 is cut at the cutting plane 11 at the plane connecting the two intersections of the top surface and the two intersections of the bottom surface, which is caused by the cutting shown in FIG.
For the two solids 23 and 25 shown in (1), the point sequences on the respective upper surfaces are rearranged and newly set (step 1001), and the point sequences on the respective bottom surfaces are rearranged and newly set (step 1003). The point sequence data of the top and bottom of the two solids 23 and 25 set to
Input to the solid model data section 1.

【0027】図11は、上面−側面−底面の切断でのフ
ローチャートを示し、図12は同切断処理過程における
処理動作説明図である。底面の交点D15,D16をスイー
プ方向に上面に投影し(ステップ1201)、底面の交
点D15,D16と上面での投影点U15,U16の四つの点で
平面を定義する(ステップ1203)。定義した平面2
7でソリッドモデル9を上面−底面の切断処理にて切断
を行う(ステップ1205)。
FIG. 11 is a flowchart for cutting the top surface, the side surface, and the bottom surface, and FIG. 12 is an explanatory view of the processing operation in the cutting processing process. The intersection points D 15 and D 16 on the bottom surface are projected onto the upper surface in the sweep direction (step 1201), and the plane is defined by the intersection points D 15 and D 16 on the bottom surface and the projection points U 15 and U 16 on the upper surface ( Step 1203). Defined plane 2
In step 7, the solid model 9 is cut by the top-bottom cutting process (step 1205).

【0028】次に、上面の交点U17,U18をスイープ方
向に底面に投影し(ステップ1207)、上面の交点U
17,U18と底面での投影点D17,D18の四つの点で平面
を定義する(ステップ1209)。定義した平面29で
ソリッドモデル9を上面−底面の切断処理にて切断を行
う(ステップ1211)。
Next, the intersection points U 17 and U 18 on the upper surface are projected on the bottom surface in the sweep direction (step 1207) and the intersection point U on the upper surface is projected.
A plane is defined by four points 17 and U 18 and projection points D 17 and D 18 on the bottom surface (step 1209). The solid model 9 is cut along the defined plane 29 by top-bottom cutting processing (step 1211).

【0029】前記二つの平面27及び29による切断処
理により発生する3つのソリッド31,33,35に対
して側面に交点L15,L16がある側の中央のソリッド3
3を、最初の切断平面11で側面−側面の切断処理を行
う(ステップ1213)。これにより、ソリッドモデル
9に対して切断平面11により上面−側面−底面の切断
編集処理が完了する。
The central solid 3 on the side where the intersections L 15 and L 16 are on the sides with respect to the three solids 31, 33 and 35 generated by the cutting process by the two planes 27 and 29.
3 is subjected to side-to-side cutting processing on the first cutting plane 11 (step 1213). As a result, the cutting / editing process of the top surface / side surface / bottom surface of the solid model 9 is completed by the cutting plane 11.

【0030】図13は、多面体ソリッドモデルに対し、
穴開けを行う際の処理動作を示すフローチャートであ
り、図14は同処理動作での説明図である。まず、多面
体であるか、あるいは直方体もしくは立方体であるかど
うかを判断し(ステップ1301)、例えば図14
(a)に示すような多面体の場合には、両端を切断して
図(b)のように直方体(立方体)のソリッドモデル3
5とする(ステップ1303)。
FIG. 13 shows a polyhedral solid model,
It is a flow chart which shows processing operation at the time of making a hole, and Drawing 14 is an explanatory view in the same processing operation. First, it is judged whether it is a polyhedron, or a rectangular parallelepiped or a cube (step 1301), for example, as shown in FIG.
In the case of a polyhedron as shown in (a), the solid model 3 of a rectangular parallelepiped (cube) is cut as shown in FIG.
5 (step 1303).

【0031】次に、穴開け方向が、スイープ方向つまり
点列データを備えた相互に向かい合う上面及び底面とを
垂直に結ぶ方向と同じかどうかを判断し(ステップ13
05)、図14(c)のように、スイープ方向Sが上下
方向で、穴開け方向が側面に直交する矢印Hで示す方向
となって両者が異なる場合には、座標軸を入れ替えてス
イープ方向を相互に向かい合う側面と側面とを垂直に結
ぶ方向とし、穴開け方向Hと同方向とする(ステップ1
307)。
Next, it is judged whether or not the drilling direction is the same as the sweep direction, that is, the direction perpendicularly connecting the mutually facing top and bottom surfaces provided with point sequence data (step 13).
05), as shown in FIG. 14 (c), when the sweep direction S is the vertical direction and the drilling direction is the direction indicated by the arrow H orthogonal to the side surface and the two are different, the coordinate axes are exchanged and the sweep direction is changed. The side face and the side face facing each other are perpendicularly connected to each other, and are the same as the drilling direction H (step 1
307).

【0032】次に、穴の中心Oを通り、上面及び底面に
平行な平面37で切断し(ステップ1309)、切断に
よって半円の穴の開いた状態の上部側のソリッド39及
び下部側のソリッド41について、スイープ方向Sの相
互に向かい合う一対の側面におけるそれぞれの点列を定
義し(ステップ1311)、これにより穴43が開いた
状態のソリッドモデルが完成する(ステップ131
3)。
Next, a plane 37 that passes through the center O of the hole and is parallel to the top surface and the bottom surface is cut (step 1309), and the upper solid 39 and the lower solid with a semicircular hole opened by the cutting. For 41, each point sequence on a pair of side surfaces facing each other in the sweep direction S is defined (step 1311), and thereby the solid model with the holes 43 opened is completed (step 131).
3).

【0033】上記したように、直方体あるいは立方体か
らなるソリッドモデル9に対し、切断平面11で切断編
集処理を行う際には、上面3の輪郭を構成する点列及
び、底面5の輪郭を構成する点列の各データがあればよ
く、したがって少ないデータ量での切断編集処理が可能
となり、処理速度が速くなるなど、システムとしての信
頼性が向上することとなる。また、穴開け処理について
も、必要なデータとしては、切断処理と同様にスイープ
方向に向かい合う面相互の点列データのみであるので、
少ないデータ量で穴開け編集処理が可能である。
As described above, when the cutting and editing process is performed on the cutting plane 11 for the solid model 9 formed of a rectangular parallelepiped or a cube, the point sequence forming the outline of the upper surface 3 and the outline of the bottom surface 5 are formed. Since each data of the point sequence is sufficient, the cutting and editing process can be performed with a small amount of data, the processing speed is increased, and the reliability of the system is improved. In addition, as for the drilling process, the necessary data is only the point sequence data of the surfaces facing each other in the sweep direction as in the cutting process.
Perforation edit processing is possible with a small amount of data.

【0034】なお、上記実施例では、多面体ソリッドと
して立方体あるいは直方体を例にとって説明したが、少
なくとも相互に向かい合った二つの面を備えた多面体で
あれば、この二つの面それぞれの輪郭を構成する点列を
データとして持つことにより、この発明を適用すること
ができる。
In the above embodiment, a cubic or rectangular parallelepiped solid has been described as an example. However, in the case of a polyhedron having at least two surfaces facing each other, the points forming the contours of these two surfaces respectively. The present invention can be applied by having columns as data.

【0035】[0035]

【発明の効果】以上説明してきたように、この発明によ
れば、多面体からなるソリッドモデルに対し、切断平面
により切断編集処理を行う場合、ソリッドモデルに関す
る必要なデータとしては、相互に向かい合う第1の面及
び第2の面それぞれの輪郭を構成する複数の点の集合列
データのみの少ないデータ量で済み、これら集合列及
び、第1の面の集合列を構成する点とこの点に向かい合
う第2の面の集合列を構成する点とを結ぶ稜線と、切断
平面との交点の数により、ソリッドモデルを切断編集す
ることが可能となる。
As described above, according to the present invention, when the cutting edit processing is performed on the solid model composed of a polyhedron by using the cutting plane, the necessary data regarding the solid model is the first facing each other. Of a plurality of points forming the contours of the surface of the first surface and the second surface, and a small amount of data is only required for the set string of points and the points forming the set string of the first surface and the points facing this point. The solid model can be cut and edited by the number of intersections of the ridgeline connecting the points forming the set sequence of the two surfaces and the cutting plane.

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

【図1】この発明の一実施例を示す多面体ソリッドの切
断編集方法に使用するCPU及びメモリなどからなる同
編集装置の概略的なブロック図である。
FIG. 1 is a schematic block diagram of the same editing apparatus including a CPU and a memory used in a method for cutting and editing a polyhedral solid according to an embodiment of the present invention.

【図2】多面体ソリッドを定義するための点列を示す説
明図である。
FIG. 2 is an explanatory diagram showing a sequence of points for defining a polyhedral solid.

【図3】ソリッドモデルに対し、切断平面がどの方向か
ら切断するかを決定する際の処理を示すフローチャート
である。
FIG. 3 is a flowchart showing a process for determining from which direction a cutting plane is cut for a solid model.

【図4】ソリッドモデルに対する切断平面による切断方
向を示す説明図である。
FIG. 4 is an explanatory diagram showing a cutting direction by a cutting plane with respect to a solid model.

【図5】側面−側面の切断処理動作を示すフローチャー
トである。
FIG. 5 is a flowchart showing a side-to-side cutting processing operation.

【図6】底面−側面のフローチャートである。FIG. 6 is a bottom-side flow chart.

【図7】図6の切断処理過程における動作説明図であ
る。
FIG. 7 is an explanatory diagram of an operation in the cutting process of FIG.

【図8】上面−側面の切断処理動作を示すフローチャー
トである。
FIG. 8 is a flowchart showing an upper surface-side surface cutting processing operation.

【図9】図8の切断処理過程における動作説明図であ
る。
9 is an operation explanatory diagram in the disconnection processing process of FIG. 8;

【図10】上面−底面の切断処理動作を示すフローチャ
ートである。
FIG. 10 is a flowchart showing a top-bottom cutting operation.

【図11】上面−側面−底面の切断処理動作を示すフロ
ーチャートである。
FIG. 11 is a flowchart showing a cutting processing operation of top surface / side surface / bottom surface.

【図12】図11の切断処理過程における動作説明図で
ある。
FIG. 12 is an explanatory diagram of the operation in the disconnection process of FIG.

【図13】ソリッドモデルに対する穴開け処理動作を示
すフローチャートである。
FIG. 13 is a flowchart showing a punching processing operation for a solid model.

【図14】図13の穴開け処理過程における動作説明図
である。
FIG. 14 is an operation explanatory diagram in the process of punching processing of FIG. 13;

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

1 ソリッドモデルデータ部 3 上面(第1の面) 5 底面(第2の面) 7 切断編集処理部 9 ソリッドモデル 11 切断平面 1 Solid Model Data Section 3 Top Surface (1st Surface) 5 Bottom Surface (2nd Surface) 7 Cutting / Editing Processing Section 9 Solid Model 11 Cutting Plane

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 多面体からなるソリッドモデルの一つの
面を第1の面とするとともに、この第1の面に向かい合
う前記ソリッドモデルの他の一つの面を第2の面とし、
前記第1の面及び第2の面のそれぞれの輪郭を構成する
複数の点の集合列と、前記ソリッドモデルを切断編集す
るための切断平面との交点及び、前記第1の面の集合列
を構成する点とこの点に向かい合う前記第2の面の集合
列を構成する点とを結ぶ稜線と、前記切断平面との交点
をそれぞれ求め、これらの交点の数により、ソリッドモ
デルに対する切断方向を決定することを特徴とする多面
体ソリッドの切断編集方法。
1. A surface of a solid model comprising a polyhedron is defined as a first surface, and another surface of the solid model facing the first surface is defined as a second surface.
An intersection of a set of a plurality of points forming each of the contours of the first surface and the second surface and a cutting plane for cutting and editing the solid model, and a set of the first surfaces. The intersections of the ridgeline connecting the constituent points and the points constituting the set sequence of the second surface facing this point and the cutting plane are obtained, and the cutting direction for the solid model is determined by the number of these intersections. A method for cutting and editing a polyhedral solid, characterized by:
【請求項2】 多面体からなるソリッドモデルの一つの
面を第1の面とするとともに、この第1の面に向かい合
う前記ソリッドモデルの他の一つの面を第2の面とし、
前記第1の面及び第2の面のそれぞれの輪郭を構成する
複数の点の集合列データを格納するソリッドモデルデー
タ部を備えるとともに、前記集合列及び、前記第1の面
の集合列を構成する点とこの点に向かい合う前記第2の
面の集合列を構成する点とを結ぶ稜線と、前記ソリッド
モデルを切断するための切断平面との交点の数によって
ソリッドモデルに対する切断方向を決定する切断編集処
理部を備えたことを特徴とする多面体ソリッドの切断編
集装置。
2. One surface of a solid model comprising a polyhedron is used as a first surface, and the other surface of the solid model facing the first surface is used as a second surface.
A solid model data unit that stores set string data of a plurality of points that respectively configure the contours of the first surface and the second surface is provided, and the set string and the set string of the first surface are configured. Cutting for determining the cutting direction for the solid model by the number of intersections of the ridge line connecting the point to be cut and the point forming the set sequence of the second surface facing this point and the cutting plane for cutting the solid model A polyhedral solid cutting / editing device having an editing processing section.
JP5346950A 1993-12-27 1993-12-27 Method and device for cutting and editing polyhedral solid Pending JPH07192144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5346950A JPH07192144A (en) 1993-12-27 1993-12-27 Method and device for cutting and editing polyhedral solid

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5346950A JPH07192144A (en) 1993-12-27 1993-12-27 Method and device for cutting and editing polyhedral solid

Publications (1)

Publication Number Publication Date
JPH07192144A true JPH07192144A (en) 1995-07-28

Family

ID=18386919

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5346950A Pending JPH07192144A (en) 1993-12-27 1993-12-27 Method and device for cutting and editing polyhedral solid

Country Status (1)

Country Link
JP (1) JPH07192144A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003085585A (en) * 2001-09-10 2003-03-20 Namco Ltd Image generating system, program and information storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003085585A (en) * 2001-09-10 2003-03-20 Namco Ltd Image generating system, program and information storage medium
JP4632596B2 (en) * 2001-09-10 2011-02-16 株式会社バンダイナムコゲームス Image generation system, program, and information storage medium

Similar Documents

Publication Publication Date Title
JP4509789B2 (en) Computer readable model
JP2716549B2 (en) How to simulate and display the processed product
JPH05342310A (en) Method and device for three-dimensional conversion of linear element data
JPH11306224A (en) Three-dimensional model production device, its method and medium for recording three-dimensional model production program
JPH08194840A (en) Graphic input and output device
JP2853355B2 (en) 3D graphic data generator
US5852442A (en) Method of drawing a three-dimensional object
JPH07192144A (en) Method and device for cutting and editing polyhedral solid
JPH0897215A (en) Simulation method of electric characteristic of semiconductor device and input data forming equipment for the simulation method
US4855921A (en) Complex curved surface creation method
JP2596698B2 (en) How to generate contours
JP3302768B2 (en) Finite element splitting device
JP3289230B2 (en) Generator of finite element mesh distribution
JP3554832B2 (en) Automatic welding line creation method and automatic welding line creation system
JP3632127B2 (en) Finite element mesh generator
JPH09292909A (en) Flat part and standing wall part dividing method and recording medium
JPH01292474A (en) Arithmetic unit for solid interference
JP3187813B2 (en) How to create offset surface data
JPH07175944A (en) Method for arranging three-dimensional model
JP3220744B2 (en) Flat part / standing wall part dividing method and recording medium
JP3886293B2 (en) Set calculation method of 3D curved surface shape
JPH0773341A (en) Three-dimensional solid modelling device
JP3085760B2 (en) Method and apparatus for creating finite element model of rib reinforced product
JP4036691B2 (en) 3D shape creation device, 3D shape creation method, program, and recording medium
CN115454006A (en) Workpiece processing method, device, electronic equipment and computer readable storage medium