JPH0696162A - Restoring method for block in cad - Google Patents

Restoring method for block in cad

Info

Publication number
JPH0696162A
JPH0696162A JP4240234A JP24023492A JPH0696162A JP H0696162 A JPH0696162 A JP H0696162A JP 4240234 A JP4240234 A JP 4240234A JP 24023492 A JP24023492 A JP 24023492A JP H0696162 A JPH0696162 A JP H0696162A
Authority
JP
Japan
Prior art keywords
restoration
block
line
shape
processing
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.)
Granted
Application number
JP4240234A
Other languages
Japanese (ja)
Other versions
JP2919194B2 (en
Inventor
Akihiko Tanae
彰彦 多苗
Yumiko Makita
由美子 蒔田
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.)
NIIGATA NIPPON DENKI SOFTWARE KK
NEC Corp
NEC Software Niigata Ltd
Original Assignee
NIIGATA NIPPON DENKI SOFTWARE KK
NEC Corp
NEC Software Niigata 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 NIIGATA NIPPON DENKI SOFTWARE KK, NEC Corp, NEC Software Niigata Ltd filed Critical NIIGATA NIPPON DENKI SOFTWARE KK
Priority to JP4240234A priority Critical patent/JP2919194B2/en
Publication of JPH0696162A publication Critical patent/JPH0696162A/en
Application granted granted Critical
Publication of JP2919194B2 publication Critical patent/JP2919194B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To easily restore a state to the one before change only by designating a plane desired to restore and to improve workability by designating the plane that becomes the target of restoration of a block desired to restore, deciding whether or not the restoration of a designated plane can be feasible, displaying a temporary shape of the block after restoration when it is feasible, and executing restoration processing. CONSTITUTION:Firstly, the plane that becomes the target of the restoration of the block desired to restore is designated in step S1. Concretely, the plane is designated by instructing two comprising lines of the plane. At this time, it is checked whether or not the plane is composed of instructed two lines. Then, it is decided whether or not the restoration of the designated plane can be feasible in step S2. Then, the constituent of the block after restoration is decided, and the temporary shape after restoration is displayed in step S3. Following that, the restoration processing is executed in step S4. It is executed based on a result in which the feasibility/infeasibility of the restoration processing in step S2 is decided and a display result for the temporary shape after restoration in step S3 on the content of the restoration processing.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はCADにおけるブロック
の復元方法に関し、特に建築系企画設計用CADの三次
元モデルの編集時に部分的な形状の変更に使用するCA
Dにおけるブロックの復元方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a block restoration method in CAD, and in particular CA used for partially changing the shape when editing a three-dimensional model of CAD for architectural planning and design.
A method for restoring blocks in D.

【0002】[0002]

【従来の技術】従来のCADにおけるブロックの復元方
法は、復元したいブロックの場所に新規のブロックを作
成することで行っていた。例えば、建築系CADの分野
では、ブロックの部分的な形状変更の手法として、ブロ
ックのカッティングシステムがあり、このブロックのカ
ッティングシステムは、図5の流れ図に示すように、ス
テップ(以下Sと記す)51でカッティングするブロッ
クを指定し、次にS52でカット面となる無限面を3点
もしくは1点と1線で指定し、S53でカットする部分
を強調表示し、S54で実際にカッティングを実行する
方法を取っていたので、一旦カッティングを実行した部
分は復元できず、ブロックとして復元し、再度カッティ
ングを実行するようになっていた。
2. Description of the Related Art The conventional method of restoring a block in CAD is to create a new block at the location of the block to be restored. For example, in the field of architectural CAD, there is a block cutting system as a method of partially changing the shape of a block, and this block cutting system includes steps (hereinafter referred to as S) as shown in the flowchart of FIG. The block to be cut is designated in 51, then the infinite plane to be cut is designated by 3 points or 1 point and 1 line in S52, the portion to be cut is highlighted in S53, and the cutting is actually executed in S54. Since the method was adopted, the part which was once cut could not be restored, but it was restored as a block and the cutting was performed again.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のCAD
におけるブロックの復元方法は、ブロックに対し、一旦
カッティングを実行した部分は復元できないので、ブロ
ックとして復元し、再度カッティングを実行しなければ
ならず、非常に多くの工数を必要とするので煩わしいと
いう問題点がある。
SUMMARY OF THE INVENTION Conventional CAD described above
In the block restoration method in, since the part where cutting is once executed cannot be restored to the block, it has to be restored as a block and cutting is performed again, which requires a lot of man-hours and is troublesome. There is a point.

