JPH07105271A - Dimensional tolerance processor - Google Patents

Dimensional tolerance processor

Info

Publication number
JPH07105271A
JPH07105271A JP5273017A JP27301793A JPH07105271A JP H07105271 A JPH07105271 A JP H07105271A JP 5273017 A JP5273017 A JP 5273017A JP 27301793 A JP27301793 A JP 27301793A JP H07105271 A JPH07105271 A JP H07105271A
Authority
JP
Japan
Prior art keywords
cad
dimensional tolerance
dimension
cad data
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5273017A
Other languages
Japanese (ja)
Inventor
Isao Ito
勇夫 伊藤
Yoshizo Hayakawa
喜三 早川
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.)
Toyota Central R&D Labs Inc
Original Assignee
Toyota Central R&D Labs 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 Toyota Central R&D Labs Inc filed Critical Toyota Central R&D Labs Inc
Priority to JP5273017A priority Critical patent/JPH07105271A/en
Publication of JPH07105271A publication Critical patent/JPH07105271A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

(57)【要約】 【目的】 寸法公差処理パターンに合わせて寸法公差処
理を短時間に正確に、かつ自動的に処理し得る極めて汎
用性に富んだ寸法公差処理装置を提供することにある。 【構成】 中間CADデータの中に上/下の寸法許容差
がどちらか一方に片寄っている寸法表示のある場所及び
その個数を算出する手段と、中間CADデータの中の全
図形要素間の接続部における図形NO.、図形種類、接
続部位等の接続情報を構築する手段と、指示した寸法公
差処理パターンに従って自動的に中間CADデータを修
正し、別の新しい中間CADデータを作る寸法公差処理
手段とから成り、短時間で正確に寸法公差処理できる。
(57) [Abstract] [Purpose] An object of the present invention is to provide an extremely versatile dimensional tolerance processing device capable of accurately and automatically performing dimensional tolerance processing in a short time according to a dimensional tolerance processing pattern. [Structure] Connection between all graphic elements in the intermediate CAD data, and means for calculating the number and the number of places where the upper and lower dimensional tolerances are offset to either side in the intermediate CAD data Figure NO. , A means for constructing connection information such as a figure type and a connection part, and a dimension tolerance processing means for automatically correcting the intermediate CAD data in accordance with a designated dimension tolerance processing pattern to create another new intermediate CAD data. Accurate dimensional tolerance processing in time.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はCAD装置、CAM装置
を使ってNC工作機械の動作を制御するためのNCデー
タを作成する工程を支援する寸法公差処理装置に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dimensional tolerance processing apparatus that supports a process of creating NC data for controlling the operation of an NC machine tool by using a CAD device and a CAM device.

【0002】[0002]

【従来の技術】一般的に異機種のCAD装置、CAM装
置を使ってNC工作機械によって製品加工をするための
NCデータを作成するまでの工程の流れは図7に示す通
りである。すなわち、第1の工程ではCADにより製品
形状及び、例えば長さ寸法が
2. Description of the Related Art Generally, the flow of steps up to creating NC data for machining a product by an NC machine tool using different types of CAD devices and CAM devices is as shown in FIG. That is, in the first step, the product shape and, for example, the length dimension are determined by CAD.

【0003】[0003]

【数1】 [Equation 1]

【0004】のように上の寸法許容差 (+0.2)、下の寸
法許容差(-0.1)が+側、−側のどちらか一方に片寄っ
ているような寸法公差表示を含む図面をCAD上で作
る。どのCAD/CAMメーカーも標準的に装備してい
るソフトウエアを使って機械的に図面の点、直線、円
弧、曲線、寸法表示等のCADデータを国際規格である
IGES( Initial Graphics Exchange Specification
) 、DXF( Data Exc-hange Format ) 等で定められ
た標準フォーマットに従ってCADデータ(これを中間
CADデータと呼ぶ)を作成する。世の中ではIGES
が最も普及しているので中間CADデータはこれに従
う。
On the CAD, a drawing including a dimensional tolerance display in which the upper dimensional tolerance (+0.2) and the lower dimensional tolerance (-0.1) deviate to either the + side or the-side as shown in FIG. Make with. IGES (Initial Graphics Exchange Specification) which is an international standard for CAD data such as points, straight lines, arcs, curves, and dimension displays of drawings mechanically using software that is standard equipment of any CAD / CAM maker.
), DXF (Data Exc-hange Format), etc., according to the standard format, CAD data (this is called intermediate CAD data) is created. IGES in the world
Is most popular, the intermediate CAD data follows it.

【0005】第2の工程ではどのCAD/CAMメーカ
ーも標準的に装備しているソフトウエアを使って機械的
に中間CADデータからもとの図面と同じ図面を再現さ
せる。また、第3の工程では再現された図面をもとに、
少なくとも1つでも長さ、半径、直径、角度等上/下の
寸法許容差が+側、−側のどちらか一方に片寄っている
場合には、NC工作機械の加工誤差(±μ)を考慮して
寸法許容差が+側、−側に均等になるように(これを寸
法公差中間値処理という)CAD上あるいはCAM上で
人が作業を行う。第4の工程ではその寸法公差中間値処
理された図面をもとにNC加工機の動作を制御するため
の加工データ(NCデータ)を作成するという工程を踏
む。CAD装置,CAM装置が同一機種のマシンならば
第2の工程はいらない。ここで第3の工程の寸法公差中
間値処理は、例えば長さ寸法の例では以下のようにな
る。
In the second step, any CAD / CAM maker mechanically reproduces the same drawing as the original drawing from the intermediate CAD data by using software that is standardly equipped. In the third step, based on the reproduced drawings,
If at least one of the upper / lower dimensional tolerances such as length, radius, diameter, angle, etc. deviates to either the + side or the-side, consider the machining error (± μ) of the NC machine tool. Then, a person works on the CAD or the CAM so that the dimensional tolerance becomes even on the + side and the-side (this is called dimensional tolerance intermediate value processing). In the fourth step, a step of creating processing data (NC data) for controlling the operation of the NC processing machine on the basis of the drawing subjected to the dimensional tolerance intermediate value processing is performed. If the CAD device and the CAM device are machines of the same model, the second step is not necessary. Here, the dimensional tolerance intermediate value process of the third step is as follows in the example of the length dimension.

【0006】[0006]

【数2】 [Equation 2]

【0007】製品の性格によっては寸法公差中間値処理
をしない場合もある。このような寸法公差処理はNC工
作機械により製品を加工する際、もともと許されている
最小許容寸法〜最大許容寸法の範囲内に加工できる確率
が高くなることをねらって行うものである。重要なこと
は前述の寸法公差処理によって修正した直線、円弧等の
図形と修正する以前まで接続されていた全ての図形とも
接続状態を維持させなければいけないということであ
る。
Depending on the characteristics of the product, the dimensional tolerance intermediate value process may not be performed. Such dimensional tolerance processing is carried out in order to increase the probability that the originally machined product can be machined within the range of the minimum permissible dimension to the maximum permissible dimension when machining a product with an NC machine tool. What is important is that it is necessary to maintain the connected state with the figures such as straight lines and arcs corrected by the dimensional tolerance processing described above and all figures that were connected before the correction.

【0008】[0008]

【発明が解決しようとする課題】前記第3の工程の寸法
公差中間値処理は、人が作業するため数か所ならば労力
も少なく確実に行える。しかし、これが10,20・・・・ と数
が増えてくるとこのような作業は大変面倒で長い時間を
費やし、微小ではあるが線と線とが継ながらなくなった
等の誤修正のもとになる。こういった作業効率の悪さ、
信頼性の問題という課題を必然的に持っている。また、
市販のCAD/CAMシステムにおいて使用されている
寸法公差処理手法はメーカーが提供するマシンの機種に
依存し、別の機種では使えなく、汎用性がないという実
用上解決すべき大きな課題を持っている(特開平 4-175
978 号)。
The dimensional tolerance intermediate value processing in the third step can be reliably performed with a small amount of labor in a few places because a person works. However, as the number increases to 10, 20, ..., this kind of work is very troublesome and takes a long time. become. Such poor work efficiency,
Inevitably has the issue of reliability issues. Also,
The dimension tolerance processing method used in the commercially available CAD / CAM system depends on the model of the machine provided by the manufacturer, cannot be used in another model, and has a major problem to be solved in practice, which is not versatile. (JP-A-4-175
No. 978).

【0009】すなわち、このCAD/CAMシステム
は、製品形状の寸法を含む少なくとも3面図から定義す
る形状定義手段と、この定義された図面における形状お
よび寸法の各データを記憶する形状記憶手段と、この記
憶された図面の寸法データから予め定義されない図面の
寸法を補う図面間寸法展開手段と、これら各公差付公称
寸法から中間公差寸法を計算し、かつ求めた中間公差値
を含む寸法で定義された図面を作成する中間公差寸法形
状自動生成手段とを備える。かかるCAD/CAMシス
テムは、CAD装置固有の図面データベースに直接アク
セスし、寸法公差中間値処理を行い図面データベースを
作り直すプログラムの開発が必要となる。このため、C
ADデータベースに関し専門的知識を必要とし、当該開
発プログラムには汎用性がないといった不具合がある。
That is, the CAD / CAM system includes a shape defining means defined from at least three views including dimensions of a product shape, and a shape storing means for storing each data of the shape and the dimension in the defined drawing. It is defined by the dimension expansion means between drawings that supplements the dimension of the drawing that is not previously defined from the stored dimension data of the drawing, and the dimension including the calculated intermediate tolerance value by calculating the intermediate tolerance dimension from these nominal dimensions with tolerances. And an automatic tolerance dimension / shape automatic generation means for creating a drawing. Such a CAD / CAM system requires the development of a program that directly accesses the drawing database unique to the CAD device, performs the dimensional tolerance intermediate value processing, and recreates the drawing database. Therefore, C
There is a problem that specialized knowledge is required regarding the AD database and the development program is not versatile.

【0010】本発明は上記課題を解決する寸法公差処理
装置である。すなわち、本発明の寸法公差処理装置は、
CAD/CAM装置固有の図面データベースに直接アク
セスすることなく、例えば寸法公差中間値処理を実現す
るものである。それは中間CADデータに記述されてい
る寸法公差片寄りのデータを自動的に読み取ってそれを
寸法公差中間値に修正、かつそれに密接に関係付けられ
る図形情報も修正し、新しい中間CADデータを作り、
どのCAD/CAMメーカーも標準的に装備しているソ
フトウエアを使って該中間CADデータをもとに、寸法
公差中間値処理済の図面をCAD/CAM装置に表示す
るものであり、作業効率、信頼性、汎用性等にすぐれて
いる。このように、本発明は、製品の性格によっては前
述の該片寄りがある全てあるいは部分的な箇所を該中間
値処理したり、該片寄りがあっても部分的に該中間値処
理をしないで基準寸法を最小許容寸法値,最大許容寸法
値,あるいは最小許容寸法値〜最大許容寸法値の間で任
意の値にする等の寸法公差処理パターンに合わせて寸法
公差処理を短時間に正確に、かつ自動的に処理し、マシ
ンの機種に依存せず汎用性の高い寸法公差処理装置を提
供することを目的とする。
The present invention is a dimensional tolerance processing device that solves the above problems. That is, the dimensional tolerance processing device of the present invention,
For example, the dimensional tolerance intermediate value process is realized without directly accessing the drawing database specific to the CAD / CAM device. It automatically reads the data that is offset to the dimensional tolerance described in the intermediate CAD data, corrects it to the intermediate value of the dimensional tolerance, and also corrects the graphic information closely related to it, and creates new intermediate CAD data.
Any CAD / CAM maker uses standard software to display the drawing with the intermediate dimension tolerance value processed on the CAD / CAM device based on the intermediate CAD data. It has excellent reliability and versatility. As described above, according to the present invention, the intermediate value processing is not performed on all or a part of the above-mentioned offset depending on the character of the product, or the intermediate value processing is not partially performed even if the offset is present. Accurate dimensional tolerance processing in a short time according to the dimensional tolerance processing pattern, such as setting the reference dimension to the minimum allowable dimension value, maximum allowable dimension value, or any value between the minimum allowable dimension value and the maximum allowable dimension value. It is an object of the present invention to provide a dimensional tolerance processing device that performs automatic processing and is highly versatile regardless of the machine model.

【0011】[0011]

【課題を解決するための手段】本発明の寸法公差処理装
置は、CAD/CAM装置からCAD/CAM装置へ製
品形状および寸法を含む図面のCADデータを転送、再
現させる際、機械的に点、直線、円弧、曲線等のCAD
データの標準フオーマットに従って作られたCADデー
タ(以後中間CADデータと呼ぶ)の中に上/下の寸法
許容差がどちらか一方に片寄っているような寸法表示の
ある場所及びその個数を算出する手段と、該中間CAD
データの中の全図形要素間の接続部における図形No. 、
図形種類、接続部位等の接続情報を構築する手段と、指
示した寸法公差処理パターンに従って自動的に該中間C
ADデータを修正し、別の新しい中間CADデータを作
る寸法公差処理手段とから構成される。
SUMMARY OF THE INVENTION A dimension tolerance processing apparatus of the present invention mechanically transfers points of CAD data of a drawing including a product shape and dimensions from a CAD / CAM apparatus to a CAD / CAM apparatus and reproduces mechanical points, CAD of straight lines, arcs, curves, etc.
Means for calculating the location and the number of locations where the CAD data (hereinafter referred to as intermediate CAD data) created according to the standard format of the data has a dimensional tolerance such that the upper and lower dimensional tolerances are offset to either one. And the intermediate CAD
Graphic No. at the connection between all graphic elements in the data
A means for constructing connection information such as the type of figure and connection part, and the intermediate C automatically according to the specified dimension tolerance processing pattern.
Dimension tolerance processing means for correcting the AD data and creating another new intermediate CAD data.

【0012】ここで、寸法表示のある場所及びその個数
を算出する手段は、CAD/CAM装置からCAD/C
AM装置へ製品形状及び寸法を含む図面のCADデータ
を転送、再現させる際に、一般的に市販されているソソ
フトウエアを使って、機械的に点、直線、円弧、曲線等
のCADデータの国際規格であるIGES、DXF等の
標準フォーマットに従って作られた中間CADデータの
中の上/下の寸法許容差が+側、−側のどちらか一方に
片寄っているような長さ、半径、直径、角度等の寸法表
示がある場所及びその個数を算出することができる。ま
た、接続情報を構築する手段は、該中間CADデータの
中の図形要素の点、直線、円弧、曲線、寸法表示等を含
む1つ1つの図形要素に対して他の全図形要素と接続さ
れている図形要素の種類、接続位置、接線連続性等の図
形間接続情報を構築することができる。さらに、寸法公
差処理手段は、該中間CADデータの中に上/下の寸法
許容差が+側、−側のどちらか一方に片寄っているよう
な長さ、半径、直径、角度等の寸法公差表示があること
を検出した場合には、指示された前述の寸法公差処理パ
ターン、該寸法公差表示の中の基準寸法値、上/下の寸
法許容差値から基準寸法値、±公差値あるいは上/下の
寸法許容差値を計算し直し、中間CADデータ中にそれ
に該当する図形要素並びに該図形間接続情報から該図形
要素と密接に関係がある図形要素を漏れなく図形要素の
該図形間接続情報と整合性を維持させた図形要素になる
ように自動的に中間CADデータから別の新しい中間C
ADデータを作る。
[0012] Here, the means for calculating the place where the dimension is displayed and the number thereof are provided by the CAD / CAM device through CAD / C.
When transferring and reproducing the CAD data of the drawing including the product shape and dimensions to the AM device, mechanical software such as points, straight lines, arcs, and curves can be used to mechanically convert the CAD data of the software using commercially available software. Length, radius, and diameter such that the upper / lower dimensional tolerance in the intermediate CAD data created according to the international standard formats such as IGES and DXF deviates to either + side or-side. It is possible to calculate the place where the dimensional display such as the angle is displayed and the number thereof. Further, the means for constructing the connection information is connected to all the other graphic elements with respect to each graphic element including points, straight lines, arcs, curves, dimension displays, etc. of the graphic elements in the intermediate CAD data. It is possible to build inter-graphic connection information such as the type of graphic element, connection position, and tangential continuity. Further, the dimensional tolerance processing means has dimensional tolerances such as length, radius, diameter, angle, etc. such that the upper / lower dimensional tolerance in the intermediate CAD data deviates to either the + side or the-side. If it is detected that there is a display, the specified dimension tolerance processing pattern, the reference dimension value in the dimension tolerance display, the upper / lower dimension tolerance value, the reference dimension value, ± tolerance value or / Recalculate the dimensional tolerance value below and connect the figure elements corresponding to the figure element in the intermediate CAD data and the figure elements closely related to the figure element from the connection information between the figures without omission. Automatically change the intermediate CAD data to another new intermediate C so that it becomes a graphic element that maintains information and consistency.
Create AD data.

【0013】このように、本発明は、寸法公差処理装置
によってできた新しい中間CADデータをもとに一般的
に市販されているソフトウエアを使って、機械的にCA
D上に指示した寸法公差処理パターンに従って修正され
た図面を得ることによって従来の問題を解決することが
できる。このように、本発明は、従来とは中間CADデ
ータを作り直すという意味で本質的に方法が異なり、ど
んな機種のCAD装置、CAM装置にも適用装備するこ
とができる実用的効果を有する。
As described above, the present invention mechanically performs CA by using software which is generally commercially available based on the new intermediate CAD data generated by the dimension tolerance processing device.
The conventional problem can be solved by obtaining a drawing modified according to the dimensional tolerance processing pattern indicated on D. As described above, the present invention has a practical effect that is different from the conventional one in that the intermediate CAD data is recreated, and has a practical effect that can be applied to any type of CAD device and CAM device.

【0014】[0014]

【作用】本発明の寸法公差処理装置は、これにより指示
した寸法公差処理パターンに従って修正された図面を簡
単に得られ、従来まで人がCAD/CAM上で作業して
いた寸法公差処理の煩雑で間違いやすい作業が不用とな
り、その分NC工作機械の動作を制御するためのNCデ
ータを作成する工程の作業時間が大幅に軽減できると共
に信頼性も向上する。
The dimensional tolerance processing apparatus of the present invention can easily obtain a drawing corrected in accordance with the dimensional tolerance processing pattern designated by the above, and the dimensional tolerance processing which is conventionally performed by a person on CAD / CAM is complicated. Erroneous work becomes unnecessary, and the work time of the process of creating the NC data for controlling the operation of the NC machine tool can be greatly reduced and the reliability is improved.

【0015】[0015]

【発明の効果】本発明の寸法公差処理装置はこれにより
指示した寸法公差処理パターンに従って修正された図面
を簡単に得られ、従来まで人がCAD/CAM上で作業
していた寸法公差処理の煩雑で間違いやすい作業が不用
となり、その分NC工作機械の動作を制御するためのN
Cデータを作成する工程の作業時間が大幅に軽減できる
と共に信頼性も向上する。また、市販されているCAD
/CAMシステムで本発明の中の寸法公差中間値処理と
手法は異なるものもあるが、これはメーカーが提供する
マシンの機種に依存し、汎用性が無く別の機種では使え
ない。これに対し、本発明の寸法公差処理装置は十分に
汎用性を持っているのでCAD/CAM装置の機種には
全く依存せず、どんなCAD/CAM装置にも適応、装
備することができる実用的な寸法公差処理装置である。
As described above, the dimensional tolerance processing apparatus of the present invention can easily obtain a drawing corrected in accordance with the designated dimensional tolerance processing pattern, and the dimensional tolerance processing that is conventionally performed by a person on CAD / CAM is complicated. The operation that is easy to make mistakes becomes unnecessary, and N for controlling the operation of NC machine tools
The working time of the process of creating C data can be greatly reduced and the reliability is improved. In addition, commercially available CAD
Some CAM systems have different methods from the dimensional tolerance intermediate value processing in the present invention, but this depends on the machine model provided by the manufacturer and is not versatile and cannot be used in another model. On the other hand, the dimensional tolerance processing device of the present invention is sufficiently versatile that it does not depend on the model of the CAD / CAM device at all and can be adapted and installed in any CAD / CAM device. Dimensional tolerance processing device.

【0016】[0016]

