JPH0614337B2 - How to change the shape model - Google Patents
How to change the shape modelInfo
- Publication number
- JPH0614337B2 JPH0614337B2 JP61167347A JP16734786A JPH0614337B2 JP H0614337 B2 JPH0614337 B2 JP H0614337B2 JP 61167347 A JP61167347 A JP 61167347A JP 16734786 A JP16734786 A JP 16734786A JP H0614337 B2 JPH0614337 B2 JP H0614337B2
- Authority
- JP
- Japan
- Prior art keywords
- shape
- line
- shape model
- model
- new
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Description
【発明の詳細な説明】 本発明はコンピュータ支援設計システム等における形状
モデルの作成方法に関し、一層詳細には、計算機システ
ム内において作成した車輌等の製品形状を設計変更やモ
デルチェンジ等により変える変更方法に関するものであ
って、特に、膨大なデータベースに納められた形状デー
タを効率よく最小限の範囲で取り扱い、所望の変更を加
えることを可能にした形状モデルの変更方法に関する。The present invention relates to a method for creating a shape model in a computer-aided design system or the like, and more specifically, a method for changing the product shape of a vehicle or the like created in a computer system by design change or model change. In particular, the present invention relates to a shape model changing method capable of efficiently handling shape data stored in an enormous database in a minimum range and making desired changes.
近年、コンピュータ支援設計システム(以下、CAD/CAM
と称する)が普及しつつあり、種々の産業分野に適用さ
れている。特に、三次元形状モデルを扱うCAD/CAMシス
テムは、設計の構想段階から生産のシュミレーションま
で幅広く応用されている。In recent years, computer-aided design system (hereinafter CAD / CAM
(Referred to as “)” is becoming widespread and applied to various industrial fields. In particular, CAD / CAM systems that handle three-dimensional shape models are widely applied from the concept stage of design to the simulation of production.
このようなCAD/CAMシステムは自動車等の車輌の設計に
も使用されている。そこで、このように自動車製造分野
において、計算機システム内に作成した車輌の製品形状
を設計変更やモデルチェンジ等により変更する必要が生
じる。このような形状モデルは自由曲面部から構成され
る図形データであり、膨大なデータ量としてデータベー
スに納められている。従って、形状変更の際の図形処理
には多大な時間を要していた。Such CAD / CAM systems are also used in the design of vehicles such as automobiles. Therefore, in the automobile manufacturing field, it is necessary to change the product shape of the vehicle created in the computer system by design change, model change, or the like. Such a shape model is graphic data composed of a free-form surface, and is stored in a database as a huge amount of data. Therefore, it takes a lot of time to process the graphic when changing the shape.
すなわち、上記のような形状モデルの変更を行う場合、
一般的には、 (1)変更すべき形状部の範囲を作業者が線図から読み取
り、線図上の座標値で形状部の繋がり状態をチェックし
ている。このためにチェックに要する時間がかかり効率
が悪く、また、見落としミスが発生していた。That is, when changing the shape model as described above,
In general, (1) the operator reads the range of the shape part to be changed from the diagram and checks the connection state of the shape parts with the coordinate values on the diagram. For this reason, it takes time to perform the check, which is inefficient, and an oversight error has occurred.
(2)変更すべき単位が面単位なので、変更に変る面全体
を削減する必要があり、変更のない範囲まで再定義する
要請が存する。また、面データに関連する各種情報デー
タについても削除し、さらにまた、再定義する必要があ
り、形状変更部分に対する処理の煩わさしさと処理に長
時間を要するという不都合を生じていた。本発明は前記
の不都合を克服するためになされたものであって、計算
機システム内に作成した形状モデルの一部を変更する変
更方法において、データベースに納められた膨大な形状
データを効率よく最小限の範囲で取り扱い、所要の変更
を行い、新しい形状モデルを短い処理時間で作成出来る
形状モデルの変更方法を提供することを目的とする。(2) Since the unit to be changed is a surface unit, it is necessary to reduce the entire number of surfaces that change into a change, and there is a request to redefine it to the extent that there is no change. Further, it is necessary to delete various information data related to the surface data and to redefine the data, which causes inconvenience of processing for the shape-changed portion and inconvenience that it takes a long time. The present invention has been made to overcome the above-mentioned inconveniences, and in a changing method for changing a part of a shape model created in a computer system, a huge amount of shape data stored in a database can be efficiently minimized. It is an object of the present invention to provide a method of changing a shape model that can be created within a short range of processing time by making a necessary change by handling within the range.
前記の目的を達成するために、本発明は計算機システム
内に作成した全体形状モデルの一部を変更する形状モデ
ルの変更方法であって、前記計算機システムは、前記形
状モデルを格納した記憶装置を含み、形状変更前の全体
形状モデルの形状面データと、変更すべき新形状の構成
する新形状線データとを比較し不一致区間を得る第1の
ステップと、該不一致区間に基づき前記全体形状モデル
上に形状変更部分を含む範囲を切取線で特定し、該特定
された形状部分を前記全体形状モデルから切り取る第2
のステップと、新たに前記計算機システム内に作成した
新形状線を前記切取線で切り取る第3のステップと、該
新形状線データから部分形状面データを得る第4のステ
ップと、該部分形状面を前記全体形状モデルの切り取っ
た部分に埋め込む第5のステップとからなることを特徴
とする。In order to achieve the above object, the present invention is a method of changing a shape model for changing a part of an entire shape model created in a computer system, wherein the computer system includes a storage device storing the shape model. Including a first step of obtaining a non-matching section by comparing the shape surface data of the whole shape model before the shape change and the new shape line data of the new shape to be changed, and the whole shape model based on the non-matching section Secondly, a range including the shape-changed portion is specified by a cutoff line, and the specified shape part is cut out from the overall shape model.
And a third step of cutting a new shape line newly created in the computer system with the cutting line, a fourth step of obtaining partial shape surface data from the new shape line data, and the partial shape surface A fifth step of embedding in the cut-out portion of the overall shape model.
次に、本発明に係る形状モデルの変更方法について好適
な実施例を挙げ、添付の図面を参照しながら以下詳細に
説明する。Next, a method for changing a shape model according to the present invention will be described in detail below with reference to the accompanying drawings.
第1図は本発明に係る形状モデルを扱うコンピュータ支
援設計システム(CAD/CAM)の基本的構成を示す図であ
り、参照符号10は車輌等の製品形状を示す形状モデルデ
ータ等が格納される外部記憶装置を示す。FIG. 1 is a diagram showing a basic configuration of a computer-aided design system (CAD / CAM) that handles a shape model according to the present invention, and reference numeral 10 stores shape model data or the like indicating a product shape of a vehicle or the like. 3 illustrates an external storage device.
関係付けられた形状面の集まりである製品等の形状モデ
ルデータは全体形状モデル24と部分形状モデル26および
線データ28を含み、全体形状モデル24は形状ファイル内
で最終的に表現したい形状全体のデータであり、形状フ
ァイル内に唯1つ存在する。The shape model data of a product or the like, which is a set of related shape surfaces, includes the overall shape model 24, the partial shape model 26, and the line data 28.The overall shape model 24 represents the entire shape to be finally expressed in the shape file. It is data, and there is only one in the shape file.
全体形状モデル24は複数の部分形状モデル26によって構
成される。すなわち、部分形状モデル26は全体形状モデ
ル24のある一部の形状を表現したものであって、形状フ
ァイル内にn個存在し得る。全体形状モデル24は表現し
たい最終的な形状データであるのに対して、部分形状モ
デル26が表現する形状は作業の中間的な形状であり、所
望の形状変更を表現する変更形状もこの部分形状モデル
26となる。全体形状モデル24および部分形状モデル26は
図形処理、ファイル処理、表示処理において計算機で扱
う処理単位として取り扱われる。線データ28は形状変更
を行う作業の過程で必要となる曲線データで、全体形状
モデル24の切取線データと形状変更する際に作成される
新形状の線データがある。The overall shape model 24 is composed of a plurality of partial shape models 26. That is, the partial shape model 26 is a representation of a part of the shape of the whole shape model 24, and there can be n pieces in the shape file. The overall shape model 24 is the final shape data to be expressed, whereas the shape expressed by the partial shape model 26 is an intermediate shape of the work, and the changed shape expressing the desired shape change is also this partial shape. model
26. The overall shape model 24 and the partial shape model 26 are handled as processing units handled by a computer in graphic processing, file processing, and display processing. The line data 28 is curve data required in the process of changing the shape, and includes cut line data of the overall shape model 24 and line data of a new shape created when changing the shape.
参照符号12は電子計算機を示し、形状モデルの作成処理
および後述する形状変更に関する一連の処理を行うもの
であって、また、外部記憶装置10から所望の形状データ
を読み出し、図形表示装置16での立体イメージ表示を制
御するものである。Reference numeral 12 indicates an electronic computer, which performs a series of processes related to a shape model creation process and a shape change described later. Further, desired shape data is read from the external storage device 10, and the graphic display device 16 displays the data. It controls the stereoscopic image display.
参照符号14はインタフェース装置であり、電子計算機12
と図形表示装置16、操作盤(キーボード)18、および座
標入力装置(タブレット)20等の入出力装置が接続され
ている。操作盤18はオペレータが電子計算機12に対して
処理コマンド、処理パラメータを入力する入力操作盤で
あり、座標入力装置20はスタイラスペン22によりオペレ
ータが全体形状モデル24から形状変更部分の切取範囲等
を指示するためのものである。Reference numeral 14 is an interface device, and the computer 12
And an input / output device such as a graphic display device 16, an operation panel (keyboard) 18, and a coordinate input device (tablet) 20. The operation panel 18 is an input operation panel for an operator to input a processing command and a processing parameter to the electronic computer 12, and the coordinate input device 20 allows the operator to use the stylus pen 22 to select the cutting range of the shape changed portion from the entire shape model 24. It is for instructing.
本発明に係るコンピュータ支援設計システムは概略以上
のように構成されるものであり、次に形状モデルの変更
に係る処理手順および効果について説明する。The computer-aided design system according to the present invention is roughly configured as described above. Next, the processing procedure and effect relating to the change of the shape model will be described.
本発明による形状モデルの変更方法は、形状変更前の全
体形状モデルから形状変更範囲を与えて部分的に図形を
切り取り、切り取った形状部分に変更すべき形状モデル
を新たに計算機システム内に作成し、切り取った形状部
分にこの新たな変更形状モデルを埋め込むことを基本と
している。The shape model changing method according to the present invention provides a shape change range from the whole shape model before shape change, partially cuts a figure, and newly creates a shape model to be changed to the cut shape part in the computer system. Basically, this new modified shape model is embedded in the cut-out shape part.
第2図は本発明に係る形状モデルの変更方法を示す概略
処理フローである。FIG. 2 is a schematic processing flow showing the method of changing the shape model according to the present invention.
形状モデルの変更にあたっては、先ず、ステップAにお
いて形状変更部分の線データを座標入緑装置20等から電
子計算機12に入力する。次いで、ステップBにおいて、
形状変更前の全体形状面データと新形状線データの不一
致区間のチェックを行う。すなわち、計算機12内で作成
される形状モデルは、通常、製品形状を表す線図から形
状線データとして取り込み三次元的な線と線の間を形状
面とし、これらの形状面が相互に繋がりをもつ形状モデ
ルとして表している。In changing the shape model, first, in step A, the line data of the shape changed portion is input to the electronic calculator 12 from the coordinate entering device 20 or the like. Then, in step B,
The non-matching section of the whole shape plane data before the shape change and the new shape line data is checked. That is, the shape model created in the computer 12 is normally taken in as shape line data from the diagram representing the product shape, and the three-dimensional lines are defined as the shape surfaces, and these shape surfaces are connected to each other. It is expressed as a shape model.
従って、形状変更部を特定するには、形状変更前の形状
データと新形状データ不一致区間が形状変更前形状と違
う部分であり、その部分を特定し、図形表示装置16上に
得る。次いで、ステップCにおいて形状変更部分を含む
範囲を形状変更前の全体形状モデル上に切取部分を切取
線で特定する全体形状モデルに対して形状変更部分を十
分に含んだ範囲で特定する。これは、形状面の素生に応
じて切取線を順次定義しつつ1本の閉曲線(多角形ウィ
ンドウ)を作る。Therefore, in order to specify the shape change portion, the shape data before shape change and the new shape data disagreement section are different from the shape before shape change, and that portion is specified and obtained on the graphic display device 16. Next, in step C, the range including the shape-changed portion is specified in the range sufficiently including the shape-changed portion with respect to the whole shape model in which the cut-out portion is specified by the cut line on the whole shape model before the shape change. This creates one closed curve (polygon window) while sequentially defining the cutoff line according to the origin of the shape surface.
次に、ステップDにおいて、ステップCで特定した切取
線で形状変更前の全体形状モデルを切り取る。すなわ
ち、切取線で全体形状モデル中の分割された形状面を残
すものと、除くものとに分け、さらに、切取線で囲まれ
た形状面と前記で除くものとされた形状面を全体形状モ
デルから切り取る。Next, in step D, the entire shape model before shape change is cut along the cutting line specified in step C. That is, it is divided into those that leave the divided shape surface in the whole shape model with the cut line and those that exclude it, and further cut the shape surface surrounded by the cut line and the shape surface excluded from the above from the whole shape model .
この時、切取線の内側、すなわち、切取線の進行方向に
対して左側を残す形状面とする。次いで、ステップEに
おいてステップCで特定した切取線で新形状線を切り取
る。すなわち、新形状線を切取線で切り取られた線上の
最短位置を求め、有効部分(形状として残る線)と、無
効部分(形状として残らない線)とに分割して無効部分
を切り取る。At this time, the inside of the cutoff line, that is, the left side with respect to the traveling direction of the cutoff line is a shape surface. Next, in step E, the new shape line is cut with the cutting line specified in step C. That is, the new shape line is obtained by finding the shortest position on the line cut by the cut line, and is divided into an effective portion (a line that remains as a shape) and an invalid portion (a line that does not remain as a shape) and the invalid portion is cut out.
次に、ステップFにおいて、新形状線データから部分形
状面データを得る。すなわち、新形状線の最外線(切取
線)と各形状面を定義しようとする形状線の端点にリン
ク(接合)関係をつけて、さらに形状面が分割されるで
あろう位置に断面線を入れ、その交点にもリンク関係を
つける。Next, in step F, partial shape surface data is obtained from the new shape line data. In other words, the outermost line (cutoff line) of the new shape line and the end point of the shape line that defines each shape surface are linked (joined), and the section line is inserted at the position where the shape surface will be further divided. , Add a link relationship at the intersection.
全てのリンク位置で最外線を細かい線に分割し、任意に
抽出した1辺をもとに左回りにたどる面ループを取り出
す。この線間を形状面として得る。さらに、隣り合った
形状面同士は互いの面の隣り関係を付ける。このことは
形状面が繋がって1つの形状であることをデータベース
上で関連付けるためである。The outermost line is divided into fine lines at all link positions, and a face loop that traces counterclockwise is taken out based on one side arbitrarily extracted. The space between these lines is obtained as a shape surface. Further, the adjacent shape surfaces are adjacent to each other. This is for associating on the database that the shape surfaces are connected to form one shape.
最後に、ステップGにおいて、形状変更前の全体形状モ
デルの切取部分に新形状部分を埋め込む。すなわち、形
状変更後の部分形状モデルの各形状面を全体形状モデル
へ埋め込む。さらに、埋め込んだ形状面群と全体モデル
との繋がり関係を付ける。Finally, in step G, the new shape part is embedded in the cutout part of the whole shape model before the shape change. That is, each shape surface of the partial shape model after the shape change is embedded in the overall shape model. Furthermore, a connection relationship between the embedded shape surface group and the whole model is established.
概略、以上のように形状モデルの変更処理が行われるわ
けであるが、以下、各ステップをさらに詳述する。In general, the process of changing the shape model is performed as described above, and each step will be described in more detail below.
第3図は第2図に示す形状モデルの変更処理におけるス
テップAおよびステップBの詳細処理手順を示す図であ
る。FIG. 3 is a diagram showing a detailed processing procedure of steps A and B in the process of changing the shape model shown in FIG.
形状変更に際して、座標入力装置20により、若しくは図
形表示装置16により変更すべき新形状を表す新形状線デ
ータAを指示する(STP1)。次に、新形状線データ
Aに関係すると予測される全体形状モデル24中の形状面
群B(B1、B2)を指示する(STP2)。第3図中
のAは新形状線を概念的に示す図、また、B1、B2は全
体形状モデル中の形状面を概念的に示す図である。When changing the shape, the coordinate input device 20 or the graphic display device 16 is used to instruct the new shape line data A representing the new shape to be changed (STP1). Next, the shape surface group B (B 1 , B 2 ) in the overall shape model 24 predicted to be related to the new shape line data A is designated (STP2). In FIG. 3, A is a diagram conceptually showing a new shape line, and B 1 and B 2 are conceptual diagrams showing a shape surface in the overall shape model.
電子計算機12に以上のデータが入力されると、該電子計
算機12は、先ず、指示された全体形状モデル中の形状面
群B(B1、B2)の各境界線C1〜C7を境界線群C
として抽出し(STP3)、この境界線群Cと指示され
た新形状線データAとを逐次比較し、新形状線データA
に対応する境界線を特定し(図の例では境界線C3、
C4)両者の一致区間を求めD(D1、D2)とする
(STP4)。新形状線データAに対する境界線Cの一
致区間D以外の部分を不一致区間Eとして求め(STP
5)、この不一致区間データを図形表示装置16に送りグ
ラフィック表示する(STP6)。When the above data is input to the electronic computer 12, the electronic computer 12 first sets the boundary lines C 1 to C 7 of the shape surface group B (B 1 , B 2 ) in the instructed overall shape model. Boundary group C
(STP3), the boundary line group C and the designated new shape line data A are sequentially compared to obtain the new shape line data A.
The boundary line corresponding to is specified (in the example of the figure, the boundary line C 3 ,
C 4 ) A coincident section between the two is obtained and set as D (D 1 , D 2 ) (STP4). A portion other than the coincident section D of the boundary line C with respect to the new shape line data A is obtained as the non-coincident section E (STP
5) The non-coincidence section data is sent to the graphic display device 16 for graphic display (STP6).
第4図は第2図におけるステップCの詳細処理手順を示
す図である。ステップCは全体形状モデル上で形状変更
部分、すなわち、ステップBで求められた不一致区間を
含む範囲を切取線で特定する処理であり、図形表示装置
16に表示された全体形状モデル中の形状変更に関する部
分形状モデルおよびステップBで得られた新形状線Aと
境界線Cとの不一致区間Eをもとにして、入力操作盤18
により切取線の作成方法をタイプ(イ)乃至(ハ)から選択し
入力する(STP7)。タイプ(イ)は取り出す範囲の2
点の座標(P1、P2)を指示することにより形状面の
境界線の一部を切取線として特定する場合に使用する第
4図中の図形概念図中の線aの特定がこの方法によって
行われる。タイプ(ロ)は取り出す線の1点の座標
(Q1)を指示することにより、指示された点から面の
構成線の一定の方向に形状面の境界線までたどり、切取
線として特定する場合に使用する。図形概念図中の線
b、c、d、eおよびg、hの特定がこの方法によって
行われる。タイプ(ハ)は取り出すべき線のプロファイル
に沿ってn個の点の座標(R1乃至Rn)を指示し、指
示された点群で表されるプロファイルを形状面上に投影
し切取線を特定する場合に使用する。図形概念図中の線
fの特定がこの方法によって行われる(STP8)。FIG. 4 is a diagram showing a detailed processing procedure of step C in FIG. Step C is a process for identifying a shape-changed portion on the entire shape model, that is, a range including the non-coincidence section obtained in step B by a cut line.
Based on the partial shape model relating to the shape change in the overall shape model displayed in 16 and the non-matching section E between the new shape line A and the boundary line C obtained in step B, the input operation panel 18
Then, the method of creating the cutoff line is selected from types (a) to (c) and input (STP7). Type (a) is the range of 2
This method is used to specify the line a in the conceptual diagram of the figure in FIG. 4 used when a part of the boundary line of the shape surface is specified as a cutoff line by designating the coordinates (P 1 , P 2 ) of the points. Done. Type (b) is to specify the coordinates (Q 1 ) of one point of the line to be extracted, and to trace from the specified point to the boundary line of the shape surface in a certain direction of the constituent line of the surface and specify it as a cut line. use. The identification of the lines b, c, d, e and g, h in the graphic conceptual diagram is performed by this method. Type (c) specifies the coordinates (R 1 to R n ) of n points along the profile of the line to be extracted, and projects the profile represented by the specified point group on the shape surface to identify the cut line. It is used when The line f in the graphic conceptual diagram is specified by this method (STP8).
ステップ7により切取方法が選択され、ステップ8によ
り必要な点の座標が入力されると、電子計算機12は各タ
イプに応じて前述の方法で切取線を特定し、特定された
線と形状面との間の相互関係を示す形状面とその面状に
存在する線、すなわち、面上線を示す相関データを付
し、以降の処理(部分形状の切り取り)に利用出来るよ
うに、例えば、記憶装置10の作業エリア等に格納する
(STP9)。When the cutting method is selected in step 7 and the coordinates of the required points are input in step 8, the electronic computer 12 specifies the cutting line according to the above-mentioned method according to each type, and identifies the specified line and the shape surface. Between the shape surface indicating the mutual relationship between the surface and the line existing in the surface shape, that is, with the correlation data indicating the on-surface line, so that it can be used for the subsequent processing (cutting of the partial shape), for example, the storage device 10 It is stored in the work area or the like (STP9).
第4図の図形概念図中、線aからステップ7乃至9の処
理を始め、順次左回りに部分切取線の特定を行い線hま
で終了すると、特定された切取線aからhまでを閉じた
1本の線データとして記憶装置10に格納しておく(ST
P10)。In the figure conceptual diagram of FIG. 4, the steps 7 to 9 are started from the line a, the partial cutoff lines are sequentially specified in the counterclockwise direction, and when the line h is completed, the specified cutoff lines a to h are closed. Is stored as line data in the storage device 10 (ST
P10).
第5図は第2図におけるステップDの詳細処理手順を示
す図である。ステップDはステップCにより特定された
切取線により全体形状モデルから部分形状を切り取る処
理であり、第4図に図示の処理により得られた切取線i
を図形表示装置16若しくは座標入力装置20から指示し
(STP11)、次いで、切り取られるべき全体形状モデ
ル24若しくは全体形状モデル24を構成する部分形状モデ
ルjを指示する(STP12)。FIG. 5 is a diagram showing a detailed processing procedure of step D in FIG. Step D is a process of cutting out a partial shape from the whole shape model by the cutting line specified in step C, and the cutting line i obtained by the process shown in FIG.
Is designated from the graphic display device 16 or the coordinate input device 20 (STP11), and then the overall shape model 24 to be cut or the partial shape model j constituting the overall shape model 24 is designated (STP12).
これらの入力がなされると、電子計算機12は指示された
切取線iと形状モデルjから面上線関係にある形状面群
kと、切取線iに全体が含まれる形状面lを検索する
(STP13)。上記ステップ13で得られた面上線の関係
にある形状面群を第4図の図形概念図に示した部分切取
線a乃至hの各々で順次形状面分割を行う。第5図の図
形概念図は部分切取線bによってこの部分切取線bを面
上に有する(面上線の関係にある)形状面SをS1およ
びS2に分割することを示している(STP14)。次い
で、各分割された形状面を切り取るべき(除く)面と、
残す面とに区分する。これは1つの閉じた線である切取
線iの内側(本例では切取線の進行方向に向かって左
側)になる形状面を切り取るべき面として特定すること
によって行われる(STP15)。部分切取線a乃至hま
で順次ステップ14およびステップ15の処理を繰り返すこ
とにより、面上線の関係にある形状面の全てが各部分切
取線a乃至hにより分割され、切り取るべき面が特定さ
れる。これによって切り取られるべき形状モデルjから
切取線iに全体が含まれる形状面lと、前記ステップ1
4、15により得られた分割後の形状面の中、切り取るべ
き形状面として特定された形状面群を切り取る(STP
16)。When these inputs are made, the electronic computer 12 searches the specified cutoff line i and the shape model j for the shape surface group k which is in an in-plane relation, and the shape surface 1 which is entirely included in the cutoff line i (STP13). The shape surface groups having the relationship of the on-surface lines obtained in the above step 13 are sequentially subjected to shape surface division along each of the partial cut lines a to h shown in the conceptual diagram of FIG. The schematic diagram of FIG. 5 shows that the shape plane S having the partial cutoff line b on the surface (in the relationship of the on-plane line) is divided into S 1 and S 2 by the partial cutoff line b (STP14). Then, a surface to (exclude) each divided shape surface,
It is divided into the side to be left. This is performed by specifying the shape surface inside the cut line i which is one closed line (in this example, the left side in the traveling direction of the cut line) as the surface to be cut (STP15). By sequentially repeating the processing of step 14 and step 15 up to the partial cut lines a to h, all of the shape surfaces having the relationship of the on-plane line are divided by the partial cut lines a to h, and the surface to be cut is specified. As a result, the shape plane 1 whose whole is included in the cut line i from the shape model j to be cut, and the step 1
From the shape surfaces after division obtained in 4 and 15, cut out the shape surface group specified as the shape surface to be cut (STP
16).
第6図は第2図のステップEの詳細処理手順を示す図で
ある。ステップEはステップCにより特定された切取線
により新形状線を切り取る処理であり、第4図に図示の
処理により得られた切取線iを座標入力装置20から指示
し(STP18)、次いで、変更すべき形状を構成する新
形状線mを指示する(STP19)。これらの入力がなさ
れると、電子計算機12は切取線iと新形状線mの最短位
置の座標P1、P2を求め(STP20)、新形状線mを
ステップ20で求めた座標P1、P2により切り取るべき部
分(無効部分)n1、n3と残すべき部分(有効部分)
n2に分割する(STP21)。次いで、新形状線mから
無効部分n1、n3を切り取る(STP22)。この処理
を変更すべき形状モデルを構成する新形状線群各々につ
いて繰り返すことにより新形状線の切取処理が完了す
る。FIG. 6 is a diagram showing a detailed processing procedure of step E in FIG. Step E is a process of cutting out the new shape line by the cutting line specified in step C. The cutting line i obtained by the process shown in FIG. 4 is designated from the coordinate input device 20 (STP18), and then changed. A new shape line m forming the shape is designated (STP19). When these inputs are made, the computer 12 obtains the coordinates P 1, P 2 of the shortest position of the tear line i and the new shape line m (STP20), the coordinates P 1, P a new shape line m calculated in step 20 Part to be cut out by 2 (ineffective part) n 1 , n 3 and part to be left (effective part)
It is divided into n 2 (STP21). Next, the invalid portions n 1 and n 3 are cut out from the new shape line m (STP22). By repeating this process for each new shape line group forming the shape model to be changed, the cutting process of the new shape line is completed.
第7図は第2図のステップFの詳細処理手順を示す図で
ある。ステップFはステップEで得られた新形状線デー
タから変更すべき新形状、すなわち、新しい部分形状面
データを特定し、変更すべき形状モデルを作成する処理
である。先ず、第4図の処理で得られた切取線iを指示
し(STP23)、次いで、第6図の処理で得られた新形
状線niを指示する(STP24)。この入力が行われる
と、電子計算機12は切取線iと新形状線niの交叉点
(端点)にリンク(結合)関係を示すデータを付加する
(STP25)。この処理を全ての新形状線ni(n1〜
n4)について行い、この処理が完了すると、次に、若
し、新形状線niによって形状面が分割される部分が存
在すれば、その位置に断面線を加える。第7図に図示の
図形概念図では新形状線n2、n3により形状面が分割さ
れるので、新形状線n2、n3の交点を通り、新形状線
n1、n4に至る断面線oを加える(STP26)。次い
で、断面線oと新形状線n1乃至n4の交叉点にリンク
(結合)関係を示すデータを付加する(STP27)。FIG. 7 is a diagram showing a detailed processing procedure of step F in FIG. Step F is a process of specifying a new shape to be changed, that is, new partial shape surface data from the new shape line data obtained in step E, and creating a shape model to be changed. First, the cutoff line i obtained in the process of FIG. 4 is designated (STP23), and then the new shape line n i obtained in the process of FIG. 6 is designated (STP24). When this input is made, the computer 12 adds the data indicating the link (binding) related to the intersection of the tear lines i and the new shape line n i (end point) (STP25). This processing is performed for all new shape lines n i (n 1 ~
n 4) is performed for, when this is done, then Wakashi, if there is a portion where the shaped surface is divided by the newly designed line n i, added to section line in that position. Since the graphic conceptual diagram shown in FIG. 7 shaped surface by new shape line n 2, n 3 is divided, through the intersection of the new shape line n 2, n 3, leading to the new shape lines n 1, n 4 A cross section line o is added (STP26). Next, data indicating a link (coupling) relationship is added to the intersections of the cross section line o and the new shape lines n 1 to n 4 (STP27).
この処理が完了すると電子計算機12は全てのリンク(結
合)位置において切取線iおよび新形状線n1乃至
n4、断面線oを分割し、i11乃至i20、n11、n12、
n41、n42、o11、o12とする(STP28)。これらの
分割線の中、任意に抽出した1つの線(1辺)を元に、
左回りにたどり面ループを構成する線を検出する。例え
ば、分割された新形状線n11からスタートすると、切取
線i13、新形状線n2、断面線o11で1つの面を囲む閉
じたループの形状線が検出される(STP29)。次に、
この閉じたループ状の形状線によって囲まれた形状面を
特定し(STP30)、隣りに形状面が存在する時には、
隣接関係を示すデータを付加する(STP31)。この処
理を逐次繰り返し、変更すべき新形状モデルを構成す形
状面データが作成される。When this processing is completed, the electronic computer 12 divides the cut line i, the new shape lines n 1 to n 4 , and the section line o at all link (coupling) positions, and i 11 to i 20 , n 11 , n 12 ,
Let n 41 , n 42 , o 11 and o 12 (STP28). Of these dividing lines, based on one arbitrarily extracted line (one side),
Detect the lines that make up the tracing loop in the counterclockwise direction. For example, starting from the divided new shape line n 11 , a closed loop shape line that surrounds one surface with the cutoff line i 13 , the new shape line n 2 , and the section line o 11 is detected (STP29). next,
The shape surface surrounded by the closed loop shape line is specified (STP30), and when there is an adjacent shape surface,
Data indicating the adjacency relation is added (STP31). This process is sequentially repeated to create shape surface data that forms a new shape model to be changed.
第8図は第2図のステップGの詳細処理手順を示す図で
ある。ステップGはステップDの処理によって切取線で
特定した部分を切り取った全体形状モデル24中にステッ
プFの処理で作成された変更すべき新形状モデル(新形
状面群)を埋め込む処理である。FIG. 8 is a diagram showing a detailed processing procedure of step G in FIG. Step G is a process of embedding the new shape model (new shape surface group) to be changed created in the process of step F in the overall shape model 24 obtained by cutting out the part specified by the cut line in the process of step D.
この処理においては、先ず、第5図の処理によって得ら
れた全体形状モデルFを指示する(STP32)。この全
体形状モデルは変更すべき形状部分が切取線によって切
り取られたものである。次に、第8図の処理によって作
成された変更すべき新部分形状モデル(新形状面データ
群)Gを指示する(STP33)。このようにして全体形
状モデルFと新部分形状モデルGが指示されると、電子
計算機12は新部分形状モデルGを構成する各形状面を全
体形状モデルFの切り取られた部分にコピーし、新しい
形状変更された全体形状モデルHを得る(STP34)。
そして、コピーされた新部分形状モデルを構成する形状
面群G′と全体形状モデルFとの間における隣接関係を
示すデータを付加して処理を終了する。In this process, first, the overall shape model F obtained by the process of FIG. 5 is designated (STP32). In this overall shape model, the shape portion to be changed is cut out by a cut line. Next, a new partial shape model (new shape surface data group) G to be changed created by the processing of FIG. 8 is designated (STP33). When the overall shape model F and the new partial shape model G are designated in this way, the electronic computer 12 copies each shape surface forming the new partial shape model G to the cut out portion of the overall shape model F, and a new one is created. An overall shape model H whose shape has been changed is obtained (STP34).
Then, data indicating the adjacency relationship between the shape surface group G ′ forming the copied new partial shape model and the overall shape model F is added, and the processing ends.
以上説明したように、本発明に係る形状モデルの変更方
法は、形状変更前の全体形状モデルの形状面データと変
更すべき新形状を構成する新形状線データをチェック
し、この全体形状モデル上に形状変更部分を含む範囲を
切取線で特定して全体形状モデルから切り取り、変更す
べき新形状線を切り取り新形状面データを得て、前記変
更すべき部分を切り取った全体形状モデルに新形状面デ
ータから構成される新形状モデルを埋め込むようにした
ため、膨大なデータベースに納められた形状データから
変更に関係する最小限の形状データを検索して取り扱う
ことが出来、形状変更部分の範囲のみの処理で形状変更
が可能となるため、処理時間を大幅に短縮出来、また、
形状変更に関係しない他の形状データには何等影響を与
えることがないため、計算機システム内の形状データベ
ースの管理も容易であるという利点を有する。As described above, the method of changing the shape model according to the present invention checks the shape surface data of the whole shape model before the shape change and the new shape line data constituting the new shape to be changed, and checks the whole shape model. , The range including the shape change part is specified by the cut line, cut from the whole shape model, the new shape line to be changed is cut out, new shape surface data is obtained, and the new shape surface is cut into the whole shape model. Since a new shape model composed of data is embedded, it is possible to search and handle the minimum shape data related to changes from the shape data stored in a huge database, and process only the range of shape changes. Since the shape can be changed with, the processing time can be greatly shortened, and
Since the other shape data not related to the shape change is not affected at all, there is an advantage that the shape database in the computer system can be easily managed.
以上、本発明について好適な実施例を挙げて説明した
が、本発明はこの実施例に限定されるものではなく、例
えば、新規に線データから面データを作成する方法に応
用することも出来る等、本発明の要旨を逸脱しない範囲
において種々の改良並びに設計の変更が可能なことは勿
論である。Although the present invention has been described above with reference to the preferred embodiment, the present invention is not limited to this embodiment and can be applied to a method of newly creating surface data from line data, for example. Of course, various improvements and design changes can be made without departing from the scope of the present invention.
【図面の簡単な説明】 第1図は本発明に係る形状モデルを扱うコンピュータ支
援設計システムの基本的構成図、 第2図は本発明に係る形状モデルの変更方法を示す概略
処理フロー、 第3図乃至第8図は第2図に示す処理フローの各ステッ
プの詳細処理手順を示す図である。 10……外部記憶装置、12……電子計算機 14……インタフェース装置、16……図形表示装置 18……操作盤、20……座標入力装置 22……スタイラスペン、24……全体形状モデル 26……部分形状モデル、28……線データBRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a basic configuration diagram of a computer-aided design system that handles a shape model according to the present invention, FIG. 2 is a schematic processing flow showing a shape model changing method according to the present invention, and FIG. FIG. 8 to FIG. 8 are diagrams showing the detailed processing procedure of each step of the processing flow shown in FIG. 10 …… External storage device, 12 …… Computer 14 …… Interface device, 16 …… Figure display device 18 …… Operating panel, 20 …… Coordinate input device 22 …… Stylus pen, 24 …… Overall shape model 26… … Partial shape model, 28 …… Line data
Claims (1)
ルの一部を変更する形状モデルの変更方法であって、前
記計算機システムは、前記形状モデルを格納した記憶装
置を含み、形状変更前の全体形状モデルの形状面データ
と、変更すべき新形状を構成する新形状線データとを比
較し不一致区間を得る第1のステップと、該不一致区間
に基づき前記全体形状モデル上に形状変更部分を含む範
囲を切取線で特定し、該特定された形状部分を前記全体
形状モデルから切り取る第2のステップと、新たに前記
計算機システム内に作成した新形状線を前記切取線で切
り取る第3のステップと、該新形状線データから部分形
状面データを得る第4のステップと、該部分形状面を前
記全体形状モデルの切り取った部分に埋め込む第5のス
テップとからなることを特徴とする形状モデルの変更方
法。1. A method of changing a shape model for changing a part of an entire shape model created in a computer system, wherein the computer system includes a storage device storing the shape model, and the entire shape model before changing the shape. A first step of comparing the shape surface data of the shape model with new shape line data forming a new shape to be changed to obtain a non-coincidence section, and including a shape modification section on the overall shape model based on the non-coincidence section. A second step of specifying the range with a cutting line and cutting the specified shape part from the overall shape model; a third step of cutting a new shape line newly created in the computer system with the cutting line; It comprises a fourth step of obtaining partial shape surface data from the new shape line data, and a fifth step of embedding the partial shape surface in the cut-out portion of the overall shape model. Changing the shape model is characterized and.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61167347A JPH0614337B2 (en) | 1986-07-16 | 1986-07-16 | How to change the shape model |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61167347A JPH0614337B2 (en) | 1986-07-16 | 1986-07-16 | How to change the shape model |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6324363A JPS6324363A (en) | 1988-02-01 |
| JPH0614337B2 true JPH0614337B2 (en) | 1994-02-23 |
Family
ID=15848044
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61167347A Expired - Fee Related JPH0614337B2 (en) | 1986-07-16 | 1986-07-16 | How to change the shape model |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0614337B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CA2055587A1 (en) * | 1990-11-26 | 1992-05-27 | Liangpin Chen | Enhanced computer aided design shading |
| CA2055545A1 (en) * | 1990-11-26 | 1992-05-27 | Liangpin Chen | Enhanced computer aided design system |
| JP4806257B2 (en) * | 2005-12-28 | 2011-11-02 | キヤノンソフトウェア株式会社 | Information processing apparatus, shape model concealment method, concealed shape model restoration method, program, and recording medium |
-
1986
- 1986-07-16 JP JP61167347A patent/JPH0614337B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6324363A (en) | 1988-02-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5341461A (en) | Method of rendering a two dimensional drawing into a three dimensional drawing, using a CAD program | |
| US7492364B2 (en) | System and method for creating and updating a three-dimensional model and creating a related neutral file format | |
| EP0375460B1 (en) | Geometric modeling method and apparatus therefor | |
| JP3787743B2 (en) | Mesh generator for numerical analysis | |
| JP3195498B2 (en) | Method and apparatus for creating three-dimensional shape | |
| EP1710720B1 (en) | Method of computer-aided design of a modeled object having several faces | |
| US7395190B2 (en) | Analytical model producing method and analytical model producing apparatus | |
| KR20050039750A (en) | Design build test cycle reduction | |
| JP2616882B2 (en) | Numerical control machining simulation system and method based on non-manifold data structure | |
| JPH0749960A (en) | Solid model synthesizing apparatus and synthesizing method | |
| US7068268B2 (en) | Computer-aided product design system | |
| JP2005199567A (en) | Mold correction system, its device, mold correction method, recording medium, and program | |
| JPH0614337B2 (en) | How to change the shape model | |
| JPH0248774A (en) | Data controlling method for cad system | |
| JP2004110828A (en) | Method and system for generating a numerically controlled toolpath on a solid model | |
| JPH06259505A (en) | Shape simplification method | |
| JPH0896166A (en) | Drawing candidate line segment extracting device, drawing candidate line segment extracting method, solid model synthesizing device, and solid model synthesizing method | |
| JP2800708B2 (en) | Method for correcting mesh of FEM analysis model | |
| CN103729513A (en) | Three-dimensional technology sequential modeling method and device | |
| CN103729512A (en) | Three-dimensional technology modeling method and device | |
| JPH05225290A (en) | Shape correction system by three dimensional parametric function | |
| CN115544594B (en) | Universal automatic batch three-dimensional CAD modeling scoring method | |
| KR20220009026A (en) | Device and method for recognizing amended object | |
| JP3305395B2 (en) | Figure division device | |
| JP2001092805A (en) | Analysis mesh generation apparatus, method and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |