JP3332502B2 - Offset figure creation method and apparatus - Google Patents

Offset figure creation method and apparatus

Info

Publication number
JP3332502B2
JP3332502B2 JP25300293A JP25300293A JP3332502B2 JP 3332502 B2 JP3332502 B2 JP 3332502B2 JP 25300293 A JP25300293 A JP 25300293A JP 25300293 A JP25300293 A JP 25300293A JP 3332502 B2 JP3332502 B2 JP 3332502B2
Authority
JP
Japan
Prior art keywords
offset
graphic
arc
generating
graphic element
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP25300293A
Other languages
Japanese (ja)
Other versions
JPH07105268A (en
Inventor
光博 北川
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP25300293A priority Critical patent/JP3332502B2/en
Publication of JPH07105268A publication Critical patent/JPH07105268A/en
Application granted granted Critical
Publication of JP3332502B2 publication Critical patent/JP3332502B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、情報処理システムなど
のCAD図形要素(線分、円弧など)で構成された図形
の各構成要素にオフセット量を与え、オフセット図形を
作成するオフセット図形作成方法とその装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an offset graphic generating method for generating an offset graphic by giving an offset amount to each component of a graphic composed of CAD graphic elements (line segments, arcs, etc.) such as an information processing system. And its equipment.

【0002】[0002]

【従来技術】図形要素(線分、円弧など)で構成された
図形の各構成要素にオフセット量を与え、オフセット図
形を作成する方法として、各図形要素に対し、オフセッ
ト量分オフセットしたオフセット形状を作成し、元の図
形の順番にオフセット形状の接点を求め、連結する方法
が知られている。
2. Description of the Related Art As a method of creating an offset figure by giving an offset amount to each constituent element of a figure composed of graphic elements (line segments, arcs, etc.), an offset shape obtained by offsetting each graphic element by an offset amount is used. There is known a method of creating, obtaining an offset-shaped contact point in the order of the original figure, and connecting them.

【0003】この方法は、図形要素(線、円弧など)
で構成された図形の各構成要素にオフセット量を与え、
オフセット図形を作成するには、各図形要素に対して、
オフセット量分オフセットしたオフセット形状を作成
し、元の図形の順番にオフセット形状の接点を求め、そ
の接点で各オフセット形状を連結して全体の各オフセッ
ト形状を求めていた。
[0003] This method, graphical elements (line segments, arc, etc.)
Gives an offset amount to each component of the figure composed of
To create an offset shape, for each shape element,
An offset shape offset by the offset amount is created, a contact point of the offset shape is obtained in the order of the original figure, and the offset shape is connected at the contact point to obtain the entire offset shape.

【0004】[0004]

【発明が解決しようとする課題】しかし、オフセット形
状の接点がない場合は、上記従来方法で全体のオフセッ
ト形状を生成することができなかった。
However, if there is no offset-shaped contact, the conventional method cannot generate the entire offset shape.

【0005】例えば、図3に示すような、元図形が線分
e1、e3と、円弧e2から構成される場合、各オフセ
ット形状間に接点が存在しない。即ち、線分e1のオフ
セット形状e1’と円弧e2のオフセット形状e2’、
円弧e2のオフセット形状e2’と線分e3のオフセッ
ト形状e3’に接点がなく、オフセット図形が作成でき
ない場合があるといった欠点があった。
For example, as shown in FIG. 3, when the original figure is composed of line segments e1 and e3 and an arc e2, there is no contact point between the offset shapes. That is, the offset shape e1 'of the line segment e1 and the offset shape e2' of the arc e2,
There is a drawback that the offset shape e2 'of the arc e2 and the offset shape e3' of the line segment e3 have no contact, and an offset figure cannot be created.

【0006】本発明は上記従来例に鑑みてなされたもの
で、元図形要素に対するオフセット値が異なり、隣接す
るオフセット図形間の接点がない場合でも、適切なオフ
セット図形を生成できるオフセット図形作成方法とその
装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned prior art, and has an offset graphic creating method capable of generating an appropriate offset graphic even when offset values with respect to an original graphic element are different and there is no contact between adjacent offset graphics. It is intended to provide the device.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
本発明によるオフセット図形作成方法記憶手段に
記憶された元図形の中から、円弧図形要素、前記円弧図
形要素の前図形要素、前記円弧図形要素の後図形要素を
読み出す読出工程と、 前記読み出した円弧図形要素、前
記円弧図形要素の前図形要素、前記円弧図形要素の後図
形要素の各々に対し、所定の距離はなれた、それぞれに
対するオフセット図形、オフセット前図形、オフセット
後図形を生成手段により生成する生成工程と、前記オフ
セット前図形と前記オフセット図形間と、前記オフセッ
ト後図形と前記オフセット図形間に接点がなければ、前
記オフセット前図形と前記オフセット後図形の片端点間
を結ぶ区間直線の2等分線を中心とした円弧の新オフセ
ット図形を前記生成手段により生成する新オフセット図
形生成工程と、前記オフセット前図形と前記オフセット
後図形と前記新オフセット図形とを、生成元の図形要素
と対応させて前記記憶手段に記憶する記憶工程とを備え
る。
[MEANS FOR SOLVING THE PROBLEMS] To achieve the above object
Offset Geometry method according to the present invention, the storage means
From among the stored original figures , an arc figure element, the arc figure
The figure element before the shape element and the figure element after the arc graphic element
A readout step for reading , an offset figure, a figure before offset, and an offset with respect to each of the readout arc figure element, the figure element before the arc figure element, and the figure figure after the arc figure element. A generating step of generating a post-graphic by a generating means; and if there is no contact between the pre-offset graphic and the offset graphic, and between the post-offset graphic and the offset graphic, one end point of the pre-offset graphic and the post-offset graphic. A new offset graphic generating step of generating, by the generating means, a new offset graphic of an arc centered on a bisector of a section straight line connecting the sections, the new offset graphic and the offset
The subsequent figure and the new offset figure are generated by
And a storage step of storing in the storage means in association with the storage means .

【0008】[0008]

【0009】また、発明の他の形態によるオフセット
図形作成方法は、記憶手段に記憶された元図形の中
ら、円弧図形要素、前記円弧図形要素の前図形要素、前
記円弧図形要素の後図形要素を読み出す読出工程と、
記読み出した円弧図形要素、前記円弧図形要素の前図形
要素、前記円弧図形要素の後図形要素の各々に対し、所
定の距離離れた、それぞれに対応するオフセット図形、
オフセット前図形、オフセット後図形を生成手段により
生成する生成工程と、前記オフセット前図形と前記オフ
セット図形間と、前記オフセット後図形と前記オフセッ
ト図形間に接点がなければ、前記オフセット前図形に対
する前記オフセット後図形の円弧中心からの垂線と、前
記オフセット後図形との交点と、前記オフセット前図形
との交点間の2等分点を、円弧中心とする新オフセット
図形を前記生成手段により生成する新オフセット図形生
成工程と、前記オフセット前図形と前記オフセット後図
形と前記新オフセット図形とを、生成元の図形要素と対
応させて前記記憶手段に記憶する記憶工程とを備える。
Also, according to another aspect of the present invention, there is provided an offset.
The figure creation method is based on whether the original figure stored in the storage
The arc graphic element, the graphic element before the arc graphic element,
A reading step of reading the graphical elements after the serial arc graphic element before
An offset graphic corresponding to each of the read-out arc graphic element, the graphic element before the circular arc graphic element, and the graphic element after the circular arc graphic element by a predetermined distance,
A generating step of generating a pre-offset graphic and a post-offset graphic by a generating unit; and, if there is no contact between the pre-offset graphic and the offset graphic, and between the post-offset graphic and the offset graphic, A new offset figure having an arc center at the intersection of the perpendicular line from the arc center of the figure after offset with the figure, the intersection with the figure after offset, and the intersection with the figure before offset is generated by the generation means. A new offset figure generating step to be generated, the figure before the offset and the figure after the offset
The shape and the new offset figure are paired with the source graphic element.
A storage step for storing the information in the storage means in response to the request.

【0010】[0010]

【0011】また、本発明の他の形態によるオフセット
図形作成装置は以下の構成を備える。すなわち、元図形
からオフセット図形を生成する装置であって、基図形の
中の、円弧図形要素、前記円弧図形要素の前図形要素、
前記円弧図形要素の後図形要素の各々に対し、所定の距
離離れた、それぞれに対応するオフセット図形、オフセ
ット前図形、オフセット後図形を生成する生成手段と、
前記オフセット前図形と前記オフセット図形間と、前記
オフセット後図形と前記オフセット図形間に接点がなけ
れば、前記オフセット前図形と前記オフセット後図形の
片端点間を結ぶ区間直線の2等分点を中心とした円弧の
新オフセット図形を生成する新オフセット図形生成手段
とを備える。
Further, an offset figure creating apparatus according to another aspect of the present invention has the following configuration. That is, an apparatus for generating an offset graphic from an original graphic, wherein an arc graphic element, a graphic element before the arc graphic element,
Generating means for generating an offset graphic, a pre-offset graphic, and a post-offset graphic corresponding to each of the posterior graphic elements of the arc graphic element by a predetermined distance,
If there is no point of contact between the pre-offset graphic and the offset graphic and between the post-offset graphic and the offset graphic, the center is set at the bisecting point of the section straight line connecting the one end point of the pre-offset graphic and the post-offset graphic. And a new offset graphic generating means for generating a new offset graphic of an arc.

【0012】[0012]

【0013】また、本発明の他の形態によるオフセット
図形作成装置は、元図形からオフセット図形を生成する
装置であって、元図形の中の、円弧図形要素、前記円弧
図形要素の前図形要素、前記円弧図形要素の後図形要素
の各々に対し、所定の距離離れた、それぞれに対応する
オフセット図形、オフセット前図形、オフセット後図形
を生成する生成手段と、前記オフセット前図形と前記オ
フセット図形間と、前記オフセット後図形と前記オフセ
ット図形間に接点がなければ、前記オフセット前図形に
対する前記オフセット後図形の円弧中心からの垂線と、
前記オフセット後図形との交点と、前記オフセット前図
形との交点間の2等分点を、円弧中心とする新オフセッ
ト図形を生成する新オフセット図形生成手段とを備え
る。
[0013] An offset according to another aspect of the present invention.
The graphic creation device is a device that generates an offset graphic from an original graphic, and in the original graphic, an arc graphic element, a graphic element before the circular graphic element, and a graphic element after the circular graphic element, Generating means for generating an offset graphic, a pre-offset graphic, and a post-offset graphic respectively corresponding to a predetermined distance, a contact point between the pre-offset graphic and the offset graphic, and between the post-offset graphic and the offset graphic. If not, a perpendicular from the arc center of the post-offset graphic to the pre-offset graphic;
A new offset graphic generating means for generating a new offset graphic having an arc center at an bisecting point between the intersection with the post-offset graphic and the intersection with the pre-offset graphic.

【0014】[0014]

【0015】[0015]

【作用】以上の構成において、記憶手段に記憶された
図形の中から、円弧図形要素、前記円弧図形要素の前図
形要素、前記円弧図形要素の後図形要素を読み出し、前
記読み出した円弧図形要素、前記円弧図形要素の前図形
要素、前記円弧図形要素の後図形要素の各々に対し、所
定の距離はなれた、それぞれに対するオフセット図形、
オフセット前図形、オフセット後図形を生成手段により
生成し、前記オフセット前図形と前記オフセット図形間
と、前記オフセット後図形と前記オフセット図形間に接
点がなければ、前記オフセット前図形と前記オフセット
後図形の片端点間を結ぶ区間直線の2等分線を中心とし
た円弧の新オフセット図形を前記生成手段により生成
し、前記オフセット前図形と前記オフセット後図形と前
記新オフセット図形とを、生成元の図形要素と対応させ
て前記記憶手段に記憶する
In the above arrangement, an arc graphic element is selected from the original graphic stored in the storage means,
Read out the shape element, the figure element after the arc figure element, and
The read-out arc graphic element, the preceding graphic element of the circular arc graphic element, and the rear graphic element of the circular arc graphic element are separated from each other by a predetermined distance.
The pre-offset graphic and the post-offset graphic are generated by generating means, and if there is no contact between the pre-offset graphic and the offset graphic and between the post-offset graphic and the offset graphic, the pre-offset graphic and the The generating means generates a new offset graphic of an arc centered on a bisector of a section straight line connecting one end point of the post-offset graphic, and the pre-offset graphic, the post-offset graphic,
Correlate the new offset figure with the original figure element
In the storage means .

【0016】[0016]

【0017】また、別の構成によれば記憶手段に記憶
された元図形の中から、円弧図形要素、前記円弧図形要
素の前図形要素、前記円弧図形要素の後図形要素を読み
出し、前記読み出した円弧図形要素、前記円弧図形要素
の前図形要素、前記円弧図形要素の後図形要素の各々に
対し、所定の距離離れた、それぞれに対応するオフセッ
ト図形、オフセット前図形、オフセット後図形を生成手
段により生成し、前記オフセット前図形と前記オフセッ
ト図形間と、前記オフセット後図形と前記オフセット図
形間に接点がなければ、前記オフセット前図形に対する
前記オフセット後図形の円弧中心からの垂線と、前記オ
フセット後図形との交点と、前記オフセット前図形との
交点間の2等分点を、円弧中心とする新オフセット図形
前記生成手段により生成し、前記オフセット前図形と
前記オフセット後図形と前記新オフセット図形とを、生
成元の図形要素と対応させて前記記憶手段に記憶する
According to another configuration , the information is stored in the storage means.
From among the original figures , the arc figure element and the arc figure
Read the element before the elementary element and the element after the arc element
The read-out and read-out arc graphic element, the graphic element before the circular arc graphic element, and the graphic element after the circular arc graphic element are respectively separated by a predetermined distance, corresponding to the offset graphic, the pre-offset graphic, and the post-offset graphic. Generate shape hand
Generated by the step, and the offset front shapes and between the offset figure, if there is no contact between the offset graphics and the after offset figure, and the perpendicular from the arc center of the offset post figure for the offset prior figure, the offset and the intersection of the rear figures, the bisector point between the intersections of the offset front graphic, generated by the new offset figure said generating means for the arc center, and the offset front graphic
The post-offset graphic and the new offset graphic are
The data is stored in the storage unit in association with the original graphic element .

【0018】[0018]

【0019】また、別の構成によれば、生成手段が、元
図形の中の、円弧図形要素、前記円弧図形要素の前図形
要素、前記円弧図形要素の後図形要素の各々に対し、所
定の距離離れた、それぞれに対応するオフセット図形、
オフセット前図形、オフセット後図形を生成し、新オフ
セット図形生成手段が、前記オフセット前図形と前記オ
フセット図形間と、前記オフセット後図形と前記オフセ
ット図形間に接点がなければ、前記オフセット前図形と
前記オフセット後図形の片端点間を結ぶ区間直線の2等
分点を中心とした円弧の新オフセット図形を生成する。
Further , according to another configuration , the generating means may determine a predetermined shape for each of the arc graphic element, the graphic element before the circular arc graphic element, and the graphic element after the circular arc graphic element in the original graphic. Offset shapes corresponding to each other at a distance,
A pre-offset graphic and a post-offset graphic are generated, and the new offset graphic generation means, if there is no contact between the pre-offset graphic and the offset graphic and between the post-offset graphic and the offset graphic, A new offset graphic of an arc centered on the bisecting point of a section straight line connecting one end point of the post-offset graphic is generated.

【0020】[0020]

【0021】また、別の構成によれば、生成手段が、元
図形の中の、円弧図形要素、前記円弧図形要素の前図形
要素、前記円弧図形要素の後図形要素の各々に対し、所
定の距離離れた、それぞれに対応するオフセット図形、
オフセット前図形、オフセット後図形を生成し、新オフ
セット図形生成手段が、前記オフセット前図形と前記オ
フセット図形間と、前記オフセット後図形と前記オフセ
ット図形間に接点がなければ、前記オフセット前図形に
対する前記オフセット後図形の円弧中心からの垂線と、
前記オフセット後図形との交点と、前記オフセット前図
形との交点間の2等分点を、円弧中心とする新オフセッ
ト図形を生成する。
Further , according to another configuration , the generating means is configured to determine , for each of the arc graphic element, the graphic element before the arc graphic element, and the post graphic element after the arc graphic element, a predetermined graphic element in the original graphic. Offset shapes corresponding to each other at a distance,
A pre-offset graphic and a post-offset graphic are generated, and the new offset graphic generation means, if there is no contact between the pre-offset graphic and the offset graphic and between the post-offset graphic and the offset graphic, A perpendicular from the arc center of the figure after the offset,
A new offset figure having an arc center at an intersection between the intersection with the figure after offset and the intersection with the figure before offset is generated.

【0022】[0022]

【0023】[0023]

【実施例】以下、図面に示す実施例に基づいて、本発明
を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail based on embodiments shown in the drawings.

【0024】図2は、本実施例のオフセット図形作成方
法が適用される情報処理システムの構成を示すブロック
図である。中央処理装置h1は、オフセット図形作成処
理を制御する。記憶装置h4は、例えば半導体メモリで
あり、以下に示す各種プログラムやデータを記憶する。
即ち、 a オフセット図形作成処理手順を記述したプログラ
ム。
FIG. 2 is a block diagram showing the configuration of an information processing system to which the offset figure creating method of this embodiment is applied. The central processing unit h1 controls the offset graphic creation processing. The storage device h4 is, for example, a semiconductor memory and stores various programs and data described below.
That is, a program describing the offset graphic creation processing procedure.

【0025】b CAD図形要素に対応するデータ。例
えば図形要素が二次元線分の場合は、始点・終点の座標
値データである。また、図形要素が二次元円弧の場合
は、始点・終点・中心の座標値と回転方向データであ
る。さらに、図形要素が二次元円の場合は、中心座標値
と半径などの図形要素を決定するのに十分な幾何情報お
よび図形要素の情報と配置情報などのデータである。
B Data corresponding to CAD graphic elements. For example, when the graphic element is a two-dimensional line segment, it is the coordinate data of the start point and end point. When the graphic element is a two-dimensional arc, it is the coordinate values of the start point, the end point, the center, and the rotation direction data. Further, when the graphic element is a two-dimensional circle, it is data such as geometric information sufficient to determine a graphic element such as a central coordinate value and a radius, information on the graphic element, and arrangement information.

【0026】c CAD図形要素を連結して閉図形化し
た閉図形データ。
C Closed figure data obtained by connecting CAD figure elements to form a closed figure.

【0027】d オフセット図形作成処理中に発生する
計算結果。
D Calculation results generated during the offset figure creation processing.

【0028】等を記憶装置h4に記憶する。Are stored in the storage device h4.

【0029】表示装置h2は、例えばCRTデイスプレ
イ、LCDデイスプレイ等で、図形やコマンドメニュー
などを表示する。入力装置h3は、例えば、キーボード
やポインテイング入力デバイスなどを備え、図面の読み
込みの指示、メニュー選択の指示、その他の指示などの
入力を行う。情報読み取り装置h5は、例えばカードリ
ーダに記録されたオフセット作成処理プログラム等を読
み込む。2次記憶装置h6は、例えばハードデイスクや
フロッピイデイスクであり、上記のプログラムやデータ
を格納する。
The display device h2 displays figures, command menus, and the like on a CRT display, an LCD display, or the like. The input device h3 includes, for example, a keyboard and a pointing input device, and performs input of a drawing reading instruction, a menu selection instruction, and other instructions. The information reading device h5 reads, for example, an offset creation processing program recorded in a card reader. The secondary storage device h6 is, for example, a hard disk or a floppy disk, and stores the above programs and data.

【0030】本実施例では、あらかじめオフセット処理
作成などのプログラムが、記憶装置h4、あるいは2次
記憶装置h6に格納されているとする。中央処理装置h
1は、記憶装置h4に格納されているオフセット処理対
象図形などのCAD図形要素データ、オフセット処理に
必要なデータ等処理に必要なデータを読みだして、図形
処理を行い、また、オフセット処理結果などを記憶装置
h4に格納する。
In this embodiment, it is assumed that a program for creating an offset process or the like is stored in the storage device h4 or the secondary storage device h6 in advance. Central processing unit h
1, serial CAD graphic element data, such as offset processing target graphic stored in憶device h4, reads out the data necessary for data like processing required to offset processing performs graphic processing, also an offset processing result Are stored in the storage device h4.

【0031】図1は、中央処理装置h1によるオフセッ
ト図形作成の処理フローを示したものである。
FIG. 1 shows a processing flow for creating an offset figure by the central processing unit h1.

【0032】ステップS1では、中央処理装置h1が、
記憶装置h4に格納されているオフセット処理対象図形
から、1つめの図形要素を取り出す。以下この図形要素
Z1と呼ぶことにする。
In step S1, the central processing unit h1
The first graphic element is extracted from the graphic for offset processing stored in the storage device h4. Hereinafter, this graphic element Z1 will be referred to.

【0033】ステップS2では、中央処理装置h1が、
図形要素Z1が円弧であるか判定する。図形要素Z1が
円弧であれば、円弧に対応するオフセット処理を行う為
に、ステップS3からの一連の処理ステップへ進む。ま
た、図形要素Z1が円弧でない場合、ステップS9へ進
む。
In step S2, the central processing unit h1
It is determined whether the graphic element Z1 is a circular arc. If the graphic element Z1 is a circular arc, the process proceeds to a series of processing steps from step S3 to perform offset processing corresponding to the circular arc. If the graphic element Z1 is not a circular arc, the process proceeds to step S9.

【0034】ステップS3では、中央処理装置h1が、
記憶装置h4に格納されているオフセット処理対象図形
から、図形要素Z1(円弧)の前後の図形要素(以下、
前後図形要素と呼ぶ)を取り出す。前後図形要素は、前
部分の図形要素と後ろ部分の図形要素の2つから成る。
In step S3, the central processing unit h1
From the offset processing target graphic stored in the storage device h4, a graphic element (hereinafter, referred to as a graphic element before and after the graphic element Z1 (circular arc)) is used.
(Before and after graphic elements). The preceding and succeeding graphic elements are composed of a graphic element of a front part and a graphic element of a rear part.

【0035】ステップS4では、中央処理装置h1が、
図形要素Z1(円弧)とステップS3で取り出した前後
図形要素との接続情報を作成する。この接続情報の作成
手順は以下のように行う。
In step S4, the central processing unit h1
The connection information between the graphic element Z1 (arc) and the preceding and succeeding graphic elements extracted in step S3 is created. The procedure for creating this connection information is performed as follows.

【0036】まず、前後図形要素の前部分の図形要素
と、後ろ部分の図形要素と、図形要素Z1の接続点での
接線ベクトルをそれぞれ求める。尚、各図形要素は、方
向が予め付けられている。この方向は、連続する図形要
素を反時計回りか時計回りにたどるように付けられる。
本実施例では、時計回りで予め方向が付けられていると
している。次に、接続点を共有する、求められた各ベク
トル間、即ち、図形要素Z1と前後図形要素のうちの前
部分の図形要素、図形要素Z1と前後図形要素のうちの
後部分の図形要素間の外積と内積を求める。但し、各ベ
クトルの大きさを1の単位ベクトルとして計算する。図
形要素Z1の接線ベクトルと、前後図形要素のうちの前
部分の図形要素の接線ベクトル間の外積を求める意味
は、外積の大きさを調べることで、接続点で連続してい
るかどうか判定することである。即ち、外積の大きさが
0であれば、接続点で連続していることになり、0以外
であれば接続点で不連続と判定できる。また、内積を求
める意味は、2つの要素が作る図形の接続点での角度が
鈍角であるか、鋭角であるかを判定することにある。即
ち、内積がプラス値であれば鈍角であることを示し、マ
イナス値であれば鋭角であることを示す。また、図形要
素Z1の接線ベクトルと、前後図形要素のうちの後部分
の図形要素の接線ベクトル間の外積と内積を求める意味
も同じである。
First, a tangent vector at a connection point between the graphic element in the front part, the graphic element in the rear part, and the graphic element Z1 of the preceding and following graphic elements is obtained. Each graphic element is given a direction in advance. This direction is attached to follow successive graphic elements counterclockwise or clockwise.
In the present embodiment, it is assumed that the direction is given in advance in the clockwise direction. Next, between the obtained vectors sharing the connection point, that is, between the graphic element Z1 and the graphic element of the front part of the preceding and succeeding graphic elements, and between the graphic element Z1 and the graphic element of the rear part of the preceding and succeeding graphic elements Find the outer and inner products of. However, the magnitude of each vector is calculated as one unit vector. The meaning of finding the outer product between the tangent vector of the graphic element Z1 and the tangent vector of the preceding graphic element of the preceding and succeeding graphic elements is to determine whether or not they are continuous at the connection point by examining the magnitude of the outer product. It is. That is, if the magnitude of the outer product is 0, it is determined that the product is continuous at the connection point. Further, the meaning of obtaining the inner product is to determine whether the angle at the connection point of the graphic formed by the two elements is an obtuse angle or an acute angle. That is, a positive value of the inner product indicates an obtuse angle, and a negative value indicates an acute angle. Further, the meaning of obtaining an outer product and an inner product between a tangent vector of the graphic element Z1 and a tangent vector of a graphic element at a rear part of the preceding and following graphic elements is the same.

【0037】ステップS5では、ステップS4で作成し
た外積/内積で求めた接続情報を用いて、外積が0で内
積がプラスであれば、ステップS6へ進み特殊オフセッ
ト処理を行う。それ以外であれば、ステップS9へ進
み、単純オフセット処理を行う。
In step S5, if the outer product is 0 and the inner product is positive using the connection information obtained by the outer product / inner product created in step S4, the process proceeds to step S6, where a special offset process is performed. Otherwise, the process proceeds to step S9, where a simple offset process is performed.

【0038】即ち、本実施例では、特殊オフセットを求
める処理は、接続点に関して連続で鈍角である図形要素
に対して行う。
That is, in this embodiment, the processing for obtaining the special offset is performed on graphic elements that are continuous and obtuse with respect to the connection point.

【0039】ステップS6では、図形要素Z1および前
後図形要素に対するオフセット形状を作成する。
In step S6, offset shapes are created for the graphic element Z1 and the preceding and following graphic elements.

【0040】各図形要素に対して所定のオフセット距離
離れた直線あるいは曲線のオフセット形状を生成する。
この時、隣接する各オフセット形状間に接点がない場
合、以下のようにオフセット形状を決定する。
A linear or curved offset shape separated by a predetermined offset distance from each graphic element is generated.
At this time, if there is no contact between adjacent offset shapes, the offset shape is determined as follows.

【0041】以下、オフセット形状を作成手順を図4〜
図6の説明図を参照しながら説明する。
The procedure for creating an offset shape is described below with reference to FIGS.
This will be described with reference to the explanatory diagram of FIG.

【0042】図4は、オフセット形状に接点がない場合
のオフセット図形の作成処理を説明する図である。図形
要素e1,e3はそれぞれ区分直線であり、互いに非並
行である。また、図形要素e2は区分円弧である。図形
要素e1,e2は、接続点P40で接続している。図形要
素e2,e3は、接続点P41で接続している。これら図
形要素からオフセット形状を以下に示す手順で生成す
る。
FIG. 4 is a diagram for explaining a process of creating an offset figure when there is no contact point in the offset shape. The graphic elements e1 and e3 are segmented straight lines, respectively, and are not parallel to each other. The graphic element e2 is a segmented arc. The graphic elements e1 and e2 are connected at a connection point P40. Graphic element e2, e3 is connected at the connection point P 41. An offset shape is generated from these graphic elements in the following procedure.

【0043】1. 図形要素e1に対して所定のオフセ
ット距離α40離れた位置に、オフセット形状e1’の直
線を生成する。同様に、図形要素e3に対して所定のオ
フセット距離α41離れた位置に、オフセット形状e3’
の直線を生成する。さらに、中心点C2の円弧e2に対
し、所定のオフセット距離α42離れた位置に、オフセッ
ト形状e2”の円を生成する。このように生成されたオ
フセット形状e1’,e2”,e3’では、オフセット
形状e2”とオフセット形状e1’,e3’間に接続点
が存在しない。
1. A straight line having an offset shape e1 'is generated at a position away from the graphic element e1 by a predetermined offset distance α40. Similarly, an offset shape e3 ′ is located at a position separated from the graphic element e3 by a predetermined offset distance α41.
To generate a straight line. Further, a circle having an offset shape e2 "is generated at a position away from the arc e2 of the center point C2 by a predetermined offset distance α42. In the offset shapes e1 ', e2", and e3' thus generated, an offset is generated. There is no connection point between the shape e2 ″ and the offset shapes e1 ′, e3 ′.

【0044】2. オフセット形状e2”をオフセット
形状e1’,e3’に接する位置まで、点P43と中心点
C2を結ぶ直線間を移動し、中心点C2’のオフセット形
状e2’を生成する。オフセット形状e2’とオフセッ
ト形状e1’,e3’間は、それぞれ接点p1,p2で
連結する。ここで、オフセット形状e2”を所定のサイ
ズの拡大縮小を行って、拡大縮小オフセット形状を求
め、それをオフセット形状e2”をオフセット形状e
1’,e3’に接する位置まで、点P43と中心点C2を
結ぶ直線間を移動し、中心点C2’のオフセット形状e
2’を生成してもよい。
2. The offset shape e2 "is moved between the straight line connecting the point P43 and the center point C2 to a position where the offset shape e2" is in contact with the offset shapes e1 'and e3' to generate an offset shape e2 'of the center point C2'. The shape e2 'and the offset shapes e1' and e3 'are connected by contact points p1 and p2, respectively, where the offset shape e2 "is scaled by a predetermined size to obtain a scaled offset shape. The offset shape e2 ″ is changed to the offset shape e
It moves between the straight line connecting the point P43 and the center point C2 to the position where it touches 1 ', e3', and the offset shape e of the center point C2 '
2 ′ may be generated.

【0045】尚、各所定のオフセット値は、入力装置h
3から、入力してもよいし、予め各図形要素データに付
属させておいてもよい。
Note that each predetermined offset value is determined by the input device h.
3 or may be attached to each graphic element data in advance.

【0046】図5には、前後図形要素(線分)が平行な
場合のオフセット図形の生成例を示す。図5は、図4と
同様にオフセット形状に接点がない場合のオフセット図
形の作成処理を説明する図である。
FIG. 5 shows an example of generating an offset figure when the preceding and following figure elements (line segments) are parallel. FIG. 5 is a diagram for explaining an offset graphic creation process when there is no contact point in the offset shape, as in FIG.

【0047】図形要素e51,e53はそれぞれ区分直
線であり、図形要素e52は区分円弧である。図形要素
e51,e52は、接続点P51で接続している。図形要
素e52,e53は、接続点P52で接続している。これ
ら図形要素からオフセット形状を以下に示す手順で生成
する。
The graphic elements e51 and e53 are segmented straight lines, respectively, and the graphic element e52 is a segmented arc. The graphic elements e51 and e52 are connected at a connection point P51. The graphic elements e52 and e53 are connected at a connection point P52. An offset shape is generated from these graphic elements in the following procedure.

【0048】1. 図形要素e51に対して所定のオフ
セット距離α51離れた位置に、オフセット形状e51’
の直線を生成する。同様に、図形要素e53に対して所
定のオフセット距離α53離れた位置に、オフセット形状
e53’の直線を生成する。さらに、中心点C50の円弧
e52に対し、所定のオフセット距離α52離れた位置
に、オフセット形状e2”の円を生成する。このように
生成されたオフセット形状e51’,e52”,e5
3’では、オフセット形状e52”とオフセット形状e
51’,e53’間に接続点が存在しない。
1. An offset shape e51 'is located at a position away from the graphic element e51 by a predetermined offset distance α51.
To generate a straight line. Similarly, a straight line having an offset shape e53 ′ is generated at a position separated from the graphic element e53 by a predetermined offset distance α53. Further, a circle having an offset shape e2 "is generated at a position apart from the arc e52 of the center point C50 by a predetermined offset distance α52. The offset shapes e51 ', e52", and e5 thus generated are generated.
3 ′, the offset shape e52 ″ and the offset shape e
There is no connection point between 51 'and e53'.

【0049】2.図形要素e51の終点p51のオフセ
ット位置をp51’、図形要素e53の始点p52のオ
フセット位置をp52’とするとき、p51’とp5
2’との中点をC50とする。そして、中点C50が円弧の
中心となるオフセット形状e52’を生成する。このよ
うにして、オフセット要素e51’、e52’、e5
3’から成るオフセット形状が生成される。これら生成
された各オフセット要素データは、作成元の図形要素と
対応させて、記憶装置h4に格納する。
2. When the offset position of the end point p51 of the graphic element e51 is p51 'and the offset position of the start point p52 of the graphic element e53 is p52', p51 'and p5
The midpoint between 2 'and C50 is defined as C50. Then, an offset shape e52 'in which the middle point C50 is the center of the arc is generated. Thus, the offset elements e51 ', e52', e5
An offset shape consisting of 3 'is generated. Each of these generated offset element data is stored in the storage device h4 in correspondence with the graphic element of the creation source.

【0050】図6には、前後図形要素の前部分の図形要
素が直線で、後部分の図形要素が円弧である場合のオフ
セット図形の生成例を示す。図6は、図4、図5と同様
にオフセット形状に接点がない場合のオフセット図形の
作成処理を説明する図である。
FIG. 6 shows an example of generation of an offset graphic in the case where the graphic element in the front part of the preceding and succeeding graphic elements is a straight line and the graphic element in the rear part is an arc. FIG. 6 is a diagram for explaining the offset graphic creation processing when there is no contact point in the offset shape, as in FIGS. 4 and 5.

【0051】図形要素e61は区分直線であり、図形要
素e62,e63は区分円弧である。図形要素e61,
e62は、接続点P61で接続している。また、図形要素
e62,e63は、接続点P62で接続している。これら
図形要素からオフセット形状を以下に示す手順で生成す
る。尚、各図形要素に対して、異なるオフセット距離が
設定されているとする。
The graphic element e61 is a segmented straight line, and the graphic elements e62 and e63 are segmented arcs. Graphic element e61,
e62 is connected at a connection point P61. The graphic elements e62 and e63 are connected at a connection point P62. An offset shape is generated from these graphic elements in the following procedure. It is assumed that different offset distances are set for each graphic element.

【0052】1. 図形要素e61に対して所定のオフ
セット距離α61離れた位置に、オフセット形状e61’
の直線を生成する。同様に、図形要素e63に対して所
定のオフセット距離α63離れた位置に、中心がC63の円
であるオフセット形状e63’を生成する。また、円弧
e62に対し、所定のオフセット距離α62離れた位置
に、オフセット形状e62”の円を生成する。このよう
に生成されたオフセット形状e61’,e62”,e6
3’では接続点が存在しない。
1. An offset shape e61 ′ is located at a position separated from the graphic element e61 by a predetermined offset distance α61.
To generate a straight line. Similarly, an offset shape e63 ′ whose center is a circle of C63 is generated at a position away from the graphic element e63 by a predetermined offset distance α63. Further, a circle having an offset shape e62 ″ is generated at a position away from the arc e62 by a predetermined offset distance α62. The offset shapes e61 ′, e62 ″, and e6 thus generated are generated.
In 3 ', there is no connection point.

【0053】2.図形要素の円弧中心c63よりオフセ
ット形状e61’への垂線を求め、オフセット形状e6
1’,e63’との各接点をそれぞれp61,p62と
し、p61とp62との中点が円弧の中心となるようオ
フセット形状e62’を作成する。一方、オフセット形
状e61’が円弧の場合は、オフセット形状e61’の
円弧中心と円弧中心c63を結ぶ直線を求め、オフセッ
ト形状e61’,e63’との各接点をそれぞれp6
1,p62とし、p61とp62との中点が円弧の中心
となるようオフセット形状e62’を作成する。このよ
うにして、オフセット要素e61’、e62’、e6
3’から成るオフセット形状が生成される。これら生成
された各オフセット要素データは、作成元の図形要素と
対応させて、記憶装置h4に格納する。
2. A perpendicular line from the arc center c63 of the graphic element to the offset shape e61 'is obtained, and the offset shape e6 is obtained.
The contacts of 1 ′ and e63 ′ are p61 and p62, respectively, and an offset shape e62 ′ is created such that the midpoint between p61 and p62 is the center of the arc. On the other hand, when the offset shape e61 'is an arc, a straight line connecting the arc center of the offset shape e61' and the arc center c63 is obtained, and each contact point with the offset shapes e61 'and e63' is p6.
1, an offset shape e62 'is created such that the midpoint between p61 and p62 is the center of the arc. Thus, the offset elements e61 ′, e62 ′, e6
An offset shape consisting of 3 'is generated. Each of these generated offset element data is stored in the storage device h4 in correspondence with the graphic element of the creation source.

【0054】尚、オフセット処理が終了した図形要素に
は、オフセット処理が終了したことを示すように、記憶
装置h4に格納されている各図形要素に対応する処理フ
ラグをオンにする。このオフセット図形作成処理の初期
状態として、各図形要素のオフセット処理状態を示す処
理フラグをあらかじめオフにしておく。以上で、ステッ
プS6の処理の説明を終了する。
For the graphic element for which the offset processing has been completed, the processing flag corresponding to each graphic element stored in the storage device h4 is turned on so as to indicate that the offset processing has been completed. As an initial state of the offset graphic creation processing, a processing flag indicating an offset processing state of each graphic element is turned off in advance. This is the end of the description of the processing in step S6.

【0055】ステップS7では、オフセット処理対象図
形の構成要素の全てに対し、オフセット処理が終了した
かどうか判定する。これは、記憶装置h4上の処理フラ
グを参照することで判定する。そして、全ての処理フラ
グがオンになれば、オフセット図形作成処理を終了す
る。また、処理フラグにオフのものが残っていれば、オ
フセット処理が終了していないことを示し、ステップS
8へ進む。
In step S7, it is determined whether the offset processing has been completed for all the constituent elements of the graphic to be subjected to the offset processing. This is determined by referring to the processing flag on the storage device h4. When all the processing flags are turned on, the offset graphic creation processing ends. If any of the processing flags remains off, it indicates that the offset processing has not been completed, and step S
Proceed to 8.

【0056】ステップS8では、次の処理対象である図
形要素を取り出し、ステップS2からの処理に戻る。
In step S8, a graphic element to be processed next is extracted, and the process returns to step S2.

【0057】ステップS9では、前図形要素のオフセッ
ト形状を記憶装置h4より参照し、オフセット形状を作
成し、隣接オフセット形状間の接点を接続点とする。ま
た、、これら生成された各オフセット要素データは、作
成元の図形要素と対応させて、記憶装置h4に格納す
る。また、オフセット処理が終了したことを示す記憶装
置h4上の処理フラグをオンにする。
In step S9, the offset shape of the previous graphic element is referred to from the storage device h4 to create an offset shape, and a contact point between adjacent offset shapes is set as a connection point. Each of the generated offset element data is stored in the storage device h4 in association with the graphic element of the creation source. Further, the processing flag on the storage device h4 indicating that the offset processing has been completed is turned on.

【0058】以上説明したオフセット図形作成方法は、
例えば、図7の(a)、(b)に示す形状の物体を作る
時に有効となる。図7の(a)は加工した物体を真上か
らみた図であり、図7の(b)は横からみた図である。
物体の中央部分(以下、島75と呼ぶ)は周辺よりも高
くなっており、また、島75の周囲76の上から下まで
の勾配は各島部分の側面で異なる。即ち、70の面は1
度、71の面は2度、72の面は0度、73の面は4度
の勾配を持つ。このような異なる勾配をもつ島75の形
状の物体を加工するには、図8に示すように、島75の
一番上の形状を示す元図形要素81に対して、本実施例
のオフセット図形生成方法でオフセット図形82を求め
て、回転するバイト74を元図形要素81をなぞって削
っていき、順次オフセット図形82の方向にずらしてゆ
けば、図7に示した勾配を持つ滑らかな物体に加工する
ことができる。
The offset figure creating method described above is
For example, this is effective when an object having the shape shown in FIGS. FIG. 7A is a diagram of the processed object viewed from directly above, and FIG. 7B is a diagram of the processed object viewed from the side.
The central portion of the object (hereinafter, referred to as an island 75) is higher than the periphery, and the gradient from the top to the bottom of the periphery 76 of the island 75 is different on the side surface of each island portion. That is, the surface of 70 is 1
The surface 71 has a gradient of 2 degrees, the surface 72 has a gradient of 0 degrees, and the surface 73 has a gradient of 4 degrees. In order to process the object having the shape of the island 75 having such a different gradient, as shown in FIG. The offset graphic 82 is obtained by the generation method, and the rotating byte 74 is scraped by tracing the original graphic element 81 and sequentially shifted in the direction of the offset graphic 82 to obtain a smooth object having a gradient shown in FIG. Can be processed.

【0059】尚、本発明は、複数の機器から構成される
システムに適用しても1つの機器から成る装置に適用し
ても良い。また、本発明は、システム或は装置にプログ
ラムを供給することによって達成される場合にも適用で
きることはいうまでもない。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of one device. Needless to say, the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or an apparatus.

【0060】以上説明したように、本実施例によれば以
下のような効果が得られる。即ち、元図形要素に対する
オフセット値が異なり、隣接するオフセット図形間の接
点がない場合でも、適切なオフセット図形を生成でき
る。
As described above, according to the present embodiment, the following effects can be obtained. That is, an appropriate offset figure can be generated even when the offset values with respect to the original figure element are different and there is no contact between adjacent offset figures.

【0061】[0061]

【発明の効果】以上説明したように本発明によれば、元
図形要素に対するオフセット値が異なり、隣接するオフ
セット図形間の接点がない場合でも、適切なオフセット
図形を生成できる。
As described above, according to the present invention, an appropriate offset figure can be generated even when offset values for the original figure elements are different and there is no contact between adjacent offset figures.

【0062】[0062]

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

【図1】オフセット図形作成の処理フローチャートであ
る。
FIG. 1 is a flowchart of an offset graphic creation process.

【図2】本実施例の情報処理システムのブロック図であ
る。
FIG. 2 is a block diagram of an information processing system according to the embodiment.

【図3】オフセット形状に接点がない場合の説明図であ
る。
FIG. 3 is an explanatory diagram in a case where there is no contact in an offset shape.

【図4】平行移動のみで処理できる場合のオフセット図
形の処理例を示す図である。
FIG. 4 is a diagram illustrating an example of processing of an offset figure when processing can be performed only by parallel movement;

【図5】前後の図形要素(線分)が平行な場合のオフセ
ット図形の作成例を示す図である。
FIG. 5 is a diagram showing an example of creating an offset figure when the preceding and following figure elements (line segments) are parallel.

【図6】前後の図形要素の最短距離によるオフセット図
形の作成例を示す図である。
FIG. 6 is a diagram illustrating an example of creating an offset graphic based on the shortest distance between preceding and succeeding graphic elements.

【図7】異なる抜き勾配が設定された加工される物体の
図面である。
FIG. 7 is a drawing of an object to be machined with different draft angles set.

【図8】図7の物体に加工するためのオフセット図形の
例を示す図である。
8 is a diagram illustrating an example of an offset graphic for processing into the object of FIG. 7;

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

h1 中央処理装置 h2 表示装置 h3 入力装置 h4 記憶装置 h5 情報読み込み装置 h6 2次記憶装置 h1 central processing unit h2 display device h3 input device h4 storage device h5 information reading device h6 secondary storage device

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 17/50 620 JICSTファイル(JOIS)Continuation of the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 17/50 620 JICST file (JOIS)

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 元図形からオフセット図形を生成する方
法であって、記憶手段に記憶された 元図形の中から、円弧図形要素、
前記円弧図形要素の前図形要素、前記円弧図形要素の後
図形要素を読み出す読出工程と、 前記読み出した 円弧図形要素、前記円弧図形要素の前図
形要素、前記円弧図形要素の後図形要素の各々に対し、
所定の距離はなれた、それぞれに対するオフセット図
形、オフセット前図形、オフセット後図形を生成手段に
より生成する生成工程と、 前記オフセット前図形と前記オフセット図形間と、前記
オフセット後図形と前記オフセット図形間に接点がなけ
れば、前記オフセット前図形と前記オフセット後図形の
片端点間を結ぶ区間直線の2等分線を中心とした円弧の
新オフセット図形を前記生成手段により生成する新オフ
セット図形生成工程と、前記オフセット前図形と前記オフセット後図形と前記新
オフセット図形とを、生成元の図形要素と対応させて前
記記憶手段に記憶する記憶工程と を備えることを特徴と
するオフセット図形生成方法。
1. A method for generating an offset graphic from an original graphic , comprising: an arc graphic element;
Before the arc graphic element, after the arc graphic element
A reading step of reading a graphic element, for each of the read arc graphic element, a graphic element before the arc graphic element, and a graphic element after the arc graphic element,
The offset figure, the figure before offset, and the figure after offset are generated by a predetermined distance.
A generating straight line that connects between the pre-offset graphic and the offset graphic, and between the one end point of the pre-offset graphic and one end point of the post-offset graphic if there is no contact between the post-offset graphic and the offset graphic. A new offset graphic generating step of generating, by the generating means, a new offset graphic of an arc centered on the bisector of (a), the pre-offset graphic, the post-offset graphic and the new
The offset figure is made to correspond to the figure element
And a storage step of storing in the storage means .
【請求項2】 元図形からオフセット図形を生成する方
法であって、記憶手段に記憶された 元図形の中から、円弧図形要素、
前記円弧図形要素の前図形要素、前記円弧図形要素の後
図形要素を読み出す読出工程と、 前記読み出した 円弧図形要素、前記円弧図形要素の前図
形要素、前記円弧図形要素の後図形要素の各々に対し、
所定の距離離れた、それぞれに対応するオフセット図
形、オフセット前図形、オフセット後図形を生成手段に
より生成する生成工程と、 前記オフセット前図形と前記オフセット図形間と、前記
オフセット後図形と前記オフセット図形間に接点がなけ
れば、前記オフセット前図形に対する前記オフセット後
図形の円弧中心からの垂線と、前記オフセット後図形と
の交点と、前記オフセット前図形との交点間の2等分点
を、円弧中心とする新オフセット図形を前記生成手段に
より生成する新オフセット図形生成工程と、前記オフセット前図形と前記オフセット後図形と前記新
オフセット図形とを、生成元の図形要素と対応させて前
記記憶手段に記憶する記憶工程と を備えることを特徴と
するオフセット図形生成方法。
2. A method for generating an offset graphic from an original graphic , comprising: an arc graphic element,
Before the arc graphic element, after the arc graphic element
A reading step of reading a graphic element, for each of the read arc graphic element, a graphic element before the arc graphic element, and a graphic element after the arc graphic element,
Offset figures, pre-offset figures, and post-offset figures corresponding to each other at predetermined distances are generated by the generation means.
A generation step of further generating, said offset front shapes and between the offset figure, if there is no contact between the offset graphics and the after offset figure, and the perpendicular from the arc center of the offset post figure for the offset prior figures, A new offset graphic having the bisector between the intersection with the post-offset graphic and the intersection with the pre-offset graphic as the center of the arc is sent to the generation means.
A new offset figure generating step of further generating, said offset prior figures and the after offset figure and the New
The offset figure is made to correspond to the figure element
And a storage step of storing in the storage means .
【請求項3】 前記オフセット前図形と前記オフセット
後図形とが互いに並行な区分直線であることを特徴とす
る請求項1に記載のオフセット図形生成方法。
3. The offset graphic generation method according to claim 1, wherein the graphic before offset and the graphic after offset are section straight lines parallel to each other.
【請求項4】 元図形からオフセット図形を生成する装
置であって、 基図形の中の、円弧図形要素、前記円弧図形要素の前図
形要素、前記円弧図形要素の後図形要素の各々に対し、
所定の距離離れた、それぞれに対応するオフセット図
形、オフセット前図形、オフセット後図形を生成する生
成手段と、 前記オフセット前図形と前記オフセット図形間と、前記
オフセット後図形と前記オフセット図形間に接点がなけ
れば、前記オフセット前図形と前記オフセット後図形の
片端点間を結ぶ区間直線の2等分点を中心とした円弧の
新オフセット図形を生成する新オフセット図形生成手段
とを備えることを特徴とするオフセット図形生成装置。
4. An apparatus for generating an offset graphic from an original graphic, comprising: an arc graphic element, a graphic element before the circular graphic element, and a graphic element after the circular graphic element in a base graphic;
Generating means for generating an offset graphic, a pre-offset graphic, and a post-offset graphic respectively corresponding to a predetermined distance, contact points between the pre-offset graphic and the offset graphic, and between the post-offset graphic and the offset graphic If not, a new offset graphic generating means for generating a new offset graphic of an arc centered on a bisecting point of a section straight line connecting one end point of the graphic before offset and the one end of the graphic after offset is provided. Offset figure generator.
【請求項5】 元図形からオフセット図形を生成する装
置であって、 元図形の中の、円弧図形要素、前記円弧図形要素の前図
形要素、前記円弧図形要素の後図形要素の各々に対し、
所定の距離離れた、それぞれに対応するオフセット図
形、オフセット前図形、オフセット後図形を生成する生
成手段と、 前記オフセット前図形と前記オフセット図形間と、前記
オフセット後図形と前記オフセット図形間に接点がなけ
れば、前記オフセット前図形に対する前記オフセット後
図形の円弧中心からの垂線と、前記オフセット後図形と
の交点と、前記オフセット前図形との交点間の2等分点
を、円弧中心とする新オフセット図形を生成する新オフ
セット図形生成手段とを備えることを特徴とするオフセ
ット図形生成装置。
5. An apparatus for generating an offset graphic from an original graphic, comprising: an arc graphic element, a graphic element before the circular graphic element, and a graphic element after the circular graphic element in the original graphic.
Generating means for generating an offset graphic, a pre-offset graphic, and a post-offset graphic respectively corresponding to a predetermined distance, contact points between the pre-offset graphic and the offset graphic, and between the post-offset graphic and the offset graphic If not, a new offset centered on an arc is a perpendicular line from the arc center of the post-offset graphic with respect to the pre-offset graphic, an intersection of the post-offset graphic and an intersection with the pre-offset graphic. And a new offset graphic generating means for generating a graphic.
【請求項6】 前記オフセット前図形と前記オフセット
後図形とが互いに並行な区分直線であることを特徴とす
る請求項に記載のオフセット図形生成装置。
6. The offset graphic generating apparatus according to claim 4 , wherein the graphic before offset and the graphic after offset are section straight lines parallel to each other.
【請求項7】 前記オフセット前図形と前記オフセット
後図形と前記新オフセット図形とを、生成元の図形要素
と対応させて記憶する記憶手段を更に有することを特徴
とする請求項4に記載のオフセット図形生成装置。
7. The graphic before the offset and the offset
The subsequent figure and the new offset figure are generated by
Characterized by further comprising storage means for storing in association with
The offset figure generating apparatus according to claim 4, wherein
【請求項8】 前記オフセット前図形と前記オフセット
後図形と前記新オフセット図形とを、生成元の図形要素
と対応させて記憶する記憶手段を更に有することを特徴
とする請求項5に記載のオフセット図形生成装置。
8. The offset pre-offset graphic and the offset
The subsequent figure and the new offset figure are generated by
Characterized by further comprising storage means for storing in association with
The offset figure generating apparatus according to claim 5, wherein
JP25300293A 1993-10-08 1993-10-08 Offset figure creation method and apparatus Expired - Fee Related JP3332502B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25300293A JP3332502B2 (en) 1993-10-08 1993-10-08 Offset figure creation method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25300293A JP3332502B2 (en) 1993-10-08 1993-10-08 Offset figure creation method and apparatus

Publications (2)

Publication Number Publication Date
JPH07105268A JPH07105268A (en) 1995-04-21
JP3332502B2 true JP3332502B2 (en) 2002-10-07

Family

ID=17245127

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25300293A Expired - Fee Related JP3332502B2 (en) 1993-10-08 1993-10-08 Offset figure creation method and apparatus

Country Status (1)

Country Link
JP (1) JP3332502B2 (en)

Also Published As

Publication number Publication date
JPH07105268A (en) 1995-04-21

Similar Documents

Publication Publication Date Title
US6532304B1 (en) Matching geometric objects
JP3466661B2 (en) Image processing apparatus and method
US5734383A (en) Apparatus and method for generating a three-dimensional model on a graphic display from a two-dimensional image
JPS6074003A (en) Shape creating device
EP0596667B1 (en) Processing image data
JPH05266146A (en) Representing device for body shape
JP2718401B2 (en) Line-symmetric figure shaping apparatus and method for generating a line-symmetric figure with respect to all arbitrary numbers of symmetry axes
JP3599198B2 (en) Figure editing device
JP3332502B2 (en) Offset figure creation method and apparatus
JP2809762B2 (en) Figure shaping device
JPH0636013A (en) Method and device for generating topographic data
JP3138933B2 (en) Modeling system
JP2735197B2 (en) Graphic input device
JPH1031757A (en) Graphic processor and method for calculating shortest distance between elements
JP3389388B2 (en) Drawing editing device
JP3305395B2 (en) Figure division device
JP2912132B2 (en) Dimension line entry method
JP3353212B2 (en) Leader automatic creation method and leader automatic creation system
JP3540157B2 (en) Shape modeling method using image and recording medium storing shape modeling program
JP3490169B2 (en) Three-dimensional animation processing system and processing method
JPH0696178A (en) Graphic processing system
JPH0652533B2 (en) Method for displaying partial curved surface and graphic display device using the same
JPS6125190B2 (en)
JP3249652B2 (en) Curved surface division method and apparatus
JP3696909B2 (en) Graphic processing method and apparatus

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: 20020705

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

Free format text: PAYMENT UNTIL: 20080726

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20080726

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090726

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090726

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100726

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100726

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110726

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120726

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120726

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130726

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees