JPH05298396A - Shape editing system for cad system - Google Patents

Shape editing system for cad system

Info

Publication number
JPH05298396A
JPH05298396A JP3090532A JP9053291A JPH05298396A JP H05298396 A JPH05298396 A JP H05298396A JP 3090532 A JP3090532 A JP 3090532A JP 9053291 A JP9053291 A JP 9053291A JP H05298396 A JPH05298396 A JP H05298396A
Authority
JP
Japan
Prior art keywords
shape
sweep
movement
designated
rotation
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
JP3090532A
Other languages
Japanese (ja)
Other versions
JP2755501B2 (en
Inventor
Noboru Kimura
昇 木村
Naoki Kunimine
尚樹 国峯
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP3090532A priority Critical patent/JP2755501B2/en
Publication of JPH05298396A publication Critical patent/JPH05298396A/en
Application granted granted Critical
Publication of JP2755501B2 publication Critical patent/JP2755501B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To provide a CAD system shape editing system capable of accurately and simply executing input operation for moving, rotating, or sweeping edition and improving operability and an edition time. CONSTITUTION:At the time of moving processing of a drawing shape, plural shape elements are stored as hierarchical structure of faces and blocks. To simplify the specification of an objective shape element, plural shape elements included in a shape to be moved are recognized (100) by the specification of only one shape element. A moving reference point is specified and then a moving reference axis is specified (101, 102). To easily specify the coordinate of a destination to be moved, the coordinates of the destination to be moved are specified (103) in the displayed state of the moving reference axis. The data of all recognized shape elements are updated (104) based upon the moving reference point and the coordinates of the destination to be moved. Feature parts in both rotating and sweeping operation are similarly executed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、CAD(コンピュータ
援用による設計)システムの形状編集方式に関し、例え
ば、移動処理や回転処理やスイープ処理に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a shape editing system of a CAD (computer-aided design) system, for example, a moving process, a rotating process and a sweep process.

【0002】[0002]

【従来の技術】従来のCADシステムにおいては、2次
元システム及び3次元システム共に、図形形状の移動や
回転やスイープ等の編集を行なう場合、図形形状を構成
する各形状要素(直線、円、円弧、楕円、楕円弧、スプ
ライン等)毎に行なうことが一般的である。
2. Description of the Related Art In a conventional CAD system, in both a two-dimensional system and a three-dimensional system, when moving, rotating or sweeping a figure shape, each shape element (straight line, circle, arc) which constitutes the figure shape is edited. , Ellipse, elliptic arc, spline, etc.) is generally performed.

【0003】図2は、形状要素についての形状データの
定義例を示す説明図である。例えば、直線(厳密には線
分であるが以下でも直線と呼ぶ)については、その両端
点の座標によって形状データが定義されており、この直
線の編集では両端点の座標を移動先に応じた座標にする
処理を行なう。
FIG. 2 is an explanatory diagram showing a definition example of shape data for a shape element. For example, for a straight line (strictly speaking, it is also called a straight line below), the shape data is defined by the coordinates of the end points of the straight line. In editing this straight line, the coordinates of the end points depend on the destination. Performs processing to make coordinates.

【0004】形状要素の従来の移動操作は次のようなも
のであった。まず、オペレータは入力装置(キーボード
やマウス等)を用いて移動対象たる形状要素を指定する
(CADシステムからみれば認識)。その後、入力装置
を用いてその形状要素上の移動基準点を指定する。そし
て、この移動基準点の移動先座標を指定する。これによ
り、CADシステムはこの形状要素のデータを移動先に
応じたデータに更新して再格納する。
The conventional movement operation of the shape element is as follows. First, the operator uses the input device (keyboard, mouse, etc.) to specify the geometric element to be moved (recognized from the CAD system). After that, the movement reference point on the shape element is designated by using the input device. Then, the movement destination coordinates of this movement reference point are designated. As a result, the CAD system updates the shape element data to data corresponding to the destination and stores it again.

【0005】また、形状要素の従来の回転操作は次のよ
うなものであった。オペレータは入力装置(キーボード
やマウス等)を用いて回転対象たる形状要素と、その形
状要素の回転基準とを順次指定する。その後、所定の回
転方向についての回転角情報を指定する。これにより、
CADシステムはこの形状要素のデータを回転先に応じ
たデータに更新して再格納する。
Further, the conventional rotation operation of the shape element has been as follows. An operator uses an input device (keyboard, mouse, etc.) to sequentially specify a shape element to be rotated and a rotation reference of the shape element. Then, rotation angle information about a predetermined rotation direction is designated. This allows
The CAD system updates the shape element data to data corresponding to the rotation destination and stores it again.

【0006】また、このような操作における座標指定
は、2次元CADシステムの場合には、キーボードを用
いた表示座標系や形状データの定義座標系での絶対座標
指定や相対座標指定によったり、また、マウス等のポイ
ンティングデバイスによる座標指定によったり、これら
を併用したりして行ない、3次元CADシステムの場合
にはキーボードを用いた上述した絶対座標指定や相対座
標指定によって行なう。
Further, in the case of a two-dimensional CAD system, the coordinate designation in such an operation is performed by the absolute coordinate designation or the relative coordinate designation in the display coordinate system using the keyboard or the defining coordinate system of the shape data. Further, the coordinates are designated by a pointing device such as a mouse, or these are used together, and in the case of a three-dimensional CAD system, the designation is made by the absolute coordinates or the relative coordinates described above using a keyboard.

【0007】[0007]

【発明が解決しようとする課題】実際上、上述した編集
操作をオペレータは図形表示装置に表示された図形形状
を目視しながら実行する。しかし、その座標系における
各座標を正確に認識することは簡単でなく、入力装置を
用いて各座標を指示する場合に誤って指示することも生
じる。特に、基準点の移動先を指示する場合には、目安
となる図形形状がないこともあって誤り易い。また、回
転基準を指示してもどの軸周りに回転されるのかを視認
することができず、操作を誤り易い。その結果、編集操
作を最初からまたは途中からやり直すようなことも生じ
ていた。
In practice, the operator executes the above-mentioned editing operation while visually observing the graphic shape displayed on the graphic display device. However, it is not easy to accurately recognize each coordinate in the coordinate system, and when the input device is used to specify each coordinate, it may be erroneously specified. In particular, when designating the destination of the reference point, it is easy to make an error because there is no reference figure shape. Further, even if the rotation reference is designated, it is not possible to visually recognize about which axis the rotation is performed, and the operation is likely to be erroneous. As a result, the editing operation may be redone from the beginning or from the middle.

【0008】上述したような形状要素毎の編集では、各
形状要素の編集に対しても複数回の入力操作を必要とす
るため、複数の形状要素からなる図形形状を編集するた
めには多くの指定操作が必要となって操作が繁雑であ
り、それだけで編集時間が長時間になっているのに加え
て、上述したような移動先や回転基準の指定ミスが生じ
るとさらに操作が繁雑となり、編集時間が多大なものと
なる。
The above-described editing for each shape element requires a plurality of input operations for editing each shape element. Therefore, it is often necessary to edit a graphic shape composed of a plurality of shape elements. In addition to the need for a designated operation, the operation is complicated, and in addition to the long editing time, the operation becomes more complicated when the above-mentioned mistake in specifying the destination or rotation reference occurs, Editing time will be very long.

【0009】また、実際上、3次元システムの操作にお
いて、投影方向(一般的にはz方向と呼ぶ)に長さを有
する形状要素を指定したり、z方向に移動先や回転先を
指定することは難しく、そのため、形状要素の編集に先
立つ前処理として、表示画像の拡大や縮小をしたり、ま
た、z方向に平行な図形形状の面が表示画像の表面にく
るように表示画像の視点方向を変換したりして、z方向
の形状要素の指定や移動先や回転先の指定をし易くした
りしている。
Further, in practice, in the operation of a three-dimensional system, a shape element having a length in the projection direction (generally called the z direction) is designated, and a movement destination or a rotation destination is designated in the z direction. Therefore, as a pre-process prior to editing the shape element, the display image is enlarged or reduced, and the viewpoint of the display image is adjusted so that the surface of the graphic shape parallel to the z direction comes to the surface of the display image. By changing the direction, it is easy to specify the shape element in the z direction and the destination or the destination of rotation.

【0010】このような操作まで含めると、編集にはさ
らに多くの操作が必要となっていて編集時間は長くな
る。
If such operations are included, more operations are required for editing and the editing time becomes longer.

【0011】このような問題は、上述した移動や回転編
集だけでなく、図形のある方向に沿う長さを変更する
(縮めたり伸ばしたりする)スイープ編集の際にも同様
に生じるものである。
Such a problem similarly arises not only in the above-described movement and rotation editing but also in the sweep editing for changing (shortening or extending) the length of the figure along a certain direction.

【0012】従って、従来の形状編集方式は、使い勝手
の面で未だ不十分なものということができる。
Therefore, it can be said that the conventional shape editing method is still insufficient in terms of usability.

【0013】本発明は、以上の点を考慮してなされたも
のであり、編集先や編集基準等の入力を正確にしかも簡
単に実行できて操作性及び編集時間を向上させることの
できるCADシステムの形状編集方式を提供しようとす
るものである。
The present invention has been made in consideration of the above points, and a CAD system capable of accurately and easily inputting an editing destination, an editing standard, etc., and improving operability and editing time. It is intended to provide a shape editing method of.

【0014】[0014]

【課題を解決するための手段】かかる課題を解決するた
め、第1の本発明は、少なくとも1個以上の形状要素を
移動又は移動コピーするCADシステムの形状編集方式
において、移動元の移動基準点が指定された後に、この
移動基準点を通る移動方向に延びる移動基準軸の指定を
促し、指定された移動基準軸を表示させた状態で、移動
基準点の指定された移動先情報を取り込むことを特徴と
する。
In order to solve such a problem, a first aspect of the present invention is a moving reference point of a moving source in a shape editing method of a CAD system for moving or moving and copying at least one or more shape elements. After the is specified, the movement reference axis that extends in the movement direction that passes through this movement reference point is prompted, and the specified movement reference axis is displayed, and the destination information specified for the movement reference point is captured. Is characterized by.

【0015】また、第2の本発明は、少なくとも1個以
上の形状要素を回転又は回転コピーするCADシステム
の形状編集方式において、回転対象の形状要素情報を取
り込んだ後に、回転中心である回転基準軸の指定を促
し、指定された回転基準軸を表示させた状態で、回転量
情報を取り込むことを特徴とする。
The second aspect of the present invention is, in a shape editing method of a CAD system for rotating or rotationally copying at least one or more shape elements, after taking in the shape element information of the object to be rotated, the rotation reference which is the center of rotation. It is characterized in that the rotation amount information is fetched in a state in which the designation of the axis is urged and the designated rotation reference axis is displayed.

【0016】第1及び第2の本発明共に、形状と、その
形状を構成する各形状要素とを関係付けてデータを格納
しておき、1個の形状要素が指定されたときにその形状
要素を含む形状の全ての形状要素を編集対象とし、上述
したような移動基準軸又は回転基準軸の表示を伴う編集
処理を実行することが好ましい。
In both the first and second aspects of the present invention, data is stored by associating a shape with each shape element constituting the shape, and when one shape element is designated, the shape element is stored. It is preferable that all the shape elements of the shape including is to be edited, and the editing process involving the display of the movement reference axis or the rotation reference axis as described above is executed.

【0017】第3の本発明は、少なくとも1個以上の形
状要素を伸ばしたり縮めたりするスイープを行なうCA
Dシステムの形状編集方式において、スイープ処理の基
準点が指定された後に、このスイープ基準点を通るスイ
ープ方向に延びるスイープ方向基準軸を決定し、決定し
たスイープ方向基準軸を表示させた状態で、スイープ先
の位置情報を取り込むことを特徴とする。
A third aspect of the present invention is a CA for performing a sweep for stretching or contracting at least one shape element.
In the shape editing method of the D system, after the reference point of the sweep process is designated, the sweep direction reference axis extending in the sweep direction passing through the sweep reference point is determined, and the determined sweep direction reference axis is displayed. The feature is that the position information of the sweep destination is captured.

【0018】ここで、形状と、その形状を構成する各形
状要素とを関係付けてデータを格納しておき、1個の形
状要素が指定されたときにその形状要素に係る複数の形
状要素をスイープ処理対象とし、上述したようなスイー
プ方向基準軸の表示を伴う編集処理を実行することが好
ましい。
Here, the shape and the shape elements constituting the shape are associated with each other to store data, and when one shape element is designated, a plurality of shape elements related to the shape element are stored. It is preferable to execute the editing process with the display of the sweep direction reference axis as described above as the sweep process target.

【0019】[0019]

【作用】第1の本発明は、少なくとも1個以上の形状要
素を移動又は移動コピーする場合において、移動方向を
視認できて移動先を正確に指定できるように、移動元の
移動基準点が指定された後に、この移動基準点を通る移
動方向に延びる移動基準軸の指定を促し、指定された移
動基準軸を表示させた状態で、移動基準点の指定された
移動先情報を取り込むようにした。
According to the first aspect of the present invention, when at least one or more shape elements are moved or copied, the movement reference point of the movement source is designated so that the movement direction can be visually recognized and the movement destination can be accurately designated. After that, it prompts the user to specify the movement reference axis that extends in the movement direction that passes through this movement reference point, and with the specified movement reference axis displayed, the specified destination information for the movement reference point is imported. ..

【0020】また、第2の本発明は、少なくとも1個以
上の形状要素を回転又は回転コピーする場合において、
回転中心軸を視認できて回転操作が正確に実行できるよ
うに、回転対象の形状要素情報を取り込んだ後に、回転
中心である回転基準軸の指定を促し、指定された回転基
準軸を表示させた状態で、回転量情報を取り込むことと
した。
The second aspect of the present invention, in the case of rotating or rotationally copying at least one or more shape elements,
In order to be able to visually recognize the rotation center axis and to perform the rotation operation accurately, after prompting to specify the rotation reference axis that is the rotation center after capturing the shape element information of the rotation target, the specified rotation reference axis was displayed. In this state, the rotation amount information is taken in.

【0021】第1又は第2の本発明において、編集対象
の形状に含まれる形状要素毎に編集処理を実行すること
は繁雑であるので、形状と、その形状を構成する各形状
要素とを関係付けてデータを格納しておき、1個の形状
要素が指定されたときにその形状要素を含む形状の全て
の形状要素を編集対象とすることが好ましい。
In the first or second aspect of the present invention, since it is complicated to execute the editing process for each shape element included in the shape to be edited, the shape and the shape elements forming the shape are related to each other. It is preferable to store the data additionally and to edit all the shape elements of the shape including the shape element when one shape element is designated.

【0022】第3の本発明は、少なくとも1個以上の形
状要素を伸ばしたり縮めたりするスイープを行なう場合
において、スイープ方向を視認できてスイープ先を正確
に指定できるように、スイープ処理の基準点が指定され
た後に、このスイープ基準点を通るスイープ方向に延び
るスイープ方向基準軸を決定し、決定したスイープ方向
基準軸を表示させた状態で、スイープ先の位置情報を取
り込むようにした。
According to the third aspect of the present invention, when performing a sweep for extending or contracting at least one or more shape elements, the sweep processing reference point can be specified so that the sweep direction can be visually recognized and the sweep destination can be accurately specified. After the designation of, the sweep direction reference axis extending in the sweep direction passing through the sweep reference point is determined, and the position information of the sweep destination is captured while the determined sweep direction reference axis is displayed.

【0023】ここで、スイープ対象の形状に含まれる形
状要素毎にスイープ処理を実行することは繁雑であるの
で、形状と、その形状を構成する各形状要素とを関係付
けてデータを格納しておき、1個の形状要素が指定され
たときにその形状要素に係る複数の形状要素をスイープ
処理対象とし、上述したようなスイープ方向基準軸の表
示を伴う編集処理を実行することが好ましい。
Since it is complicated to execute the sweep process for each shape element included in the shape to be swept, the shape and the shape elements forming the shape are associated with each other to store data. Every time, when one shape element is designated, it is preferable that a plurality of shape elements related to the shape element are targeted for sweep processing, and the edit processing accompanied by the display of the sweep direction reference axis as described above is executed.

【0024】[0024]

【実施例】以下、本発明の一実施例を図面を参照しなが
ら詳述する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings.

【0025】(A)全体構成 図3は、この実施例に係るCADシステムを形状編集機
能を中心として示した機能ブロック図である。なお、C
ADシステムの実際の構成は、図形出力装置をも有する
一般のコンピュータシステムの構成と同様である。
(A) Overall Configuration FIG. 3 is a functional block diagram showing the CAD system according to this embodiment centering on the shape editing function. Note that C
The actual configuration of the AD system is similar to the configuration of a general computer system that also has a graphic output device.

【0026】図3において、このCADシステム10
は、入力装置11と、図形表示装置12と、図形処理装
置13と、図形記憶装置14とから構成されている。
In FIG. 3, this CAD system 10
Is composed of an input device 11, a graphic display device 12, a graphic processing device 13, and a graphic storage device 14.

【0027】入力装置11は、例えば、マウスやキーボ
ードを備えたものであり、オペレータが操作して指示し
た情報、すなわち、処理モードや形状要素(線分・円弧
・円等)や図形座標(数値・位置)等の情報を取り込ん
で図形処理装置13に与えるものである。
The input device 11 is equipped with, for example, a mouse and a keyboard, and is information instructed by an operator, that is, processing modes, shape elements (line segments, arcs, circles, etc.) and graphic coordinates (numerical values). Information such as (position) is fetched and given to the graphic processing device 13.

【0028】図形表示装置12は、例えばCRTディス
プレイからなり、図形処理装置13の制御下で図形処理
装置13から与えられる形状図形やオペレータに対する
メッセージ等を表示するものである。
The graphic display device 12 is composed of, for example, a CRT display, and displays a shape graphic given from the graphic processing device 13 under the control of the graphic processing device 13 and a message to an operator.

【0029】図形処理装置13は、入力装置11から与
えられた情報に基づいて形状を編集するものであり、ま
た、図形表示装置12に形状図形やその他の情報を表示
させるように制御するものであり、さらに、後述する形
状データ本体や形状補助データを図形記憶装置14に記
憶させたり、図形記憶装置14から取り出したりするも
のである。
The graphic processing device 13 edits the shape based on the information given from the input device 11, and controls the graphic display device 12 to display the shape graphic and other information. In addition, the shape data main body and the shape auxiliary data, which will be described later, are stored in the graphic storage device 14 or retrieved from the graphic storage device 14.

【0030】図形記憶装置14は、例えばディスク装置
で構成されている。図形記憶装置14は、この実施例の
場合、形状データ本体を格納する形状データ本体格納部
41と、この形状データ本体と関係する、形状データ本
体の編集時に利用する形状補助データを格納する形状補
助データ(パラメトリックデータ)格納部42とからな
る。
The graphic storage device 14 is composed of, for example, a disk device. In the case of this embodiment, the graphic storage device 14 stores a shape data main body storage unit 41 for storing the shape data main body and a shape auxiliary for storing the shape auxiliary data related to the shape data main body and used for editing the shape data main body. And a data (parametric data) storage unit 42.

【0031】形状データ本体は、例えば上述の図2に示
す定義例に従った各形状要素毎のデータであって、各形
状要素についての識別情報や属性情報も付与されてい
る。形状補助データ(パラメトリックデータ)は、各形
状要素の結び付きの関係を表す要素関係データ(面定義
データやブロック定義データ等)と、各形状要素の共通
性を表すパラメータデータとである。
The shape data body is, for example, data for each shape element according to the definition example shown in FIG. 2, and identification information and attribute information for each shape element are also added. The shape auxiliary data (parametric data) is element relationship data (surface definition data, block definition data, etc.) that represents the connection relationship of each shape element, and parameter data that represents the commonality of each shape element.

【0032】図4は、形状データ本体及び形状補助デー
タの内の要素関係データの説明図である。
FIG. 4 is an explanatory diagram of element relationship data in the shape data body and the shape auxiliary data.

【0033】図4(A)は、形状(面)の一例の説明図
であり、この形状を構成する形状要素にはその種類を表
すと共に他の形状要素と識別できる情報(例えばLIN
E1)が付与されており、また、上述した図2の定義に
従う座標が明らかにされている。この形状(面)の場
合、形状データ本体たる形状要素テーブルの内容は、図
4(B)に示すように、形状要素の識別情報と座標との
組でなる。なお、各形状要素は、ある基準点を原点とし
た座標で表わされている。要素関係データはリレーショ
ナルデータ構造による階層構造となっている。すなわ
ち、図4(D)のブロック定義テーブルに示すように、
形状(BODY)の下層にその形状を構成する面(FA
CE)が関係付けられており、また、図4(C)の面定
義テーブルに示すように、面の下層にその面を構成する
直線(LINE)や円(CIRCLE)等の形状要素が
関係付けられている。従って、ある1個の形状要素の指
定からその形状要素を含む形状の全形状要素の情報を取
り出すことができるようになっている。
FIG. 4A is an explanatory diagram of an example of a shape (surface), and the shape element forming this shape indicates the type thereof and information that can be distinguished from other shape elements (for example, LIN).
E1) is given, and the coordinates according to the definition of FIG. 2 described above are clarified. In the case of this shape (surface), the content of the shape element table, which is the shape data main body, is a set of identification information and coordinates of the shape element, as shown in FIG. Each shape element is represented by coordinates with a certain reference point as the origin. The element relation data has a hierarchical structure based on a relational data structure. That is, as shown in the block definition table of FIG.
Underneath the shape (BODY), the surface (FA
CE) is related, and as shown in the surface definition table of FIG. 4C, shape elements such as a straight line (LINE) and a circle (CIRCLE) forming the surface are related to the lower layer of the surface. Has been. Therefore, the information of all the shape elements of the shape including the shape element can be extracted from the designation of one shape element.

【0034】なお、パラメータデータ(図示は省略して
いる)は、例えば平行に延びる同一の長さの直線群に同
一のパラメータを付与したり、半径及び弧の長さが等し
い円弧群に同一のパラメータを付与したりしたものであ
る。詳細には、要素種別やその長さ情報をパラメータ識
別情報と共に表現したものである。例えば、直方体であ
れば、パラメータは3種類となる。従って、このパラメ
ータデータは、形状要素のグループ化情報にもなってい
る。
The parameter data (not shown) may be assigned to the same group of straight lines extending in parallel and having the same length, or to the same group of arcs having the same radius and arc length. Parameters are added. Specifically, the element type and its length information are expressed together with the parameter identification information. For example, in the case of a rectangular parallelepiped, there are three types of parameters. Therefore, this parameter data also serves as grouping information of shape elements.

【0035】図形処理装置13は、詳細には以下の各部
より構成されている。当該図形処理装置13と接続する
入力装置11、図形表示装置12及び図形記憶装置14
のそれぞれを制御する入力取込部31と、表示制御部3
2と、記憶制御部33とを備えている。このような外部
装置の制御構成に加えて形状の編集のために、形状要素
編集処理部34と、パラメトリック形状編集処理部35
とを備えている。形状要素編集処理部34は、形状要素
毎の移動や回転やスイープ等を行なうものである。パラ
メトリック形状編集処理部35は、形状補助データをも
利用して形状全体の移動や回転やスイープ等を行なうも
のである。なお、これら編集処理部34、35は、編集
処理に供する形状要素データ等をバッファリングするメ
モリや表示座標系での形状要素データ等をバッファリン
グするメモリを内蔵している。
The graphic processing device 13 is composed of the following parts in detail. Input device 11, graphic display device 12, and graphic storage device 14 connected to the graphic processing device 13
An input capturing section 31 for controlling each of the above, and a display control section 3
2 and a storage control unit 33. In addition to the control configuration of such an external device, in order to edit the shape, the shape element edit processing unit 34 and the parametric shape edit processing unit 35 are included.
It has and. The shape element edit processing unit 34 performs movement, rotation, sweep, etc. for each shape element. The parametric shape editing processing unit 35 also uses the shape auxiliary data to perform movement, rotation, sweep, etc. of the entire shape. The edit processing units 34 and 35 have a built-in memory for buffering the shape element data and the like used for the edit processing and a memory for buffering the shape element data and the like in the display coordinate system.

【0036】(B)編集処理 以下、パラメトリック形状編集処理部35が実行する移
動(移動コピーを含む)、回転(回転コピーを含む)、
スイープと、形状要素編集処理部34が実行するスイー
プについて説明する。なお、上述したように実際上、パ
ラメトリック形状編集処理部35や形状要素編集処理部
34はCPU及び主記憶装置が該当し、形状編集時には
図形記憶装置14から主記憶装置に形状データ本体や形
状補助データが転送されており、この主記憶装置上に転
送された形状データ本体や形状補助データを用いて形状
編集処理を実行する。また、形状を図形表示装置12に
表示するので、実際の大きさ等を表す形状データの他に
表示座標系での形状データ(座標)をパラメトリック形
状編集処理部35や形状要素編集処理部34は管理して
いる。
(B) Editing Process Hereinafter, movement (including moving copy), rotation (including rotating copy) executed by the parametric shape editing processing unit 35,
The sweep and the sweep executed by the shape element edit processing unit 34 will be described. As described above, the parametric shape edit processing unit 35 and the shape element edit processing unit 34 actually correspond to the CPU and the main storage device, and at the time of the shape edit, the shape data main body and the shape assistant are transferred from the graphic storage device 14 to the main storage device. The data has been transferred, and the shape editing process is executed using the shape data main body and the shape auxiliary data transferred to the main storage device. Further, since the shape is displayed on the graphic display device 12, the parametric shape edit processing unit 35 and the shape element edit processing unit 34 receive the shape data (coordinates) in the display coordinate system in addition to the shape data indicating the actual size. Manage.

【0037】従って、パラメトリック形状編集処理部3
5や形状要素編集処理部34による編集時には、表示座
標系(2次元座標系)でのデータを格納しているバッフ
ァメモリと、形状の定義座標系でのデータ(形状データ
本体)やその属性等を格納しているバッファメモリと、
上述した形状補助データについての座標系でのデータを
格納しているバッファメモリとが図形処理装置13内で
有効に機能している。
Therefore, the parametric shape edit processing unit 3
5 and the shape element edit processing unit 34, the buffer memory storing the data in the display coordinate system (two-dimensional coordinate system), the data in the definition coordinate system of the shape (shape data body), its attributes, etc. A buffer memory that stores
The buffer memory that stores the above-described shape auxiliary data in the coordinate system effectively functions in the graphic processing device 13.

【0038】以下では、座標指定を表示座標系で行なっ
ているとして説明する。
In the following description, it is assumed that the coordinates are designated in the display coordinate system.

【0039】(B-1 )移動処理及び移動コピー処理 まず、パラメトリック形状編集処理部35が実行する移
動処理について説明する。
(B-1) Move Process and Move Copy Process First, the move process executed by the parametric shape edit processing unit 35 will be described.

【0040】図1は、かかる移動処理を示すフローチャ
ートである。また、図5〜図8はこの移動処理について
の表示画像内容の説明図である。
FIG. 1 is a flow chart showing the moving process. Further, FIGS. 5 to 8 are explanatory views of the contents of the display image regarding this movement processing.

【0041】対象とする形状が含まれている画像が図形
表示装置12に表示されている状態において、パラメト
リック形状編集処理部35は、対象形状に含まれている
いずれかの形状要素の指定を促すメッセージを表示し、
これに応じてオペレータが入力装置11を用いて指定し
た形状要素を取込み、上述した要素関係データに基づい
て指定形状要素を含む形状の全ての形状要素を認識し、
認識した形状要素を他の形状要素と区別して表示させる
(ステップ100)。
In the state where the image including the target shape is displayed on the graphic display device 12, the parametric shape edit processing unit 35 prompts the designation of any shape element included in the target shape. Display a message,
In response to this, the operator takes in the shape element designated by using the input device 11, recognizes all the shape elements of the shape including the designated shape element based on the above-mentioned element relation data,
The recognized shape element is displayed separately from other shape elements (step 100).

【0042】なお、この際の指定方法としては、キーボ
ードを用いた要素識別情報の入力によっても、また、キ
ーボードやマウス等を用いた要素上の座標の入力によっ
ても良い。要素識別情報の入力による場合は、形状デー
タ本体に係るバッファメモリを参照して形状の定義座標
系での座標値を得て表示座標系での座標値を変換して得
る必要がある。
As the designation method at this time, the element identification information may be input using a keyboard, or the coordinates on the element may be input using a keyboard or a mouse. In the case of inputting the element identification information, it is necessary to refer to the buffer memory related to the shape data body to obtain the coordinate value in the defining coordinate system of the shape and convert the coordinate value in the display coordinate system.

【0043】また、かかる処理の際には、認識した形状
要素を、編集対象要素テーブルにセットすることも行わ
れている。
Further, at the time of such processing, the recognized shape element is also set in the edit target element table.

【0044】例えば、2次元CADシステムにおいて、
図5に示す形状F1を移動する場合に、形状要素E1が
指定されると、この形状F1の要素関係データに基づい
て全ての要素E1〜E5が移動対象の要素として認識さ
れる。同様に、3次元CADシステムにおいて、図6に
示す形状F2を移動する場合に、形状要素E10が指定
されると、この形状F2の要素関係データに基づいて全
ての要素E10〜E24が移動対象の要素として認識さ
れる。
For example, in a two-dimensional CAD system,
When the shape element E1 is designated when moving the shape F1 shown in FIG. 5, all the elements E1 to E5 are recognized as the elements to be moved based on the element relation data of the shape F1. Similarly, in the three-dimensional CAD system, when the shape element E10 is specified when the shape F2 shown in FIG. 6 is moved, all the elements E10 to E24 are the movement targets based on the element relation data of this shape F2. Recognized as an element.

【0045】このような形状要素の指定処理(認識処
理)が終了すると、パラメトリック形状編集処理部35
は、対象形状上のいずれかの点(移動基準点)の指定を
促すメッセージを表示し、これに応じてオペレータが入
力装置11を用いて指定した移動基準点を取込んで認識
し、認識した移動基準点をオペレータに視認させるべく
表示させる(ステップ101)。
When the shape element designation processing (recognition processing) is completed, the parametric shape edit processing unit 35 is executed.
Displays a message prompting the designation of any point (movement reference point) on the target shape, and accordingly, the operator takes in the movement reference point designated by using the input device 11 and recognizes it. The movement reference point is displayed so that the operator can visually recognize it (step 101).

【0046】なお、この際の指定方法としては、キーボ
ードやマウス等を用いた座標入力による。また、形状補
助データにおける原点を選択させるようにすることも可
能である。
As a designation method at this time, coordinate input using a keyboard, a mouse or the like is used. It is also possible to select the origin in the shape auxiliary data.

【0047】かかる処理の際には、認識した移動基準点
を含む形状要素を抽出してマークしておくことも行われ
ている。
At the time of such processing, a shape element including the recognized movement reference point is also extracted and marked.

【0048】実際上、移動基準点として形状要素の端点
が指定されることが多い。図5は、形状要素E3及びE
4に共通の端点P1が指定された場合を示しており、形
状要素E3及びE4がマークされる。図6は、形状要素
E18、E19及びE24に共通の端点P2が指定され
た場合を示しており、形状要素E18、E19及びE2
4がマークされる。
In practice, the end point of the shape element is often designated as the movement reference point. FIG. 5 shows the shape elements E3 and E.
4 shows the case where a common end point P1 is designated, and the shape elements E3 and E4 are marked. FIG. 6 shows a case where a common end point P2 is specified for the shape elements E18, E19, and E24, and the shape elements E18, E19, and E2 are specified.
4 is marked.

【0049】このような移動基準点の指定処理(認識処
理)が終了すると、パラメトリック形状編集処理部35
は、移動方向の指定を促すメッセージと移動基準軸とを
表示し、これに応じてオペレータが入力装置11を用い
て指定した移動基準軸を取込んで認識し、認識した移動
基準軸を固定表示させる(ステップ102)。
When the movement reference point designation processing (recognition processing) is completed, the parametric shape editing processing unit 35 is executed.
Displays a message for prompting the designation of the movement direction and the movement reference axis, and accordingly, the operator takes in and recognizes the movement reference axis designated using the input device 11, and the recognized movement reference axis is fixedly displayed. (Step 102).

【0050】例えば、最初に移動基準点を通ってx方向
に延びる移動基準軸を表示してこの軸で良いか否かをオ
ペレータに確認し、違う場合には次に移動基準点を通っ
てy方向に延びる移動基準軸を表示してこの軸で良いか
否かをオペレータに確認し、以下同様にして移動基準点
を通る候補の移動基準軸を変えていきながら指示された
移動基準軸を取り込む。候補の移動基準軸の変更順序
は、x方向、y方向、z方向(3次元CADシステムの
場合)、上述でマークした形状要素の内の直線要素の延
長方向の順である。
For example, first, a movement reference axis extending in the x direction through the movement reference point is displayed, and the operator is asked whether or not this axis is acceptable. The movement reference axis extending in the direction is displayed and the operator is asked whether or not this axis is acceptable. Similarly, while changing the movement reference axis of the candidate passing through the movement reference point, the designated movement reference axis is taken in. .. The change order of the candidate movement reference axes is the x direction, the y direction, the z direction (in the case of a three-dimensional CAD system), and the extension direction of the linear element among the shape elements marked above.

【0051】従って、移動基準点の指定の仕方によって
は、同一の形状を移動対象としている場合であっても、
候補の移動基準軸の個数や位置が異なるものとなる。
Therefore, depending on how to specify the movement reference point, even if the same shape is the movement target,
The number and position of the candidate movement reference axes are different.

【0052】2次元CADシステム(3次元CADシス
テムでも2次元状態で移動処理を行なう場合を含む)に
おいて、図7に示す形状F3に対し、点Aが移動基準点
と指定された場合は、移動基準軸の候補は軸Xa及びY
aとなり、Xa及びYaの順に候補が変化する(なお、
軸Yaを表示した状態で選択されない場合には軸Xaの
表示に戻る)。他方、図7に示す形状F3に対し、点B
が移動基準点と指定された場合は、移動基準軸の候補は
軸Xb、Yb及びAbとなり、Xb、Yb及びAbの順
に候補が変化する。また、3次元CADシステムにおい
て、図8に示す形状F4に対し、点Cが移動基準点と指
定された場合は、移動基準軸の候補は軸Xc、Yc及び
Zcとなり、この順に候補が変化する。他方、図8に示
す形状F4に対し、点Dが移動基準点と指定された場合
は、移動基準軸の候補は軸Xd、Yd、Zd及びAdと
なり、この順に候補が変化する。
In the two-dimensional CAD system (including the case where the three-dimensional CAD system also performs the movement processing in the two-dimensional state), when the point A is designated as the movement reference point with respect to the shape F3 shown in FIG. Candidate reference axes are axes Xa and Y
a, and the candidates change in the order of Xa and Ya (note that
If no selection is made with the axis Ya displayed, the display returns to the axis Xa). On the other hand, for the shape F3 shown in FIG.
Is designated as the movement reference point, the movement reference axis candidates are the axes Xb, Yb, and Ab, and the candidates change in the order of Xb, Yb, and Ab. Further, in the three-dimensional CAD system, when the point C is designated as the movement reference point for the shape F4 shown in FIG. 8, the movement reference axis candidates are the axes Xc, Yc, and Zc, and the candidates change in this order. .. On the other hand, when the point D is designated as the movement reference point for the shape F4 shown in FIG. 8, the candidates for the movement reference axis are the axes Xd, Yd, Zd, and Ad, and the candidates change in this order.

【0053】上述した図5及び図6は共に、x方向の移
動基準軸が指定された場合を示している。
Both FIG. 5 and FIG. 6 described above show the case where the movement reference axis in the x direction is designated.

【0054】このような移動基準軸の指定処理(認識処
理)が終了すると、パラメトリック形状編集処理部35
は、移動基準点の移動先座標の指定を促すメッセージを
表示し、これに応じてオペレータが入力装置11を用い
て指定した移動先座標を取込む(ステップ103)。な
お、この際にも移動基準軸は固定表示されている。
When the movement reference axis designation processing (recognition processing) is completed, the parametric shape editing processing unit 35 is executed.
Displays a message prompting the designation of the movement destination coordinates of the movement reference point, and in response thereto, takes in the movement destination coordinates designated by the operator using the input device 11 (step 103). The movement reference axis is also fixedly displayed at this time.