【実施例】本発明を以下の実施例に基づき詳細に説明す
る。なお、本発明は下記実施例に限定されるものではな
い。図1は本実施例の寸法公差処理装置のブロック図で
ある。図2は上/下の寸法許容差の片寄り4ケ所全てを
寸法公差処理パターンのうち寸法公差中間値処理として
指示し、寸法公差処理をする前の例題図でCADにより
描いたものである。図3はどのCAD/CAMメーカー
も標準的に装備しているソフトウエアを使って機械的に
IGESの標準フォーマットに従って作られた図2の中
間CADデータの抜粋である。このIGESデータの形
式は図3に示すようにスタート部,グローバル部,ディ
レクトリ部,パラメータ部,ターミネート部の5つのセ
クションで構成されており、スタート部にはコメント
が、グローバル部にはデータの区切り記号等中間CAD
データを読むための情報が、ディレクトリ部には線種、
線幅、色等1つ1つの図形に対する属性情報が2行にわ
たって20個のフィールドに分けて記述され、パラメー
タ部にはディレクトリ部で定義した直線、円弧、寸法表
示等の1つ1つの図形の始点、終点、中心点の座標値等
具体的な幾何情報が、ターミネート部には各部のデータ
の総行数が記述されており、これら各部のデータの行数
は必要な行数だけ記述される。本実施例においてはこの
ディレクトリ部、パラメータ部の情報を書き換えて新し
い中間CADデータを作るということにつきる。その方
法は図1に示すように3つのフェーズに分けて処理し、
以下各フェーズごとに説明する。
EXAMPLES The present invention will be described in detail based on the following examples. The present invention is not limited to the examples below. FIG. 1 is a block diagram of a dimensional tolerance processing device of this embodiment. FIG. 2 is a CAD drawing of an example before dimensional tolerance processing, in which all four deviations of the upper / lower dimensional tolerances are designated as the dimensional tolerance intermediate value processing in the dimensional tolerance processing pattern. FIG. 3 is an excerpt of the intermediate CAD data of FIG. 2 mechanically created according to the standard format of IGES using software that is standardly equipped by any CAD / CAM maker. As shown in FIG. 3, the format of this IGES data is composed of five sections: a start section, a global section, a directory section, a parameter section, and a termination section. A comment is placed in the start section and a data delimiter is placed in the global section. Intermediate CAD such as symbols
Information for reading the data, line type in the directory part,
Attribute information for each figure such as line width and color is described in two fields divided into 20 fields, and in the parameter section, each figure such as straight line, arc, dimension display etc. defined in the directory section is described. Specific geometric information such as the coordinate values of the start point, end point, and center point, and the total number of lines of data in each part are described in the terminated part. The number of lines of data in each part is described by the required number of lines. . In this embodiment, the information in the directory portion and the parameter portion is rewritten to create new intermediate CAD data. The method is divided into three phases as shown in FIG.
Each phase will be described below.

【0017】フェーズ1ではIn Phase 1

【表1】 の中間CADデータの中に上/下の寸法許容差が+側、
−側のどちらか一方に片寄っている寸法表示がある場所
(図形要素No. )とその個数nを算出する。その算出方
法は容易で、中間CADデータのディレクトリ部のデー
タの中で寸法を表示する要素の第15番目のフィールド
の数値でその有無を判別することができ、本実施例では
長さ寸法が2ケ所、直径寸法、半径寸法が各1ケ所の合
計n=4ケ所(図2の図形要素No. 7〜10)あること
がわかる。その結果該片寄りがあった場合(n≠0)に
はフェーズ2へ進む。フェーズ2では中間CADデータ
のディレクトリ部、パラメータ部の全てのデータを調べ
て
[Table 1] The upper / lower dimensional tolerance is + side in the intermediate CAD data of
Calculate the location (graphic element No.) and the number n where the dimension display is offset to either side of the minus side. The calculation method is easy, and the presence or absence thereof can be determined by the numerical value of the fifteenth field of the element for displaying the dimension in the data of the directory portion of the intermediate CAD data. In this embodiment, the length dimension is 2 It can be seen that there are a total of n = 4 places (figure element Nos. 7 to 10 in FIG. 2), one for each place, one for the diameter and one for the radius. As a result, when there is the deviation (n ≠ 0), the process proceeds to phase 2. In Phase 2, check all data in the directory part and parameter part of the intermediate CAD data

【表2】 に示すように図2の例題図における1つ1つの図形要素
(これを親と呼ぶ)に対する他の全図形要素(これを子
と呼ぶ)との間の接続点における親/子の図形No. 、図
形種類、接続部位、接線連続性等の図形間接続情報を構
築し、フェーズ3へ進む。
[Table 2] As shown in Fig. 2, the parent / child figure No. at the connection point between each figure element (which is called a parent) and all other figure elements (which is called a child) in the example diagram of FIG. , The figure type, the connection part, the tangent continuity, and the like are connected to each other, and the process proceeds to phase 3.

【0018】フェーズ3ではフェーズ1で算出された寸
法公差処理に該当する図形要素No.、個数n、表2の図
形間接続情報及び中間CADデータおよび指示した寸法
公差処理パターンをもとに寸法公差処理をする。本実施
例ではこのパターンを全て寸法公差中間値処理として処
理をする。この寸法公差処理手段は図4に示すように2
つのステップに分けて処理し、ステップ1ではフェーズ
1で算出された寸法公差処理に該当する4個の図形要素
No. 7〜10に対してそれぞれ単独で他の図形要素とは
無関係に通常
In phase 3, the dimensional tolerance is calculated based on the figure element number corresponding to the dimensional tolerance process calculated in phase 1, the number n, the inter-graphic connection information in Table 2, the intermediate CAD data, and the designated dimensional tolerance processing pattern. To process. In this embodiment, all the patterns are processed as the dimensional tolerance intermediate value process. This dimensional tolerance processing means is provided with 2 as shown in FIG.
Processing is divided into two steps, and in step 1, four graphic elements corresponding to the dimension tolerance calculation calculated in phase 1
No. 7 to 10 are usually independent of other graphic elements

【0019】[0019]

【数3】 [Equation 3]

【0020】と表現されている基準寸法値(X)、上/
下の寸法許容差値
Reference dimension value (X) expressed as
Lower dimensional tolerance value

【0021】[0021]

【数4】 [Equation 4]

【0022】を中間CADデータのパラメータ部のデー
タから読み取って新しい基準寸法値X’、±公差値αを
(1)式に従って計算し、
Is read from the data of the parameter portion of the intermediate CAD data, and new reference dimension value X'and ± tolerance value α are calculated according to the equation (1),

【0023】[0023]

【数5】 [Equation 5]

【0024】例えば図形要素No. 7に対しては X=4
0,a=+0.04,b=0からX’=40.02,α
=0.02となりCAD/CAM上で '40.02±
0.02’と表示されるように寸法値、寸法線、寸法補
助線も含めて中間CADデータのパラメータ部のデータ
を新しい中間CADデータとして書き換えると同時に表
2に示すようにNo. 7の寸法表示に該当する子の図形要
素No. 1の直線を伸縮させて長さがX’となるように中
間CADデータのパラメータ部のデータの始点,終点の
座標値を計算し、新しい中間CADデータとして書き換
える。
For example, for graphic element No. 7, X = 4
0, a = + 0.04, b = 0 to X ′ = 40.02, α
= 0.02 and on CAD / CAM '40 .02 ±
The data of the parameter part of the intermediate CAD data including the dimension value, the dimension line, and the dimension extension line is rewritten as new intermediate CAD data so that it is displayed as 0.02 ', and at the same time, as shown in Table 2, the dimension of No. The coordinate values of the start and end points of the data in the parameter section of the intermediate CAD data are calculated by expanding and contracting the straight line of the child graphic element No. 1 corresponding to the display so that the length becomes X ', and as new intermediate CAD data. rewrite.

【0025】また、No. 9のような半径寸法の場合にも
同様である。このステップ1が終わった段階では一般的
に単独で寸法公差処理をした直線、円弧(これを親と呼
ぶ)は今まで接続されていた直線、円弧(これを子と呼
ぶ)と分断され、このままでは図面として成り立たなく
なるので表2に示すように以前には親と接続されていた
子、子と接続されていた孫,・・・の接続状態を完全に
復帰させなければならずこれをステップ2の寸法公差処
理の後処理という。この後処理の方法は本実施例では親
が直線(長さ寸法)、円弧(半径,直径寸法)の2ケー
スあり、分けて処理をする。親が直線のケース(No.
1,2)では子,孫,・・・の図形種類が円弧あるい
は親直線と直交する直線の時は親直線の中間点から見た
両端点方向のベクトルのうち子、孫、・・・側に近い方
向のベクトル方向に子、孫、・・・の図形を(a+b)
/4の長さだけ平行移動する。これを子、孫、・・・と
繰返し行い、親直線と平行な子、孫、・・・の直線(こ
れが最後の直線となる)については直線の始点、終点の
座標値のいづれか一方をその1つ上位の親(ひ孫の時は
孫)の図形の始点、終点の座標値の近い点を新しい始
点、終点の座標値とし、これを親の子の数だけ繰り返し
行い、変更した子、孫、・・・の直線、円弧の始点、終
点、中心点の座標値を新しい中間CADデータとして書
きえる。そして、親が円弧のケース(No. 5,6)では
表2で示すように親円弧(No. 5)に子円弧(No. 6)
が接続され、またはその逆の関係で接続されているので
両方処理する必要は無く前者の処理だけをすれば良く、
その処理は両円弧共にステップ1の処理が終わっている
ので始点、終点、中心点の座標値データを新しい中間C
ADデータから読み、親円弧と子円弧を共に閉じた円弧
と考え2つの円の交点座標値を計算し、その交点が親円
弧,子円弧の始点、終点の座標値となるように更に新し
い中間CADデータを書き換える。
The same applies to the case of the radius dimension such as No. 9. At the stage where this step 1 is completed, the straight line and the arc (which is called parent), which have been subjected to the dimension tolerance processing independently, are generally divided into the straight line and the arc (which is called the child) which have been connected until now, and they are left as they are. Since it does not hold as a drawing, as shown in Table 2, the connection state of the child previously connected to the parent, the grandchild connected to the child, ... Must be completely restored, and this must be done in step 2 It is called the post-processing of the dimensional tolerance processing. In this embodiment, there are two cases of this post-processing, that is, the parent is a straight line (length dimension) and a circular arc (radius, diameter dimension), and they are treated separately. Parents are straight (No.
In 1 and 2), the figure type of child, grandchild, ... Is arc or
Is a straight line that is orthogonal to the parent straight line, the child, grandchild, ... (A + b)
Translate for a length of / 4. Repeat this for children, grandchildren, and so on. For the children, grandchildren, and so on, which are parallel to the parent line (this is the last straight line), use either the start point or end point coordinate value of that line. A new start point and end point coordinate values that are close to the start point and end point coordinate values of the next higher parent (grandchild if the child is a grandchild) are repeated as many times as the number of parent children, and the changed children and grandchildren The coordinate values of the straight line, ..., The starting point, the ending point, and the center point of the circular arc can be written as new intermediate CAD data. Then, in the case where the parent is an arc (No. 5, 6), as shown in Table 2, the parent arc (No. 5) is added to the child arc (No. 6).
Are connected, or vice versa, so it is not necessary to process both, and only the former process needs to be performed.
Since the processing of step 1 has been completed for both arcs, the coordinate value data of the start point, end point, and center point are updated to a new intermediate C
It is read from AD data, the parent arc and the child arc are considered as closed arcs, and the coordinate values of the intersection points of the two circles are calculated. A new intermediate point is created so that the intersection points become the coordinate values of the start point and end point of the parent arc and child arc. Rewrite the CAD data.

【0026】また、本実施例以外にも例えば親円弧が既
に単独寸法公差処理がされており、その親円弧が他の円
弧の中心点に乗っていたり、1本の直線と接したり、2
本の直線と接したり、1本の直線あるいは1つの円弧と
接したり、他の2つの円弧と接したり等が考えられるが
これも簡単な幾何計算により、親/子の始点、終点、中
心点の座標値が計算できる。
In addition to the present embodiment, for example, the parent arc is already subjected to the single dimension tolerance processing, and the parent arc is placed on the center point of another arc, contacts with one straight line, or 2
It may come into contact with a straight line, one straight line or one circular arc, or two other circular arcs, but this is also a simple geometric calculation, and the start point, end point, and center point of the parent / child The coordinate value of can be calculated.

【0027】さらに、本実施例以外にも、例えば図6に
示すように長さ、半径、直径、角度等の寸法公差処理に
該当する寸法のすぐ隣の図形に寸法が記述されていた
り、中心線を挟んで対称の位置に同じ図形があって、寸
法の記述が無い等のケースも考えられる。これらに対し
て本発明の寸法公差処理装置は、十分に適用実施するこ
とができる。すなわち、前者の場合には、該当する図形
の一方(図6中符号A)を基準に他方(図6中符号B)
を伸縮させたり、また前記AまたはBを基準に他方を伸
縮させる。また、後者の場合には、前者と同様の処理を
すると同時に
Further, in addition to the present embodiment, for example, as shown in FIG. 6, the dimension is described in the figure immediately adjacent to the dimension corresponding to the dimension tolerance processing such as the length, radius, diameter, angle, or the center, There may be a case in which the same figure exists at symmetrical positions across the line and there is no description of dimensions. On the other hand, the dimensional tolerance processing device of the present invention can be sufficiently applied and implemented. That is, in the former case, one of the corresponding figures (reference numeral A in FIG. 6) is used as the other reference (reference numeral B in FIG. 6).
Is expanded or contracted, or the other is expanded or contracted based on A or B. In the latter case, the same processing as the former is performed at the same time.

【表3】 に示すように、予め図形要素間の前記接続情報としての
対称関係表を作っておき、その対称関係の図形に対して
も同様な処理をする。
[Table 3] As shown in FIG. 5, a symmetry relation table as the connection information between the graphic elements is created in advance, and the same processing is performed on the graphic having the symmetry relation.

【0028】以上説明した手順により書き換えられた新
しい中間CADデータをもとにどのCAD/CAMメー
カーも標準的に装備しているソフトウエアを使って機械
的にCAD/CAM上に表1に対して全て寸法公差中間
値処理をして上/下の寸法許容差の片寄りの無い図5に
示す図面が得られる。また、本実施例は2次元CADを
使用しているが3次元CADにおいても同様な処理がで
きる。
Based on the new intermediate CAD data rewritten by the above-described procedure, any CAD / CAM maker mechanically uses CAD software to equip the CAD / CAM mechanically with respect to Table 1. All the dimensional tolerance intermediate values are processed to obtain the drawing shown in FIG. 5 with no deviation of the upper / lower dimensional tolerances. Further, although the present embodiment uses the two-dimensional CAD, the same processing can be performed in the three-dimensional CAD.

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

【図1】図1は本発明の寸法公差処理装置を示すブロッ
ク図
FIG. 1 is a block diagram showing a dimensional tolerance processing device of the present invention.

【図2】図2は寸法公差処理をする前の例題図[FIG. 2] FIG. 2 is an example diagram before dimensional tolerance processing is performed.

【図3】図3はIGESデータの形式図FIG. 3 is a format diagram of IGES data.

【図4】図4は寸法公差処理手段のブロック図FIG. 4 is a block diagram of dimensional tolerance processing means.

【図5】図5は図2に対する寸法公差処理の後で、新し
い中間CADデータをもとにどのCADメーカーも標準
的に装備しているソフトウエアを使って機械的に得られ
た上/下の寸法許容差の無くなったCAD/CAM上の
図面
FIG. 5 is a top / bottom view obtained mechanically using software that is standard equipment of any CAD maker based on the new intermediate CAD data after the dimensional tolerance processing with respect to FIG. 2. Drawing on CAD / CAM without dimensional tolerance

【図6】図6はその他の寸法公差処理を示す例題図FIG. 6 is an example diagram showing another dimensional tolerance process.

【図7】図7は異機種のCAD装置,CAM装置を使っ
てNC工作機械によって製品加工をするためのNCデー
タを作成するまでの工程の流れ図
[FIG. 7] FIG. 7 is a flow chart of a process for creating NC data for processing a product by an NC machine tool using a CAD device and a CAM device of different models.

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

1、2、3、4・・・図形要素(直線) 5、6・・・・・・・図形要素(円弧) 7、8、9、10・・図形要素(寸法表示) 1, 2, 3, 4, ... Graphic element (straight line) 5, 6 ..., Graphic element (arc) 7, 8, 9, 10 ... Graphic element (dimension display)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 CAD/CAM装置からCAD/CAM
装置へ製品形状および寸法を含む図面のCADデータを
転送、再現させる際、機械的に点、直線、円弧、曲線等
のCADデータの標準フオーマットに従って作られたC
ADデータ(以後中間CADデータと呼ぶ)の中に上/
下の寸法許容差がどちらか一方に片寄っているような寸
法表示のある場所及びその個数を算出する手段と、 該中間CADデータの中の全図形要素間の接続部におけ
る図形No. 、図形種類、接続部位等の接続情報を構築す
る手段と、 指示した寸法公差処理パターンに従って自動的に該中間
CADデータを修正し、別の新しい中間CADデータを
作る寸法公差処理手段とを備えたことを特徴とする寸法
公差処理装置。
1. A CAD / CAM device to CAD / CAM
When transferring and reproducing the CAD data of the drawing including the product shape and dimensions to the device, C which is mechanically made according to the standard format of CAD data such as points, straight lines, arcs and curves
Above / inside AD data (hereinafter referred to as intermediate CAD data)
A means for calculating the number of places and the number of the dimension indications where the lower dimension tolerances are offset to either one, and the figure No. and figure type in the connection portion between all the figure elements in the intermediate CAD data. , A means for constructing connection information such as a connection part, and a dimension tolerance processing means for automatically correcting the intermediate CAD data according to an instructed dimension tolerance processing pattern to create another new intermediate CAD data. Dimensional tolerance processing device.
JP5273017A 1993-10-04 1993-10-04 Dimensional tolerance processor Pending JPH07105271A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5273017A JPH07105271A (en) 1993-10-04 1993-10-04 Dimensional tolerance processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5273017A JPH07105271A (en) 1993-10-04 1993-10-04 Dimensional tolerance processor

Publications (1)

Publication Number Publication Date
JPH07105271A true JPH07105271A (en) 1995-04-21

Family

ID=17522005

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5273017A Pending JPH07105271A (en) 1993-10-04 1993-10-04 Dimensional tolerance processor

Country Status (1)

Country Link
JP (1) JPH07105271A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8185225B2 (en) 2007-06-06 2012-05-22 Mitsubishi Electric Corporation Program creation apparatus, numerical control apparatus, program creation method
JP2023044085A (en) * 2021-09-17 2023-03-30 株式会社プロテリアル Method of designing wire harness, method of making drawing of wire harness, and manufacturing method of wire harness

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8185225B2 (en) 2007-06-06 2012-05-22 Mitsubishi Electric Corporation Program creation apparatus, numerical control apparatus, program creation method
JP2023044085A (en) * 2021-09-17 2023-03-30 株式会社プロテリアル Method of designing wire harness, method of making drawing of wire harness, and manufacturing method of wire harness

Similar Documents

Publication Publication Date Title
US6735489B1 (en) Horizontally structured manufacturing process modeling
JP3370605B2 (en) Apparatus and method for optimizing three-dimensional model
CN114332294B (en) A method, system, electronic device, and storage medium for generating patterned adsorption lines.
JP2913814B2 (en) Map database creation and correction system
US5301264A (en) Figure encoder
JP2001092865A (en) CAD drawing creation method and apparatus, dimension editing method and apparatus, and storage medium
JPH09326045A (en) 3D model generation method and device, and storage medium storing program for generating 3D model
JP2002149725A (en) Three-dimensional development data creation device and three-dimensional development data creation method
JP3305395B2 (en) Figure division device
JP3126335B2 (en) Sheet metal model development method in sheet metal CAD / CAM system
JP3408114B2 (en) Solid data correction device, solid data correction method, and recording medium
JP3175401B2 (en) CAD / CAM equipment
JP4036691B2 (en) 3D shape creation device, 3D shape creation method, program, and recording medium
JP2754805B2 (en) How to convert board material figure data
JP3641856B2 (en) Method for generating fillet surface
JP2004258859A (en) Wire frame data correcting device for three-dimensional CAD system Control program for wire frame data correcting device for three-dimensional CAD system, computer-readable recording medium storing the program, and wire frame data correcting method for three-dimensional CAD system
JP3779343B2 (en) Processing apparatus for contour point sequences related to each other
JP2000211044A (en) Labels, containers, label editing systems and recording media
JP2642167B2 (en) How to create numerical control data
CN120705241A (en) Parcel map generation method, electronic device and storage medium
JPH0215304A (en) Method for forming numerical control information
CN121304918A (en) A 3D scene construction method based on OpenCasCade
JP2530896B2 (en) Method for creating punched shape of die in die design system
JP2001175849A (en) Processing method for geographical information
JPH07191721A (en) NC data generator for sheet metal processing