【0004】本発明の目的は、復元したい面を指定する
のみで簡単に変更前の状態に復元可能な作業性も向上さ
せたCADにおけるブロックの復元方法を提供すること
にある。
An object of the present invention is to provide a block restoring method in CAD in which workability is improved by simply designating a surface to be restored and restoring the state before the change.

【0005】[0005]

【課題を解決するための手段】本発明のCADにおける
ブロックの復元方法は、形状を変更したブロックを変更
以前の形状に復元する機能を持つCADにおけるブロッ
クの復元方法において、復元したいブロックの復元の対
象となる面を指定する復元面指定過程と、前記指定する
面の復元が実行可能か否かを判定する復元処理可否判定
過程と、復元後の該当のブロックの形状を仮表示する復
元後の形状表示過程と、前記復元処理可否判定過程およ
び前記復元後の形状表示過程の結果に基づき復元処理を
行う復元処理実行過程とで実現する。
A block restoration method in CAD according to the present invention is a block restoration method in CAD which has a function of restoring a block whose shape has been changed to a shape before the change. A restoration plane designating process for designating a target face, a restoration process feasibility determining process for determining whether restoration of the designated face is feasible, and a post-restoration process for temporarily displaying the shape of the block after restoration. This is realized by a shape display process and a restoration process execution process of performing a restoration process based on the results of the restoration process feasibility determination process and the restored shape display process.

【0006】本発明のCADにおけるブロックの復元方
法は、復元処理実行過程が、復元後の形状表示過程の仮
表示した復元後のブロック形状の表示をすべて消去する
仮表示消去処理と、復元の対象となるブロックに対しこ
のブロックを構成する面・線・点を残して他の部分を削
除するブロック削除処理と、復元処理の対象として指定
した面を削除する指定面の削除処理と、復元処理可否判
定過程で求めた交点および交線を登録し表示する新規線
登録処理と、前記復元後の形状表示過程で求めた形状を
変更するすべての線に対して登録してある端点情報を変
更し表示を変更する構成線の登録変更処理と、前記復元
対象として指定した面と隣接する面に対してこの面の構
成線分を設定し直して登録を変更する面の構成線設定処
理とで構成してもよい。
In the block restoration method for CAD according to the present invention, in the restoration process execution process, a temporary display erasing process for erasing all the temporarily displayed block shape displays after restoration in the shape display process after restoration, and a restoration target Block deletion processing that deletes other parts of the block that are the surfaces, lines, and points that make up this block, deletion processing of the specified surface that deletes the surface specified as the target of restoration processing, and whether restoration processing is possible A new line registration process for registering and displaying the intersection points and intersection lines obtained in the judgment process, and changing and displaying the end point information registered for all the lines that change the shape obtained in the shape display process after restoration. The configuration line registration process of changing the component line and the component line setting process of the face in which the registration is changed by resetting the component line segment of the face adjacent to the face specified as the restoration target. Even There.

【0007】[0007]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0008】図1は本発明の一実施例の流れ図である。FIG. 1 is a flow chart of one embodiment of the present invention.

【0009】本発明のCADにおけるブロックの復元方
法は、ステップ(以下Sと記す)1で復元したいブロッ
クの復元の対象となる面を指定し、S2で指定する面の
復元が実行可能か否かを判定し、可能であればS3で復
元後の該当のブロックの形状を仮表示し、S4で復元処
理を実行する。
In the block restoring method for CAD according to the present invention, in step (hereinafter referred to as "S"), the surface to be restored of the block to be restored is designated, and whether the restoration of the surface designated in S2 is feasible or not. If possible, the shape of the corresponding block after restoration is temporarily displayed in S3, and restoration processing is executed in S4.

【0010】図2は図1に表示した復元処理の実行の詳
細な内容を示す流れ図である。
FIG. 2 is a flow chart showing the detailed contents of the execution of the restoration processing displayed in FIG.

【0011】S11で仮表意消去処理を行い、S12で
ブロック削除処理を行い、S13で指定面の削除処理を
行い、S14で新規線登録処理を行い、S15で構成線
の登録変更処理を行い、S16で面の構成線設定処理を
行い、S17で復元後のブロックの登録処理行ってい
る。
In S11, a temporary ideographic erasing process is performed, in S12, a block deleting process is performed, in S13, a specified face is deleted, a new line registration process is performed in S14, and a component line registration changing process is performed in S15. In S16, the component line setting process of the surface is performed, and in S17, the restored block is registered.