【0055】この指定方法として、キーボードによる表
示座標系での座標入力や形状補助データでの座標系での
座標入力も可能となされているが、マウスによる指定が
有効である。すなわち、マウスの移動に応じて移動基準
軸上でカーソルを移動させ、そのクリックによって移動
先座標を取り込むのが有効である。実際上、オペレータ
が演算や目測等によって移動先の座標値を得るよりは、
他の形状との位置関係から表示上で移動先の位置を求め
ることが簡単である。
As the specifying method, it is possible to input coordinates in the display coordinate system using the keyboard and coordinates in the coordinate system using the shape auxiliary data, but it is effective to specify using the mouse. That is, it is effective to move the cursor on the movement reference axis in accordance with the movement of the mouse and to click to capture the movement destination coordinates. Actually, rather than the operator obtaining the coordinate value of the destination by calculation or visual measurement,
It is easy to find the destination position on the display from the positional relationship with other shapes.

【0056】上述した図5は移動先座標として点P1A
が指定された場合を示しており、上述した図6は移動先
座標として点P2Aが指定された場合を示している。
In FIG. 5 described above, the point P1A is set as the destination coordinate.
Is designated, and FIG. 6 described above shows the case where the point P2A is designated as the movement destination coordinate.

【0057】このようにして移動先座標が指定される
と、この移動基準点の座標と移動先座標との差から移動
量情報を算出した後、ステップ100において編集対象
要素テーブルにセットした全ての形状要素に対する移動
先座標を算出して、編集要素テーブルや各種バッファメ
モリのメモリ内容を更新させると共に移動先形状を表示
させる(ステップ104)。なお、移動前の形状は継続
して表示されている。
When the movement destination coordinates are designated in this way, movement amount information is calculated from the difference between the coordinates of the movement reference point and the movement destination coordinates, and then all the movement amount information set in the element table to be edited in step 100 is calculated. The destination coordinates for the shape element are calculated, the memory contents of the edit element table and various buffer memories are updated, and the destination shape is displayed (step 104). The shape before the movement is continuously displayed.

【0058】なお、この実施例の場合、この段階で算出
される移動先座標は表示座標系における座標値、及び形
状データ本体や形状補助データにおける座標系での座標
値の双方であるが、この段階では図形記憶装置14には
格納されない。
In the case of this embodiment, the destination coordinates calculated at this stage are both the coordinate value in the display coordinate system and the coordinate value in the coordinate system in the shape data body or the shape auxiliary data. At the stage, it is not stored in the graphic storage device 14.

【0059】この処理によって、図5の場合には移動形
状F1Aが表示され、図6の場合には移動形状F2Aが
表示される。
By this processing, the moving shape F1A is displayed in the case of FIG. 5, and the moving shape F2A is displayed in the case of FIG.

【0060】この後、パラメトリック編集処理部35
は、他の軸方向に移動するか否かをオペレータに質問す
る(ステップ105)。
After this, the parametric edit processing unit 35
Asks the operator whether to move in the other axis direction (step 105).

【0061】他の軸方向への移動が指示されると、上述
のステップ102に戻る。図5は、さらにy軸方向への
移動処理も指示された場合を示しており、最終的な移動
形状は形状F1Bとなっている。
When the movement in the other axial direction is instructed, the process returns to step 102 described above. FIG. 5 shows a case where the movement processing in the y-axis direction is further instructed, and the final movement shape is the shape F1B.

【0062】このようにしてオペレータが指示した軸方
向への移動を少なくとも1回以上実行しオペレータがも
はや移動方向がない旨を指示すると、形状要素や移動基
準軸等の表示を消去した後、図形記憶装置14に移動先
形状を格納するか否かをオペレータに確認させ、格納指
示が与えられた場合に図形記憶装置14に対する格納動
作を実行し、格納指示が与えられない場合には格納する
ことなく一連の処理を終了する(ステップ106、10
7)。
In this way, when the operator performs the movement in the axial direction at least one time and the operator indicates that the movement direction is no longer present, after the display of the shape element, the movement reference axis, etc. is erased, the figure Have the operator confirm whether or not to store the destination shape in the storage device 14, execute the storage operation for the graphic storage device 14 when a storage instruction is given, and store it if no storage instruction is given. End the series of processing without any (steps 106, 10)
7).

【0063】このようにして、1個の形状要素の指定に
よりその形状要素を含む形状全体の移動を実行すること
ができ、しかも移動基準軸の表示によって移動先を容易
にオペレータが指示できるようにすることができる。
In this way, by designating one shape element, the movement of the entire shape including the shape element can be executed, and further, by displaying the movement reference axis, the operator can easily designate the movement destination. can do.

【0064】なお、上述した移動処理と、移動前の形状
及び移動後の形状の双方を記憶状態とする移動コピー処
理とはほぼ同様な処理であり、図形処理装置13内のバ
ッファメモリ及び図形記憶装置14に格納するメモリエ
リアが異なるだけである。そのため、移動コピー処理に
ついてはその詳細説明は省略する。
It should be noted that the above-described movement processing and the movement copy processing in which both the shape before the movement and the shape after the movement are stored are substantially the same processing, and the buffer memory and the shape storage in the graphic processing device 13 are the same. Only the memory areas stored in the device 14 are different. Therefore, the detailed description of the moving copy process is omitted.

【0065】図9は、移動処理と移動コピー処理とでの
メモリエリアの相違を示す説明図である。この図9
(A)に示すように、移動処理の場合、移動元形状のデ
ータが格納されていたメモリエリアに移動先形状のデー
タが格納されるのに対して、図9(B)に示すように、
移動コピー処理の場合、移動元形状のデータをそのまま
残して移動先形状のデータを別個のメモリエリアに格納
する。
FIG. 9 is an explanatory diagram showing the difference in memory area between the moving process and the moving copy process. This Figure 9
As shown in FIG. 9A, in the case of the moving process, while the data of the moving destination shape is stored in the memory area where the data of the moving source shape is stored, as shown in FIG.
In the case of the moving copy processing, the data of the movement source shape is left as it is and the data of the movement destination shape is stored in a separate memory area.

【0066】(B-2 )回転処理及び回転コピー処理 次に、パラメトリック形状編集処理部35が実行する回
転処理について説明する。
(B-2) Rotation Processing and Rotational Copy Processing Next, the rotation processing executed by the parametric shape editing processing unit 35 will be described.

【0067】図10は、かかる回転処理を示すフローチ
ャートである。また、図11及び図12はこの回転処理
についての表示画像内容の説明図である。
FIG. 10 is a flow chart showing this rotation processing. Further, FIG. 11 and FIG. 12 are explanatory diagrams of the display image contents regarding this rotation processing.

【0068】対象とする形状が含まれている画像が図形
表示装置12に表示されている状態において、パラメト
リック形状編集処理部35は、対象形状に含まれている
いずれかの形状要素の指定を促すメッセージを表示し、
これに応じてオペレータが入力装置11を用いて指定し
た形状要素を取込み、上述した要素関係データに基づい
て指定形状要素を含む形状の全ての形状要素を認識し、
認識した形状要素を他の形状要素と区別して表示させる
(ステップ200)。
In the state where the image including the target shape is displayed on the graphic display device 12, the parametric shape edit processing unit 35 prompts the designation of any shape element included in the target shape. Display a message,
In response to this, the operator takes in the shape element designated by using the input device 11, recognizes all the shape elements of the shape including the designated shape element based on the above-mentioned element relation data,
The recognized shape element is displayed separately from other shape elements (step 200).

【0069】かかる処理の際には、認識した形状要素
を、編集対象要素テーブルにセットすることも行われて
いる。
At the time of such processing, the recognized shape element is also set in the edit target element table.

【0070】例えば、2次元CADシステムにおいて、
図11に示す形状F5を回転する場合に、形状要素E3
1が指定されると、この形状F5の要素関係データに基
づいて全ての要素E31〜E36が回転対象の要素とし
て認識される。同様に、3次元CADシステムにおい
て、図12に示す形状F6を回転する場合に、形状要素
E41が指定されると、この形状F6の要素関係データ
に基づいて全ての要素E41〜E52が回転対象の要素
として認識される。
For example, in a two-dimensional CAD system,
When rotating the shape F5 shown in FIG. 11, the shape element E3 is rotated.
When 1 is specified, all the elements E31 to E36 are recognized as elements to be rotated based on the element relation data of the shape F5. Similarly, in the three-dimensional CAD system, when the shape element E41 is specified when the shape F6 shown in FIG. 12 is rotated, all the elements E41 to E52 are to be rotated based on the element relation data of the shape F6. Recognized as an element.

【0071】このような形状要素の指定処理(認識処
理)が終了すると、パラメトリック形状編集処理部35
は、回転基準を任意に設定するか標準のものを用いるか
をメッセージを表示してオペレータに質問する(ステッ
プ201)。
When such shape element designation processing (recognition processing) is completed, the parametric shape edit processing unit 35 is executed.
Displays a message to ask the operator whether to arbitrarily set the rotation reference or use a standard rotation (step 201).

【0072】任意設定するという指示が得られると、対
象形状上のいずれかの点(回転基準点)の指定を促すメ
ッセージを表示し、これに応じてオペレータが入力装置
11を用いて指定した回転基準点を取込んで認識し、認
識した移動基準点をオペレータに視認させるべく表示さ
せる(ステップ202)。なお、この際の指定方法とし
ては、キーボードやマウスを用いた座標入力による。ま
た、形状補助データにおける原点を選択させるようにす
ることも可能である。
When an instruction to arbitrarily set is obtained, a message prompting the designation of any point (rotation reference point) on the target shape is displayed, and in response to this, the rotation designated by the operator using the input device 11 is displayed. The reference point is taken in and recognized, and the recognized movement reference point is displayed so as to be visually recognized by the operator (step 202). The designation method at this time is based on coordinate input using a keyboard or a mouse. It is also possible to select the origin in the shape auxiliary data.

【0073】かかる処理の際には、認識した回転基準点
を含む形状要素を抽出してマークしておくことも行われ
ている。
At the time of such processing, a shape element including the recognized rotation reference point is also extracted and marked.

【0074】実際上、任意設定における回転基準点とし
て形状要素の端点が指定されることが多い。図11は、
形状要素E35及びE36に共通の端点P3が指定され
た場合を示しており、形状要素E35及びE36がマー
クされる。図12は、形状要素E41、E44及びE4
5に共通の端点P4が指定された場合を示しており、形
状要素E41、E44及びE45がマークされる。
In practice, the end point of the shape element is often designated as the rotation reference point in any setting. FIG. 11 shows
This shows a case where a common end point P3 is specified for the shape elements E35 and E36, and the shape elements E35 and E36 are marked. FIG. 12 shows the shape elements E41, E44 and E4.
5 shows the case where the common end point P4 is designated, and the shape elements E41, E44 and E45 are marked.

【0075】このような回転基準点の指定処理(認識処
理)が終了すると、パラメトリック形状編集処理部35
は、回転基準軸の指定を促すメッセージと回転基準軸の
候補とを表示し、これに応じてオペレータが入力装置1
1を用いて指定した回転基準軸を取込んで認識し、認識
した回転基準軸を固定表示させる(ステップ203)。
When the rotation reference point designation processing (recognition processing) is completed, the parametric shape editing processing unit 35 is executed.
Displays a message prompting the user to specify the rotation reference axis and candidates for the rotation reference axis. In response to this, the operator inputs the input device 1
The rotation reference axis designated by 1 is taken in and recognized, and the recognized rotation reference axis is fixedly displayed (step 203).

【0076】例えば、最初に回転基準点を通ってx方向
に延びる回転基準軸を表示してこの軸で良いか否かをオ
ペレータに確認し、違う場合には次に回転基準点を通っ
てy方向に延びる回転基準軸を表示してこの軸で良いか
否かをオペレータに確認し、以下同様にして回転基準点
を通る候補の回転基準軸を変えていきながら指示された
回転基準軸を取り込む。候補の回転基準軸の変更順序
は、x方向、y方向、z方向(2次元CADシステムの
場合も含む)、上述でマークした形状要素の内の直線要
素の延長方向の順である。
For example, first, a rotation reference axis extending in the x direction through the rotation reference point is displayed and the operator is asked whether this axis is acceptable. If not, then the rotation reference point is passed through y. The rotation reference axis extending in the direction is displayed and the operator is asked whether or not this axis is acceptable. Similarly, while changing the candidate rotation reference axis that passes through the rotation reference point, the specified rotation reference axis is taken in. .. The candidate rotation reference axes are changed in the order of the x direction, the y direction, the z direction (including the case of the two-dimensional CAD system), and the extension direction of the linear element among the shape elements marked above.

