JP7285764B2 - Automatic measurement program generation system, automatic measurement program generation support device, automatic measurement program generation device, automatic measurement program generation method and program - Google Patents

Automatic measurement program generation system, automatic measurement program generation support device, automatic measurement program generation device, automatic measurement program generation method and program Download PDF

Info

Publication number
JP7285764B2
JP7285764B2 JP2019213170A JP2019213170A JP7285764B2 JP 7285764 B2 JP7285764 B2 JP 7285764B2 JP 2019213170 A JP2019213170 A JP 2019213170A JP 2019213170 A JP2019213170 A JP 2019213170A JP 7285764 B2 JP7285764 B2 JP 7285764B2
Authority
JP
Japan
Prior art keywords
list
measurement
inspection information
information input
input list
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.)
Active
Application number
JP2019213170A
Other languages
Japanese (ja)
Other versions
JP2021085704A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2019213170A priority Critical patent/JP7285764B2/en
Publication of JP2021085704A publication Critical patent/JP2021085704A/en
Application granted granted Critical
Publication of JP7285764B2 publication Critical patent/JP7285764B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • A Measuring Device Byusing Mechanical Method (AREA)
  • Numerical Control (AREA)

Description

本発明は、測定プログラム自動生成システム、測定プログラム自動生成支援装置、測定プログラム自動生成装置、測定プログラム自動生成方法およびプログラムに関する。 The present invention relates to a measurement program automatic generation system, a measurement program automatic generation support device, a measurement program automatic generation device, a measurement program automatic generation method, and a program.

3次元CAD(Computer Aided Design)装置で作成された3次元モデルを3次元CAT(Computer Aided Testing)装置に読み込み、その3次元モデルの形状を元に、CNC(Computerized Numerical Control)データの生成方法、点群データの評価方法などを、ユーザが3次元CAT装置に対話形式で入力して、3次元測定機がCNCデータに従って対象物を測定して得られた点群データを評価するための3次元測定プログラムを生成する技術がある。このような技術をオフラインティーチングという。3次元測定機は、3次元CAT装置でオフラインティーチングによって生成された3次元測定プログラムにより、3次元測定機の点群データに対する公差の合否判定といった評価を自動で行うことができる。 A 3D model created by a 3D CAD (Computer Aided Design) device is read into a 3D CAT (Computer Aided Testing) device, and based on the shape of the 3D model, a method of generating CNC (Computerized Numerical Control) data, A three-dimensional system for evaluating the point cloud data obtained by the user inputting information such as the evaluation method of the point cloud data into the three-dimensional CAT device in an interactive manner, and the three-dimensional measuring machine measuring the target object according to the CNC data. Techniques exist for generating measurement programs. Such a technique is called offline teaching. The three-dimensional measuring machine can automatically perform evaluation such as pass/fail judgment of tolerance for the point cloud data of the three-dimensional measuring machine by means of a three-dimensional measuring program generated by off-line teaching with a three-dimensional CAT device.

また、3次元モデルに付与された寸法、データム、幾何公差などの情報を3次元モデルと共に3次元CAT装置に読み込み、オフラインティーチングの一部を自動化する技術がある。以下、寸法、データム、幾何公差などの情報をPMI(Product Manufacturing Information)という。このように、PMIが付与された3次元モデルのことを、3DAモデル(3D Annotated Model)という。3DAモデルのPMIには、一般的に「寸法値」、「公差値」などのパラメータと、PMIが関連付けられている要素の情報とが含まれる。以下、PMIが関連付けられている要素を参照要素という。 There is also a technique of reading information such as dimensions, datums, and geometric tolerances given to a three-dimensional model into a three-dimensional CAT apparatus together with the three-dimensional model, thereby automating a part of off-line teaching. Information such as dimensions, datums, and geometrical tolerances is hereinafter referred to as PMI (Product Manufacturing Information). A three-dimensional model to which PMI is added in this way is called a 3DA model (3D Annotated Model). The PMI of the 3DA model generally includes parameters such as "dimension values" and "tolerance values" and information of the elements with which the PMI is associated. An element associated with a PMI is hereinafter referred to as a reference element.

3次元CAT装置に3DAモデルを読み込んで3次元測定プログラムを生成する方法では、3DAモデルの実体をもつ面要素に直接関連付けられたPMIから3次元測定プログラムが自動生成される。すなわち、仮想交線、中間平面といった実体をもたない要素、3次元モデルの稜線といった実体をもつが面要素でない要素などに関連付けられたPMIからは、3次元測定プログラムが自動生成されない。また、3DAモデルにおいて、例えば、複数の要素へPMIを一括指示する場合、一つの寸法引出線上に複数の要素がある場合など、PMIの省略表現が行われる場合がある。PMIの省略表現が行われると、省略箇所の3次元測定プログラムは生成されず、代表して付与している箇所の3次元測定プログラムのみ生成される。したがって、3次元CAT装置に3DAモデルを読み込んで3次元測定プログラムを生成する方法では、設計意図が反映されていない3次元測定プログラムが生成される可能性がある。さらに、3次元CAT装置に3DAモデルを読み込む際のデータ変換が原因で、PMIの欠落が起きるという問題もある。 In the method of reading a 3DA model into a 3D CAT apparatus and generating a 3D measurement program, a 3D measurement program is automatically generated from PMIs directly associated with surface elements having the substance of the 3DA model. In other words, a three-dimensional measurement program is not automatically generated from PMI associated with elements that do not have substance such as virtual lines of intersection and intermediate planes, and elements that have substance but are not surface elements such as edges of a three-dimensional model. Also, in a 3DA model, PMI may be abbreviated, for example, when PMI is specified collectively for a plurality of elements, or when there are a plurality of elements on one dimension leader line. When the PMI is abbreviated, the 3D measurement program for the abbreviated portion is not generated, and only the 3D measurement program for the representatively given portion is generated. Therefore, the method of reading a 3DA model into a 3D CAT apparatus and generating a 3D measurement program may generate a 3D measurement program that does not reflect the design intention. Furthermore, there is also the problem that PMI is missing due to data conversion when reading a 3DA model into a 3D CAT device.

特許文献1には、3次元モデルから作成した2次元図面データに付与された寸法情報から、公差情報、測定対象面情報などを抽出し、抽出した情報をもとに3次元測定プログラムを自動生成する技術が開示されている。特許文献1に記載の技術では、寸法情報を3次元CAT装置に直接読み込ませるのではなく一度抽出するため、データ変換が原因のPMIの欠落は起きない。 Patent document 1 describes a technique for extracting tolerance information, measurement target surface information, etc. from dimensional information attached to 2D drawing data created from a 3D model, and automatically generating a 3D measurement program based on the extracted information. A technique for doing so is disclosed. With the technique described in Patent Document 1, the dimensional information is extracted once instead of being directly read into the three-dimensional CAT device, so that PMI loss due to data conversion does not occur.

特許第4057935号公報Japanese Patent No. 4057935

しかしながら、特許文献1に記載の技術は、2次元図面データに付与された寸法情報を対象としており、3DAモデルから3次元測定プログラムを自動生成することはできない。また、寸法のみを対象としているため、データム、幾何公差などのPMIから3次元測定プログラムを自動生成することはできない。さらに、実体をもたない要素に関連付けられたPMI、省略表現されたPMIから3次元測定プログラムを自動生成する機能もない。したがって、特許文献1に記載の技術では、3DAモデルの設計意図を反映した3次元測定プログラムを自動生成することはできない。 However, the technique described in Patent Literature 1 targets the dimension information given to the two-dimensional drawing data, and cannot automatically generate a three-dimensional measurement program from the 3DA model. Moreover, since only dimensions are targeted, a three-dimensional measurement program cannot be automatically generated from PMI such as datums and geometric tolerances. Furthermore, there is no function for automatically generating a three-dimensional measurement program from PMIs associated with intangible elements or abbreviated PMIs. Therefore, the technique described in Patent Document 1 cannot automatically generate a three-dimensional measurement program that reflects the design intent of the 3DA model.

本発明は、上記のような問題点に鑑みてなされたものであり、3DAモデルの設計意図を反映した3次元測定プログラムを自動生成することを目的とする。 SUMMARY OF THE INVENTION The present invention has been made in view of the problems described above, and an object of the present invention is to automatically generate a three-dimensional measurement program that reflects the design intent of a 3DA model.

上記目的を達成するため、本発明の測定プログラム自動生成システムは、測定プログラム自動生成支援装置と、測定プログラム自動生成装置とを備える。測定プログラム自動生成支援装置は、3DAモデル取得部と、検査情報抽出部と、検査情報加工部と、リスト送信部と、を備える。3DAモデル取得部は、対象物の3DAモデルを取得する。検査情報抽出部は、3DAモデルのPMIに含まれるパラメータおよび参照要素の情報を抽出し、寸法検査情報出力リスト、データム検査情報出力リスト、幾何公差検査情報出力リスト、および、構築要素情報出力リストを生成する。検査情報加工部は、寸法検査情報出力リスト、データム検査情報出力リスト、幾何公差検査情報出力リスト、および、構築要素情報出力リストを加工して、測定要素情報入力リスト、構築要素情報入力リスト、寸法検査情報入力リスト、データム検査情報入力リスト、および、幾何公差検査情報入力リストを生成する。リスト送信部は、測定要素情報入力リスト、構築要素情報入力リスト、寸法検査情報入力リスト、データム検査情報入力リスト、および、幾何公差検査情報入力リストを測定プログラム自動生成装置に送信する。測定プログラム自動生成装置は、リスト受信部と、3DAモデル読込部と、測定フィーチャ生成部と、構築要素生成部と、公差設定部と、測定プログラム生成部とを備える。リスト受信部は、測定要素情報入力リスト、構築要素情報入力リスト、寸法検査情報入力リスト、データム検査情報入力リスト、および、幾何公差検査情報入力リストを受信する。3DAモデル読込部は、3DAモデルを読み込む。測定フィーチャ生成部は、3DAモデルおよび測定要素情報入力リストに基づいて、3次元測定機が測定する測定フィーチャを生成する。構築要素生成部は、構築要素情報入力リストに基づいて、測定フィーチャから構築フィーチャを生成する。公差設定部は、寸法検査情報入力リスト、データム検査情報入力リスト、および、幾何公差検査情報入力リストに基づいて、測定フィーチャおよび構築フィーチャの公差を設定する。測定プログラム生成部は、測定フィーチャと、構築フィーチャと、測定フィーチャおよび構築フィーチャの公差とに基づいて、3次元測定機が対象物を測定した点群データを評価する3次元測定プログラムを生成する。 To achieve the above object, the measurement program automatic generation system of the present invention includes a measurement program automatic generation support device and a measurement program automatic generation device. The measurement program automatic generation support device includes a 3DA model acquisition section, an examination information extraction section, an examination information processing section, and a list transmission section. The 3DA model acquisition unit acquires a 3DA model of the object. The inspection information extraction unit extracts information on parameters and reference elements included in the PMI of the 3DA model, and creates a dimension inspection information output list, a datum inspection information output list, a geometric tolerance inspection information output list, and a building element information output list. Generate. The inspection information processing unit processes the dimension inspection information output list, the datum inspection information output list, the geometric tolerance inspection information output list, and the construction element information output list to obtain a measurement element information input list, a construction element information input list, dimensions Generate an inspection information input list, a datum inspection information input list, and a geometric tolerance inspection information input list. The list transmission unit transmits the measurement element information input list, the construction element information input list, the dimension inspection information input list, the datum inspection information input list, and the geometric tolerance inspection information input list to the measurement program automatic generation device. The automatic measurement program generator includes a list receiver, a 3DA model reader, a measurement feature generator, a building element generator, a tolerance setter, and a measurement program generator. The list receiver receives a measurement element information input list, a building element information input list, a dimensional inspection information input list, a datum inspection information input list, and a geometric tolerance inspection information input list. The 3DA model reading unit reads a 3DA model. The measurement feature generator generates measurement features to be measured by the three-dimensional measuring machine based on the 3DA model and the measurement element information input list. A building element generator generates building features from the measured features based on the building element information input list. A tolerance setting unit sets tolerances of the measured features and the built features based on the dimensional inspection information input list, the datum inspection information input list, and the geometric tolerance inspection information input list. The measurement program generation unit generates a three-dimensional measurement program for evaluating point cloud data obtained by measuring the object by the three-dimensional measuring machine, based on the measurement features, the construction features, and the tolerances of the measurement features and the construction features.

本発明によれば、測定プログラム自動生成支援装置が3DAモデルのPMIに含まれるパラメータおよび参照要素の情報を加工して、測定プログラム自動生成装置に提供することで、3DAモデルの設計意図を反映した3次元測定プログラムを自動生成することができる。 According to the present invention, the measurement program automatic generation support device processes the information of the parameters and reference elements included in the PMI of the 3DA model and provides it to the measurement program automatic generation device, thereby reflecting the design intention of the 3DA model. A three-dimensional measurement program can be automatically generated.

本発明の実施の形態1に係る測定プログラム自動生成システムの機能構成例を示す図FIG. 1 is a diagram showing a functional configuration example of a measurement program automatic generation system according to Embodiment 1 of the present invention; 実施の形態1に係る3DAモデルの一例を示す図A diagram showing an example of a 3DA model according to Embodiment 1 実施の形態1に係る3DAモデルの他の例を示す図FIG. 4 shows another example of the 3DA model according to Embodiment 1; 実施の形態1に係る寸法検査情報出力リストの例を示す図A diagram showing an example of a dimension inspection information output list according to the first embodiment 実施の形態1に係るデータム検査情報出力リストの例を示す図A diagram showing an example of a datum inspection information output list according to Embodiment 1 実施の形態1に係る幾何公差検査情報出力リストの例を示す図FIG. 4 shows an example of a geometrical tolerance inspection information output list according to the first embodiment; 実施の形態1に係る構築要素情報出力リストの例を示す図A diagram showing an example of a building element information output list according to the first embodiment 実施の形態1に係る検査情報抽出処理を示すフローチャートFlowchart showing examination information extraction processing according to Embodiment 1 実施の形態1に係る寸法検査情報抽出処理を示すフローチャートFlowchart showing dimension inspection information extraction processing according to the first embodiment 実施の形態1に係る参照要素情報抽出処理を示すフローチャートFlowchart showing reference element information extraction processing according to Embodiment 1 実施の形態1に係るデータム検査情報抽出処理を示すフローチャートFlowchart showing datum inspection information extraction processing according to Embodiment 1 実施の形態1に係る幾何公差検査情報抽出処理を示すフローチャート4 is a flowchart showing geometrical tolerance inspection information extraction processing according to the first embodiment; 実施の形態1に係る測定要素情報入力リストの例を示す図A diagram showing an example of a measurement element information input list according to Embodiment 1 実施の形態1に係る構築要素情報入力リストの例を示す図A diagram showing an example of a building element information input list according to the first embodiment 実施の形態1に係る寸法検査情報入力リストの例を示す図A diagram showing an example of a dimension inspection information input list according to the first embodiment 実施の形態1に係るデータム検査情報入力リストの例を示す図A diagram showing an example of a datum inspection information input list according to the first embodiment 実施の形態1に係る幾何公差検査情報入力リストの例を示す図FIG. 4 shows an example of a geometrical tolerance inspection information input list according to the first embodiment; 実施の形態1に係る測定ルール割付表の例を示す図A diagram showing an example of a measurement rule allocation table according to the first embodiment 実施の形態1に係る検査情報加工処理を示すフローチャート4 is a flowchart showing inspection information processing according to Embodiment 1 実施の形態1に係る寸法検査情報加工処理を示すフローチャートFlowchart showing dimension inspection information processing according to the first embodiment 実施の形態1に係る幾何公差検査情報加工処理を示すフローチャートFlowchart showing geometrical tolerance inspection information processing according to the first embodiment 実施の形態1に係る測定要素情報入力リスト生成処理を示すフローチャートFlowchart showing measurement element information input list generation processing according to Embodiment 1 実施の形態1に係るCNCデータ生成処理を示すフローチャートFlowchart showing CNC data generation processing according to Embodiment 1 実施の形態1に係る構築要素生成処理を示すフローチャートFlowchart showing building element generation processing according to Embodiment 1 実施の形態1に係る公差設定処理を示すフローチャート4 is a flowchart showing tolerance setting processing according to the first embodiment; 本発明の実施の形態2に係る測定フィーチャ生成処理を示すフローチャートFlowchart showing measurement feature generation processing according to Embodiment 2 of the present invention 本発明の実施の形態1および2に係る測定プログラム自動生成支援装置のハードウェア構成の一例を示す図1 is a diagram showing an example of a hardware configuration of a measurement program automatic generation support device according to Embodiments 1 and 2 of the present invention; FIG.

以下、図面を参照して、本実施の形態に係る測定プログラム自動生成システムについて詳細に説明する。なお、図中、同一または相当する部分には、同じ符号を付す。本実施の形態では、3次元CAT装置が、3次元CAD装置で生成された製品の3DAモデルから、3次元測定機が製品を測定した点群データの公差の合否判定を行う3次元測定プログラムを自動生成する例について説明する。 A measurement program automatic generation system according to the present embodiment will be described in detail below with reference to the drawings. In the drawings, the same reference numerals are given to the same or corresponding parts. In the present embodiment, the three-dimensional CAT apparatus implements a three-dimensional measurement program for judging tolerances of point cloud data obtained by measuring a product by a three-dimensional measuring machine from a 3DA model of a product generated by a three-dimensional CAD apparatus. An example of automatic generation will be described.

(実施の形態1)
図1を用いて、実施の形態1に係る測定プログラム自動生成システム100の構成について説明する。測定プログラム自動生成システム100は、3次元測定プログラムの自動生成を支援する測定プログラム自動生成支援装置1と、製品の3DAモデルを読み込んで3次元測定プログラムを自動生成する3次元CAT装置2とを備える。3次元CAT装置2は、測定プログラム自動生成装置の例である。
(Embodiment 1)
A configuration of the measurement program automatic generation system 100 according to the first embodiment will be described with reference to FIG. A measurement program automatic generation system 100 includes a measurement program automatic generation support device 1 that supports automatic generation of a three-dimensional measurement program, and a three-dimensional CAT device 2 that reads a 3DA model of a product and automatically generates a three-dimensional measurement program. . The three-dimensional CAT device 2 is an example of a measurement program automatic generation device.

ユーザは、3次元CAD装置を用いて製品を設計する。3次元モデルは、一般的に頂点、稜線、面などの実体をもつ要素と、中心軸、仮想交線、中間平面などの実体を持たない仮想的な要素とで構成される。3次元CAD装置には、3次元空間上で3次元モデルに寸法、データム、幾何公差などのPMIを付与する機能が搭載されている。3DAモデルは、PMIが付与された3次元モデルである。3DAモデルのPMIには、パラメータと参照要素の情報が含まれる。パラメータには、自動で設定されるパラメータの他に、ユーザが任意の数値および文字列を設定するパラメータがある。3次元CAD装置は、ユーザからの設計操作およびPMIの入力を受け付け、ユーザが設計した製品の3DAモデルを生成する。 A user designs a product using a three-dimensional CAD device. A three-dimensional model is generally composed of tangible elements such as vertices, edges, and faces, and imaginary elements such as central axes, virtual lines of intersection, and intermediate planes. A three-dimensional CAD device is equipped with a function of giving PMI such as dimensions, datums, and geometrical tolerances to a three-dimensional model in a three-dimensional space. A 3DA model is a three-dimensional model to which PMI is assigned. The PMI of the 3DA model includes information on parameters and reference elements. In addition to parameters that are automatically set, parameters include parameters for which the user sets arbitrary numerical values and character strings. A three-dimensional CAD device receives design operations and PMI inputs from a user and generates a 3DA model of a product designed by the user.

ここで、従来の3次元CAT装置について説明する。従来の3次元CAT装置は、3次元CAD装置で生成された3DAモデルを読み込むと、3DAモデルのPMIに含まれるパラメータおよび参照要素の情報に基づいて、3次元測定プログラムを生成する。例えば、図2に示す3DAモデルの寸法301の参照要素は、面208と面209とであり、パラメータは「長さ寸法」、「寸法値60」、「公差値±0.3」である。測定プログラム生成部26は、これらのパラメータおよび参照要素から、面208と面209とを測定し、その間の長さ寸法を計算し、計算した値が59.7~60.3の間に収まっているかを判定する3次元測定プログラムを生成する。 A conventional three-dimensional CAT apparatus will now be described. A conventional three-dimensional CAT device, upon reading a 3DA model generated by a three-dimensional CAD device, generates a three-dimensional measurement program based on information of parameters and reference elements included in the PMI of the 3DA model. For example, the reference elements for dimension 301 of the 3DA model shown in FIG. 2 are faces 208 and 209, and the parameters are "length dimension", "dimension value 60", and "tolerance value ±0.3". Measurement program generator 26 measures surface 208 and surface 209 from these parameters and reference elements, calculates the length dimension therebetween, and determines that the calculated value falls between 59.7 and 60.3. Generate a three-dimensional measurement program for determining whether or not

続いて、従来の3次元CAT装置では3次元測定プログラムを自動生成できない場合について説明する。一つ目は、参照要素が実体のある面要素以外の場合である。例えば、図3の例における寸法201の参照要素は、面202と稜線203とであるが、従来の3次元CAT装置では稜線203を直接測定することはできない。したがって、稜線203の構成要素である面204と面205とを測定し、測定して得られた点群データから稜線203を構築するプログラムを生成する必要がある。従来の3次元CAT装置では、このようなプログラムを手動生成することは可能だが、PMIから自動生成することはできない。同様に、データム206の参照要素は、中間平面207であるが、従来の3次元CAT装置では中間平面207を直接測定することはできない。したがって、中間平面207の構成要素である面208と面209とを測定し、測定して得られた点群データから中間平面207を構築する必要がある。従来の3次元CAT装置では、このようなプログラムを自動生成することはできない。以下、このように、直接測定できず、構成要素から構築する必要のある要素を、構築要素という。 Next, a case where a conventional three-dimensional CAT apparatus cannot automatically generate a three-dimensional measurement program will be described. The first is a case where the reference element is other than a tangible surface element. For example, the reference elements for dimension 201 in the example of FIG. 3 are surface 202 and edge line 203, but edge line 203 cannot be measured directly with a conventional three-dimensional CAT apparatus. Therefore, it is necessary to measure the surfaces 204 and 205, which are the components of the ridge 203, and generate a program for constructing the ridge 203 from the point cloud data obtained by the measurement. A conventional three-dimensional CAT apparatus can manually generate such a program, but cannot automatically generate it from PMI. Similarly, the reference element for datum 206 is mid-plane 207, but mid-plane 207 cannot be measured directly with conventional three-dimensional CAT equipment. Therefore, it is necessary to measure surfaces 208 and 209, which are components of the intermediate plane 207, and construct the intermediate plane 207 from point cloud data obtained by the measurement. A conventional three-dimensional CAT apparatus cannot automatically generate such a program. Hereinafter, such elements that cannot be measured directly and must be constructed from constituent elements are referred to as building elements.

二つ目は、PMIの省略表現が行われている場合である。例えば、図3に示す3DAモデルの例における寸法214は、面202と面215との間の長さ寸法を示している。しかし、設計意図としては面202と面216との間の長さ寸法も寸法214である。このとき、たとえ寸法214が参照要素として面202と面215と面216とをもっていたとしても、従来の3次元CAT装置では面202と面215との間の長さ寸法を検査する3次元測定プログラムしか自動生成することはできない。同様に、寸法217、幾何公差218およびデータム220は円筒面211だけでなく、円筒面212および円筒面213にも指示されている。しかし、従来の3次元CAT装置では円筒面211について検査する3次元測定プログラムしか自動生成することはできない。 The second is when PMI is abbreviated. For example, dimension 214 in the example 3DA model shown in FIG. However, by design intent, the linear dimension between surfaces 202 and 216 is also dimension 214 . At this time, even if dimension 214 has planes 202, 215, and 216 as reference elements, a conventional three-dimensional CAT apparatus inspects the length dimension between planes 202 and 215 using a three-dimensional measurement program. cannot be automatically generated. Similarly, dimensions 217 , geometric tolerances 218 and datums 220 are indicated not only on cylindrical surface 211 , but also on cylindrical surfaces 212 and 213 . However, the conventional three-dimensional CAT apparatus can only automatically generate a three-dimensional measurement program for inspecting the cylindrical surface 211 .

その他、3DAモデルを従来の3次元CAT装置に読み込む際のデータ変換が原因で、PMIが欠落して不完全な3次元測定プログラムが生成される場合がある。また、図3の例における幾何公差219の共通公差域CZのような複雑な修正子が反映された3次元測定プログラムを自動生成することも、従来の3次元CAT装置では難しい。 In addition, PMI may be missing and an incomplete 3D measurement program may be generated due to data conversion when reading a 3DA model into a conventional 3D CAT device. Also, it is difficult for a conventional three-dimensional CAT apparatus to automatically generate a three-dimensional measurement program in which a complicated corrector such as the common tolerance zone CZ of the geometric tolerance 219 in the example of FIG. 3 is reflected.

図1に示す測定プログラム自動生成システム100では、測定プログラム自動生成支援装置1が3DAモデルのPMIに含まれるパラメータおよび参照要素の情報を加工して、3次元CAT装置に提供することで、従来の3次元CAT装置で自動生成できなかった3次元測定プログラムの自動生成を実現する。 In the measurement program automatic generation system 100 shown in FIG. 1, the measurement program automatic generation support device 1 processes the information of the parameters and reference elements included in the PMI of the 3DA model and provides it to the three-dimensional CAT device, thereby enabling the conventional To realize automatic generation of a three-dimensional measurement program that could not be automatically generated by a three-dimensional CAT device.

測定プログラム自動生成支援装置1は、3DAモデルを取得する3DAモデル取得部11、検査情報出力リストを生成する検査情報抽出部12、検査情報入力リストを生成する検査情報加工部13、および、検査情報入力リストを3次元CAT装置2に送信するリスト送信部14を備える。 The measurement program automatic generation support device 1 includes a 3DA model acquisition unit 11 that acquires a 3DA model, an inspection information extraction unit 12 that generates an inspection information output list, an inspection information processing unit 13 that generates an inspection information input list, and an inspection information A list transmission unit 14 for transmitting an input list to the three-dimensional CAT device 2 is provided.

3DAモデル取得部11は、3次元CAD装置が生成した3DAモデルを取得する。なお、3DAモデル取得部11は、別の装置、システムから3DAモデルを取得してもよいし、記録媒体に記録された3DAモデルをユーザが3DAモデル取得部11に取得させてもよい。検査情報抽出部12は、3DAモデル取得部11が取得した3DAモデルのPMIに含まれるパラメータおよび参照要素の情報を抽出し、抽出した情報を検査情報出力リストに格納する。検査情報抽出部12は、検査情報出力リストを検査情報加工部13に送る。 The 3DA model acquisition unit 11 acquires a 3DA model generated by a 3D CAD device. The 3DA model acquisition unit 11 may acquire a 3DA model from another device or system, or the user may cause the 3DA model acquisition unit 11 to acquire a 3DA model recorded on a recording medium. The examination information extraction unit 12 extracts information on parameters and reference elements included in the PMI of the 3DA model acquired by the 3DA model acquisition unit 11, and stores the extracted information in an examination information output list. The examination information extraction unit 12 sends the examination information output list to the examination information processing unit 13 .

ここで、検査情報出力リストについて図4~図7を用いて説明する。寸法、データム、幾何公差などのPMIの種類によって、パラメータおよび参照要素は別々の検査情報出力リストに格納される。例えば、寸法は図4に示す寸法検査情報出力リスト、データムは図5に示すデータム検査情報出力リスト、幾何公差は図6に示す幾何公差検査情報出力リストに格納される。参照要素が構築要素である場合には、図7に示す構築要素情報出力リストに格納される。 Here, the examination information output list will be described with reference to FIGS. 4 to 7. FIG. Depending on the type of PMI, such as dimensions, datums, geometric tolerances, parameters and reference elements are stored in separate inspection information output lists. For example, dimensions are stored in the dimension inspection information output list shown in FIG. 4, datums are stored in the datum inspection information output list shown in FIG. 5, and geometric tolerances are stored in the geometric tolerance inspection information output list shown in FIG. If the reference element is a building element, it is stored in the building element information output list shown in FIG.

図4に示す寸法検査情報出力リストには、寸法を識別する「PMI名」と、長さ寸法や角度寸法、直径寸法などの寸法の種類を表す「寸法タイプ」と、寸法の大きさを表す「寸法値」と、寸法の公差の上限を表す「公差値(上)」と、寸法の公差の下限を表す「公差値(下)」と、第一参照要素を識別する「第一参照要素名」と、第二参照要素を識別する「第二参照要素名」と、長さ寸法の方向を表す「方向ベクトル」と、が格納されている。第一参照要素および第二参照要素とは、PMIが関連づけられた一方の参照要素と他方の参照要素である。例えば、図3に示す寸法214には、一方の寸法引出線上にある面202が第一参照要素として関連づけられ、他方の寸法引出線上にある面215および面216が第二参照要素として関連づけられている。 In the dimension inspection information output list shown in FIG. 4, there are "PMI name" that identifies the dimension, "dimension type" that represents the type of dimension such as length dimension, angle dimension, and diameter dimension, and the size of the dimension. "dimension value", "tolerance value (upper)" representing the upper tolerance limit of the dimension, "tolerance value (lower)" representing the lower tolerance limit of the dimension, and "first reference element" identifying the first reference element "name", "second reference element name" that identifies the second reference element, and "direction vector" that indicates the direction of the length dimension are stored. The first reference element and the second reference element are one reference element and the other reference element associated with the PMI. For example, dimension 214 shown in FIG. 3 is associated with surface 202 on one dimension leader as the first reference element, and surfaces 215 and 216 on the other dimension leader as the second reference elements. there is

図5に示すデータム検査情報出力リストには、データムを識別する「PMI名」と、3DAモデル上でのデータムの記号を表す「データム記号」と、参照要素を識別する「参照要素名」とが格納されている。 The datum inspection information output list shown in FIG. 5 includes “PMI name” for identifying the datum, “datum symbol” for identifying the datum symbol on the 3DA model, and “reference element name” for identifying the reference element. stored.

図6に示す幾何公差検査情報出力リストには、幾何公差を識別する「PMI名」と、位置度、平面度、輪郭度などの幾何公差の種類を表す「幾何公差タイプ」と、公差域の形状および大きさを表す「公差値」と、幾何公差が参照しているデータムを表す「一次データム」、「二次データム」および「三次データム」と、参照要素を識別する「参照要素名」とが格納されている。 The geometric tolerance inspection information output list shown in FIG. 6 includes a "PMI name" for identifying geometric tolerances, a "geometric tolerance type" for representing the types of geometric tolerances such as position, flatness, and profile, and tolerance zone "Tolerance value" representing shape and size; "Primary datum", "Secondary datum" and "Tertiary datum" representing the datums referenced by the geometric tolerance; and "Reference element name" identifying the reference element. is stored.

図7に示す構築要素情報出力リストには、構築要素である参照要素を識別する「参照要素名」と、仮想交線、中間平面などの構築要素の種類を表す「構築要素タイプ」と、構築要素を構成している構成要素を識別する「構成要素名1」および「構成要素名2」とが格納されている。 The building element information output list shown in FIG. "Component Name 1" and "Component Name 2" that identify the components that make up the element are stored.

寸法検査情報出力リスト、データム検査情報出力リスト、幾何公差検査情報出力リスト、および、構築要素情報出力リストを総称して検査情報出力リストという。検査情報抽出部12は、3DAモデル取得部11が3DAモデルを取得すると検査情報出力リストを生成する検査情報抽出処理を実行する。 The dimension inspection information output list, the datum inspection information output list, the geometrical tolerance inspection information output list, and the building element information output list are collectively referred to as an inspection information output list. When the 3DA model acquisition unit 11 acquires the 3DA model, the examination information extraction unit 12 executes examination information extraction processing for generating an examination information output list.

ここで、検査情報抽出部12が実行する検査情報抽出処理のフローについて、図8を用いて説明する。図8に示す検査情報抽出処理は、3DAモデル取得部11が3DAモデルを取得すると開始する。まず、検査情報抽出部12は、3DAモデル取得部11が取得した3DAモデルのすべてのPMIに1~nの番号を割り当てる(ステップS11)。次に、検査情報抽出部12は、変数X=0を定義し、X番目のPMIをPとする(ステップS12)。次に、XにX+1を代入する(ステップS13)。 Here, a flow of examination information extraction processing executed by the examination information extraction unit 12 will be described with reference to FIG. The inspection information extraction process shown in FIG. 8 starts when the 3DA model acquisition unit 11 acquires a 3DA model. First, the examination information extraction unit 12 assigns numbers 1 to n to all PMIs of the 3DA model acquired by the 3DA model acquisition unit 11 (step S11). Next, the examination information extraction unit 12 defines a variable X=0 and sets the X-th PMI to PX (step S12). Next, X+1 is substituted for X (step S13).

が寸法である場合(ステップS14;YES)、検査情報抽出部12は、寸法検査情報出力リストおよび構築要素情報出力リストを生成する寸法検査情報抽出処理を実行し(ステップS15)、処理はステップS20に移行する。Pが寸法でなく(ステップS14;NO)、Pがデータムである場合(ステップS16;YES)、検査情報抽出部12は、データム検査情報出力リストおよび構築要素情報出力リストを生成するデータム検査情報抽出処理を実行し(ステップS17)、処理はステップS20に移行する。Pが寸法およびデータムでなく(ステップS14;NO、ステップS16;NO)、Pが幾何公差である場合(ステップS18;YES)、検査情報抽出部12は、幾何公差検査情報出力リストおよび構築要素情報出力リストを生成する幾何公差検査情報抽出処理を実行し(ステップS19)、処理はステップS20に移行する。 If PX is a dimension (step S14; YES), the inspection information extraction unit 12 executes dimension inspection information extraction processing for generating a dimension inspection information output list and a building element information output list (step S15). The process proceeds to step S20. If P X is not a dimension (step S14; NO) and P X is a datum (step S16; YES), the inspection information extractor 12 performs a datum inspection to generate a datum inspection information output list and a building element information output list. Information extraction processing is executed (step S17), and the processing proceeds to step S20. If PX is not a dimension and datum (step S14; NO, step S16; NO) and PX is a geometric tolerance (step S18; YES), the inspection information extraction unit 12 creates a geometric tolerance inspection information output list and constructs A geometrical tolerance inspection information extraction process for generating an element information output list is executed (step S19), and the process proceeds to step S20.

が寸法、データムおよび幾何公差でない場合(ステップS14;NO、ステップS16;NO、ステップS18;NO)、検査情報抽出部12は、X<nである否かを判定する(ステップS20)。X<nである場合(ステップS20;YES)、処理はステップS13に戻り、ステップS13~ステップS20を繰り返す。X=nになると(ステップS20;NO)、検査情報抽出部12は、寸法検査情報抽出処理、データム検査情報抽出処理、および幾何公差検査情報抽出処理で生成した検査情報出力リストを検査情報加工部13に送り(ステップS21)、処理を終了する。 If P X is not a dimension, datum, or geometric tolerance (step S14; NO, step S16; NO, step S18; NO), the inspection information extractor 12 determines whether X<n (step S20). If X<n (step S20; YES), the process returns to step S13 to repeat steps S13 to S20. When X=n (step S20; NO), the inspection information extraction unit 12 sends the inspection information output list generated by the dimension inspection information extraction process, the datum inspection information extraction process, and the geometrical tolerance inspection information extraction process to the inspection information processing unit. 13 (step S21), and the process ends.

続いて、検査情報抽出部12がステップS15で実行する寸法検査情報抽出処理のフローについて、図9を用いて説明する。検査情報抽出部12は、まず、PがTED(Theoretically Exact Dimension)寸法であるか否かを判定する(ステップS31)。PがTED寸法であれば(ステップS31;YES)、検査の必要はないため処理は終了する。 Next, the flow of the dimension inspection information extraction process executed by the inspection information extraction unit 12 in step S15 will be described with reference to FIG. The examination information extraction unit 12 first determines whether or not PX is a TED (Theoretically Exact Dimension) dimension (step S31). If PX is the TED dimension (step S31; YES), there is no need for inspection, and the process ends.

がTED寸法でなければ(ステップS31;NO)、PのPMI名を抽出する(ステップS32)。次にPの寸法タイプを抽出する(ステップS33)。次に、Pの寸法値を抽出する(ステップS34)。次に、Pの公差値(上)および公差値(下)を抽出する(ステップS35)。次に、Pの方向ベクトルを抽出する(ステップS36)。次に、構築要素情報出力リストを生成し、Pの参照要素を抽出する参照要素情報抽出処理を実行する(ステップS37)。検査情報抽出部12は、ステップS32~ステップS37で抽出した情報を寸法検査情報出力リストに格納し(ステップS38)、寸法検査情報出力リストを生成して処理を終了する。 If PX is not the TED size (step S31; NO), the PMI name of PX is extracted (step S32). Next, the dimension type of PX is extracted (step S33). Next, the dimensional value of PX is extracted (step S34). Next, the tolerance value (top) and tolerance value (bottom) of PX are extracted (step S35). Next, the direction vector of PX is extracted (step S36). Next, a building element information output list is generated, and reference element information extraction processing for extracting reference elements of PX is executed (step S37). The inspection information extraction unit 12 stores the information extracted in steps S32 to S37 in the dimension inspection information output list (step S38), generates the dimension inspection information output list, and ends the process.

ここで、検査情報抽出部12がステップS37で実行する参照要素情報抽出処理のフローについて、図10を用いて説明する。検査情報抽出部12は、Pの参照要素に1~mの番号を割り当てる(ステップS41)。次に、検査情報抽出部12は、変数Q=0を定義し、Q番目の参照要素をEとする(ステップS42)。次に、QにQ+1を代入する(ステップS43)。次に、Eの参照要素名を抽出する(ステップS44)。 Here, the flow of reference element information extraction processing executed by the examination information extraction unit 12 in step S37 will be described using FIG. The examination information extraction unit 12 assigns numbers from 1 to m to the reference elements of P X (step S41). Next, the examination information extraction unit 12 defines a variable Q=0 and sets the Q-th reference element as EQ (step S42). Next, Q+1 is substituted for Q (step S43). Next, the reference element name of EQ is extracted (step S44).

検査情報抽出部12は、Eが構築要素であるか否かを判定する(ステップS45)。Eが構築要素でなければ(ステップS45;NO)、処理はステップS50に移行する。Eが構築要素であれば(ステップS45;YES)、検査情報抽出部12は、構築要素情報出力リストにEの参照要素名があるか否かを判定する(ステップS46)。構築要素情報出力リストにEの参照要素名があれば(ステップS46;YES)、処理はS50に移行する。構築要素情報出力リストにEの参照要素名がなければ(ステップS46;NO)、構築要素タイプを抽出する(ステップS47)。次に、検査情報抽出部12は、構成要素名を抽出する(ステップS48)。検査情報抽出部12は、ステップS44、ステップS47、および、ステップS48で抽出した情報を構築要素情報出力リストに格納する(ステップS49)。 The examination information extraction unit 12 determines whether EQ is a building element (step S45). If EQ is not a building element (step S45; NO), the process proceeds to step S50. If EQ is a building element (step S45; YES), the examination information extraction unit 12 determines whether or not there is a reference element name of EQ in the building element information output list (step S46). If there is a reference element name of EQ in the building element information output list (step S46; YES), the process proceeds to S50. If there is no EQ reference element name in the building element information output list (step S46; NO), the building element type is extracted (step S47). Next, the examination information extraction unit 12 extracts component names (step S48). The examination information extraction unit 12 stores the information extracted in steps S44, S47, and S48 in the building element information output list (step S49).

検査情報抽出部12は、Eが第一参照要素と第二参照要素とのいずれであるかを判別する(ステップS50)。長さ寸法、角度寸法の参照要素は第一参照要素と第二参照要素とに分かれるが、それら以外の寸法、データムおよび幾何公差の参照要素は、すべて第一参照要素とする。次に、Q<mである否かを判定する(ステップS51)。Q<mである場合(ステップS51;YES)、処理はステップS42に戻り、ステップS42~ステップS51を繰り返す。Q=mになると(ステップS51;NO)、処理を終了する。 The examination information extraction unit 12 determines whether EQ is the first reference element or the second reference element (step S50). Reference elements for linear dimensions and angular dimensions are divided into primary reference elements and secondary reference elements, but reference elements for other dimensions, datums and geometric tolerances are all primary reference elements. Next, it is determined whether or not Q<m (step S51). If Q<m (step S51; YES), the process returns to step S42 to repeat steps S42 to S51. When Q=m (step S51; NO), the process ends.

なお、ステップS50で第一参照要素と判別された参照要素名が、ステップS38で「第一参照要素名」に格納され、ステップS50で第二参照要素と判別された参照要素名が、ステップS38で「第二参照要素名」に格納される。 The reference element name determined to be the first reference element in step S50 is stored in "first reference element name" in step S38, and the reference element name determined to be the second reference element in step S50 is stored in step S38. is stored in the "second reference element name".

続いて、検査情報抽出部12がステップS17で実行するデータム検査情報抽出処理のフローについて、図11を用いて説明する。検査情報抽出部12は、まず、PのPMI名を抽出する(ステップS61)。次にPのデータム記号を抽出する(ステップS62)。次に、構築要素情報出力リストを生成し、Pの参照要素を抽出する参照要素情報抽出処理を実行する(ステップS63)。検査情報抽出部12は、ステップS61~ステップS63で抽出した情報をデータム検査情報出力リストに格納し(ステップS64)、データム検査情報出力リストを生成して処理を終了する。検査情報抽出部12がステップS63で実行する参照要素情報抽出処理のフローは、図10に示したものと同様であるので説明を省略する。ただし、ステップS63で実行する参照要素情報抽出処理では、ステップS50は実行しなくてもよい。 Next, a flow of datum inspection information extraction processing executed by the inspection information extraction unit 12 in step S17 will be described with reference to FIG. 11 . The examination information extraction unit 12 first extracts the PMI name of PX (step S61). Next, the datum symbol of PX is extracted (step S62). Next, a building element information output list is generated, and reference element information extraction processing for extracting reference elements of PX is executed (step S63). The inspection information extraction unit 12 stores the information extracted in steps S61 to S63 in the datum inspection information output list (step S64), generates the datum inspection information output list, and ends the process. The flow of the reference element information extracting process executed by the examination information extracting unit 12 in step S63 is the same as that shown in FIG. 10, so description thereof will be omitted. However, in the reference element information extraction process executed in step S63, step S50 may not be executed.

続いて、検査情報抽出部12がステップS19で実行する幾何公差検査情報抽出処理のフローについて、図12を用いて説明する。検査情報抽出部12は、まず、PのPMI名を抽出する(ステップS71)。次にPの幾何公差タイプを抽出する(ステップS72)。次にPの公差値を抽出する(ステップS73)。次にPの一次データム、二次データムおよび三次データムを抽出する(ステップS74)。次に、構築要素情報出力リストを生成し、Pの参照要素を抽出する参照要素情報抽出処理を実行する(ステップS75)。検査情報抽出部12は、ステップS71~ステップS75で抽出した情報を幾何公差検査情報出力リストに格納し(ステップS76)、幾何公差検査情報出力リストを生成して処理を終了する。検査情報抽出部12がステップS75で実行する参照要素情報抽出処理のフローは、図10に示したものと同様であるので説明を省略する。ただし、ステップS75で実行する参照要素情報抽出処理では、ステップS50は実行しなくてもよい。 Next, the flow of the geometrical tolerance inspection information extraction process executed by the inspection information extraction unit 12 in step S19 will be described with reference to FIG. 12 . The examination information extraction unit 12 first extracts the PMI name of PX (step S71). Next, the geometrical tolerance type of PX is extracted (step S72). Next, the tolerance value of PX is extracted (step S73). Next, the primary datum, secondary datum and tertiary datum of PX are extracted (step S74). Next, a building element information output list is generated, and reference element information extraction processing for extracting reference elements of PX is executed (step S75). The inspection information extraction unit 12 stores the information extracted in steps S71 to S75 in the geometrical tolerance inspection information output list (step S76), generates the geometrical tolerance inspection information output list, and ends the process. The flow of the reference element information extracting process executed by the examination information extracting unit 12 in step S75 is the same as that shown in FIG. 10, so description thereof will be omitted. However, in the reference element information extraction process executed in step S75, step S50 may not be executed.

以上の処理を実行し、検査情報抽出部12は、3DAモデルのPMIから検査情報出力リストを生成する。 By executing the above processing, the examination information extraction unit 12 generates an examination information output list from the PMI of the 3DA model.

図1に戻り、検査情報抽出部12は、生成した検査情報出力リストを検査情報加工部13に送る。検査情報加工部13は、検査情報抽出部12から受け取った検査情報出力リストを加工して検査情報入力リストを生成する。検査情報加工部13は、検査情報入力リストをリスト送信部14に送る。リスト送信部14は、検査情報加工部13から受け取った検査情報入力リストを3次元CAT装置2に送信する。 Returning to FIG. 1 , the test information extraction unit 12 sends the generated test information output list to the test information processing unit 13 . The examination information processing unit 13 processes the examination information output list received from the examination information extraction unit 12 to generate an examination information input list. The examination information processing unit 13 sends the examination information input list to the list transmission unit 14 . The list transmission unit 14 transmits the inspection information input list received from the inspection information processing unit 13 to the three-dimensional CAT device 2 .

ここで、検査情報入力リストについて図13~図18を用いて説明する。図13に示す測定要素情報入力リストには、実際に3次元測定機でプローブを当てて測定する対象の情報が格納される。以下、実際に3次元測定機が測定する対象を測定要素という。検査情報加工部13は、「測定要素名」に、図4~図7の検査情報出力リストの「参照要素名」および「構成要素名」に格納されている情報を、重複せずに格納する。参照要素が構築要素である場合には、「参照要素名」ではなく「構成要素名」を格納する。 Here, the examination information input list will be described with reference to FIGS. 13 to 18. FIG. The measurement element information input list shown in FIG. 13 stores the information of the object to be actually measured by applying the probe with the three-dimensional measuring machine. Hereinafter, an object to be actually measured by the three-dimensional measuring machine will be referred to as a measurement element. The examination information processing unit 13 stores the information stored in the "reference element name" and "component name" of the examination information output list of FIGS. 4 to 7 in the "measurement element name" without duplication. . If the reference element is a building element, store the "component name" instead of the "reference element name".

また、図6に示す幾何公差検査情報出力リストに含まれる幾何公差219のように、修正子として共通公差域CZが公差値に記載されている場合には、検査情報加工部13は、幾何公差219の参照要素名をすべて繋げた「面215-面216」という新たな参照要素名を生成し、「測定要素名」に格納する。これは、面215と面216とを一つの平面とみなして測定することを意味する。 Further, when the common tolerance zone CZ as a modifier is described in the tolerance value as in the geometric tolerance 219 included in the geometric tolerance inspection information output list shown in FIG. A new reference element name of "surface 215-surface 216" is generated by connecting all the reference element names of 219, and stored in the "measurement element name". This means that the surface 215 and the surface 216 are regarded as one plane and measured.

さらに、検査情報加工部13は、各測定要素名に、図18に示すような測定ルール割付表に従って、それぞれ測定ルール名を割り付ける。この測定ルール名と同名の測定ルールを、3次元CAT装置2にあらかじめ設定しておくことで、CNCデータの自動生成が可能となる。CNCデータの自動生成については後述する。 Furthermore, the test information processing unit 13 assigns a measurement rule name to each measurement element name according to the measurement rule assignment table as shown in FIG. By setting a measurement rule having the same name as this measurement rule name in advance in the three-dimensional CAT device 2, automatic generation of CNC data becomes possible. Automatic generation of CNC data will be described later.

図18に示す測定ルール割付表の例では、各種の測定要素が「寸法・データムの参照要素」である場合、「幾何公差の参照要素」である場合、「構築要素の構成要素」である場合に場合分けをして、異なる測定ルールを割り付ける。さらに、それぞれの場合には優先度が設定されており、優先度が高い方のルールが適用される。例えば、図4に示す寸法検査情報出力リストと図6に示す幾何公差検査情報出力リストとの両方の参照要素に含まれる円筒面211のように、寸法の参照要素でもあり、幾何公差の参照要素でもある場合には、円筒面測定ルール2が適用される。測定ルール割付表の内容は、図18の例に限定されるものではなく、例えば、「寸法」または「公差値」の大きさで分類したり、測定要素の形状の大きさで分類したりしてもよい。 In the example of the measurement rule assignment table shown in FIG. , and assign different measurement rules. Furthermore, a priority is set for each case, and the rule with the higher priority is applied. For example, like the cylindrical surface 211 included in both the reference elements of the dimension inspection information output list shown in FIG. 4 and the geometric tolerance inspection information output list shown in FIG. If there is also cylindrical surface measurement rule 2 is applied. The content of the measurement rule assignment table is not limited to the example shown in FIG. may

検査情報加工部13は、図14に示す構築要素情報入力リストに、図7に示した構築要素情報出力リストの情報をそのまま格納する。 The inspection information processing unit 13 stores the information of the building element information output list shown in FIG. 7 as it is in the building element information input list shown in FIG.

検査情報加工部13は、図4に示した寸法検査情報出力リストを加工して、図15の寸法検査情報入力リストを生成する。検査情報加工部13は、寸法検査情報出力リストの「第一参照要素名」または「第二参照要素名」の項目に、2つ以上の参照要素名が記載されているPMIがある場合、参照要素ごとに別々のPMIに分割する。例えば、寸法210は、円筒面211と円筒面212との間の長さ寸法である寸法210-1と、円筒面211と円筒面213間との長さ寸法である寸法210-2とに分割される。 The inspection information processing unit 13 processes the dimension inspection information output list shown in FIG. 4 to generate the dimension inspection information input list shown in FIG. If there is a PMI in which two or more reference element names are described in the item "first reference element name" or "second reference element name" of the dimension inspection information output list, the inspection information processing unit 13 Split into separate PMIs for each element. For example, dimension 210 is divided into dimension 210-1, which is the length dimension between cylindrical surfaces 211 and 212, and dimension 210-2, which is the length dimension between cylindrical surfaces 211 and 213. be done.

検査情報加工部13は、図16に示すデータム検査情報入力リストに、図5に示したデータム検査情報出力リストの情報をそのまま格納する。 The inspection information processing unit 13 stores the information of the datum inspection information output list shown in FIG. 5 as it is in the datum inspection information input list shown in FIG.

検査情報加工部13は、図6に示した幾何公差検査情報出力リストを加工して、図17の幾何公差検査情報入力リストを生成する。検査情報加工部13は、幾何公差検査情報出力リストの「参照要素名」の項目に、2つ以上の参照要素名が記載されているPMIがある場合、参照要素ごとに別々のPMIに分割する。例えば、幾何公差218は、円筒面211の位置度の公差である幾何公差218-1と、円筒面212の位置度の公差である幾何公差218-2と、円筒面213の位置度の公差である幾何公差218-3とに分割される。ただし、幾何公差検査情報入力リストにおいて、2つ以上の参照要素名が記載されていても、幾何公差219のように公差値に修正子として共通公差域CZが記載されている場合は、別々のPMIに分割せず、参照要素名を面215-面216のように、元の参照要素名をすべて繋げた名称にする。 The inspection information processing unit 13 processes the geometrical tolerance inspection information output list shown in FIG. 6 to generate the geometrical tolerance inspection information input list shown in FIG. If there is a PMI in which two or more reference element names are described in the "reference element name" item of the geometric tolerance inspection information output list, the inspection information processing unit 13 divides the PMI into separate PMIs for each reference element. . For example, the geometric tolerance 218 includes a geometric tolerance 218-1 that is the positional tolerance of the cylindrical surface 211, a geometrical tolerance 218-2 that is the positional tolerance of the cylindrical surface 212, and a positional tolerance of the cylindrical surface 213. A certain geometric tolerance 218-3. However, even if two or more reference element names are listed in the geometric tolerance inspection information input list, if the common tolerance zone CZ is listed as a modifier in the tolerance value like the geometric tolerance 219, separate It is not divided into PMIs, and the reference element name is changed to a name in which all the original reference element names are connected, such as surface 215-surface 216. FIG.

測定要素情報入力リスト、構築要素情報入力リスト、寸法検査情報入力リスト、データム検査情報入力リスト、および、幾何公差検査情報入力リストを総称して検査情報入力リストという。検査情報加工部13は、検査情報抽出部12から検査情報出力リストを受け取ると検査情報入力リストを生成する検査情報加工処理を実行する。 The measurement element information input list, construction element information input list, dimension inspection information input list, datum inspection information input list, and geometric tolerance inspection information input list are collectively referred to as an inspection information input list. Upon receiving the test information output list from the test information extraction unit 12, the test information processing unit 13 executes test information processing to generate a test information input list.

ここで、検査情報加工部13が実行する検査情報加工処理のフローについて、図19を用いて説明する。図19に示す検査情報加工処理は、検査情報加工部13が検査情報抽出部12から検査情報出力リストを受け取ると開始する。まず、検査情報加工部13は、受け取った構築要素情報出力リストの「構成要素名1」および「構成要素名2」を、構築要素であることを示す情報と共に測定要素として記憶する(ステップS81)。次に、構築要素情報入力リストに、構築要素情報出力リストの情報をそのまま格納する(ステップS82)。 Here, a flow of examination information processing processing executed by the examination information processing unit 13 will be described with reference to FIG. 19 . The examination information processing shown in FIG. 19 starts when the examination information processing unit 13 receives the examination information output list from the examination information extraction unit 12 . First, the examination information processing unit 13 stores "component name 1" and "component name 2" in the received building element information output list as measurement elements together with information indicating that they are building elements (step S81). . Next, the information in the building element information output list is directly stored in the building element information input list (step S82).

次に検査情報加工部13は、受け取った寸法検査情報出力リストを加工して寸法検査情報入力リストを生成する寸法検査情報加工処理を実行する(ステップS83)。検査情報加工部13は、受け取ったデータム検査情報出力リストの「参照要素名」を、データムであることを示す情報と共に測定要素として記憶する(ステップS84)。次に、データム検査情報リストに、データム検査情報出力リストの情報をそのまま格納する(ステップS85)。 Next, the inspection information processing unit 13 processes the received dimension inspection information output list and executes dimension inspection information processing processing to generate a dimension inspection information input list (step S83). The inspection information processing unit 13 stores the "reference element name" of the received datum inspection information output list as a measurement element together with information indicating that it is a datum (step S84). Next, the information in the datum inspection information output list is directly stored in the datum inspection information list (step S85).

次に検査情報加工部13は、受け取った幾何公差検査情報出力リストを加工して幾何公差検査情報入力リストを生成する幾何公差検査情報加工処理を実行する(ステップS86)。次に、検査情報加工部13は、測定要素情報入力リストを生成する測定要素情報入力リスト生成処理を実行し(ステップS87)、処理を終了する。 Next, the inspection information processing unit 13 executes a geometrical tolerance inspection information processing process for processing the received geometrical tolerance inspection information output list to generate a geometrical tolerance inspection information input list (step S86). Next, the examination information processing unit 13 executes measurement element information input list generation processing for generating a measurement element information input list (step S87), and terminates the process.

続いて、検査情報加工部13がステップS83で実行する寸法検査情報加工処理のフローについて、図20を用いて説明する。検査情報加工部13は、PMI名に番号(1~a)を割り当てる(ステップS101)。次に、検査情報加工部13は、変数X=0を定義し、X番目のPMIをPとする(ステップS102)。次に、XにX+1を代入する(ステップS103)。 Next, the flow of the dimension inspection information processing process executed by the inspection information processing unit 13 in step S83 will be described with reference to FIG. The examination information processing unit 13 assigns numbers (1 to a) to PMI names (step S101). Next, the examination information processing unit 13 defines a variable X=0 and sets the X-th PMI to PX (step S102). Next, X+1 is substituted for X (step S103).

次に、Pの第一参照要素名に1~bの番号を割り当てる(ステップS104)。次に、Pの第二参照要素名に1~cの番号を割り当てる(ステップS105)。b>1またはc>1でなければ(ステップS106;NO)、「第一参照要素名」および「第二参照要素名」の項目に1つだけ参照要素名が記載されているので加工する必要がない。検査情報加工部13は、寸法検査情報入力リストに、寸法検査情報出力リストの情報をそのまま格納し(ステップS107)する。検査情報加工部13は、Pxの参照要素名を、PMI名と共に測定要素として記憶し(ステップS108)、処理はステップS118に移行する。b>1またはc>1である場合(ステップS106;YES)、「第一参照要素名」または「第二参照要素名」の項目に、2つ以上の参照要素名が記載されているので加工する必要がある。 Next, numbers from 1 to b are assigned to the first reference element names of PX (step S104). Next, numbers 1 to c are assigned to the second reference element names of PX (step S105). If b>1 or c>1 (step S106; NO), there is only one reference element name listed in the "first reference element name" and "second reference element name" items, so processing is required. There is no The inspection information processing unit 13 stores the information of the dimension inspection information output list as it is in the dimension inspection information input list (step S107). The examination information processing unit 13 stores the reference element name of Px together with the PMI name as a measurement element (step S108), and the process proceeds to step S118. If b>1 or c>1 (step S106; YES), two or more reference element names are described in the item "first reference element name" or "second reference element name", so processing is performed. There is a need to.

検査情報加工部13は、変数Y=1を定義する(ステップS109)。変数Yの値は加工後のPMI名に付与する副番である。次に、変数Q=0を定義し、Q番目の参照要素をEとする(ステップS110)。次に、QにQ+1を代入する(ステップS111)。次に、変数U=0を定義し、U番目の参照要素をEとする(ステップS112)。次に、UにU+1を代入する(ステップS113)。次に、寸法検査情報出力リストのPMI名をP-Yに、第一参照要素名をEに、第二参照要素名をEに変更して寸法検査情報入力リストに格納する(ステップS114)。ステップS109~ステップS114の処理では、第一参照要素名または第二参照要素名に2つ以上の参照要素があるPMIを、参照要素ごとに別々のPMIに分割する。ステップS114で格納される情報の例としては、図15に示した寸法検査情報入力リストの寸法210-1、寸法210-2などが挙げられる。 The examination information processing unit 13 defines a variable Y=1 (step S109). The value of variable Y is a subnumber assigned to the PMI name after processing. Next, a variable Q=0 is defined and the Q-th reference element is set to EQ (step S110). Next, Q+1 is substituted for Q (step S111). Next, a variable U=0 is defined, and the U-th reference element is set to EU (step S112). Next, U+1 is substituted for U (step S113). Next, the PMI name in the dimension inspection information output list is changed to P X - Y, the first reference element name to E Q , and the second reference element name to EU , and stored in the dimension inspection information input list (step S114). In the processing of steps S109 to S114, a PMI having two or more reference elements in the first reference element name or second reference element name is divided into separate PMIs for each reference element. Examples of the information stored in step S114 include dimensions 210-1 and 210-2 of the dimension inspection information input list shown in FIG.

次に、検査情報加工部13は、YにY+1を代入し(ステップS115)、U<cであるか否かを判定する(ステップS116)。U<cであれば(ステップS116;YES)、ステップS113に戻り、ステップS113~ステップS116を繰り返す。U<cでなければ(ステップS116;NO)、Q<bであるか否かを判定する(ステップS117)。Q<bであれば(ステップS117;YES)、ステップS111に戻り、ステップS111~ステップS117を繰り返す。Q<bでなければ(ステップS117;NO)、Pxの参照要素名を、PMI名と共に測定要素として記憶する(ステップS108)。 Next, the examination information processing unit 13 substitutes Y+1 for Y (step S115), and determines whether or not U<c (step S116). If U<c (step S116; YES), the process returns to step S113, and steps S113 to S116 are repeated. If not U<c (step S116; NO), it is determined whether or not Q<b (step S117). If Q<b (step S117; YES), the process returns to step S111, and steps S111 to S117 are repeated. If not Q<b (step S117; NO), the reference element name of Px is stored as a measurement element together with the PMI name (step S108).

次に、X<aである否かを判定する(ステップS118)。X<aである場合(ステップS118;YES)、処理はステップS103に戻り、ステップS103~ステップS118を繰り返す。X=aになると(ステップS118;NO)、処理を終了する。 Next, it is determined whether or not X<a (step S118). If X<a (step S118; YES), the process returns to step S103 to repeat steps S103 to S118. When X=a (step S118; NO), the process ends.

続いて、検査情報加工部13がステップS86で実行する幾何公差検査情報加工処理のフローについて、図21を用いて説明する。検査情報加工部13は、PMI名に番号(1~d)を割り当てる(ステップS121)。次に、検査情報加工部13は、変数X=0を定義し、X番目のPMIをPとする(ステップS122)。次に、XにX+1を代入する(ステップS123)。 Next, the flow of geometrical tolerance inspection information processing executed by the inspection information processing unit 13 in step S86 will be described with reference to FIG. The examination information processing unit 13 assigns numbers (1 to d) to PMI names (step S121). Next, the examination information processing unit 13 defines a variable X=0 and sets the X-th PMI to PX (step S122). Next, X+1 is substituted for X (step S123).

次に、Pの参照要素名に1~eの番号を割り当てる(ステップS124)。e>1でなければ(ステップS125;NO)、「参照要素名」の項目に1つだけ参照要素名が記載されているので加工する必要がない。検査情報加工部13は、幾何公差検査情報入力リストに、幾何公差検査情報出力リストの情報をそのまま格納する(ステップS126)。検査情報加工部13は、Pxの参照要素名を、PMI名と共に測定要素として記憶し(ステップS127)、処理はステップS138に移行する。 Next, numbers from 1 to e are assigned to the reference element names of PX (step S124). If not e>1 (step S125; NO), there is only one reference element name listed in the item "reference element name", so there is no need to process it. The inspection information processing unit 13 stores the information of the geometrical tolerance inspection information output list as it is in the geometrical tolerance inspection information input list (step S126). The examination information processing unit 13 stores the reference element name of Px together with the PMI name as a measurement element (step S127), and the process proceeds to step S138.

e>1である場合(ステップS125;YES)、「参照要素名」の項目に、2つ以上の参照要素名が記載されているので加工する必要がある。検査情報加工部13は、Pの公差値にCZが含まれるか否かを判定する(ステップS128)。Pの公差値にCZが含まれない場合(ステップS128;NO)、検査情報加工部13は、変数Y=1を定義する(ステップS129)。変数Yの値は加工後のPMI名に付与する副番である。次に、変数Q=0を定義し、Q番目の参照要素をEとする(ステップS130)。次に、QにQ+1を代入する(ステップS131)。次に、幾何公差検査情報出力リストのPMI名をP-Yに、参照要素名をEに変更して幾何公差検査情報入力リストに格納する(ステップS132)。ステップS129~ステップS131の処理では、第一参照要素名または第二参照要素名に2つ以上の参照要素があるPMIを、参照要素ごとに別々のPMIに分割する。ステップS132で格納される情報の例としては、図17に示した幾何公差検査情報入力リストの幾何公差218-1、幾何公差218-2などが挙げられる。 If e>1 (step S125; YES), two or more reference element names are described in the item "reference element name" and must be processed. The inspection information processing unit 13 determines whether or not CZ is included in the tolerance value of PX (step S128). If CZ is not included in the tolerance value of PX (step S128; NO), the inspection information processing unit 13 defines variable Y=1 (step S129). The value of variable Y is a subnumber assigned to the PMI name after processing. Next, a variable Q=0 is defined and the Qth reference element is set to EQ (step S130). Next, Q+1 is substituted for Q (step S131). Next, the PMI name in the geometrical tolerance inspection information output list is changed to P X -Y, and the reference element name is changed to EQ , and stored in the geometrical tolerance inspection information input list (step S132). In the processing of steps S129 to S131, a PMI having two or more reference elements in the first reference element name or second reference element name is divided into separate PMIs for each reference element. Examples of the information stored in step S132 include the geometric tolerances 218-1 and 218-2 of the geometric tolerance inspection information input list shown in FIG.

検査情報加工部13は、YにY+1を代入し(ステップS133)、Q<eであるか否かを判定する(ステップS134)。Q<eであれば(ステップS134;YES)、ステップS131に戻り、ステップS131~ステップS134を繰り返す。Q<eでなければ(ステップS134;NO)、Pxの参照要素名を、PMI名と共に測定要素として記憶し(ステップS127)、処理はステップS138に移行する。 The examination information processing unit 13 substitutes Y+1 for Y (step S133), and determines whether or not Q<e (step S134). If Q<e (step S134; YES), the process returns to step S131, and steps S131 to S134 are repeated. If not Q<e (step S134; NO), the reference element name of Px is stored as a measurement element together with the PMI name (step S127), and the process proceeds to step S138.

の公差値にCZが含まれる場合(ステップS128;YES)、検査情報加工部13は、2つ以上の参照要素名が記載されていてもPMIを分割せず、Pのすべての参照要素名を繋げた新たな参照要素名Emixを生成する(ステップS135)。次に、幾何公差情報出力リストのPの参照要素名をEmixに変更して、幾何公差検査情報入力リストに格納する(ステップS136)。次に、EmixをPMI名と共に測定要素として記憶する(ステップS137)。なお、Emixのもととなった参照要素名は「測定要素」としては記憶しない。 If CZ is included in the tolerance value of P X (step S128; YES), the inspection information processing unit 13 does not divide the PMI even if two or more reference element names are described, and all references of P X A new reference element name E mix is generated by connecting the element names (step S135). Next, the reference element name of PX in the geometrical tolerance information output list is changed to E mix and stored in the geometrical tolerance inspection information input list (step S136). Next, E mix is stored as a measurement element together with the PMI name (step S137). Note that the reference element name that is the basis of the E mix is not stored as the "measurement element".

次に、検査情報加工部13は、X<dである否かを判定する(ステップS138)。X<dである場合(ステップS138;YES)、処理はステップS123に戻り、ステップS123~ステップS138を繰り返す。X=dになると(ステップS138;NO)、処理を終了する。 Next, the examination information processing unit 13 determines whether or not X<d (step S138). If X<d (step S138; YES), the process returns to step S123 to repeat steps S123 to S138. When X=d (step S138; NO), the process ends.

続いて、検査情報加工部13がステップS87で実行する測定要素情報入力リスト生成処理のフローについて、図22を用いて説明する。検査情報加工部13は、測定要素として記憶された参照要素名に番号(1~f)を割り当てる(ステップS141)。次に、検査情報加工部13は、変数X=0を定義し、X番目の参照要素をEとする(ステップS142)。次に、XにX+1を代入する(ステップS143)。 Next, the flow of measurement element information input list generation processing executed by the examination information processing unit 13 in step S87 will be described with reference to FIG. The examination information processing unit 13 assigns numbers (1 to f) to the reference element names stored as measurement elements (step S141). Next, the examination information processing unit 13 defines a variable X=0 and sets the X-th reference element to EX (step S142). Next, X+1 is substituted for X (step S143).

次に、検査情報加工部13は、測定ルール割付表を参照し、Eに対応する測定ルールRを特定する(ステップS144)。次に、測定要素情報出力リストの測定要素名にEがあるか否かを判定する(ステップS145)。測定要素情報出力リストの測定要素名にEがなければ(ステップS145;NO)、検査情報加工部13は、測定要素情報入力リストの「測定ルール名」にE、「測定ルール名」にRを格納し(ステップS146)、処理はステップS149に移行する。 Next, the examination information processing unit 13 refers to the measurement rule allocation table and specifies the measurement rule R X corresponding to E X (step S144). Next, it is determined whether or not there is EX in the measurement element name of the measurement element information output list (step S145). If there is no EX in the measurement element name of the measurement element information output list (step S145; NO), the examination information processing unit 13 puts EX in the "measurement rule name" and in the "measurement rule name" of the measurement element information input list. RX is stored (step S146), and the process proceeds to step S149.

測定要素情報出力リストの測定要素名にEがあれば(ステップS145;YES)、検査情報加工部13は、Rが測定要素情報入力リストの測定ルールより優先度が高いか否かを判定する(ステップS147)。Rが測定要素情報入力リストのEの測定ルールより優先度が高い場合(ステップS147;YES)、検査情報加工部13は、測定要素情報入力リストのEの「測定ルール名」をRに変更し(ステップS148)、処理はステップS149に移行する。 If there is EX in the measurement element name of the measurement element information output list (step S145; YES), the examination information processing unit 13 determines whether or not RX has a higher priority than the measurement rule of the measurement element information input list. (step S147). If RX has a higher priority than the measurement rule EX in the measurement element information input list (step S147; YES), the examination information processing unit 13 changes the "measurement rule name" of EX in the measurement element information input list to R X (step S148), and the process proceeds to step S149.

が測定要素情報入力リストのEの測定ルールより優先度が低ければ(ステップS147;NO)、検査情報加工部13は、測定要素情報入力リストのEの測定ルールは変更せず、X<fである否かを判定する(ステップS149)。X<fである場合(ステップS149;YES)、処理はステップS143に戻り、ステップS143~ステップS149を繰り返す。X=fになると(ステップS149;NO)、処理を終了する。 If RX has a lower priority than the measurement rule of EX in the measurement element information input list (step S147; NO), the examination information processing unit 13 does not change the measurement rule of EX in the measurement element information input list. It is determined whether or not X<f (step S149). If X<f (step S149; YES), the process returns to step S143 to repeat steps S143 to S149. When X=f (step S149; NO), the process ends.

以上の処理を実行し、検査情報加工部13は、検査情報出力リストから検査情報入力リストを生成する。 By executing the above process, the examination information processing unit 13 generates an examination information input list from the examination information output list.

図1に戻り、検査情報加工部13は、生成した検査情報入力リストをリスト送信部14に送る。リスト送信部14は、検査情報加工部13から受け取った検査情報入力リストを3次元CAT装置2に送信する。 Returning to FIG. 1 , the examination information processing unit 13 sends the generated examination information input list to the list transmission unit 14 . The list transmission unit 14 transmits the inspection information input list received from the inspection information processing unit 13 to the three-dimensional CAT device 2 .

3次元CAT装置2は、3DAモデルを読み込む3DAモデル読込部21と、検査情報入力リストを受信するリスト受信部22と、3次元測定機が測定する測定フィーチャと3次元測定機のCNCデータを生成する測定フィーチャ生成部23と、構築フィーチャを生成する構築要素生成部24と、公差を設定する公差設定部25と、3次元測定プログラムを生成する測定プログラム生成部26と、3次元測定プログラムを記憶する測定プログラム記憶部27と、を備える。 The three-dimensional CAT device 2 includes a 3DA model reading unit 21 for reading a 3DA model, a list receiving unit 22 for receiving an inspection information input list, and a measurement feature to be measured by the three-dimensional measuring machine and CNC data for the three-dimensional measuring machine. a building element generator 24 for generating construction features; a tolerance setting unit 25 for setting tolerances; a measurement program generator 26 for generating a three-dimensional measurement program; and a measurement program storage unit 27 that performs the measurement.

3DAモデル読込部21は、3次元CAD装置から3DAモデルを読み込む。このとき3DAモデルに含まれる3次元モデルは、3次元モデルを構成している面、円筒面、自由曲面などの「形状データ」と、各形状データの「名称」と、を含む。リスト受信部22は、測定プログラム自動生成支援装置1から検査情報入力リストを受信する。 A 3DA model reading unit 21 reads a 3DA model from a three-dimensional CAD device. At this time, the three-dimensional model included in the 3DA model includes "shape data" such as surfaces, cylindrical surfaces, and free-form surfaces that constitute the three-dimensional model, and "names" of each shape data. The list receiving unit 22 receives the examination information input list from the measurement program automatic generation support device 1 .

測定フィーチャ生成部23は、3DAモデル読込部21が読み込んだ3DAモデルおよびリスト受信部22が受信した検査情報入力リストに基づいて、測定フィーチャおよびCNCデータを生成するCNCデータ生成処理を実行する。測定フィーチャとは、3DAモデルに含まれる3次元モデルから抽出した測定要素の形状データのことをいう。測定フィーチャ生成部23は、生成した測定フィーチャおよびCNCデータを図示しない3次元測定機に送信する。3次元測定機は、CNCデータに従って測定した測定フィーチャの点群データを3次元CAT装置2に送信する。3次元CAT装置2は、測定プログラム記憶部27が記憶する3次元測定プログラムに従って、点群データが示す測定要素の形状に対して公差の合否を判定する。具体的には、例えば、3DAモデル上の測定フィーチャAと測定フィーチャBとの間の距離が60±0.3(mm)に収まっていれば合格、収まっていなければ不合格といった判定を、測定フィーチャAおよび測定フィーチャBに対応する点群データが示す測定要素の形状に対して行う。 Based on the 3DA model read by the 3DA model reading unit 21 and the inspection information input list received by the list receiving unit 22, the measurement feature generation unit 23 executes CNC data generation processing for generating measurement features and CNC data. A measurement feature is shape data of a measurement element extracted from a three-dimensional model included in the 3DA model. The measured feature generator 23 transmits the generated measured features and CNC data to a three-dimensional measuring machine (not shown). The three-dimensional measuring machine transmits to the three-dimensional CAT device 2 point cloud data of the measured features measured according to the CNC data. The three-dimensional CAT device 2 determines whether or not the shape of the measurement element indicated by the point cloud data meets the tolerance according to the three-dimensional measurement program stored in the measurement program storage unit 27 . Specifically, for example, if the distance between the measurement feature A and the measurement feature B on the 3DA model falls within 60±0.3 (mm), the judgment is passed, and if not, the judgment is rejected. The shape of the measurement element indicated by the point cloud data corresponding to feature A and measurement feature B is measured.

ここで、測定フィーチャ生成部23が実行するCNCデータ生成処理のフローについて、図23を用いて説明する。図23に示すCNCデータ生成処理は、リスト受信部22が検査情報入力リストを受信すると開始する。あるいは、ユーザから3次元測定プログラムの生成指示が入力されたタイミングで開始してもよい。 Here, the flow of CNC data generation processing executed by the measurement feature generation unit 23 will be described using FIG. The CNC data generation process shown in FIG. 23 starts when the list receiving unit 22 receives the inspection information input list. Alternatively, it may be started at the timing when the user inputs an instruction to generate the three-dimensional measurement program.

測定フィーチャ生成部23は、リスト受信部22が受信した測定要素情報入力リストの測定要素名に1~gの番号を割り当てる(ステップS161)。次に、変数X=0を定義し、X番目の測定要素をMEとする(ステップS162)。次に、X=X+1を代入する(ステップS163)。次に、3DAモデルに含まれる3次元モデルのMEと同名の形状データを抽出し、測定フィーチャを生成する(ステップS164)。 The measurement feature generation unit 23 assigns numbers from 1 to g to the measurement element names in the measurement element information input list received by the list reception unit 22 (step S161). Next, a variable X=0 is defined, and the Xth measurement element is set to MEX (step S162). Next, X=X+1 is substituted (step S163). Next, shape data having the same name as the MEX of the three-dimensional model included in the 3DA model is extracted to generate measurement features (step S164).