【0012】図3は指定する面の復元が実行不可能と判
定する場合の状態を説明する説明図である。
FIG. 3 is an explanatory diagram for explaining a state when it is determined that the restoration of the designated surface cannot be executed.

【0013】図4は図1に表示した復元処理の可否を判
定するステップの処理の流れ図である。
FIG. 4 is a flow chart of the process of the step of judging whether or not the restoration process shown in FIG. 1 is possible.

【0014】図5は図1に表示した復元処理を実行する
ステップの処理状態を説明する説明図である。
FIG. 5 is an explanatory view for explaining the processing state of the step for executing the restoration processing displayed in FIG.

【0015】図6は復元前と復元後の該当のブロックの
形状を仮表示した状態を説明する説明図である。
FIG. 6 is an explanatory view for explaining a state in which the shapes of the corresponding blocks before and after restoration are provisionally displayed.

【0016】次に動作について説明する。説明には主と
して図1および図2を使用し、必要に応じて図3ないし
図6を引用する。
Next, the operation will be described. 1 and 2 are mainly used in the description, and FIGS. 3 to 6 are referred to when necessary.

【0017】まず、S1で復元したいブロックの復元の
対象となる面を指定する。具体的には、面の構成線を2
本指示することにより、面を指定する。このとき、指示
した2線で面が構成されているかのチェックを行う。
First, in S1, the surface to be restored of the block to be restored is designated. Specifically, set the surface composition line to 2
The surface is specified by this instruction. At this time, it is checked whether or not the plane is composed of the designated two lines.

【0018】次に、S2で指定する面の復元が実行可能
か否かを判定する。判定の方法の詳細な動作を、図3お
よび図4を用いて説明する。まず、指定した面に他のブ
ロックが接続しているか否かのチェックを行う。指定し
た面に他のブロックが接続している場合は、S4で指定
した面を削除することができないため、復元処理はでき
ないものと判定する。図3分図(a)は指定面31に他
のブロック34が接続しているために復元できない例で
ある。
Next, it is determined whether or not the restoration of the surface designated in S2 can be executed. Detailed operations of the determination method will be described with reference to FIGS. 3 and 4. First, it is checked whether another block is connected to the specified surface. If another block is connected to the specified surface, the surface specified in S4 cannot be deleted, so it is determined that the restoration processing cannot be performed. FIG. 3A shows an example that cannot be restored because another block 34 is connected to the designated surface 31.

【0019】次に、指定した面と隣接している面を探
し、これらの面同志の交線を求める。この場合、指定面
と隣接している面数が1つのときは復元処理ができない
ものと判定する。図3分図(b)は指定面32に隣接し
ている面数が1つのため復元できない例である。
Next, a surface adjacent to the designated surface is searched for, and the intersection line of these surfaces is obtained. In this case, when the number of faces adjacent to the designated face is 1, it is determined that the restoration process cannot be performed. FIG. 3B is an example in which restoration is not possible because the number of surfaces adjacent to the designated surface 32 is one.

【0020】2つの面の交線の求め方は、面の法線ベク
トルの外積により2面が平行か否かを判断し、平行でな
いときは交線の方向ベクトルと交線の両端点座標値を求
めておく。すべての隣接する面同志の交線を求め終わっ
たら、得られた交線により、復元処理の可否判定を行
う。図4分図(a)は指定面41を復元対象として指定
した場合、これの隣接面42,43,44,45に対し
て、それぞれの交線46,47,48,49,50を求
めた図である。
The method of obtaining the intersection line of two surfaces is to judge whether or not the two surfaces are parallel by the cross product of the normal vectors of the surfaces. If they are not parallel, the direction vector of the intersection line and the coordinate value of the endpoints of the intersection line. Ask for. When the intersection lines of all the adjacent faces have been obtained, whether or not the restoration process is possible is determined based on the obtained intersection lines. When the designated surface 41 is designated as the restoration target, the intersection lines 46, 47, 48, 49, 50 of the adjacent surfaces 42, 43, 44, 45 of the designated surface 41 are obtained in FIG. It is a figure.

【0021】得られた交線に対して、それぞれの交線の
方向ベクトルが互いに交わるか否かをベクトルの外積で
判断する。交線の方向ベクトル同志が交わる場合は,そ
の交点座標値を求める。このとき求めた交点が復元する
ブロックの頂点になっているときは、交点とはみなさな
い。すべての交線に対して求めた交点が1点または2点
のときに,指定した面に対する復元処理が行えると判断
する。交点が1点のときは、その点が復元後のブロック
の頂点となる。交点が2点のときは、2つの交点を結ぶ
線が復元後のブロックの構成線となる。図3分図(c)
は指定面33に対する交線同志の交点が3以上あって復
元できない場合を示している。図4分図(b)は図4分
図(a)で求めた交線46〜50に対して、それぞれの
交点51,52を求めた図である。この場合は交線同志
の交点が2点なので、復元処理を行うことができる。図
4分図(c)は指定面53に対して隣接面54,55,
56が存在し、隣接面同志の交線57,58,59の交
点60は1点のみなので、復元処理が行える。
With respect to the obtained intersection lines, it is judged by the cross product of the vectors whether or not the direction vectors of the respective intersection lines intersect each other. If the direction vectors of the intersection line intersect each other, obtain the coordinates of the intersection point. If the intersection obtained at this time is the vertex of the block to be restored, it is not regarded as an intersection. When the number of intersections obtained for all intersections is one or two, it is determined that the restoration processing can be performed on the specified surface. When there is only one intersection, that point becomes the vertex of the restored block. When there are two intersections, the line connecting the two intersections becomes the constituent line of the restored block. Figure 3 (c)
Indicates a case where there are three or more intersections of the lines of intersection with respect to the designated surface 33 and restoration cannot be performed. FIG. 4B is a diagram in which the respective intersection points 51 and 52 are obtained with respect to the intersection lines 46 to 50 obtained in FIG. 4A. In this case, since there are two intersections of the intersection lines, restoration processing can be performed. In FIG. 4 (c), adjacent surfaces 54, 55, and
Since 56 exists and the intersection 60 of the intersection lines 57, 58, 59 of the adjacent surfaces is only one point, the restoration process can be performed.

【0022】ここで、復元処理が行えると判断した場合
は、交線または交点のどちらかが存在し、その交点座標
値を保持している。図4分図(b)では交線と2点の座
標値が、図4分図(c)では交点とこれの座標値がデー
タとして保持されている。
If it is determined that the restoration process can be performed, either the intersection line or the intersection point exists and the intersection point coordinate value is held. In FIG. 4B, the intersection line and coordinate values of two points are held as data, and in FIG. 4B, the intersection point and coordinate values thereof are held as data.

【0023】次にS3で復元後のブロックの構成要素を
決定し復元後の仮の形状の表示を行う。方法としては、
復元の対象となるブロックのすべての構成線に対して、
交点または交線の端点がそれぞれの構成線の直線上にあ
るか否かを判定する。直線上に交点がある場合は、この
線の両端点のうち、始点または終点のどちらが交点に近
いのかを求め、線を変更する方向を決定する。このとき
形状が変わる部分および新たに生成する部分を求め、仮
表示を行う。
Next, in S3, the constituent elements of the restored block are determined and the restored temporary shape is displayed. As a method,
For all the constituent lines of the block to be restored,
It is determined whether the intersections or the end points of the intersections are on the straight lines of the respective constituent lines. If there is an intersection on the straight line, the start point or the end point of the two end points of this line is closer to the intersection, and the direction of changing the line is determined. At this time, a part whose shape changes and a part to be newly generated are obtained and provisionally displayed.

【0024】続いてS4で復元処理を実行するが、復元
処理の内容は、S2の復元処理の可否を判定した結果
と、S3の復元後の仮の形状の表示結果とに基づき、復
元処理を実行する。
Subsequently, the restoration process is executed in S4. The contents of the restoration process are based on the result of judgment of the restoration process in S2 and the display result of the temporary shape after the restoration in S3. Run.

【0025】次に復元処理の一連の動作を詳細に図5お
よび図6を用いて説明する。
Next, a series of operations of the restoration process will be described in detail with reference to FIGS.

【0026】まず、S11で仮表示消去処理を行い、復
元後の仮の形状を表示したブロック形状の表示をすべて
消去する。次にS12でブロック削除処理を行い、復元
対象となるブロックを削除する。このとき、ブロックの
構成面の情報およびブロックタイプを保持しておく(即
ち、ブロックを削除しても、ブロックを構成する面・線
・点は削除されない)。続いてS13で指定面の削除処
理を行い、復元処理の対象として指定した面を削除す
る。このとき、指定面に模様がある場合は、模様も共に
削除する。又、指定面の構成線は、削除データとして保
持しておく(面を削除しても、面を構成する線・点は削
除されない)。次にS14で新規線登録処理を行い、先
に復元処理の可否を判定した際に求めた交点または交線
を、登録・表示する。ここで各線分の先端部、即ち頂点
あるいは交点となる部分を、以後、端点と総称する。次
にS15で構成線の登録変更処理を行い、先に求めた復
元後の該当のブロックの形状とするため、変更するすべ
ての線に対して、登録してある端点情報を変更し表示を
変更する。図5分図(a)は変更線71,72,73,
74に対してそれぞれ端点を変更した図である。変更線
71は端点が頂点63および頂点64から頂点63およ
び交点61に、変更線72は端点が頂点65および頂点
66から頂点65および交点62に、変更線73は端点
が頂点67および頂点68から頂点67および交点62
に、変更線74は端点が頂点69および頂点70から頂
点69および交点61に、それぞれ変更している。続い
てS16で面の構成線設定処理を行い、復元対象として
指定した面と隣接する面に対して、面の構成線分を設定
し直して登録を変更する。このとき、新しい面の構成線
分は、今までの面の構成線分がどのように変更されたか
によって決定する。次にこの面の構成成分の設定につい
て詳細に説明する。
First, in step S11, temporary display erasing processing is performed to erase all display of the block shape displaying the restored temporary shape. Next, block deletion processing is performed in S12, and the block to be restored is deleted. At this time, the information on the constituent surface of the block and the block type are held (that is, even if the block is deleted, the surfaces, lines, and points that constitute the block are not deleted). Subsequently, in S13, the designated surface is deleted, and the surface designated as the target of the restoration processing is deleted. At this time, if there is a pattern on the specified surface, the pattern is also deleted. In addition, the constituent lines of the specified surface are retained as deleted data (even if the surface is deleted, the lines and points forming the surface are not deleted). Next, in S14, a new line registration process is performed, and the intersection or line obtained when the restoration process is first determined is registered and displayed. Here, the leading end of each line segment, that is, the portion that becomes the apex or the intersection is hereinafter collectively referred to as an end point. Next, in step S15, the registration change processing of the constituent lines is performed, and the registered end point information is changed and the display is changed for all the lines to be changed in order to obtain the shape of the corresponding block after the restoration that is obtained earlier. To do. FIG. 5 (a) shows change lines 71, 72, 73,
It is the figure which changed the end point to 74 respectively. Change line 71 has endpoints from vertex 63 and vertex 64 to vertex 63 and intersection 61, change line 72 has endpoints from vertex 65 and 66 to vertex 65 and intersection 62, and change line 73 has endpoints from vertex 67 and vertex 68. Vertex 67 and intersection 62
In addition, the end point of the change line 74 is changed from the vertex 69 and the vertex 70 to the vertex 69 and the intersection point 61, respectively. Subsequently, in S16, the constituent line setting process of the surface is performed, and the constituent line segment of the surface is set again for the surface adjacent to the surface designated as the restoration target and the registration is changed. At this time, the constituent line segment of the new surface is determined by how the constituent line segment of the surface so far is changed. Next, the setting of the constituent components of this surface will be described in detail.

【0027】まず、面を構成する構成線を一本ずつ取上
げ、一本目の線分が、S15の構成線の登録変更処理で
変更されていた場合は、変更した構成線を新しい面の構
成線とする。また、S13の指定面の削除処理で削除さ
れていた場合は、S14の新規線登録処理で登録した線
分を新しい面の一本目の構成線とし、次の構成線はS1
5の構成線の登録変更処理で変更した線の中で、S14
の新規線登録処理で登録した線と接続できる線分を探し
出す。このときは、この構成線は変更も削除もされなか
ったものとして、以降の処理を行う。また、面の構成線
の一本目の線分が、変更も削除もされていない場合は、
そのまま新しい面の構成線となる。
First, the constituent lines constituting the surface are picked up one by one, and if the first line segment has been changed by the constituent line registration change processing in S15, the changed constituent line is changed to the constituent line of the new surface. And If the designated surface has been deleted in S13, the line segment registered in the new line registration processing in S14 is used as the first constituent line of the new surface, and the next constituent line is S1.
Among the lines changed in the registration change process of the component line 5 in S5, S14
The line segment that can be connected to the line registered in the new line registration process of is searched for. At this time, it is assumed that this constituent line has not been changed or deleted, and the subsequent processing is performed. Also, if the first line segment of the surface constituent line has not been changed or deleted,
As it is, it becomes a new surface composition line.

【0028】二本目以降の構成線は、ひとつ前の線分の
設定方法により処理が異なる。一つ前の線分が変更も削
除もされていないときは、一本目の構成線の設定方法と
同様となる。一つ前の線分がS15の構成線の登録変更
処理で端点情報が変更されていたときは、次の構成線も
S15の構成線の登録変更処理で変更した線分の中から
探し出す。次の構成線がS15の構成線の登録変更処理
で変更した線分の中にないときは、S14の新規線登録
処理で登録した線が接続できるか否かを判定する。新規
線が接続できない場合は、そのまま新しい面の構成線と
なる。これを繰り返して、新しい面の構成線を設定す
る。
The processing of the second and subsequent constituent lines differs depending on the setting method of the preceding line segment. When the previous line segment has not been changed or deleted, the setting method of the first constituent line is the same. If the end point information of the preceding line segment has been changed in the constituent line registration change processing of S15, the next constituent line is also searched from among the line segments changed in the constituent line registration change processing of S15. If the next constituent line is not in the line segment changed in the constituent line registration change processing of S15, it is determined whether the line registered in the new line registration processing of S14 can be connected. If the new line cannot be connected, it will be used as it is for the new surface. Repeat this to set a new surface component line.

【0029】図5分図(b)〜図5分図(d)は面の構
成線を設定し直している状態を説明する説明図である。
5 (b) to 5 (d) are explanatory views for explaining a state in which the constituent lines of the surface are reset.

【0030】まず、図5分図(b)は元の面を構成して
いた構成線の中の一本である構成線75が、変更も削除
もされず、新しい面の構成線75として表示されている
場合を示している。新しい面は構成線75,構成線7
6,変更線77,変更線78で構成される。次に図5分
図(c)は元の面を構成していた構成線の中の一本であ
る構成線が、削除線79として削除されている場合を示
している。新しい面は新規線80,変更線81,構成線
82,変更線83で構成される。最後に、図5分図
(d)は元の面を構成していた構成線の中の一本である
構成線が、変更線84として変更されている場合を示し
ている。新しい面は変更線84,構成線85,変更線8
6,新規線87で構成される。削除線88は、ここでの
処理に影響しない。
First, in FIG. 5 (b), the constituent line 75, which is one of the constituent lines forming the original surface, is not changed or deleted and is displayed as the new surface constituent line 75. The case is shown. The new surface is line 75, line 7
6, a change line 77, and a change line 78. Next, FIG. 5 (c) shows a case where one of the constituent lines forming the original surface is deleted as a deletion line 79. The new surface is composed of a new line 80, a change line 81, a constituent line 82, and a change line 83. Finally, FIG. 5 (d) shows a case where one of the constituent lines forming the original surface is changed as a change line 84. New surface is change line 84, composition line 85, change line 8
6, a new line 87. The deletion line 88 does not affect the processing here.

【0031】図2に戻り、S17で復元後のブロックの
登録処理を行い、既にS16の面の構成線設定処理で登
録し直した面と、復元の対象として指定した面に隣接し
ていない面とを合わせて、新しくブロックとして登録す
る。このとき、ブロックタイプは復元前に保持していた
ブロックタイプを引き継ぐ。また、復元の対象として指
定した面と、これの構成線および点はここで削除する。
Returning to FIG. 2, the block registration processing after restoration is performed in S17, and the surface already re-registered in the constituent line setting processing of S16 and the surface not adjacent to the surface designated as the restoration target. And are registered as a new block. At this time, the block type takes over the block type held before the restoration. In addition, the face specified as the restoration target and its constituent lines and points are deleted here.

【0032】図6分図(a)は復元前、図6分図(b)
は復元後の該当のブロックの形状をそれぞれ仮表示した
状態を説明する説明図である。図6分図(b)に示すブ
ロック92は、図6分図(a)に示すカッティング済み
ブロック91に対して斜線部で示した面を指定し、復元
処理を実行した場合の表示状態を示している。
FIG. 6 (a) is before restoration, and FIG. 6 (b) is before restoration.
FIG. 6 is an explanatory diagram illustrating a state in which the shape of a corresponding block after restoration is tentatively displayed. A block 92 shown in FIG. 6B shows a display state when a surface indicated by hatching is designated for the cut block 91 shown in FIG. 6A and a restoration process is executed. ing.

【0033】[0033]

【発明の効果】以上説明したように、本発明は、復元し
たいブロックの復元の対象となる面を指定する復元面指
定過程と、指定する面の復元が実行可能か否かを判定す
る復元処理可否判定過程と、復元後の該当のブロックの
形状を仮表示する復元後の形状表示過程と、復元処理可
否判定過程および復元後の形状表示過程の結果に基づき
復元処理を行う復元処理実行過程とを備えることによ
り、復元したい面を指定するのみで簡単に変更前の状態
に復元可能となり、作業性も向上するという効果が有
る。
As described above, according to the present invention, the restoration surface designating process for designating the surface to be restored of the block to be restored and the restoration processing for judging whether the designated surface can be restored or not. A propriety determination process, a restored shape display process for temporarily displaying the shape of the block after restoration, and a restoration process execution process for performing restoration processing based on the results of the restoration process feasibility determination process and the restored shape display process. By providing the above, it is possible to easily restore the state before the change only by designating the surface to be restored, and the workability is improved.

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

【図1】本発明の一実施例の流れ図である。FIG. 1 is a flow chart of one embodiment of the present invention.

【図2】図1に表示した復元処理の実行の詳細な内容を
示す流れ図である。
FIG. 2 is a flowchart showing detailed contents of execution of restoration processing displayed in FIG.

【図3】指定する面の復元が実行不可能と判定する場合
の状態を説明する説明図である。
FIG. 3 is an explanatory diagram illustrating a state when it is determined that restoration of a designated surface cannot be performed.

【図4】図1に表示した復元処理の可否を判定するステ
ップの処理の流れ図である。
FIG. 4 is a process flow chart of a step of determining whether or not the restoration process shown in FIG. 1 is possible.

【図5】図1に表示した復元処理を実行するステップの
処理状態を説明する説明図である。
FIG. 5 is an explanatory diagram illustrating a processing state of a step of executing the restoration processing displayed in FIG. 1.

【図6】復元前と復元後の該当のブロックの形状を仮表
示した状態を説明する説明図である。
FIG. 6 is an explanatory diagram illustrating a state in which the shapes of corresponding blocks before and after restoration are temporarily displayed.

【図7】従来のCADにおけるブロックの復元方法の流
れ図である。
FIG. 7 is a flowchart of a block restoration method in conventional CAD.

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

31,32,33,41,53 指定面 34,91,92 ブロック 42,43,44,45,54,55,56 隣接面 46,47,48,49,50,57,58,59
交線 51,52,60,61,62 交点 63,64,65,66,67,68,69,70
頂点 71,72,73,74,77,78,81,83,8
4,86 変更線 75,76,82,85 構成線 79,88 削除線 80,87 新規線
31, 32, 33, 41, 53 Designated surface 34, 91, 92 Block 42, 43, 44, 45, 54, 55, 56 Adjacent surface 46, 47, 48, 49, 50, 57, 58, 59
Intersection lines 51, 52, 60, 61, 62 Intersection points 63, 64, 65, 66, 67, 68, 69, 70
Vertices 71, 72, 73, 74, 77, 78, 81, 83, 8
4,86 Change line 75,76,82,85 Component line 79,88 Delete line 80,87 New line

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 形状を変更したブロックを変更以前の形
状に復元する機能を持つCADにおけるブロックの復元
方法において、復元したいブロックの復元の対象となる
面を指定する復元面指定過程と、前記指定する面の復元
が実行可能か否かを判定する復元処理可否判定過程と、
復元後の該当のブロックの形状を仮表示する復元後の形
状表示過程と、前記復元処理可否判定過程および前記復
元後の形状表示過程の結果に基づき復元処理を行う復元
処理実行過程とからなることを特徴とするCADにおけ
るブロックの復元方法。
1. In a block restoration method in CAD having a function of restoring a block whose shape has been changed to the shape before the change, a restoration surface designation step of designating a surface to be restored of a block to be restored, and the designation. A restoration process feasibility determination process that determines whether restoration of the surface to be performed is feasible,
It comprises a shape display process after restoration for temporarily displaying the shape of the corresponding block after restoration, and a restoration process execution process for performing restoration processing based on the results of the restoration process feasibility determination process and the shape display process after restoration. A block restoration method in CAD characterized by the following.
【請求項2】 復元処理実行過程が、復元後の形状表示
過程の仮表示した復元後のブロック形状の表示をすべて
消去する仮表示消去処理と、復元の対象となるブロック
に対しこのブロックを構成する面・線・点を残して他の
部分を削除するブロック削除処理と、復元処理の対象と
して指定した面を削除する指定面の削除処理と、復元処
理可否判定過程で求めた交点および交線を登録し表示す
る新規線登録処理と、前記復元後の形状表示過程で求め
た形状を変更するすべての線に対して登録してある端点
情報を変更し表示を変更する構成線の登録変更処理と、
前記復元対象として指定した面と隣接する面に対してこ
の面の構成線分を設定し直して登録を変更する面の構成
線設定処理とからなることを特徴とする請求項1記載の
CADにおけるブロックの復元方法。
2. The restoration process execution process erases all temporarily displayed block shape displays after restoration in the post-restoration shape display process, and configures this block for the block to be restored. Block deletion processing that deletes other parts while leaving faces, lines, and points to be deleted, specified surface deletion processing that deletes the surface specified as the target of restoration processing, and intersections and intersection lines found in the restoration processing feasibility judgment process A new line registration process of registering and displaying a line, and a registration change process of a component line that changes the display by changing the registered end point information for all lines that change the shape obtained in the shape display process after restoration. When,
The CAD according to claim 1, further comprising: a constituent line setting process of resetting a constituent line segment of the surface adjacent to the surface designated as the restoration target to change registration. How to restore blocks.
JP4240234A 1992-09-09 1992-09-09 CAD system Expired - Lifetime JP2919194B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4240234A JP2919194B2 (en) 1992-09-09 1992-09-09 CAD system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4240234A JP2919194B2 (en) 1992-09-09 1992-09-09 CAD system

Publications (2)

Publication Number Publication Date
JPH0696162A true JPH0696162A (en) 1994-04-08
JP2919194B2 JP2919194B2 (en) 1999-07-12

Family

ID=17056450

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4240234A Expired - Lifetime JP2919194B2 (en) 1992-09-09 1992-09-09 CAD system

Country Status (1)

Country Link
JP (1) JP2919194B2 (en)

Also Published As

Publication number Publication date
JP2919194B2 (en) 1999-07-12

Similar Documents

Publication Publication Date Title
US20100223032A1 (en) Methods and Apparatuses for Proposing Resolutions to Conflicts in a CAD Drawing with Reflections
US20030016216A1 (en) Numerical analysis mesh generating method and apparatus
CN113744401A (en) Terrain splicing method and device, electronic equipment and storage medium
CN114385816A (en) Conversation flow mining method and device, electronic equipment and computer storage medium
JP2001229483A (en) Traffic flow simulator and navigation terminal
CN116342745A (en) Editing method and device for lane line data, electronic equipment and storage medium
JPH0696162A (en) Restoring method for block in cad
JP2002074381A (en) Device and method for editing graphic
JP3925838B2 (en) Traffic flow simulation data input device
JPH0831130B2 (en) Line image processing method
CN117576255B (en) Method, device, computer equipment and storage medium for determining working area
JPH0844906A (en) Surface model generating method
KR102189878B1 (en) System and method based on lisp for editing map
JPH10240790A (en) Method for instructing formation of fillet surface
JP3067998B2 (en) Road map creation device, road map display device, airport surface map creation device, airport surface map display device, road map creation method, road map display method, airport surface map creation method, and airport surface map display method
JP3530390B2 (en) Map figure deformation method, map figure deformation apparatus, and recording medium storing map figure deformation program
JP2002208028A (en) Geometry clipping device for polygon
CN115393529A (en) Inclined three-dimensional model flattening method, device and equipment
JP3012862B2 (en) Map display system
JPH06282593A (en) Leader preparing method
JP3535596B2 (en) Figure data adjustment method
JP2000222605A (en) Finite element generating device and finite element generating method
JPH0614337B2 (en) How to change the shape model
JPH07104876B2 (en) Design support method and design support apparatus
CN116245975A (en) Automatic high-precision map processing method and system based on Qt frame

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990406

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20080423

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090423

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100423

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110423

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20120423

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20120423

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20130423

Year of fee payment: 14

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130423

Year of fee payment: 14