【0077】他方、ステップ201に処理における質問
に対してオペレータが標準設定を指示した場合には、表
示座標系における原点を通る候補の回転基準軸を順次表
示して指示を促し、指示された回転基準軸を取り込む
(ステップ204)。この場合の候補の回転基準軸の変
更順序は、原点を通るx方向、y方向、z方向の順であ
る。
On the other hand, when the operator gives an instruction for standard setting to the question in the processing in step 201, candidate rotation reference axes passing through the origin in the display coordinate system are sequentially displayed to prompt the instruction, and the designated rotation is given. The reference axis is fetched (step 204). In this case, the candidate rotation reference axes are changed in the order of x-direction, y-direction, and z-direction passing through the origin.

【0078】上述した図11は回転基準点P3を通るz
方向(図面の垂直方向)の回転基準軸が指定された場合
を示しており、上述した図12は回転基準点P4を通る
x方向の回転基準軸が指定された場合を示している。
FIG. 11 described above shows z passing through the rotation reference point P3.
The rotation reference axis in the direction (vertical direction of the drawing) is designated, and FIG. 12 described above shows the case where the rotation reference axis in the x direction passing through the rotation reference point P4 is designated.

【0079】このような回転基準軸の指定処理(認識処
理)が終了すると、パラメトリック形状編集処理部35
は、所定の回転方向(例えば回転基準軸を中心とした反
時計回り)についての回転角度の指定を促すメッセージ
を表示し、これに応じてオペレータが入力装置11を用
いて指定した回転角度を取込む(ステップ205)。な
お、この際にも回転基準軸は固定表示されている。
When the rotation reference axis designation processing (recognition processing) is completed, the parametric shape editing processing unit 35 is executed.
Displays a message prompting the user to specify the rotation angle in a predetermined rotation direction (for example, counterclockwise around the rotation reference axis), and in response to this, the operator selects the rotation angle specified using the input device 11. (Step 205). At this time, the rotation reference axis is also fixedly displayed.

【0080】上述した図11は回転角度として角θ1が
指定された場合を示しており、上述した図12は回転角
度として角θ2が指定された場合を示している。
FIG. 11 described above shows the case where the angle θ1 is designated as the rotation angle, and FIG. 12 described above shows the case where the angle θ2 is designated as the rotation angle.

【0081】このようにして回転角度が指定されると、
ステップ200において編集対象要素テーブルにセット
した全ての形状要素に対する回転先座標を算出して、編
集対象要素テーブルや各種バッファメモリのメモリ内容
を更新させると共に回転形状を表示させる(ステップ2
06)。
When the rotation angle is designated in this way,
The rotation destination coordinates for all the shape elements set in the edit target element table in step 200 are calculated, the memory contents of the edit target element table and various buffer memories are updated, and the rotated shape is displayed (step 2
06).

【0082】なお、この実施例の場合、この段階で算出
される回転座標は表示座標系における座標値、及び形状
データ本体や形状補助データにおける座標系での座標値
の双方であるが、この段階では図形記憶装置14には格
納されない。
In the case of this embodiment, the rotation coordinates calculated at this stage are both the coordinate values in the display coordinate system and the coordinate values in the coordinate system in the shape data body and the shape auxiliary data. Is not stored in the graphic storage device 14.

【0083】この処理によって、図11の場合には回転
後形状F5Aが表示され、図12の場合には回転後形状
F6Aが表示される。
By this processing, the rotated shape F5A is displayed in the case of FIG. 11, and the rotated shape F6A is displayed in the case of FIG.

【0084】この後、パラメトリック編集処理部35
は、他の回転基準軸を中心とした回転を行なうか否かを
オペレータに質問する(ステップ207)。
After this, the parametric edit processing section 35
Asks the operator whether or not to rotate around another rotation reference axis (step 207).

【0085】他の軸方向に対しても回転するという指示
が与えられると、上述のステップ201に戻る。なお、
図11及び図12は、1個の回転基準軸を中心とした回
転が指示された場合を示している。
When the instruction to rotate also in other axial directions is given, the process returns to step 201 described above. In addition,
11 and 12 show a case where the rotation about one rotation reference axis is instructed.

【0086】このようにしてオペレータが指示した回転
基準軸を中心とした回転を少なくとも1回以上実行し、
新たな回転方向がない旨が指示されると、形状要素や軸
の表示を消去した後、図形記憶装置14に回転形状を格
納するか否かをオペレータに確認させ、格納指示が与え
られた場合に図形記憶装置14に対する格納動作を実行
し、他方、格納指示が与えられない場合には格納するこ
となく一連の処理を終了する(ステップ208、20
9)。
In this way, the rotation around the rotation reference axis designated by the operator is executed at least once,
When it is instructed that there is no new rotation direction, after deleting the display of the shape elements and axes, the operator is asked to confirm whether or not to store the rotation shape in the graphic storage device 14, and the storage instruction is given. When the storage instruction is not given, on the other hand, the series of processing is terminated without storing (steps 208, 20).
9).

【0087】このようにして、1個の形状要素の指定に
よりその形状要素を含む形状全体の回転を実行すること
ができ、しかも回転基準軸の表示によって回転中心を明
確に視認させることができる。
In this way, by designating one shape element, the rotation of the entire shape including the shape element can be performed, and the center of rotation can be clearly visually recognized by displaying the rotation reference axis.

【0088】なお、上述した回転処理と、回転前の形状
及び回転後の形状の双方を記憶状態とする回転コピー処
理とはほぼ同様な処理であり、図形処理装置13内のバ
ッファメモリ及び図形記憶装置14に格納するメモリエ
リアが異なるだけである。そのため、回転コピー処理に
ついてはその詳細な説明は省略する(図9参照)。
The above-described rotation processing and the rotation copy processing in which both the pre-rotation shape and the post-rotation shape are stored are substantially the same processing, and the buffer memory and the graphic storage in the graphic processing device 13 are the same. Only the memory areas stored in the device 14 are different. Therefore, detailed description of the rotary copy process is omitted (see FIG. 9).

【0089】(B-3 )スイープ処理 スイープ処理を説明する前に、まず、スイープ編集によ
る形状変化を説明する。図13は、スイープ処理前後の
図形形状を示すものである。図13(A)は、処理前の
図形形状を示したものであり、この例は直方体の例であ
る。スイープ処理としては、スイープ方向が指示された
ときにその方向と平行な同一パラメータ(長さが共通)
を有する全ての形状要素を引き伸ばしたり縮めたりする
パラメトリック形状編集処理部35が行なうスイープ
(以下、パラメトリックスイープと呼ぶ)と、スイープ
方向が指示されたときにその方向と平行なある形状要素
を引き伸ばしたり縮めたりする形状要素編集処理部34
が行なうスイープ(以下、個別スイープと呼ぶ)とがあ
る。図13(B)は、パラメトリックスイープの処理後
の図形形状を示すものである。この例では、スイープ方
向としてz方向が指示され、z方向の全ての直線E61
〜E64がその方向に長さD2−D1だけ引き伸ばされ
ている。図13(C)は、個別スイープの処理後の図形
形状を示すものである。この例では、スイープ方向とし
てz方向が指示され、直線E61及びE62について個
別に長さD2−D1だけ引き伸ばされている。
(B-3) Sweep Processing Before explaining the sweep processing, the shape change due to the sweep edit will be described first. FIG. 13 shows a graphic shape before and after the sweep process. FIG. 13A shows a graphic shape before processing, and this example is an example of a rectangular parallelepiped. As for the sweep process, when the sweep direction is specified, the same parameter parallel to that direction (common length)
A sweep performed by the parametric shape edit processing unit 35 (hereinafter, referred to as parametric sweep) that stretches or shrinks all shape elements that have, and a shape element that is parallel to the sweep direction when the sweep direction is designated. Shape element edit processing unit 34 that contracts
There is a sweep (hereinafter referred to as an individual sweep). FIG. 13B shows the figure shape after the parametric sweep processing. In this example, the z direction is designated as the sweep direction, and all straight lines E61 in the z direction are indicated.
~ E64 is stretched in that direction by a length D2-D1. FIG. 13C shows the figure shape after the processing of the individual sweep. In this example, the z direction is designated as the sweep direction, and the straight lines E61 and E62 are individually stretched by the length D2-D1.

【0090】次に、パラメトリック形状編集処理部35
が行なうパラメトリックスイープ処理を図14のフロー
チャート及び図15のスイープ説明図を参照しながら説
明する。
Next, the parametric shape edit processing section 35.
Parametric sweep processing performed by the above will be described with reference to the flowchart of FIG. 14 and the sweep explanatory diagram of FIG.

【0091】入力装置11からパラメトリックスイープ
処理が指定されると、図14に示す処理を開始する。そ
してまず、対象とする形状が含まれている画像が図形表
示装置12に表示されている状態において、パラメトリ
ック形状編集処理部35は、対象形状に含まれているい
ずれかの形状要素の指定を促すメッセージを表示し、こ
れに応じてオペレータが入力装置11を用いて指定した
形状要素を取込み、上述した要素関係データに基づいて
指定形状要素を含む形状の全ての形状要素を認識し、認
識した形状要素を他の形状要素と区別して表示させる
(ステップ300)。かかる処理の際には、認識した全
ての形状要素を、編集対象要素テーブルにセットするこ
とも行われている。
When the parametric sweep process is designated by the input device 11, the process shown in FIG. 14 is started. Then, first, in a state where the image including the target shape is displayed on the graphic display device 12, the parametric shape editing processing unit 35 prompts the designation of any shape element included in the target shape. A message is displayed, and in response to this, the operator takes in the shape element specified by using the input device 11, recognizes all the shape elements including the specified shape element based on the above-mentioned element relation data, and recognizes the shape. The element is displayed separately from other shape elements (step 300). At the time of such processing, all the recognized shape elements are also set in the edit target element table.

【0092】次に、指定された形状要素を含むいずれか
の面の指定を促すメッセージを表示し、これに応じてオ
ペレータが入力装置11を用いて指定した面を取込み、
この面と交差する、いずれかの形状要素と平行なスイー
プ方向基準軸を決定して表示させる(ステップ301、
302)。例えば、指定された形状要素を含む面を表示
してはこの面を指定するか否かを質問して指定された面
を取込むようにする。また、指定された面を構成する1
個の形状要素の中心点を始点としてスイープ方向基準軸
を表示する。
Next, a message prompting the designation of any surface including the designated shape element is displayed, and in response to this, the operator takes in the surface designated by using the input device 11,
A sweep direction reference axis that intersects this plane and is parallel to any shape element is determined and displayed (step 301,
302). For example, a surface including a specified shape element is displayed, and a question is asked as to whether or not this surface is specified, and the specified surface is taken in. In addition, 1 which constitutes the designated surface
The sweep direction reference axis is displayed starting from the center point of each shape element.

【0093】ここで、この面指定は、スイープによって
長さを変更するパラメータデータが同一の(長さが共通
な)複数の形状要素を指定したことを意味し、また、こ
れら形状要素の長さ変更によってその方向に位置が変更
される対向する面を指定したことを意味する。
Here, this face designation means that a plurality of shape elements having the same parameter data (having a common length) whose length is changed by sweeping are designated, and the lengths of these shape elements are designated. This means that you have specified the opposite faces whose position will be changed in that direction by the change.