次に、測定フィーチャ生成部23は、生成した測定フィーチャにMEと同じ名称を付与する(ステップS165)。次に、生成した測定フィーチャに対し、測定要素情報入力リストに記載されているMEに対応する測定ルールでCNCデータを生成する(ステップS166)。次に、X<gである否かを判定する(ステップS167)。X<gである場合(ステップS167;YES)、処理はステップS163に戻り、ステップS163~ステップS167を繰り返す。X=gになると(ステップS167;NO)、処理を終了する。 Next, the measurement feature generator 23 assigns the same name as MEX to the generated measurement feature (step S165). Next, for the generated measurement feature, CNC data is generated according to the measurement rule corresponding to MEX described in the measurement element information input list (step S166). Next, it is determined whether or not X<g (step S167). If X<g (step S167; YES), the process returns to step S163 to repeat steps S163 to S167. When X=g (step S167; NO), the process ends.

以上の処理を実行し、測定フィーチャ生成部23は、測定要素情報入力リストに記載されている測定要素名と同名のすべての形状データに対し、測定フィーチャおよびCNCデータを生成する。 By executing the above processing, the measurement feature generator 23 generates measurement features and CNC data for all shape data having the same name as the measurement element name described in the measurement element information input list.

図1に戻り、構築要素生成部24は、リスト受信部22が受信した検査情報入力リストに基づいて、測定フィーチャから構築フィーチャを生成する構成要素生成処理を実行する。構築フィーチャとは、測定フィーチャから生成した仮想交線、中間平面などの構築要素の形状データのことをいう。3次元CAT装置2は、3次元測定機から受信した点群データから構築フィーチャに対応する構築要素の形状を自動演算する。3次元CAT装置2は、測定プログラム記憶部27が記憶する3次元測定プログラムに従って、点群データから自動演算した構築要素の形状に対して公差の合否を判定する。具体的には、例えば、3DAモデル上の測定フィーチャから生成された構築フィーチャCと構築フィーチャDとの間の距離が30±0.1(mm)に収まっていれば合格、収まっていなければ不合格といった判定を、構築フィーチャCおよび構築フィーチャDに対応する点群データから自動演算した構築要素の形状に対して行う。 Returning to FIG. 1, the building element generation unit 24 executes a building element generation process for generating construction features from the measured features based on the inspection information input list received by the list reception unit 22 . Construction features refer to shape data of construction elements such as virtual lines of intersection and intermediate planes generated from the measurement features. The three-dimensional CAT device 2 automatically calculates the shape of the building element corresponding to the building feature from the point cloud data received from the three-dimensional measuring machine. The three-dimensional CAT device 2 determines whether or not the shape of the building element automatically calculated from the point cloud data conforms to the tolerance according to the three-dimensional measurement program stored in the measurement program storage unit 27 . Specifically, for example, if the distance between the construction feature C and the construction feature D generated from the measured features on the 3DA model is within 30±0.1 (mm), it passes; if not, it fails. Judgment such as acceptance is made on the shape of the building element automatically calculated from the point cloud data corresponding to the building feature C and the building feature D. FIG.

ここで、構築要素生成部24が実行する構築要素生成処理のフローについて、図24を用いて説明する。図24に示す構築要素生成処理は、リスト受信部22が検査情報入力リストを受信すると開始する。あるいは、ユーザから3次元測定プログラムの生成指示が入力されたタイミングで開始してもよい。 Here, the flow of building element generation processing executed by the building element generation unit 24 will be described with reference to FIG. The building element generating process shown in FIG. 24 starts when the list receiving section 22 receives the examination information input list. Alternatively, it may be started at the timing when the user inputs an instruction to generate the three-dimensional measurement program.

構築要素生成部24は、リスト受信部22が受信した構築要素情報入力リストの構築要素名に1~hの番号を割り当てる(ステップS171)。次に、変数Q=0を定義し、Q番目の構築要素をCEとする(ステップS172)。次に、Q=Q+1を代入する(ステップS173)。次に、CEの構成要素名1および構成要素名2と同名の測定フィーチャから構築フィーチャを生成する(ステップS174)。 The building element generation unit 24 assigns numbers 1 to h to building element names in the building element information input list received by the list reception unit 22 (step S171). Next, a variable Q=0 is defined and the Qth building element is set as CE Q (step S172). Next, Q=Q+1 is substituted (step S173). Next, constructed features are generated from the measured features having the same names as the component names 1 and 2 of CE Q (step S174).

次に、構築要素生成部24は、生成した構築フィーチャにCEと同じ名称を付与する(ステップS175)。次に、Q<hである否かを判定する(ステップS176)。Q<hである場合(ステップS176;YES)、処理はステップS173に戻り、ステップS173~ステップS176を繰り返す。Q=hになると(ステップS176;NO)、処理を終了する。 Next, the building element generator 24 assigns the same name as the CE Q to the generated building feature (step S175). Next, it is determined whether or not Q<h (step S176). If Q<h (step S176; YES), the process returns to step S173 to repeat steps S173 to S176. When Q=h (step S176; NO), the process ends.

以上の処理を実行し、構築要素生成部24は、構築要素情報入力リストに記載されているすべての構築要素について、構築フィーチャを生成する。 By executing the above processing, the building element generating section 24 generates building features for all building elements described in the building element information input list.

図1に戻り、公差設定部25は、測定フィーチャ生成部23が生成した測定フィーチャおよび構築要素生成部24が生成した構築フィーチャに公差を設定する公差設定処理を実行する。3次元CAT装置2は、3次元測定機から受信した点群データが示す形状が、公差設定処理で設定した公差からはずれていなければ合格、はずれていれば不合格の判定をする。 Returning to FIG. 1, the tolerance setting unit 25 executes tolerance setting processing for setting tolerances on the measurement features generated by the measurement feature generation unit 23 and the construction features generated by the building element generation unit 24 . The three-dimensional CAT device 2 determines that the shape indicated by the point group data received from the three-dimensional measuring machine is acceptable if it does not deviate from the tolerance set in the tolerance setting process, and fails if it deviates.

ここで、公差設定部25が実行する公差設定処理のフローについて、図25を用いて説明する。図25に示す公差設定処理は、測定フィーチャ生成部23がCNCデータ生成処理を完了し、構築要素生成部24が構築要素生成処理を完了すると開始する。 Here, the flow of tolerance setting processing executed by the tolerance setting unit 25 will be described with reference to FIG. 25 . The tolerance setting process shown in FIG. 25 starts when the measurement feature generator 23 completes the CNC data generation process and the building element generator 24 completes the building element generation process.

公差設定部25は、リスト受信部22が受信した寸法検査情報入力リスト、データム検査情報入力リストおよび幾何公差検査情報入力リストのPMI名に1~iの番号を割り当てる(ステップS181)。次に、変数U=0を定義し、U番目のPMIをPとする(ステップS182)。次に、U=U+1を代入する(ステップS183)。次に、Pの参照要素名と同名の測定フィーチャまたは構築フィーチャに対し、各入力リストの「幾何公差タイプ」、「公差値」などの情報に従って公差を設定する(ステップS184)。 The tolerance setting unit 25 assigns numbers from 1 to i to the PMI names of the dimensional inspection information input list, the datum inspection information input list, and the geometric tolerance inspection information input list received by the list receiving unit 22 (step S181). Next, a variable U=0 is defined and the U-th PMI is set to PU (step S182). Next, U=U+1 is substituted (step S183). Next, tolerances are set according to the information such as "geometry tolerance type" and "tolerance value" in each input list for the measurement feature or construction feature having the same name as the PU reference element name (step S184).

次に、公差設定部25は、設定した公差にPと同じ名称を付与する(ステップS185)。ステップS185で設定した公差にPと同じ名称を付与することで、3次元CAT装置2が3次元測定機から受信した点群データの公差の合否判定をした際に、3DAモデルのどのPMIに対する公差についての合否判定かをユーザに提示することが可能になる。次に、U<iである否かを判定する(ステップS186)。U<iである場合(ステップS186;YES)、処理はステップS183に戻り、ステップS183~ステップS186を繰り返す。U=iになると(ステップS186;NO)、処理を終了する。 Next, the tolerance setting unit 25 assigns the same name as PU to the set tolerance (step S185). By assigning the same name as PU to the tolerance set in step S185, when the three-dimensional CAT device 2 determines whether the tolerance of the point cloud data received from the three-dimensional measuring machine is acceptable, it can be used for any PMI of the 3DA model. It is possible to present to the user whether the tolerance is acceptable or not. Next, it is determined whether or not U<i (step S186). If U<i (step S186; YES), the process returns to step S183 to repeat steps S183 to S186. When U=i (step S186; NO), the process ends.

以上の処理を実行し、公差設定部25は、寸法検査情報入力リスト、データム検査情報入力リスト、幾何公差検査情報入力リストに記載されているすべてのPMIについて、公差を設定する。 By executing the above processing, the tolerance setting unit 25 sets tolerances for all PMIs described in the dimension inspection information input list, datum inspection information input list, and geometric tolerance inspection information input list.

図1に戻り、測定プログラム生成部26は、3DAモデル読込部21が読み込んだ3DAモデルと、測定フィーチャ生成部23が生成した測定フィーチャおよびCNCデータと、構築要素生成部24が生成した構築フィーチャと、公差設定部25が測定フィーチャおよび構築フィーチャに設定した公差とに基づいて、3次元測定プログラムを自動生成する。測定プログラム記憶部27は、測定プログラム生成部26が生成した3次元測定プログラムを、3DAモデルを識別する情報に対応付けて記憶する。3次元CAT装置2は、測定プログラム生成部26に記憶された3次元測定プログラムに従って、3次元測定機から受信した点群データの公差の合否判定を行う。 Returning to FIG. 1, the measurement program generator 26 generates the 3DA model read by the 3DA model reader 21, the measurement features and CNC data generated by the measurement feature generator 23, and the construction features generated by the building element generator 24. , the tolerance setting unit 25 automatically generates a three-dimensional measurement program based on the tolerances set for the measurement features and the construction features. The measurement program storage unit 27 stores the three-dimensional measurement program generated by the measurement program generation unit 26 in association with information for identifying the 3DA model. The three-dimensional CAT device 2 performs acceptance/rejection determination of the tolerance of the point cloud data received from the three-dimensional measuring machine according to the three-dimensional measurement program stored in the measurement program generator 26 .

以上説明したとおり、実施の形態1に係る測定プログラム自動生成システム100によれば、測定プログラム自動生成支援装置1が3DAモデルのPMIに含まれるパラメータおよび参照要素の情報を加工して、3DAモデルを読み込む3次元CAT装置2に提供することで、3DAモデルの設計意図を反映した3次元測定プログラムを自動生成することができる。 As described above, according to the measurement program automatic generation system 100 according to the first embodiment, the measurement program automatic generation support device 1 processes the information of the parameters and reference elements included in the PMI of the 3DA model to generate the 3DA model. By providing it to the 3D CAT device 2 for reading, it is possible to automatically generate a 3D measurement program that reflects the design intent of the 3DA model.

(実施の形態2)
実施の形態1では、測定フィーチャ生成部23がCNCデータを生成し、3次元測定機に送信する。3次元測定機は、受信したCNCデータにしたがって製品を測定し、点群データを3次元CAT装置2に送信する。3次元CAT装置2は、自動生成した3次元測定プログラムに従って、3次元測定機から受信した点群データの公差の合否判定を行う。
(Embodiment 2)
In Embodiment 1, the measurement feature generator 23 generates CNC data and transmits it to the three-dimensional measuring machine. The three-dimensional measuring machine measures the product according to the received CNC data and transmits point cloud data to the three-dimensional CAT device 2 . The three-dimensional CAT device 2 performs pass/fail judgment of tolerance of point cloud data received from the three-dimensional measuring machine according to an automatically generated three-dimensional measurement program.

実施の形態2では、CNCデータを必要とする3次元測定機によって得られた点群データだけでなく、ハンディタイプのレーザスキャナのようなCNCデータを必要としない3次元測定機から受信した点群データの公差の合否判定も行う。CNCデータを必要としない3次元測定機の場合、測定フィーチャ生成部23は、CNCデータを生成する必要はないが、測定フィーチャを生成する必要はある。そのため、実施形態2では、測定フィーチャ生成部23は、図23に示したCNCデータ生成処理は行わず、図26に示す測定フィーチャ生成処理を実行する。 In the second embodiment, not only point cloud data obtained by a three-dimensional measuring machine that requires CNC data, but also point cloud data received from a three-dimensional measuring machine that does not require CNC data, such as a handy type laser scanner. Pass/fail judgment of data tolerance is also performed. In the case of a three-dimensional measuring machine that does not require CNC data, the measured feature generator 23 does not need to generate CNC data, but it does need to generate measured features. Therefore, in the second embodiment, the measurement feature generation unit 23 does not perform the CNC data generation processing shown in FIG. 23, but executes the measurement feature generation processing shown in FIG.

図26に示す測定フィーチャ生成処理は、リスト受信部22が検査情報入力リストを受信すると開始する。あるいは、ユーザから3次元測定プログラムの生成指示が入力されたタイミングで開始してもよい。 The measurement feature generation process shown in FIG. 26 starts when the list receiving section 22 receives the examination information input list. Alternatively, it may be started at the timing when the user inputs an instruction to generate the three-dimensional measurement program.

まず、測定フィーチャ生成部23は、3DAモデル読込部21が読み込んだ3DAモデルと点群データとの位置合わせの入力を受け付ける(ステップS191)。3DAモデルと点群データとの位置合わせは、ユーザが3次元CAT装置2に手動で入力する。測定フィーチャ生成部23は、リスト受信部22が受信した測定要素情報入力リストの測定要素名に1~iの番号を割り当てる(ステップS192)。 First, the measurement feature generator 23 receives an input for alignment between the 3DA model read by the 3DA model reader 21 and the point cloud data (step S191). The user manually inputs the alignment between the 3DA model and the point cloud data into the 3D CAT device 2 . The measurement feature generation unit 23 assigns numbers 1 to i to the measurement element names in the measurement element information input list received by the list reception unit 22 (step S192).

ステップS193~ステップS196は、図23に示したステップS162~ステップS165と同様であるので、説明を省略する。測定フィーチャ生成部23は、CNCデータの生成は行わず、X<iである否かを判定する(ステップS197)。X<iである場合(ステップS197;YES)、処理はステップS193に戻り、ステップS193~ステップS197を繰り返す。X=iになると(ステップS197;NO)、処理を終了する。 Steps S193 to S196 are the same as steps S162 to S165 shown in FIG. 23, so description thereof will be omitted. The measured feature generation unit 23 does not generate CNC data and determines whether or not X<i (step S197). If X<i (step S197; YES), the process returns to step S193 to repeat steps S193 to S197. When X=i (step S197; NO), the process ends.

その他の検査情報抽出処理、検査情報加工処理、構築要素生成処理および公差設定処理については、実施の形態1と同様である。 Other inspection information extraction processing, inspection information processing processing, building element generation processing, and tolerance setting processing are the same as those in the first embodiment.

以上説明したとおり、実施の形態2に係る測定プログラム自動生成システム100によれば、CNCデータを必要としない3次元測定機にも適用することができる。 As described above, the measurement program automatic generation system 100 according to the second embodiment can be applied to a three-dimensional measuring machine that does not require CNC data.

測定プログラム自動生成支援装置1のハードウェア構成について図27を用いて説明する。図27に示すように、測定プログラム自動生成支援装置1は、一時記憶部101、記憶部102、計算部103、入力部104、送受信部105および表示部106を備える。一時記憶部101、記憶部102、入力部104、送受信部105および表示部106はいずれもBUSを介して計算部103に接続されている。 A hardware configuration of the measurement program automatic generation support device 1 will be described with reference to FIG. As shown in FIG. 27 , the measurement program automatic generation support device 1 includes a temporary storage section 101 , storage section 102 , calculation section 103 , input section 104 , transmission/reception section 105 and display section 106 . Temporary storage unit 101, storage unit 102, input unit 104, transmission/reception unit 105, and display unit 106 are all connected to calculation unit 103 via BUS.

計算部103は、例えばCPU(Central Processing Unit)である。計算部103は、記憶部102に記憶されている制御プログラムに従って、測定プログラム自動生成支援装置1の検査情報抽出部12および検査情報加工部13の各処理を実行する。 The calculation unit 103 is, for example, a CPU (Central Processing Unit). The calculation unit 103 executes each process of the examination information extraction unit 12 and the examination information processing unit 13 of the measurement program automatic generation support device 1 according to the control program stored in the storage unit 102 .

一時記憶部101は、例えばRAM(Random-Access Memory)である。一時記憶部101は、記憶部102に記憶されている制御プログラムをロードし、計算部103の作業領域として用いられる。 The temporary storage unit 101 is, for example, a RAM (Random-Access Memory). Temporary storage unit 101 loads a control program stored in storage unit 102 and is used as a work area for calculation unit 103 .

記憶部102は、フラッシュメモリ、ハードディスク、DVD-RAM(Digital Versatile Disc - Random Access Memory)、DVD-RW(Digital Versatile Disc - ReWritable)などの不揮発性メモリである。記憶部102は、測定プログラム自動生成支援装置1の処理を計算部103に行わせるためのプログラムを予め記憶し、また、計算部103の指示に従って、このプログラムが記憶するデータを計算部103に供給し、計算部103から供給されたデータを記憶する。 The storage unit 102 is a non-volatile memory such as a flash memory, hard disk, DVD-RAM (Digital Versatile Disc-Random Access Memory), DVD-RW (Digital Versatile Disc-ReWritable). The storage unit 102 stores in advance a program for causing the calculation unit 103 to perform the processing of the measurement program automatic generation support device 1, and also supplies data stored by this program to the calculation unit 103 according to instructions from the calculation unit 103. and stores the data supplied from the calculation unit 103 .

入力部104は、キーボード、ポインティングデバイスなどの入力装置と、キーボード、ポインティングデバイスなどの入力装置をBUSに接続するインタフェース装置である。例えば、測定プログラム自動生成支援装置1に情報を直接入力する構成の場合、入力部104を介して、入力された情報が計算部103に供給される。 The input unit 104 is an input device such as a keyboard and a pointing device, and an interface device that connects the input device such as the keyboard and the pointing device to the BUS. For example, in the case of a configuration in which information is directly input to the measurement program automatic generation support apparatus 1 , the input information is supplied to the calculation section 103 via the input section 104 .

送受信部105は、ネットワークに接続する網終端装置または無線通信装置、およびそれらと接続するシリアルインタフェースまたはLAN(Local Area Network)インタフェースである。送受信部105は、3DAモデル取得部11およびリスト送信部14として機能する。 The transmitting/receiving unit 105 is a network terminal device or wireless communication device connected to a network, and a serial interface or LAN (Local Area Network) interface connected to them. The transmission/reception unit 105 functions as the 3DA model acquisition unit 11 and the list transmission unit 14 .

表示部106は、CRT(Cathode Ray Tube)、LCD(Liquid Crystal Display)などの表示装置である。例えば、測定プログラム自動生成支援装置1に情報を直接入力する構成の場合、表示部106は、操作画面を表示する。 A display unit 106 is a display device such as a CRT (Cathode Ray Tube) or an LCD (Liquid Crystal Display). For example, in the case of a configuration in which information is directly input to the measurement program automatic generation support device 1, the display unit 106 displays an operation screen.

図1に示す測定プログラム自動生成支援装置1の3DAモデル取得部11、検査情報抽出部12、検査情報加工部13およびリスト送信部14の処理は、制御プログラムが、一時記憶部101、計算部103、記憶部102、入力部104、送受信部105および表示部106などを資源として用いて処理することによって実行する。 The processing of the 3DA model acquisition unit 11, the examination information extraction unit 12, the examination information processing unit 13, and the list transmission unit 14 of the measurement program automatic generation support device 1 shown in FIG. , the storage unit 102, the input unit 104, the transmission/reception unit 105, the display unit 106, and the like as resources.

その他、前記のハードウェア構成およびフローチャートは一例であり、任意に変更および修正が可能である。 In addition, the hardware configuration and flowchart described above are examples, and can be arbitrarily changed and modified.

計算部103、一時記憶部101、記憶部102、入力部104、送受信部105、表示部106などの測定プログラム自動生成支援装置1の処理を行う中心となる部分は、専用のシステムによらず、通常のコンピュータシステムを用いて実現可能である。例えば、前記の動作を実行するためのコンピュータプログラムを、フレキシブルディスク、CD-ROM(Compact Disc - Read Only Memory)、DVD-ROM(Digital Versatile Disc - Read Only Memory)などのコンピュータが読み取り可能な記録媒体に格納して配布し、当該コンピュータプログラムをコンピュータにインストールすることにより、前記の処理を実行する測定プログラム自動生成支援装置1を構成してもよい。また、インターネットなどの通信ネットワーク上のサーバ装置が有する記憶装置に当該コンピュータプログラムを格納しておき、通常のコンピュータシステムがダウンロードなどすることで測定プログラム自動生成支援装置1を構成してもよい。 Calculation unit 103, temporary storage unit 101, storage unit 102, input unit 104, transmitting/receiving unit 105, display unit 106, and other parts that are central to the processing of measurement program automatic generation support device 1 are not based on a dedicated system, It can be implemented using a normal computer system. For example, the computer program for executing the above operations may be recorded on a computer-readable recording medium such as a flexible disk, CD-ROM (Compact Disc-Read Only Memory), DVD-ROM (Digital Versatile Disc-Read Only Memory). The measurement program automatic generation support device 1 that executes the above processing may be configured by storing and distributing the computer program in a computer and installing the computer program in the computer. Alternatively, the computer program may be stored in a storage device of a server device on a communication network such as the Internet, and the computer program may be downloaded by a normal computer system to configure the measurement program automatic generation support device 1 .

また、測定プログラム自動生成支援装置1の機能を、OS(Operating System)とアプリケーションプログラムの分担、またはOSとアプリケーションプログラムとの協働により実現する場合などには、アプリケーションプログラム部分のみを記録媒体、記憶装置に格納してもよい。 In addition, when the functions of the measurement program automatic generation support device 1 are realized by sharing the work of an OS (Operating System) and an application program, or by cooperation between the OS and an application program, only the application program portion can be stored in a recording medium. may be stored in the device.

また、搬送波にコンピュータプログラムを重畳し、通信ネットワークを介して提供することも可能である。例えば、通信ネットワーク上の掲示板(BBS, Bulletin Board System)に前記コンピュータプログラムを掲示し、通信ネットワークを介して前記コンピュータプログラムを提供してもよい。そして、このコンピュータプログラムを起動し、OSの制御下で、他のアプリケーションプログラムと同様に実行することにより、前記の処理を実行できる構成してもよい。 It is also possible to superimpose a computer program on a carrier wave and provide it via a communication network. For example, the computer program may be posted on a bulletin board system (BBS, Bulletin Board System) on the communication network, and the computer program may be provided via the communication network. This computer program may be activated and executed in the same manner as other application programs under the control of the OS to execute the above processing.

上述した実施の形態1および2では、測定プログラム自動生成支援装置1と3次元CAT装置2とを別々の装置で実現したが、これに限らない。例えば、測定プログラム自動生成支援装置1は、3次元CAT装置に含まれてもよい。 In Embodiments 1 and 2 described above, the measurement program automatic generation support device 1 and the three-dimensional CAT device 2 are realized by separate devices, but the present invention is not limited to this. For example, the measurement program automatic generation support device 1 may be included in a three-dimensional CAT device.

上述した実施の形態1および2では、3次元CAT装置2が、3次元CAD装置で生成された製品の3DAモデルから、3次元測定機の点群データの公差の合否判定を行うための3次元測定プログラムを自動生成する例について説明したが、3DAモデルの対象物は製品に限らず、3次元測定機で測定可能な物体であればよい。また、3次元測定プログラムによる3次元測定機の点群データの評価方法は、公差の合否判定に限らず、公差の範囲内であるか否かを含む評価方法であればよい。 In Embodiments 1 and 2 described above, the three-dimensional CAT device 2 uses a three-dimensional CAT device 2 for judging tolerances of point cloud data of a three-dimensional measuring machine from a 3DA model of a product generated by a three-dimensional CAD device. Although an example of automatically generating a measurement program has been described, the object of the 3DA model is not limited to a product, and may be any object that can be measured by a three-dimensional measuring machine. Further, the evaluation method of the point cloud data of the three-dimensional measuring machine by the three-dimensional measurement program is not limited to the pass/fail judgment of the tolerance, and may be an evaluation method including whether or not it is within the range of the tolerance.

1 測定プログラム自動生成支援装置、2 3次元CAT装置、11 3DAモデル取得部、12 検査情報抽出部、13 検査情報加工部、14 リスト送信部、21 3DAモデル読込部、22 リスト受信部、23 測定フィーチャ生成部、24 構築要素生成部、25 公差設定部、26 測定プログラム生成部、27 測定プログラム記憶部、100 測定プログラム自動生成システム、101 一時記憶部、102 記憶部、103 計算部、104 入力部、105 送受信部、106 表示部、201,210,214,217,301 寸法、202,204,205,208,209,215,216 面、203 稜線、206,220 データム、207 中間平面、211,212,213 円筒面、218,219 幾何公差。 1 measurement program automatic generation support device, 2 three-dimensional CAT device, 11 3DA model acquisition unit, 12 inspection information extraction unit, 13 inspection information processing unit, 14 list transmission unit, 21 3DA model reading unit, 22 list reception unit, 23 measurement Feature generation unit 24 Building element generation unit 25 Tolerance setting unit 26 Measurement program generation unit 27 Measurement program storage unit 100 Measurement program automatic generation system 101 Temporary storage unit 102 Storage unit 103 Calculation unit 104 Input unit , 105 transceiver unit, 106 display unit, 201, 210, 214, 217, 301 dimension, 202, 204, 205, 208, 209, 215, 216 surface, 203 edge line, 206, 220 datum, 207 intermediate plane, 211, 212 , 213 cylindrical surfaces, 218, 219 geometric tolerances.

Claims (9)

測定プログラム自動生成支援装置と、測定プログラム自動生成装置とを備える測定プログラム自動生成システムであって、
前記測定プログラム自動生成支援装置は、
対象物の3DAモデルを取得する3DAモデル取得部と、
前記3DAモデルのPMIに含まれるパラメータおよび参照要素の情報を抽出し、寸法検査情報出力リスト、データム検査情報出力リスト、幾何公差検査情報出力リスト、および、構築要素情報出力リストを生成する検査情報抽出部と、
前記寸法検査情報出力リスト、前記データム検査情報出力リスト、前記幾何公差検査情報出力リスト、および、前記構築要素情報出力リストを加工して、測定要素情報入力リスト、構築要素情報入力リスト、寸法検査情報入力リスト、データム検査情報入力リスト、および、幾何公差検査情報入力リストを生成する検査情報加工部と、
前記測定要素情報入力リスト、前記構築要素情報入力リスト、前記寸法検査情報入力リスト、前記データム検査情報入力リスト、および、前記幾何公差検査情報入力リストを前記測定プログラム自動生成装置に送信するリスト送信部と、
を備え、
前記測定プログラム自動生成装置は、
前記測定要素情報入力リスト、前記構築要素情報入力リスト、前記寸法検査情報入力リスト、前記データム検査情報入力リスト、および、前記幾何公差検査情報入力リストを受信するリスト受信部と、
前記3DAモデルを読み込む3DAモデル読込部と、
前記3DAモデルおよび前記測定要素情報入力リストに基づいて、3次元測定機が測定する測定フィーチャを生成する測定フィーチャ生成部と、
前記構築要素情報入力リストに基づいて、前記測定フィーチャから構築フィーチャを生成する構築要素生成部と、
前記寸法検査情報入力リスト、前記データム検査情報入力リスト、および、前記幾何公差検査情報入力リストに基づいて、前記測定フィーチャおよび前記構築フィーチャの公差を設定する公差設定部と、
前記測定フィーチャと、前記構築フィーチャと、前記測定フィーチャおよび前記構築フィーチャの公差とに基づいて、前記3次元測定機が前記対象物を測定した点群データを評価する3次元測定プログラムを生成する測定プログラム生成部と、
を備える測定プログラム自動生成システム。
A measurement program automatic generation system comprising a measurement program automatic generation support device and a measurement program automatic generation device,
The measurement program automatic generation support device includes:
a 3DA model acquisition unit that acquires a 3DA model of an object;
Inspection information extraction for extracting information on parameters and reference elements included in the PMI of the 3DA model and generating a dimensional inspection information output list, a datum inspection information output list, a geometric tolerance inspection information output list, and a building element information output list. Department and
The dimensional inspection information output list, the datum inspection information output list, the geometric tolerance inspection information output list, and the building element information output list are processed to obtain a measurement element information input list, a building element information input list, and dimensional inspection information. an inspection information processing unit that generates an input list, a datum inspection information input list, and a geometric tolerance inspection information input list;
A list transmission unit for transmitting the measurement element information input list, the building element information input list, the dimension inspection information input list, the datum inspection information input list, and the geometric tolerance inspection information input list to the measurement program automatic generation device. and,
with
The measurement program automatic generation device is
a list receiver for receiving the measurement element information input list, the building element information input list, the dimension inspection information input list, the datum inspection information input list, and the geometric tolerance inspection information input list;
a 3DA model reading unit that reads the 3DA model;
a measurement feature generator that generates measurement features to be measured by a three-dimensional measuring machine based on the 3DA model and the measurement element information input list;
a building element generation unit that generates construction features from the measured features based on the building element information input list;
a tolerance setting unit for setting tolerances of the measurement features and the construction features based on the dimensional inspection information input list, the datum inspection information input list, and the geometric tolerance inspection information input list;
Measurement generating a three-dimensional measurement program for evaluating point cloud data from which the three-dimensional measuring machine measured the object based on the measurement features, the construction features, and tolerances of the measurement features and the construction features. a program generator;
measurement program automatic generation system.
前記測定フィーチャ生成部は、前記測定要素情報入力リストから、前記3次元測定機のCNCデータをさらに生成する、
請求項1に記載の測定プログラム自動生成システム。
The measurement feature generation unit further generates CNC data of the three-dimensional measuring machine from the measurement element information input list.
The measurement program automatic generation system according to claim 1.
前記検査情報抽出部は、前記3DAモデルのPMIに含まれる参照要素が構築要素である場合、当該参照要素の構築要素タイプおよび構成要素名を抽出し、当該参照要素の参照要素名と共に前記構築要素情報出力リストに格納する、
請求項1または2に記載の測定プログラム自動生成システム。
When the reference element included in the PMI of the 3DA model is a building element, the examination information extraction unit extracts a building element type and a building element name of the reference element, and extracts the building element together with the reference element name of the reference element. store in the information output list,
The measurement program automatic generation system according to claim 1 or 2.
前記検査情報加工部は、前記寸法検査情報出力リストに2つ以上の参照要素名が記載されているPMIがある場合、当該PMIを参照要素ごとに別々のPMIに分割して、前記寸法検査情報入力リストを生成する、
請求項1から3のいずれか1項に記載の測定プログラム自動生成システム。
When there is a PMI in which two or more reference element names are described in the dimension inspection information output list, the inspection information processing unit divides the PMI into separate PMIs for each reference element, and processes the dimension inspection information. generate the input list,
The measurement program automatic generation system according to any one of claims 1 to 3.
前記検査情報加工部は、前記幾何公差検査情報出力リストに修正子として共通公差域が公差値に記載されているPMIがある場合、当該PMIの参照要素名をすべて繋げた新たな参照要素名を生成し、前記測定要素情報入力リストに格納する、
請求項1から4のいずれか1項に記載の測定プログラム自動生成システム。
If there is a PMI in which a common tolerance zone is described in the tolerance value as a modifier in the geometric tolerance inspection information output list, the inspection information processing unit creates a new reference element name by connecting all the reference element names of the PMI. generate and store in the measurement element information input list;
The measurement program automatic generation system according to any one of claims 1 to 4.
対象物の3DAモデルを取得する3DAモデル取得部と、
前記3DAモデルのPMIに含まれるパラメータおよび参照要素の情報を抽出し、寸法検査情報出力リスト、データム検査情報出力リスト、幾何公差検査情報出力リスト、および、構築要素情報出力リストを生成する検査情報抽出部と、
前記寸法検査情報出力リスト、前記データム検査情報出力リスト、前記幾何公差検査情報出力リスト、および、前記構築要素情報出力リストを加工して、測定要素情報入力リスト、構築要素情報入力リスト、寸法検査情報入力リスト、データム検査情報入力リスト、および、幾何公差検査情報入力リストを生成する検査情報加工部と、
前記測定要素情報入力リスト、前記構築要素情報入力リスト、前記寸法検査情報入力リスト、前記データム検査情報入力リスト、および、前記幾何公差検査情報入力リストを測定プログラム自動生成装置に送信するリスト送信部と、
を備える測定プログラム自動生成支援装置。
a 3DA model acquisition unit that acquires a 3DA model of an object;
Inspection information extraction for extracting information on parameters and reference elements included in the PMI of the 3DA model and generating a dimensional inspection information output list, a datum inspection information output list, a geometric tolerance inspection information output list, and a building element information output list. Department and
The dimensional inspection information output list, the datum inspection information output list, the geometric tolerance inspection information output list, and the building element information output list are processed to obtain a measurement element information input list, a building element information input list, and dimensional inspection information. an inspection information processing unit that generates an input list, a datum inspection information input list, and a geometric tolerance inspection information input list;
a list transmission unit that transmits the measurement element information input list, the building element information input list, the dimension inspection information input list, the datum inspection information input list, and the geometric tolerance inspection information input list to a measurement program automatic generation device; ,
Measurement program automatic generation support device.
請求項6に記載の測定プログラム自動生成支援装置から、前記測定要素情報入力リスト、前記構築要素情報入力リスト、前記寸法検査情報入力リスト、前記データム検査情報入力リスト、および、前記幾何公差検査情報入力リストを受信するリスト受信部と、
前記3DAモデルを読み込む3DAモデル読込部と、
前記3DAモデルおよび前記測定要素情報入力リストに基づいて、3次元測定機が測定する測定フィーチャを生成する測定フィーチャ生成部と、
前記構築要素情報入力リストに基づいて、前記測定フィーチャから構築フィーチャを生成する構築要素生成部と、
前記寸法検査情報入力リスト、前記データム検査情報入力リスト、および、前記幾何公差検査情報入力リストに基づいて、前記測定フィーチャおよび前記構築フィーチャの公差を設定する公差設定部と、
前記測定フィーチャと、前記構築フィーチャと、前記測定フィーチャおよび前記構築フィーチャの公差とに基づいて、前記3次元測定機が前記対象物を測定した点群データを評価する3次元測定プログラムを生成する測定プログラム生成部と、
を備える測定プログラム自動生成装置。
7. From the measurement program automatic generation support device according to claim 6, the measurement element information input list, the building element information input list, the dimension inspection information input list, the datum inspection information input list, and the geometric tolerance inspection information input a list receiver that receives the list;
a 3DA model reading unit that reads the 3DA model;
a measurement feature generator that generates measurement features to be measured by a three-dimensional measuring machine based on the 3DA model and the measurement element information input list;
a building element generation unit that generates construction features from the measured features based on the building element information input list;
a tolerance setting unit for setting tolerances of the measurement features and the construction features based on the dimensional inspection information input list, the datum inspection information input list, and the geometric tolerance inspection information input list;
Measurement generating a three-dimensional measurement program for evaluating point cloud data from which the three-dimensional measuring machine measured the object based on the measurement features, the construction features, and tolerances of the measurement features and the construction features. a program generator;
measurement program automatic generation device.
コンピュータが実行する、
対象物の3DAモデルのPMIに含まれるパラメータおよび参照要素の情報を抽出し、寸法検査情報出力リスト、データム検査情報出力リスト、幾何公差検査情報出力リスト、および、構築要素情報出力リストを生成する検査情報抽出ステップと、
前記寸法検査情報出力リスト、前記データム検査情報出力リスト、前記幾何公差検査情報出力リスト、および、前記構築要素情報出力リストを加工して、測定要素情報入力リスト、構築要素情報入力リスト、寸法検査情報入力リスト、データム検査情報入力リスト、および、幾何公差検査情報入力リストを生成する検査情報加工ステップと、
前記3DAモデルおよび前記測定要素情報入力リストに基づいて、3次元測定機が測定する測定フィーチャを生成する測定フィーチャ生成ステップと、
前記構築要素情報入力リストに基づいて、前記測定フィーチャから構築フィーチャを生成する構築要素生成ステップと、
前記寸法検査情報入力リスト、前記データム検査情報入力リスト、および、前記幾何公差検査情報入力リストに基づいて、前記測定フィーチャおよび前記構築フィーチャの公差を設定する公差設定ステップと、
前記測定フィーチャと、前記構築フィーチャと、前記測定フィーチャおよび前記構築フィーチャの公差とに基づいて、前記3次元測定機が前記対象物を測定した点群データを評価する3次元測定プログラムを生成する測定プログラム生成ステップと、
を備える測定プログラム自動生成方法。
the computer runs
An inspection that extracts parameter and reference element information included in the PMI of the 3DA model of the object and generates a dimensional inspection information output list, a datum inspection information output list, a geometric tolerance inspection information output list, and a construction element information output list. an information extraction step;
The dimensional inspection information output list, the datum inspection information output list, the geometric tolerance inspection information output list, and the building element information output list are processed to obtain a measurement element information input list, a building element information input list, and dimensional inspection information. an inspection information processing step of generating an input list, a datum inspection information input list, and a geometric tolerance inspection information input list;
a measurement feature generation step of generating measurement features to be measured by a three-dimensional measuring machine based on the 3DA model and the measurement element information input list;
a building element generation step of generating construction features from the measured features based on the building element information input list;
a tolerance setting step of setting tolerances of the measurement features and the construction features based on the dimensional inspection information input list, the datum inspection information input list, and the geometric tolerance inspection information input list;
Measurement generating a three-dimensional measurement program for evaluating point cloud data from which the three-dimensional measuring machine measured the object based on the measurement features, the construction features, and tolerances of the measurement features and the construction features. a program generation step;
A measurement program automatic generation method comprising
コンピュータを、
対象物の3DAモデルのPMIに含まれるパラメータおよび参照要素の情報を抽出し、寸法検査情報出力リスト、データム検査情報出力リスト、幾何公差検査情報出力リスト、および、構築要素情報出力リストを生成する検査情報抽出部、
前記寸法検査情報出力リスト、前記データム検査情報出力リスト、前記幾何公差検査情報出力リスト、および、前記構築要素情報出力リストを加工して、測定要素情報入力リスト、構築要素情報入力リスト、寸法検査情報入力リスト、データム検査情報入力リスト、および、幾何公差検査情報入力リストを生成する検査情報加工部、
前記3DAモデルおよび前記測定要素情報入力リストに基づいて、3次元測定機が測定する測定フィーチャを生成する測定フィーチャ生成部、
前記構築要素情報入力リストに基づいて、前記測定フィーチャから構築フィーチャを生成する構築要素生成部、
前記寸法検査情報入力リスト、前記データム検査情報入力リスト、および、前記幾何公差検査情報入力リストに基づいて、前記測定フィーチャおよび前記構築フィーチャの公差を設定する公差設定部、および、
前記測定フィーチャと、前記構築フィーチャと、前記測定フィーチャおよび前記構築フィーチャの公差とに基づいて、前記3次元測定機が前記対象物を測定した点群データを評価する3次元測定プログラムを生成する測定プログラム生成部、
として機能させるプログラム。
the computer,
An inspection that extracts parameter and reference element information included in the PMI of the 3DA model of the object and generates a dimensional inspection information output list, a datum inspection information output list, a geometric tolerance inspection information output list, and a construction element information output list. information extractor,
The dimensional inspection information output list, the datum inspection information output list, the geometric tolerance inspection information output list, and the building element information output list are processed to obtain a measurement element information input list, a building element information input list, and dimensional inspection information. an inspection information processing unit that generates an input list, a datum inspection information input list, and a geometric tolerance inspection information input list;
a measurement feature generator that generates measurement features to be measured by a three-dimensional measuring machine based on the 3DA model and the measurement element information input list;
a building element generator for generating construction features from the measured features based on the building element information input list;
a tolerance setting unit for setting tolerances of the measurement features and the construction features based on the dimensional inspection information input list, the datum inspection information input list, and the geometric tolerance inspection information input list;
Measurement generating a three-dimensional measurement program for evaluating point cloud data from which the three-dimensional measuring machine measured the object based on the measurement features, the construction features, and tolerances of the measurement features and the construction features. program generator,
A program that acts as a
JP2019213170A 2019-11-26 2019-11-26 Automatic measurement program generation system, automatic measurement program generation support device, automatic measurement program generation device, automatic measurement program generation method and program Active JP7285764B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019213170A JP7285764B2 (en) 2019-11-26 2019-11-26 Automatic measurement program generation system, automatic measurement program generation support device, automatic measurement program generation device, automatic measurement program generation method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019213170A JP7285764B2 (en) 2019-11-26 2019-11-26 Automatic measurement program generation system, automatic measurement program generation support device, automatic measurement program generation device, automatic measurement program generation method and program

Publications (2)

Publication Number Publication Date
JP2021085704A JP2021085704A (en) 2021-06-03
JP7285764B2 true JP7285764B2 (en) 2023-06-02

Family

ID=76087335

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019213170A Active JP7285764B2 (en) 2019-11-26 2019-11-26 Automatic measurement program generation system, automatic measurement program generation support device, automatic measurement program generation device, automatic measurement program generation method and program

Country Status (1)

Country Link
JP (1) JP7285764B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE112021007845T5 (en) * 2021-08-27 2024-04-11 Fanuc Corporation DEVICE FOR GENERATING AN EVALUATION PROGRAM AND COMPUTER-READABLE RECORDING MEDIUM ON WHICH A PROGRAM IS RECORDED

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003130631A (en) 2001-10-25 2003-05-08 Toshiba Corp Method for creating measurement program and its system
JP2004286571A (en) 2003-03-20 2004-10-14 Toshiba Corp Method and program for supporting preparation of measurement program
JP2019138820A (en) 2018-02-14 2019-08-22 トヨタ自動車株式会社 Three-dimensional measurement device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003130631A (en) 2001-10-25 2003-05-08 Toshiba Corp Method for creating measurement program and its system
JP2004286571A (en) 2003-03-20 2004-10-14 Toshiba Corp Method and program for supporting preparation of measurement program
JP2019138820A (en) 2018-02-14 2019-08-22 トヨタ自動車株式会社 Three-dimensional measurement device

Also Published As

Publication number Publication date
JP2021085704A (en) 2021-06-03

Similar Documents

Publication Publication Date Title
US20200293021A1 (en) Method of optimizing machining simulation condition, machining simulation device, machining simulation system and program
Alam et al. Towards automatic validation and healing of CityGML models for geometric and semantic consistency
WO2020003888A1 (en) External-appearance inspection system, method for displaying external-appearance inspection result, and program for displaying external-appearance inspection result
CN107248142B (en) A kind of cultural relic fragments method for automatically split-jointing
JP6468757B2 (en) 3D model generation method, 3D model generation system, and 3D model generation program
JP7285764B2 (en) Automatic measurement program generation system, automatic measurement program generation support device, automatic measurement program generation device, automatic measurement program generation method and program
CN110580738B (en) Method for generating enhanced plant model
US20230074990A1 (en) Data management system, management method, and storage medium
JP4961405B2 (en) Image data generation apparatus for simulation apparatus
CN111966665B (en) Data migration testing method and device
US20180365341A1 (en) Three-Dimensional Cad System Device, and Knowledge Management Method Used in Three-Dimensional Cad
JP7131127B2 (en) APPEARANCE INSPECTION SYSTEM, APPEARANCE INSPECTION RESULT DISPLAY METHOD AND APPEARANCE INSPECTION RESULT DISPLAY PROGRAM
EP2993613A1 (en) A capture system arranged to create a 3d model from a scanned scene, a method and a graphical user interface
US20020067354A1 (en) Method and system for reconstructing 3D objects from free-hand line drawing
CN113577775A (en) Method and device for checking art resource file, electronic device and storage medium
KR20200039080A (en) Method for measuring foot shape using contraction algorithm
CN110058845A (en) A kind of management method, equipment and the system of model component file
JP2020201654A (en) Operation manual creation support device and operation manual creation support method
JP6293293B2 (en) How to establish routines for multi-sensor measurement equipment
CN111488283B (en) Task generation method and device, electronic equipment and storage medium
CN112835756B (en) Touch screen testing method and device, computer equipment and storage medium
CN116911261A (en) Relay protection inspection item generation method and system based on cloud platform
JP2013065354A (en) Model image acquisition support apparatus, model image acquisition support method, and model image acquisition support program
CN116704156B (en) Model generation method, electronic equipment and model generation system
JP7455038B2 (en) Order processing method and order processing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220914

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230419

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230425

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230523

R150 Certificate of patent or registration of utility model

Ref document number: 7285764

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150