【0094】例えば、図15(A)に示す直方体形状が
スイープ対象形状F7であって、形状要素(直線)E7
1が指定された場合には、この形状要素E71を含む面
S1又はS6の指定を促す。面S1が指定された場合に
は、例えば、図15(B)に示すように、この面S1を
構成する形状要素E74の中心P5を端点とする、しか
もこの面S1と交差する形状要素E75〜E78と平行
なスイープ方向基準線を表示する。ここで、形状要素E
75〜E78がスイープによって長さが変更される形状
要素となり、面S2が位置が変更される面となる。
For example, the rectangular parallelepiped shape shown in FIG. 15A is the sweep target shape F7, and the shape element (straight line) E7.
When 1 is designated, the designation of the surface S1 or S6 including the shape element E71 is prompted. When the surface S1 is designated, for example, as shown in FIG. 15B, the shape element E75 to which the center P5 of the shape element E74 forming this surface S1 is an end point and which intersects with this surface S1 The sweep direction reference line parallel to E78 is displayed. Where the shape element E
75 to E78 are shape elements whose length is changed by the sweep, and the surface S2 is a surface whose position is changed.

【0095】次に、パラメトリック形状編集処理部35
は、スイープ先の位置の指定を促すメッセージを表示
し、これに応じてオペレータが入力装置11を用いて指
定したスイープ先の位置を取込む(ステップ303)。
なお、この際にもスイープ方向基準軸は固定表示されて
いる。この指定方法として、キーボードによる表示座標
系での座標入力や形状補助データでの座標系での座標入
力も可能となされているが、マウスによる指定が有効で
ある。すなわち、マウスの移動に応じてスイープ方向基
準軸上でカーソルを移動させ、そのクリックによってス
イープ先の位置を取り込むのが有効である。実際上、オ
ペレータが演算や目測等によってスイープ位置の座標値
を得るよりは、他の形状との位置関係から表示上でスイ
ープ位置を求めることが簡単である。
Next, the parametric shape edit processing unit 35.
Displays a message prompting the user to specify the position of the sweep destination, and in response thereto, takes in the position of the sweep destination designated by the operator using the input device 11 (step 303).
In this case also, the sweep direction reference axis is fixedly displayed. As a method for specifying this, it is possible to input coordinates in the display coordinate system using a keyboard and coordinates in the coordinate system using shape auxiliary data, but it is effective to specify using a mouse. That is, it is effective to move the cursor on the reference axis of the sweep direction according to the movement of the mouse, and click to capture the position of the sweep destination. Actually, it is easier for the operator to obtain the sweep position on the display from the positional relationship with other shapes, rather than obtaining the coordinate value of the sweep position by calculation or visual measurement.

【0096】このようにしてスイープ先の位置が指定さ
れると、この位置の座標とスイープ方向基準線の基準点
との差から移動量情報を算出した後、ステップ300に
おいて編集対象要素テーブルにセットした全ての形状要
素に対する変更座標を算出して、編集要素テーブルや各
種バッファメモリのメモリ内容を更新させると共にスイ
ープ形状をも元の形状と共に表示させる(ステップ30
4)。
When the position of the sweep destination is designated in this way, movement amount information is calculated from the difference between the coordinates of this position and the reference point of the sweep direction reference line, and then set in the element table to be edited in step 300. The changed coordinates for all the shape elements are calculated, the edit element table and the memory contents of various buffer memories are updated, and the sweep shape is displayed together with the original shape (step 30).
4).

【0097】かかる処理を詳述すると、スイープ先の位
置の座標とスイープ方向基準線の基準点との差を、スイ
ープ方向基準線に平行な形状要素の長さ(新たなパラメ
ータデータ)として捕らえ、これら形状要素の一端の座
標をこの長さによって更新すると共に、この一端を端部
とする形状要素の座標も変更する。例えば、図15
(C)に示すように、スイープ先の位置として点P6が
指定されると、点P5及びP6間の長さDSを検出し、
形状要素E75〜E78の面S2に交差する端点の座標
をこれに応じて変更し、また、形状要素E75〜E78
についてのパラメータデータもこれに応じて変更し、さ
らに、面S2を構成する全ての形状要素E79〜E82
の端点座標もこれに応じて変更する。これによりスイー
プ後の形状F7Aが表示される。
More specifically, such a process will be described. The difference between the coordinates of the position of the sweep destination and the reference point of the sweep direction reference line is captured as the length of the shape element parallel to the sweep direction reference line (new parameter data), The coordinates of one end of these shape elements are updated by this length, and the coordinates of the shape element having this one end as an end are also changed. For example, in FIG.
As shown in (C), when the point P6 is designated as the position of the sweep destination, the length DS between the points P5 and P6 is detected,
The coordinates of the end points of the shape elements E75 to E78 intersecting the surface S2 are changed accordingly, and the shape elements E75 to E78 are changed.
The parameter data of the above is also changed accordingly, and further, all the shape elements E79 to E82 that form the surface S2 are changed.
The end point coordinates of are also changed accordingly. As a result, the shape F7A after the sweep is displayed.

【0098】このようなスイープ前後の形状及びスイー
プ方向基準線を表示させている状態で、新たなスイープ
形状で良いか否かを質問し、すなわち、図形記憶装置1
4に格納させるか否かを質問し、否定結果を得た場合に
は上述したステップ303のスイープ位置の指定処理に
戻り、肯定結果を得た場合には図形記憶装置14に対す
る格納動作を実行する(ステップ305、306)。な
お、この場合には、面定義テーブル及びブロック定義テ
ーブルを変更することなく、形状要素テーブルに対する
格納動作を実行する(図4参照)。すなわち、スイープ
処理によっては形状要素の端点座標等が変化されるだけ
であり、面を構成する形状要素の種類やブロックを構成
する面の種類が変更されることはない。従って、これら
の形状要素を格納するメモリエリアは、新たなメモリエ
リアではなく、今までデータを格納していたエリアとな
る。
In the state where the shape before and after the sweep and the sweep direction reference line are displayed, it is asked whether or not a new sweep shape is acceptable, that is, the graphic storage device 1
4 is stored. If a negative result is obtained, the process returns to the sweep position designation processing in step 303 described above, and if a positive result is obtained, the storing operation for the graphic storage device 14 is executed. (Steps 305 and 306). In this case, the storage operation for the shape element table is executed without changing the surface definition table and the block definition table (see FIG. 4). That is, the sweep processing only changes the end point coordinates of the shape element, and does not change the type of shape element forming a surface or the type of surface forming a block. Therefore, the memory area for storing these shape elements is not a new memory area but an area for storing data until now.

【0099】このようにして少ない指定操作によって、
パラメータデータが同一の形状要素の長さを同時に変更
することができ、それら形状要素と交差する面に含まれ
る形状要素の端点座標を変更することができる。
In this way, with a small number of specifying operations,
The lengths of shape elements having the same parameter data can be changed at the same time, and the end point coordinates of the shape elements included in the plane intersecting with the shape elements can be changed.

【0100】なお、3次元CADシステムで実際にスイ
ープ処理した際の形状の表示変化を図16(A)〜
(C)に示す。
The display changes of the shape when the sweep processing is actually performed by the three-dimensional CAD system are shown in FIG.
It shows in (C).

【0101】次に、形状要素編集処理部34が行なう個
別スイープ処理を、図17のフローチャート及び図18
のスイープ説明図を用いて説明する。
Next, the individual sweep processing performed by the shape element edit processing unit 34 will be described with reference to the flowchart of FIG. 17 and FIG.
This will be described with reference to the sweep explanatory diagram.

【0102】入力装置11から個別スイープ処理が指定
されると、図17に示す処理を開始する。そしてまず、
対象とする形状が含まれている画像が図形表示装置12
に表示されている状態において、形状要素編集処理部3
4は、対象形状に含まれているいずれかの形状要素の指
定を促すメッセージを表示し、これに応じてオペレータ
が入力装置11を用いて指定した形状要素を取込み、上
述した要素関係データに基づいて指定形状要素を含む形
状の全ての形状要素を認識し、認識した形状要素を他の
形状要素と区別して表示させる(ステップ400)。か
かる処理の際には、認識した全ての形状要素を、編集対
象要素テーブルにセットすることも行われている。な
お、パラメトリックスイープ処理とは異なって個別スイ
ープ処理では、指定された形状要素自体がスイープされ
るものである(長さが変更されるものである)。
When the individual sweep process is designated from the input device 11, the process shown in FIG. 17 is started. And first,
The image including the target shape is displayed on the graphic display device 12.
In the state displayed in, the shape element edit processing unit 3
4 displays a message prompting the designation of any shape element included in the target shape, and in response to this, the operator takes in the shape element designated using the input device 11, and based on the above-mentioned element relation data. All the shape elements including the designated shape element are recognized, and the recognized shape element is displayed separately from other shape elements (step 400). At the time of such processing, all the recognized shape elements are also set in the edit target element table. Note that, unlike the parametric sweep process, in the individual sweep process, the specified shape element itself is swept (the length is changed).

【0103】次に、スイープ基準点の指定を促すメッセ
ージを表示し、これに応じてオペレータが入力装置11
を用いて指定したスイープ基準点を取込み、このスイー
プ基準点に応じたスイープ方向基準軸を決定して表示さ
せる(ステップ401、402)。例えば、指定された
形状要素の一方の端点、他方の端点又は中心点を表示し
てはこの点を指定するか否かを質問して指定された基準
点を取込むようにする。ここで、形状要素の端点がスイ
ープ基準点として指定された場合には、この指定された
端点から他方の端点に向かうしかもその端点を越えてス
イープが可能な位置まで伸びるスイープ方向基準軸を表
示する。また、形状要素の中心点がスイープ基準点とし
て指定された場合には、この指定された中心点から両端
点に向かうしかもその両端点を越えてスイープが可能な
位置まで伸びるスイープ方向基準軸を表示する。
Next, a message prompting the designation of the sweep reference point is displayed, and the operator responds to this by input device 11
The sweep reference point designated by using is taken in, and the sweep direction reference axis corresponding to the sweep reference point is determined and displayed (steps 401, 402). For example, one end point, the other end point, or the center point of the designated shape element is displayed, and a question is asked as to whether or not this point is designated, and the designated reference point is taken in. Here, when the end point of the shape element is designated as the sweep reference point, the sweep direction reference axis that extends from the designated end point to the other end point and extends beyond that end point to a position where sweeping is possible is displayed. .. When the center point of the shape element is designated as the sweep reference point, the sweep direction reference axis that extends from the designated center point to both end points and extends beyond the both end points to the position where sweeping is possible is displayed. To do.

【0104】例えば、図18(A)に示す直方体形状F
8がスイープ対象形状であって、形状要素(直線)E9
1が指定された場合には、この形状要素E91の両端点
及び中心点からスイープ基準点を選択させる。一方の端
点P7が指定された場合には図18(B1)に示すよう
にスイープ方向基準軸を表示し、他方の端点P8が指定
された場合には図18(B2)に示すようにスイープ方
向基準軸を表示し、中心点P9が指示された場合には図
18(B3)に示すようにスイープ方向基準軸を表示す
る。
For example, a rectangular parallelepiped shape F shown in FIG.
8 is the shape to be swept, and the shape element (straight line) E9
When 1 is designated, the sweep reference point is selected from both end points and the center point of this shape element E91. When one end point P7 is designated, the sweep direction reference axis is displayed as shown in FIG. 18 (B1), and when the other end point P8 is designated, the sweep direction is shown as shown in FIG. 18 (B2). The reference axis is displayed, and when the center point P9 is designated, the sweep direction reference axis is displayed as shown in FIG. 18 (B3).

【0105】次に、形状要素編集処理部34は、スイー
プ先の位置の指定を促すメッセージを表示し、これに応
じてオペレータが入力装置11を用いて指定したスイー
プ位置を取込む(ステップ403)。なお、この際にも
スイープ方向基準軸は固定表示されている。この指定方
法として、キーボードによる表示座標系での座標入力や
形状補助データでの座標系での座標入力も可能となされ
ているが、この場合にもマウスによる指定が有効であ
る。すなわち、マウスの移動に応じてスイープ方向基準
軸上でカーソルを移動させ、そのクリックによってスイ
ープ位置を取り込むのが有効である。なお、形状要素の
中心点が基準点として指定された場合には、基準点を挾
んだ両側のスイープ先の位置を取込む。
Next, the shape element edit processing unit 34 displays a message prompting the designation of the position of the sweep destination, and in response to this, the operator takes in the sweep position designated using the input device 11 (step 403). .. In this case also, the sweep direction reference axis is fixedly displayed. As the designation method, it is possible to input the coordinates in the display coordinate system using the keyboard and the coordinates in the coordinate system using the auxiliary shape data, but in this case, the designation using the mouse is also effective. That is, it is effective to move the cursor on the reference axis of the sweep direction according to the movement of the mouse, and click to capture the sweep position. When the center point of the shape element is designated as the reference point, the positions of the sweep destinations on both sides of the reference point are captured.

【0106】このようにしてスイープ先の位置が指定さ
れると、このスイープ先の位置の座標を指定された形状
要素の端点とすると共に、この指定された形状要素の端
点を一方の端点とする他の形状要素の端点座標を変更し
て編集要素テーブルや各種バッファメモリのメモリ内容
を更新させると共にスイープ形状を元の形状と共に表示
させる(ステップ404)。また、この座標変更に応じ
てパラメータデータをも更新する。
When the position of the sweep destination is designated in this way, the coordinates of the position of the sweep destination are set as the end points of the designated shape element, and the end points of the designated shape element are set as one end point. The end point coordinates of other shape elements are changed to update the memory contents of the edit element table and various buffer memories, and the sweep shape is displayed together with the original shape (step 404). The parameter data is also updated according to this coordinate change.

【0107】例えば、図18(C1)に示すように、一
方の端点P7が基準点として指定された場合においてス
イープ先の位置として点P10が指定されると、点P1
0の座標をその形状要素E91の基準点P7ではない側
の端点座標とすると共にこれに応じてパラメータデータ
を更新する。例えば、この形状要素E91には、今まで
同一のパラメータデータが付与されていた形状要素とは
別個の新たなパラメータデータが付与されることにな
る。また、例えば、図18(C2)に示すように、中心
点P9が基準点として指定された場合においてスイープ
先の位置として点P11及びP12が指定されると、点
P11及びP12の座標をその形状要素の端点座標とす
ると共にこれに応じてパラメータデータを更新する。
For example, as shown in FIG. 18C1, when one end point P7 is designated as the reference point and the point P10 is designated as the sweep destination position, the point P1 is designated.
The coordinate of 0 is set as the end point coordinate of the shape element E91 on the side other than the reference point P7, and the parameter data is updated accordingly. For example, the shape element E91 is given new parameter data different from the shape element to which the same parameter data has been given until now. Further, for example, as shown in FIG. 18C2, when the center point P9 is designated as the reference point and the points P11 and P12 are designated as the positions of the sweep destination, the coordinates of the points P11 and P12 are changed to the shape thereof. The end point coordinates of the element are set and the parameter data is updated accordingly.

【0108】このようなスイープ前後の形状及びスイー
プ方向基準線を表示させている状態で、次には、他に個
別スイープ処理する形状要素があるか否かを質問する
(ステップ405)。ある場合には上述したステップ4
00に戻り、ない場合には新たなスイープ形状を図形記
憶装置14に格納させるか否かを質問する(ステップ4
06)。否定結果を得た場合には一連の処理を直ちに終
了し、他方、肯定結果を得た場合には図形記憶装置14
に対する格納動作を実行する(ステップ407)。な
お、この場合にも、面定義テーブル及びブロック定義テ
ーブルを変更することなく、形状要素テーブルに対する
格納動作を実行する。すなわち、スイープ処理によって
は形状要素の端点座標等が変化されるだけであり、面を
構成する形状要素の種類やブロックを構成する面の種類
が変更されることはない。従って、これらの形状要素を
格納するメモリエリアは、新たなメモリエリアではな
く、今までデータを格納していたエリアとなる。
While the shape before and after the sweep and the sweep direction reference line are displayed, it is next asked whether or not there is another shape element to be subjected to the individual sweep processing (step 405). If so, step 4 above
Return to 00, and if not, ask whether to store a new sweep shape in the graphic storage device 14 (step 4).
06). When a negative result is obtained, the series of processing is immediately terminated, while when a positive result is obtained, the graphic storage device 14
The storing operation for is executed (step 407). Even in this case, the storing operation for the shape element table is executed without changing the surface definition table and the block definition table. That is, the sweep processing only changes the end point coordinates of the shape element, and does not change the type of shape element forming a surface or the type of surface forming a block. Therefore, the memory area for storing these shape elements is not a new memory area but an area for storing data until now.

【0109】このようにして少ない指定操作によって、
個別の形状要素の長さをスイープによって変更すること
ができ、この形状要素と交差する形状要素の端点座標を
変更することができる。
In this way, with a small number of specifying operations,
The length of an individual shape element can be changed by sweeping, and the end point coordinates of the shape element intersecting with this shape element can be changed.

【0110】図18(D)は、2個の形状要素E91及
びE92ついて同一方向に同一量ずつ個別にスイープさ
せた後の形状F8Aを示すものである。
FIG. 18D shows the shape F8A after the two shape elements E91 and E92 are individually swept by the same amount in the same direction.

【0111】このようにして、個別スイープの場合も、
スイープ方向基準軸の表示によってスイープ位置を容易
にオペレータが指示できるようにすることができる。
In this way, even in the case of individual sweep,
The display of the sweep direction reference axis allows the operator to easily specify the sweep position.

【0112】(C)実施例の効果 上述の実施例によれば、以下の効果を得ることができ
る。
(C) Effects of the Embodiment According to the above-mentioned embodiment, the following effects can be obtained.

【0113】移動処理及び移動コピー処理において、移
動方向を指示する移動基準軸を表示してオペレータに移
動先を指示させるようにしたので、従来に比べて移動先
の指示がし易いものとなると共に移動先の指定ミスが減
少し、操作をやり直すようなことを防止することができ
る。その結果、移動処理時間も短くなる。
In the moving process and the moving copying process, the moving reference axis for instructing the moving direction is displayed so that the operator can instruct the moving destination. Therefore, it becomes easier to instruct the moving destination as compared with the conventional method. It is possible to reduce mistakes in designation of the destination and prevent the operation from being redone. As a result, the movement processing time also becomes shorter.

【0114】また、回転処理及び回転コピー処理におい
て、回転中心軸たる回転基準軸を表示させるようにした
ので、オペレータが回転中心を視認できて回転方向を確
認することができ、誤った回転処理を実行することを従
来より格段的に少なくさせることができる。その結果、
回転処理時間も短くなる。
Further, in the rotation processing and the rotation copying processing, the rotation reference axis which is the rotation center axis is displayed, so that the operator can visually recognize the rotation center and confirm the rotation direction, and the wrong rotation processing can be performed. It is possible to significantly reduce the amount of execution. as a result,
The rotation processing time also becomes shorter.

【0115】さらに、スイープ処理において、スイープ
方向基準軸を表示させてスイープ位置をオペレータに指
示させるようにしたので、従来に比べてスイープ位置の
指示がし易いものとなると共にスイープ位置の指定ミス
が減少し、操作をやり直すようなことを防止することが
できる。その結果、スイープ処理時間も短くなる。
Further, in the sweep process, the sweep direction reference axis is displayed so that the operator can instruct the sweep position. Therefore, the sweep position can be easily designated as compared with the conventional method, and the sweep position can be specified incorrectly. It is possible to reduce the number and prevent the operation from being redone. As a result, the sweep processing time also becomes shorter.

【0116】上述の実施例によれば、個別スイープ処理
を除き、形状要素を逐一指定することなく、1個の形状
要素の指定によって複数の形状要素に対する編集処理を
実行するようにしたので、操作回数が従来より減少し、
操作ミスも少なくなって操作性及び編集時間を高めるこ
とができる。上述した移動基準軸や回転基準軸やスイー
プ方向基準軸の表示効果をも合わせると、非常に操作性
及び編集時間が良好なものとなる。
According to the above-described embodiment, except for the individual sweep processing, the edit processing for a plurality of shape elements is executed by designating one shape element without specifying shape elements one by one. The number of times is less than before,
Operation mistakes are reduced and operability and editing time can be improved. If the display effects of the movement reference axis, the rotation reference axis, and the sweep direction reference axis described above are also combined, the operability and the editing time are very good.

【0117】(D)他の実施例 上述の実施例において移動処理及び回転処理について
は、パラメトリック編集処理部35が実行する1個の形
状要素の指定による形状全体の編集処理の場合に、移動
基準軸や回転基準軸を表示するものを示したが、形状要
素編集処理部34が実行する形状要素毎の編集の際にも
移動基準軸や回転基準軸を表示するようにしても良い。
(D) Other Embodiments Regarding the movement processing and rotation processing in the above-mentioned embodiments, in the case of the editing processing of the entire shape by the designation of one shape element executed by the parametric editing processing unit 35, the movement reference Although the axis and the rotation reference axis are displayed, the movement reference axis and the rotation reference axis may be displayed during the editing for each shape element executed by the shape element edit processing unit 34.

【0118】図19は、このような形状要素毎の移動の
場合に移動基準軸を表示した状態を示している。
FIG. 19 shows a state in which the movement reference axis is displayed in the case of such movement for each shape element.

【0119】上述の実施例においては、各種の座標指定
を表示座標系又は形状補助データの座標系で行なうもの
を示したが、これに代え又はこれに加えて、形状データ
の定義座標系で指定できるようにしても良い。
In the above-described embodiment, various coordinate designations are made by the display coordinate system or the coordinate system of the shape auxiliary data. However, instead of or in addition to this, designation is made by the definition coordinate system of the shape data. You may allow it.

【0120】上述の実施例の説明では、基本的な編集処
理の流れについて説明したが、各処理段階で指定の取消
しや、表示画面の拡大、縮小や、表示画面の表示位置の
移動や、表示画面の回転や、各形状要素に付加された情
報(要素識別番号等)の参照等を実行することができる
ようになされている。
In the description of the above embodiment, the flow of the basic editing process has been described. However, at each processing stage, cancellation of the designation, enlargement / reduction of the display screen, movement of the display position of the display screen, display of the display screen, etc. The screen can be rotated and information (element identification number, etc.) added to each shape element can be referred to.

【0121】また、上述の実施例においては、移動基準
軸や回転基準軸については初期設定値(デフォルト値)
を示すものを述べたが、形状要素の指定や、移動基準点
や回転基準点の指定や、移動先や回転角の指定に対して
も初期設定値を表示させるようにしても良い。
Further, in the above-mentioned embodiment, the initial value (default value) is set for the movement reference axis and the rotation reference axis.
However, the initial setting value may be displayed even when the shape element is designated, the movement reference point or the rotation reference point is designated, and the destination or the rotation angle is designated.

【0122】さらに、上述の実施例においては、図形記
憶装置14から形状データを図形処理装置13にロード
して編集処理するものを示したが、図形記憶装置14に
その都度アクセスするものであっても良い。
Further, in the above embodiment, the shape data is loaded from the graphic storage device 14 into the graphic processing device 13 and edited, but the graphic storage device 14 is accessed each time. Is also good.

【0123】また、パラメトリック編集処理部35を、
図形処理装置13の外部装置として設けるようにしても
良い。
Further, the parametric edit processing unit 35 is
It may be provided as an external device of the graphic processing device 13.

【0124】さらにまた、パラメトリックスイープ処理
において長さが変更される同一パラメータに係る複数の
形状要素の指定を面指定で行なうものを示したが、ある
形状要素を指定することでその形状要素と同一のパラメ
ータを有する複数の形状要素を指定することとしても良
い。
Furthermore, in the parametric sweep process, the specification of a plurality of shape elements relating to the same parameter whose length is changed is performed by specifying the surface. However, by specifying a shape element, the same shape element is specified. It is also possible to specify a plurality of shape elements having the parameter of.

【0125】[0125]

【発明の効果】以上のように、請求項1の本発明によれ
ば、移動処理及び移動コピー処理において、移動方向を
指示する移動基準軸を表示してオペレータに移動先を指
示させるようにしたので、従来に比べて移動先の指示が
し易いものとなると共に移動先の指定ミスが減少し、操
作性及び移動処理時間を向上させることができる。
As described above, according to the present invention of claim 1, in the moving process and the moving copy process, the movement reference axis for instructing the movement direction is displayed to allow the operator to instruct the movement destination. Therefore, it becomes easier to instruct the destination of movement as compared with the related art, and mistakes in designation of the destination of movement are reduced, so that operability and movement processing time can be improved.

【0126】また、請求項2の本発明によれば、回転処
理及び回転コピー処理において、回転中心軸たる回転基
準軸を表示させるようにしたので、オペレータが回転中
心を視認できて回転方向を確認することができ、誤った
回転処理を実行することを従来より格段的に少なくさせ
ることができ、操作性及び回転処理時間を向上させるこ
とができる。
According to the second aspect of the present invention, the rotation reference axis, which is the rotation center axis, is displayed in the rotation processing and the rotation copy processing, so that the operator can visually recognize the rotation center and confirm the rotation direction. Therefore, it is possible to significantly reduce the execution of erroneous rotation processing, and it is possible to improve operability and rotation processing time.

【0127】さらに、請求項3の本発明によれば、形状
要素を逐一指定することなく、1個の形状要素の指定に
よってその形状要素を含め形状全体の形状要素に対する
編集処理を実行するようにしたので、操作回数が従来よ
り減少し、操作ミスも少なくなって操作性及び編集処理
時間を向上させることができる。
Furthermore, according to the present invention of claim 3, by designating one shape element, the editing process is performed on the entire shape element including the shape element without designating the shape element one by one. Therefore, the number of operations is reduced as compared with the conventional one, and the number of operation errors is reduced, so that the operability and the editing processing time can be improved.

【0128】また、請求項4の本発明によれば、少なく
とも1個以上の形状要素を伸ばしたり縮めたりするスイ
ープ処理において、スイープ基準点を通るスイープ方向
に延びるスイープ方向基準軸を表示させてスイープ先を
指定させるようにしたので、従来に比べてスイープ先の
指示がし易いものとなると共にスイープ先の指定ミスが
減少し、操作性及び移動処理時間を向上させることがで
きる。
Further, according to the present invention of claim 4, in the sweep process of extending or contracting at least one or more shape elements, the sweep direction reference axis extending in the sweep direction passing through the sweep reference point is displayed and the sweep is performed. Since the tip is designated, the designation of the sweep destination is easier than in the conventional case, the mistake in designation of the sweep destination is reduced, and the operability and the movement processing time can be improved.

【0129】さらに、請求項5の本発明によれば、形状
要素を逐一指定することなく、1個の形状要素の指定に
よってスイープ処理に係る複数の形状要素に対するスイ
ープ処理を実行するようにしたので、操作回数が従来よ
り減少し、操作ミスも少なくなって操作性及び編集処理
時間を向上させることができる。
Further, according to the present invention of claim 5, the sweep processing is executed for a plurality of shape elements related to the sweep processing by designating one shape element without designating each shape element one by one. In addition, the number of operations is reduced as compared with the conventional one, and the number of operation mistakes is reduced, so that the operability and the editing processing time can be improved.

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

【図1】実施例による移動処理を示すフローチャートで
ある。
FIG. 1 is a flowchart showing a moving process according to an embodiment.

【図2】形状要素のデータ定義例を示す図表である。FIG. 2 is a chart showing an example of data definition of a shape element.

【図3】実施例に係るCADシステム構成を示すブロッ
ク図である。
FIG. 3 is a block diagram showing a CAD system configuration according to an embodiment.

【図4】実施例の要素関係データの説明図である。FIG. 4 is an explanatory diagram of element relationship data according to the embodiment.

【図5】実施例の移動処理の表示画像からの説明図(そ
の1)である。
FIG. 5 is an explanatory diagram (1) from the display image of the movement process of the embodiment.

【図6】実施例の移動処理の表示画像からの説明図(そ
の2)である。
FIG. 6 is an explanatory diagram (part 2) from the display image of the movement process of the embodiment.

【図7】実施例の移動処理の表示画像からの説明図(そ
の3)である。
FIG. 7 is an explanatory diagram (part 3) from the display image of the movement process of the embodiment.

【図8】実施例の移動処理の表示画像からの説明図(そ
の4)である。
FIG. 8 is an explanatory view (No. 4) from the display image of the movement process of the embodiment.

【図9】実施例の移動処理と移動コピー処理との相違の
説明図である。
FIG. 9 is an explanatory diagram of a difference between the moving process and the moving copy process according to the embodiment.

【図10】実施例の回転処理を示すフローチャートであ
る。
FIG. 10 is a flowchart showing a rotation process of the embodiment.

【図11】実施例の回転処理の表示画像からの説明図
(その1)である。
FIG. 11 is an explanatory diagram (No. 1) from the display image of the rotation processing of the embodiment.

【図12】実施例の回転処理の表示画像からの説明図
(その2)である。
FIG. 12 is an explanatory diagram (part 2) from the display image of the rotation processing of the embodiment.

【図13】実施例のスイープ処理による形状変化の説明
図である。
FIG. 13 is an explanatory diagram of a shape change due to the sweep processing according to the embodiment.

【図14】実施例のパラメトリックスイープ処理のフロ
ーチャートである。
FIG. 14 is a flowchart of a parametric sweep process according to the embodiment.

【図15】実施例のパラメトリックスイープ処理の表示
画像変化の説明図である。
FIG. 15 is an explanatory diagram of a change in display image in the parametric sweep process of the embodiment.

【図16】実施例のパラメトリックスイープによる実際
の変更例を示す説明図である。
FIG. 16 is an explanatory diagram showing an actual modification example of the parametric sweep of the embodiment.

【図17】実施例の個別スイープ処理のフローチャート
である。
FIG. 17 is a flowchart of an individual sweep process according to the embodiment.

【図18】実施例の個別スイープ処理の表示画像変化の
説明図である。
FIG. 18 is an explanatory diagram of display image changes in the individual sweep processing according to the embodiment.

【図19】上記実施例の形状要素単位の移動処理の説明
図である。
FIG. 19 is an explanatory diagram of movement processing in units of shape elements according to the above-described embodiment.

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

10…CADシステム、11…入力装置、12…図形表
示装置、13…図形処理装置、14…図形記憶装置、3
1…入力取込部、32…表示制御部、33…記憶制御
部、34…形状要素編集処理部、35…パラメトリック
形状編集処理部、41…形状データ本体格納部、42…
形状補助データ(パラメトリックデータ)格納部。
10 ... CAD system, 11 ... Input device, 12 ... Graphic display device, 13 ... Graphic processing device, 14 ... Graphic storage device, 3
DESCRIPTION OF SYMBOLS 1 ... Input acquisition part, 32 ... Display control part, 33 ... Storage control part, 34 ... Shape element edit processing part, 35 ... Parametric shape edit processing part, 41 ... Shape data main body storage part, 42 ...
Shape auxiliary data (parametric data) storage.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも1個以上の形状要素を移動又
は移動コピーするCADシステムの形状編集方式におい
て、 移動元の移動基準点が指定された後に、この移動基準点
を通る移動方向に延びる移動基準軸の指定を促し、指定
された移動基準軸を表示させた状態で、移動基準点の指
定された移動先情報を取り込むことを特徴とするCAD
システムの形状編集方式。
1. In a shape editing method of a CAD system for moving or moving copying at least one or more shape elements, after a movement reference point of a movement source is designated, a movement reference extending in a movement direction passing through the movement reference point. A CAD that prompts the user to specify an axis and displays the specified movement reference axis, and takes in the movement destination information of the movement reference point specified.
System shape editing method.
【請求項2】 少なくとも1個以上の形状要素を回転又
は回転コピーするCADシステムの形状編集方式におい
て、 回転対象の形状要素情報を取り込んだ後に、回転中心で
ある回転基準軸の指定を促し、指定された回転基準軸を
表示させた状態で、回転量情報を取り込むことを特徴と
するCADシステムの形状編集方式。
2. In a shape editing method of a CAD system for rotating or rotationally copying at least one or more shape elements, after the shape element information of the object of rotation is fetched, the rotation reference axis which is the center of rotation is prompted and designated. A shape editing method for a CAD system, characterized in that the rotation amount information is taken in while the displayed rotation reference axis is displayed.
【請求項3】 形状と、その形状を構成する各形状要素
とを関係付けてデータを格納しておき、1個の形状要素
が指定されたときにその形状要素を含む形状の全ての形
状要素を編集対象とし、 上記移動基準軸又は回転基準軸の表示を伴う編集処理を
実行することを特徴とする請求項1又は2に記載のCA
Dシステムの形状編集方式。
3. A shape and each shape element forming the shape are associated with each other to store data, and when one shape element is designated, all shape elements including the shape element are stored. 3. The CA according to claim 1 or 2, characterized in that the editing process is executed with the display of the movement reference axis or the rotation reference axis.
Shape editing method of D system.
【請求項4】 少なくとも1個以上の形状要素を伸ばし
たり縮めたりするスイープを行なうCADシステムの形
状編集方式において、 スイープ処理の基準点が指定された後に、このスイープ
基準点を通るスイープ方向に延びるスイープ方向基準軸
を決定し、決定したスイープ方向基準軸を表示させた状
態で、スイープ先の位置情報を取り込むことを特徴とす
るCADシステムの形状編集方式。
4. In a shape editing method of a CAD system for performing a sweep for extending or contracting at least one or more shape elements, after a reference point for sweep processing is designated, it extends in a sweep direction passing through this sweep reference point. A shape editing method for a CAD system, characterized in that the sweep direction reference axis is determined, and the position information of the sweep destination is taken in while the determined sweep direction reference axis is displayed.
【請求項5】 形状と、その形状を構成する各形状要素
とを関係付けてデータを格納しておき、1個の形状要素
が指定されたときにその形状要素に係る複数の形状要素
をスイープ処理対象とし、 上記スイープ方向基準軸の表示を伴う編集処理を実行す
ることを特徴とする請求項4に記載のCADシステムの
形状編集方式。
5. A shape and each shape element forming the shape are associated with each other to store data, and when one shape element is designated, a plurality of shape elements related to the shape element are swept. The shape editing method of a CAD system according to claim 4, wherein an editing process involving displaying of the sweep direction reference axis is executed as a processing target.
JP3090532A 1991-04-22 1991-04-22 CAD system shape editing device Expired - Fee Related JP2755501B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3090532A JP2755501B2 (en) 1991-04-22 1991-04-22 CAD system shape editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3090532A JP2755501B2 (en) 1991-04-22 1991-04-22 CAD system shape editing device

Publications (2)

Publication Number Publication Date
JPH05298396A true JPH05298396A (en) 1993-11-12
JP2755501B2 JP2755501B2 (en) 1998-05-20

Family

ID=14001025

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3090532A Expired - Fee Related JP2755501B2 (en) 1991-04-22 1991-04-22 CAD system shape editing device

Country Status (1)

Country Link
JP (1) JP2755501B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7653517B2 (en) 2003-04-15 2010-01-26 Toyota Jidosha Kabushiki Kaisha Design data generating apparatus and design data generating method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7653517B2 (en) 2003-04-15 2010-01-26 Toyota Jidosha Kabushiki Kaisha Design data generating apparatus and design data generating method

Also Published As

Publication number Publication date
JP2755501B2 (en) 1998-05-20

Similar Documents

Publication Publication Date Title
US5808616A (en) Shape modeling method and apparatus utilizing ordered parts lists for designating a part to be edited in a view
JP5925976B1 (en) Machining program editing support device
JP5990662B2 (en) Machining program editing support device
US5646861A (en) Method and apparatus for inputting embroidery lines
US5815150A (en) Display apparatus
JP4046370B2 (en) 3D shape drawing method
JPWO2019064919A1 (en) Robot teaching device
JP2773517B2 (en) Program display device
JP2755501B2 (en) CAD system shape editing device
JP3087517B2 (en) Instructions for creating fillet surface
JP7024795B2 (en) Robot teaching device
JP6239204B1 (en) Graphic selection device
JP6286591B2 (en) Reinforcement verification support device and program thereof
JP2005234610A (en) Freehand-input pattern editing system
JP2005332183A (en) Device and method for mesh correction, and program
WO2018003206A1 (en) Graphic selecting device, graphic selecting method, and graphic selecting program
JPH02250178A (en) Graphic generator
JPS6155728A (en) Coordinate input device
JP2902856B2 (en) Data entry editing device
JPWO2019064915A1 (en) Robot teaching device
JPH04358284A (en) Plotting method by computer aided design device
JP2001046768A (en) Embroidery data preparation device
JPH0648460B2 (en) Coordinate scale display method
JPH07200879A (en) Cursor moving method and stereoscopic drawing plotting method
JPH05181946A (en) Graphic processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080306

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090306

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100306

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees