Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6677882B2 - Information processing apparatus, control method therefor, and program - Google Patents
[go: Go Back, main page]

JP6677882B2 - Information processing apparatus, control method therefor, and program - Google Patents

Information processing apparatus, control method therefor, and program Download PDF

Info

Publication number
JP6677882B2
JP6677882B2 JP2015214415A JP2015214415A JP6677882B2 JP 6677882 B2 JP6677882 B2 JP 6677882B2 JP 2015214415 A JP2015214415 A JP 2015214415A JP 2015214415 A JP2015214415 A JP 2015214415A JP 6677882 B2 JP6677882 B2 JP 6677882B2
Authority
JP
Japan
Prior art keywords
tolerance
allocation
condition
assignment
dimension
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
JP2015214415A
Other languages
Japanese (ja)
Other versions
JP2017084252A (en
Inventor
拓史 上田
拓史 上田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Marketing Japan Inc
Canon IT Solutions Inc
Original Assignee
Canon Marketing Japan Inc
Canon IT Solutions Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Marketing Japan Inc, Canon IT Solutions Inc filed Critical Canon Marketing Japan Inc
Priority to JP2015214415A priority Critical patent/JP6677882B2/en
Publication of JP2017084252A publication Critical patent/JP2017084252A/en
Application granted granted Critical
Publication of JP6677882B2 publication Critical patent/JP6677882B2/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/30Computing systems specially adapted for manufacturing

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

本発明は、情報処理装置、その制御方法及びプログラムに関する。   The present invention relates to an information processing device, a control method thereof, and a program.

製造業などの加工工程において、加工者は設計図面を確認しながら加工機械へ加工情報を定義・伝達している。近年ではCADソフト(Computer Aided Design Software)で作成したデータを、CAMソフト(Computer Aided Manufacturing Software)のインプットとし、工具の設定や加工パスの決定をすることも一般化している。CADソフトにおいて寸法の公差を設定することも行われている。   In a manufacturing process such as a manufacturing industry, a processor defines and transmits processing information to a processing machine while checking a design drawing. In recent years, it has become common to use data created by CAD software (Computer Aided Design Software) as input to CAM software (Computer Aided Manufacturing Software) to determine tool settings and machining paths. Dimensional tolerances are also set in CAD software.

例えば特許文献1には、公差の設定数値を手入力で変更する手間を省くために、CADソフトにおいて許容公差ごとにオブジェクトを生成し、オブジェクトを操作することで数値を入力することなく許容公差を変更する技術について記載されている。   For example, in Patent Document 1, in order to save the trouble of manually changing the set numerical value of the tolerance, an object is generated for each allowable tolerance in CAD software, and the allowable tolerance can be set without inputting a numerical value by operating the object. The technique to be changed is described.

特開2006−343311号公報JP-A-2006-343311

しかし、CADソフト側で加工に関する設定をしたとしても、CADソフトとCAMソフトはそれぞれ別のメーカで製作している場合が多く、ソフト間でのデータに対する親和性は十分でない場合がある。そのような場合には一般的に中間ファイルといわれる互換性の高いファイル形式(例えばParasolid等)を介してソフト間でのデータ授受を行うが、CADソフトで作成したデータを中間ファイルへ変換することによりCADソフトで定義した情報、具体的には寸法定義情報等が欠落した幾何形状のみのデータとなる。そのため加工者はCADソフトから出力された中間ファイル形式のデータをCAMソフトで読み込み、幾何形状から識別可能な範囲についてはCAMソフトを用いて加工定義を行い、幾何形状からは識別不可能な範囲については設計図面を参照しながら手作業でCAMソフトへ加工定義を入力する。手作業で行う加工定義の一例として、寸法公差が挙げられる。   However, even if the settings relating to the processing are made on the CAD software side, the CAD software and the CAM software are often manufactured by different manufacturers, and the affinity of the software between the data may not be sufficient. In such a case, data is exchanged between software through a highly compatible file format (eg, Parasolid) generally referred to as an intermediate file, but data created by CAD software is converted into an intermediate file. Thus, the data defined by the CAD software, specifically, the data of only the geometrical shape in which the dimension definition information and the like are missing. For this reason, the processor reads the intermediate file format data output from the CAD software with the CAM software, defines processing using the CAM software for a range that can be identified from the geometric shape, and defines a processing that cannot be identified from the geometric shape. Manually inputs the machining definition into the CAM software while referring to the design drawing. An example of a process definition performed manually is a dimensional tolerance.

前述した例の場合、図面上に表記される全ての寸法を対象として寸法公差の有無とその具体的な定義内容を視認し、その内容をCAMソフトへ反映しなければならない。その際、図面上には寸法公差の指定がある寸法と指定のない寸法が混在して表記されているのが一般的であり、またその公差についても上下寸法許容差や普通許容差といった幾つかの表記タイプが混在している場合がある。また部位によっては同じ表記タイプであったとしても、公差の値が異なれば選り分けてCAMソフトへ設定することが望まれる。具体的には高い精度が必要な加工と低い精度でも十分な加工とを切り分けて加工することにより、加工原価を抑える狙いが挙げられる。   In the case of the above-described example, the presence or absence of a dimensional tolerance and the specific definition thereof must be visually checked for all dimensions described in the drawing, and the content must be reflected in the CAM software. At that time, it is common that dimensions with specified dimensional tolerances and dimensions without dimensional tolerances are mixedly written on the drawing, and some of the tolerances, such as upper and lower dimensional tolerances and normal tolerances, are also described. May be mixed. Further, even if the parts are of the same notation type, it is desirable to select and set the values in the CAM software if the tolerance values are different. Specifically, there is an aim to reduce processing costs by performing processing by separating processing requiring high accuracy from processing requiring low accuracy.

結果、加工者は図面上に表記されている無数の寸法の中から任意の寸法公差を選り分けるという作業を繰り返し行わなければならない。また具体的な加工が完了した後には検査を行わなければならないため、その際にも同様の作業を行わなければならない。   As a result, the processor must repeatedly perform an operation of selecting an arbitrary dimensional tolerance from among the myriad dimensions described on the drawing. In addition, since inspection must be performed after specific processing is completed, a similar operation must be performed at that time.

本発明は、寸法公差の設定に応じて、寸法を容易にグループ分けすることができる仕組みを提供することを目的とする。   SUMMARY OF THE INVENTION It is an object of the present invention to provide a mechanism capable of easily grouping dimensions according to the setting of dimensional tolerance.

本発明の情報処理装置は、CADファイルを記憶して読み込む機能を備える情報処理装置であって、読み込んだCADファイルの寸法の公差を取得する取得手段と、公差に応じて、当該公差を持つ寸法をグループに割り当てる割当条件を記憶する割当条件記憶手段と、前記取得手段で取得した寸法の公差が、前記割当条件記憶手段に記憶されている前記割当条件を満たすか判定する判定手段と、前記判定手段で、前記取得手段で取得した寸法の公差が、前記割当条件記憶手段に記憶されている前記割当条件を満たすと判定された場合に、当該条件に対応する割当先のグループに当該条件を満たした寸法の公差を割り当てるべく制御する割当制御手段と、を備えることを特徴とする。   An information processing apparatus according to the present invention is an information processing apparatus having a function of storing and reading a CAD file, and an acquiring unit for acquiring a tolerance of a dimension of the read CAD file, and a dimension having the tolerance according to the tolerance. Allocation condition storage means for storing an allocation condition for allocating a group to a group; determining means for determining whether a dimensional tolerance obtained by the obtaining means satisfies the allocation condition stored in the allocation condition storage means; When the means determines that the dimensional tolerance obtained by the obtaining means satisfies the allocation condition stored in the allocation condition storage means, the allocation destination group corresponding to the condition satisfies the condition. Allocation control means for controlling the allocation of the tolerances of the dimensions.

本発明によれば、寸法公差の設定に応じて、寸法を容易にグループ分けすることができる。   According to the present invention, the dimensions can be easily grouped according to the setting of the dimensional tolerance.

例えば、特定の公差を持つ寸法をCADファイル上のレイヤーへ割り当てることによって任意の公差寸法表示状態を実現することへの負担を軽減し、製造過程における特定の作業に特化したCADファイルの表示状態、即ち当該作業には必要な寸法をCADファイル上では表示しない状態、を作成することで、作業者がCADファイルを読解する際にかかる負担を軽減させることができる。   For example, by assigning dimensions having specific tolerances to layers in a CAD file, the burden on achieving an arbitrary tolerance dimension display state can be reduced, and a CAD file display state specialized for a specific operation in the manufacturing process. In other words, by creating a state in which dimensions necessary for the work are not displayed on the CAD file, it is possible to reduce the burden on the operator when reading the CAD file.

本発明の実施形態における、PC101とソフトウェアの関係の一例を示す図である。FIG. 3 is a diagram illustrating an example of a relationship between the PC 101 and software according to the embodiment of the present invention. 本発明の実施形態における、PC101のハードウェア構成の一例を示す図である。FIG. 2 is a diagram illustrating an example of a hardware configuration of a PC 101 according to the embodiment of the present invention. 本発明の実施形態における、PC101の機能構成の一例を示す図である。FIG. 2 is a diagram illustrating an example of a functional configuration of a PC 101 according to the embodiment of the present invention. 本発明の実施形態における、処理の概要を示すフローチャートである。5 is a flowchart illustrating an outline of a process according to the embodiment of the present invention. 本発明の実施形態における、公差テーブル更新処理の流れを示すフローチャートある。9 is a flowchart illustrating a flow of a tolerance table update process according to the embodiment of the present invention. 本発明の実施形態における、レイヤー割当処理の流れを示すフローチャートある。6 is a flowchart illustrating a flow of a layer assignment process according to the embodiment of the present invention. 本発明の実施形態における、レイヤー解除処理の流れを示すフローチャートある。6 is a flowchart illustrating a flow of a layer release process according to the embodiment of the present invention. 本発明の実施形態における、公差テーブルの構成の一例を示す図である。It is a figure in an embodiment of the present invention which shows an example of the composition of a tolerance table. 本発明の実施形態における、メインダイアログの構成の一例を示す図である。FIG. 4 is a diagram illustrating an example of a configuration of a main dialog according to the embodiment of the present invention. 本発明の実施形態における、設定ダイアログの構成の一例、及び公差テーブルの値の表示の様子を示す図である。FIG. 7 is a diagram illustrating an example of a configuration of a setting dialog and a state of displaying values of a tolerance table in the embodiment of the present invention. 本発明の実施形態における、公差テーブルのレコード追加の様子を示す図である。It is a figure in an embodiment of the present invention showing a situation of record addition of a tolerance table. 本発明の実施形態における、公差テーブルのレコード変更の様子を示す図である。It is a figure in an embodiment of the present invention showing a situation of record change of a tolerance table. 本発明の実施形態における、公差テーブルのレコード移動の様子を示す図である。It is a figure in an embodiment of the present invention which shows a mode of record movement of a tolerance table. 本発明の実施形態における、公差テーブルのレコード削除の様子を示す図である。It is a figure in an embodiment of the present invention showing a situation of record deletion of a tolerance table. 本発明の実施形態における、寸法情報及び割当前テーブルの構成の一例を示す図である。FIG. 4 is a diagram illustrating an example of a configuration of dimension information and a pre-allocation table according to the embodiment of the present invention. 本発明の実施形態における、割当前テーブルへの寸法情報の格納の様子及び結果を示す図である。FIG. 7 is a diagram illustrating a state and a result of storing dimension information in a pre-allocation table in the embodiment of the present invention. 本発明の実施形態における、帯域有効オプションが無効な場合の割当処理の様子及び結果を示す図である。It is a figure in an embodiment of the present invention which shows a situation and a result of allocation processing when a band valid option is invalid. 本発明の実施形態における、帯域有効オプションが有効な場合の割当処理の様子及び結果を示す図である。It is a figure in an embodiment of the present invention which shows a situation and a result of allocation processing when a band effective option is effective. 本発明の実施形態における、未割当テーブルの構成の一例を示す図である。FIG. 4 is a diagram illustrating an example of a configuration of an unassigned table according to the embodiment of the present invention. 本発明の実施形態における、該当する割当条件がない場合の設定ダイアログの表示及び公差テーブルの更新の様子を示す図である。It is a figure in the embodiment of the present invention which shows a mode of display of a setting dialogue, and update of a tolerance table, when there is no corresponding allocation condition. 本発明の実施形態における、確認ダイアログの構成の一例、及び表示の様子を示す図である。FIG. 7 is a diagram illustrating an example of a configuration of a confirmation dialog and a display state according to the embodiment of the present invention. 本発明の実施形態における、寸法のレイヤーへの割当処理の様子及び結果を示す図である。FIG. 9 is a diagram illustrating a state and a result of a process of assigning dimensions to layers in the embodiment of the present invention. 本発明の実施形態における、割当解除処理の様子及び結果を示す図である。It is a figure in an embodiment of the present invention showing a situation of a deallocation processing, and a result. CADソフトにおけるレイヤーの表示・非表示の切替処理の様子を示す図である。FIG. 4 is a diagram illustrating a state of a layer display / non-display switching process in CAD software. 本発明の実施形態における、設定ダイアログの構成の一例、及び公差テーブルの値の更新の様子を示す図である。FIG. 7 is a diagram illustrating an example of a configuration of a setting dialog and a state of updating a value of a tolerance table in the embodiment of the present invention.

以下、図面を参照して、本発明の実施の形態の一例について説明する。   Hereinafter, an example of an embodiment of the present invention will be described with reference to the drawings.

図1を参照して、本発明のPC101とソフトウェアの関係の一例について説明する。   An example of the relationship between the PC 101 and software of the present invention will be described with reference to FIG.

本発明における情報処理装置であるPC101には、CADソフトウェア110(以下、CADソフト110)と、当該CADソフト110のアドオンツールである割当ツール120がインストールされている。   In the PC 101, which is an information processing apparatus according to the present invention, CAD software 110 (hereinafter, CAD software 110) and an allocation tool 120, which is an add-on tool for the CAD software 110, are installed.

CADソフト110は、PC101の外部メモリや、不図示のサーバ装置の外部メモリに記憶されているCADファイルを読み込んで、メモリ上に展開し、表示画面に読み込んだCADファイルのイメージを展開することが可能である。サーバ装置とは例えばLAN(ローカルエリアネットワーク)で通信可能に接続されているものとする。以下、実施形態の説明においては、CADファイルはPC101内の所定の記憶領域に記憶されているものとする。   The CAD software 110 reads a CAD file stored in an external memory of the PC 101 or an external memory of a server device (not shown), develops the CAD file on the memory, and develops the image of the read CAD file on a display screen. It is possible. It is assumed that the server device is communicably connected to, for example, a LAN (local area network). Hereinafter, in the description of the embodiment, it is assumed that the CAD file is stored in a predetermined storage area in the PC 101.

割当ツール120は、CADファイル上の寸法の値を、各寸法の公差の値に基づいてレイヤー分けする処理を行う。また、当該レイヤー分けをするための条件を管理している。以上が図1の説明である。   The allocation tool 120 performs a process of layering the dimension values on the CAD file based on the tolerance values of the dimensions. Also, the conditions for the layer division are managed. The above is the description of FIG.

以下、図2を用いて、図1に示したPC101に適用可能な情報処理装置のハードウェア構成について説明する。   Hereinafter, the hardware configuration of the information processing apparatus applicable to the PC 101 shown in FIG. 1 will be described with reference to FIG.

図2において、201はCPUで、システムバス204に接続される各デバイスやコントローラを統括的に制御する。また、ROM202あるいは外部メモリ211には、CPU201の制御プログラムであるBIOS(Basic Input / Output System)やオペレーティングシステムプログラム(以下、OS)や、各サーバ或いは各PCの実行する機能を実現するために必要な後述する各種プログラム等が記憶されている。   In FIG. 2, reference numeral 201 denotes a CPU, which comprehensively controls each device and controller connected to the system bus 204. The ROM 202 or the external memory 211 includes a basic input / output system (BIOS) or an operating system program (hereinafter, referred to as an OS), which is a control program of the CPU 201, and a function to be executed by each server or each PC. Various programs described later are stored.

203はRAMで、CPU201の主メモリ、ワークエリア等として機能する。CPU201は、処理の実行に際して必要なプログラム等をROM202あるいは外部メモリ211からRAM203にロードして、該ロードしたプログラムを実行することで各種動作を実現するものである。   A RAM 203 functions as a main memory, a work area, and the like for the CPU 201. The CPU 201 loads various programs and the like necessary for executing processing from the ROM 202 or the external memory 211 into the RAM 203 and executes the loaded programs to realize various operations.

また、205は入力コントローラで、キーボード(KB)209や不図示のマウス等のポインティングデバイス等からの入力を制御する。206はビデオコントローラで、CRTディスプレイ(CRT)210等の表示器への表示を制御する。なお、図2では、CRT210と記載しているが、表示器はCRTだけでなく、液晶ディスプレイ等の他の表示器であってもよい。これらは必要に応じて管理者が使用するものである。   An input controller 205 controls input from a keyboard (KB) 209 or a pointing device such as a mouse (not shown). A video controller 206 controls display on a display such as a CRT display (CRT) 210. In FIG. 2, the CRT 210 is described, but the display is not limited to the CRT but may be another display such as a liquid crystal display. These are used by the administrator as needed.

207はメモリコントローラで、ブートプログラム,各種のアプリケーション,フォントデータ,ユーザファイル,編集ファイル,各種データ等を記憶するハードディスク(HD)や、フレキシブルディスク(FD)、或いはPCMCIAカードスロットにアダプタを介して接続されるコンパクトフラッシュ(登録商標)メモリ等の外部メモリ211へのアクセスを制御する。   A memory controller 207 is connected to a hard disk (HD) for storing a boot program, various applications, font data, user files, edit files, various data, and the like, a flexible disk (FD), or a PCMCIA card slot via an adapter. Access to an external memory 211 such as a compact flash (registered trademark) memory.

208は通信I/Fコントローラで、ネットワークを介して外部機器と接続・通信するものであり、ネットワークでの通信制御処理を実行する。例えば、TCP/IPを用いた通信等が可能である。   A communication I / F controller 208 connects and communicates with an external device via a network, and executes communication control processing on the network. For example, communication using TCP / IP is possible.

なお、CPU201は、例えばRAM203内の表示情報用領域へアウトラインフォントの展開(ラスタライズ)処理を実行することにより、CRT210上での表示を可能としている。また、CPU201は、CRT210上の不図示のマウスカーソル等でのユーザ指示を可能とする。   Note that the CPU 201 enables the display on the CRT 210 by executing, for example, an outline font developing (rasterizing) process on a display information area in the RAM 203. Further, the CPU 201 enables a user instruction with a mouse cursor (not shown) on the CRT 210.

本発明を実現するための後述する各種プログラムは、外部メモリ211に記録されており、必要に応じてRAM203にロードされることによりCPU201によって実行されるものである。さらに、上記プログラムの実行時に用いられる定義ファイル及び各種情報テーブル等も、外部メモリ211に格納されており、これらについての詳細な説明も後述する。以上が図2の説明である。   Various programs described below for realizing the present invention are recorded in the external memory 211, and are executed by the CPU 201 by being loaded into the RAM 203 as necessary. Further, a definition file and various information tables used when executing the program are also stored in the external memory 211, and a detailed description thereof will be described later. The above is the description of FIG.

次に図3を参照して、本発明の実施形態におけるPC101の機能構成の一例について説明する。   Next, an example of a functional configuration of the PC 101 according to the embodiment of the present invention will be described with reference to FIG.

CADファイル読込部311は、PC101の記憶部に記憶されているCADファイルを読み込んでメモリ上に展開する処理部である。寸法情報取得部312は、割当ツール120から要求に応じて展開中のCADファイルの寸法情報(寸法の識別情報、寸法公差、タイプ等)をCADファイルから抽出して取得する取得部である。寸法情報送信部313は、寸法情報取得部312で取得した寸法情報を割当ツール120に送信する。   The CAD file reading unit 311 is a processing unit that reads a CAD file stored in the storage unit of the PC 101 and expands the CAD file on a memory. The dimension information acquisition unit 312 is an acquisition unit that extracts and acquires dimension information (dimension identification information, dimension tolerance, type, etc.) of the CAD file being developed in response to a request from the allocation tool 120 from the CAD file. The dimension information transmitting unit 313 transmits the dimension information acquired by the dimension information acquiring unit 312 to the allocation tool 120.

割当条件記憶部321は、寸法情報取得部322でCADソフト110に要求して受信(取得)した前記寸法情報を、どのグループに割り当てるかを決定するための割当条件を記憶する記憶部である。なお、本実施形態におけるグループとは、CADソフト上で管理されるレイヤーのこととする。割当条件判定部323は、寸法情報取得部322で取得した寸法が、割当条件記憶部321に記憶されている条件を満たすか判定する判定部である。割当先グループ決定部324は、割当条件判定部323で割当条件を満たすと判定された寸法を、当該寸法が満たした割当条件に対応するグループに割り当てることを決定する決定部である。   The allocation condition storage unit 321 is a storage unit for storing an allocation condition for determining to which group the size information requested and received (acquired) from the CAD software 110 by the size information acquisition unit 322 is assigned. Note that a group in the present embodiment is a layer managed on CAD software. The allocation condition determination unit 323 is a determination unit that determines whether the dimensions acquired by the dimension information acquisition unit 322 satisfy the conditions stored in the allocation condition storage unit 321. The allocation destination group determination unit 324 is a determination unit that determines to allocate a dimension determined to satisfy the allocation condition by the allocation condition determination unit 323 to a group corresponding to the allocation condition satisfied by the dimension.

新規グループ生成指示部325は、割当先として決定したグループ(レイヤー)が展開中のCADファイル上に存在しない場合に、当該グループを新規に生成するようCADファイルに指示する指示部である。新規グループ生成部314は、当該指示を受け付けて、指示に応じて新規のグループ(レイヤー)を生成する。   The new group creation instructing unit 325 is an instructing unit that instructs the CAD file to newly create a group (layer) determined as an assignment destination when the group (layer) determined does not exist in the CAD file being developed. The new group generation unit 314 receives the instruction and generates a new group (layer) according to the instruction.

割当実行指示部326は、割当先グループ決定部324で決定されたグループに対象の寸法を割り当てるようCADソフト110に指示する指示部である。割当実行部315は、当該指示に応じて、割当先のグループに対象の寸法を割り当てる処理を実行する。   The allocation execution instructing unit 326 is an instruction unit that instructs the CAD software 110 to allocate a target dimension to the group determined by the allocation destination group determining unit 324. The assignment execution unit 315 executes a process of assigning the target dimension to the group of the assignment destination according to the instruction.

割当解除実行指示部327は、寸法のグループへの割当を解除するようCADソフト110に指示する指示部である。割当解除実行部316は、当該指示に応じて、対象の寸法を割当先のグループから外す制御を行う。例えば、割当先のグループを削除する。以上が図3の説明である。   The allocation release execution instructing unit 327 is an instruction unit that instructs the CAD software 110 to release the allocation of the dimension to the group. The allocation release execution unit 316 performs control to remove the target dimension from the allocation destination group according to the instruction. For example, the group of the assignment destination is deleted. The above is the description of FIG.

次に、本発明の実施例におけるPC101によって行われる処理について、図4に示すフローチャートを用いて説明する。尚、S401からS409の各ステップはPC101におけるCPU201が、PC101にインストールされたCADソフト及び割当ツールの機能を用いて実行するものとする。割当ツールは、例えばCADソフトのアドオンされているものとする。   Next, a process performed by the PC 101 according to the embodiment of the present invention will be described with reference to a flowchart shown in FIG. Note that steps S401 to S409 are executed by the CPU 201 of the PC 101 using the functions of the CAD software and the allocation tool installed in the PC 101. It is assumed that the assignment tool is, for example, CAD software add-on.

ステップS401では、CADソフト110が操作者の操作によって起動し、操作者によるコマンド起動処理を受け付けることによって処理の対象となるCADモデルを読み込んで表示し、また、当該CADソフトの画面において割当ツール120の起動操作を受け付けることによって割当ツールを起動する(ステップS401)。そして、ステップS402へ処理を移行する。   In step S401, the CAD software 110 is activated by an operator's operation, accepts a command activation process by the operator, reads and displays a CAD model to be processed, and displays an allocation tool 120 on the screen of the CAD software. The allocation tool is started by receiving the start operation (step S401). Then, the process proceeds to step S402.

ステップS402では、起動した割当ツール120が、図8に示す公差テーブル800を作成する。そして、公差テーブル800に該当する情報を持つ、予め定めた外部データファイルが所定の記憶領域に格納されているか確認して、格納されている場合(取得できる場合)には、図8に示すように、その情報を公差テーブル800へ格納して記憶し、図9に示すメインダイアログ900を表示する。その後、ステップS403へ処理を移行する。   In step S402, the started allocation tool 120 creates the tolerance table 800 shown in FIG. Then, it is checked whether a predetermined external data file having information corresponding to the tolerance table 800 is stored in a predetermined storage area, and if it is stored (if it can be obtained), as shown in FIG. Next, the information is stored in the tolerance table 800 and stored, and a main dialog 900 shown in FIG. 9 is displayed. After that, the processing moves to a step S403.

ここで図8を用いて公差テーブル800を説明する。公差テーブルとは、寸法を、その寸法の公差に応じてどのレコードに割り当てるかを決定するための条件を記憶・格納するテーブルである。ここでは寸法をレイヤーに割り当てる。   Here, the tolerance table 800 will be described with reference to FIG. The tolerance table is a table that stores and stores conditions for determining which record is assigned a dimension according to the tolerance of the dimension. Here, dimensions are assigned to layers.

公差テーブル800は、レコードNoを格納するNo801、公差の種類を格納する公差タイプ802、公差の許容下限値を格納する最小寸法差803、公差の許容上限値を格納する最大寸法差804、処理の対象となった寸法を割り当てるレイヤー名を格納するレイヤー名805で構成する。以上が図8の説明である。公差テーブル800を画面に表示した具体的な結果として図10を示す。   The tolerance table 800 includes No. 801 for storing the record No., a tolerance type 802 for storing the type of the tolerance, a minimum dimension difference 803 for storing the allowable lower limit value of the tolerance, a maximum dimension difference 804 for storing the allowable upper limit value of the tolerance, and processing. It is composed of a layer name 805 that stores the name of the layer to which the target dimension is assigned. The above is the description of FIG. FIG. 10 shows a specific result of displaying the tolerance table 800 on the screen.

図4の説明に戻る。ステップS403では、割当ツール120は、公差テーブル更新指示を受け付けたか判定する。具体的には操作者による図9に示す「設定」ボタン901の押下を受け付けた場合に当該公差テーブル更新指示を受け付けたと判定し、図11に示す設定ダイアログ1100(図10の1010と同じ)を表示し、ステップS407へ処理を移行する。「設定」ボタン901の押下を受け付けなかった場合はステップS404へ処理を移行する。   Returning to the description of FIG. In step S403, the allocation tool 120 determines whether a tolerance table update instruction has been received. Specifically, when the operator presses the “set” button 901 shown in FIG. 9, it is determined that the tolerance table update instruction has been received, and the setting dialog 1100 (same as 1010 in FIG. 10) shown in FIG. 11 is displayed. Is displayed, and the process proceeds to step S407. If the press of the “setting” button 901 has not been received, the process proceeds to step S404.

ステップS407の公差テーブル更新処理とは、寸法をレイヤーに割り当てる条件を格納する公差テーブルを生成・更新する処理である。当該交差テーブル更新処理については図5の説明で後述する。   The tolerance table updating process in step S407 is a process of generating and updating a tolerance table that stores conditions for assigning dimensions to layers. The intersection table updating process will be described later with reference to FIG.

ステップS404では、割当ツール120は、レイヤー割当指示を受け付けたか判定する。具体的には操作者により図9に示す「割当」ボタン902の押下を受け付けた場合に当該レイヤー割当指示を受け付けたと判定し、ステップS408へ処理を移行する。「割当」ボタン902の押下を受け付けなかった場合はステップS405へ処理を移行する。   In step S404, the allocation tool 120 determines whether a layer allocation instruction has been received. Specifically, when the operator presses the “assign” button 902 shown in FIG. 9, it is determined that the layer assignment instruction has been accepted, and the process proceeds to step S408. If the press of the “assign” button 902 has not been received, the process proceeds to step S405.

ステップS408のレイヤー割当処理とは、CADソフト110で読み込み、展開中の図面の寸法を、公差テーブルの割当条件に従ってレイヤーに割り当てる処理である。ステップS408のレイヤー割当処理については図6の説明で後述する。   The layer assignment process in step S408 is a process of assigning dimensions of the drawing read and developed by the CAD software 110 to the layers according to the assignment condition of the tolerance table. The layer assignment processing in step S408 will be described later with reference to FIG.

ステップS405では、割当ツール120は、レイヤー解除指示を受け付けたか判定する。具体的には操作者により図9に示す「解除」ボタン903の押下を受け付けた場合に当該レイヤー解除指示を受け付けたと判定し、ステップS409へ処理を移行する。「解除」ボタン903の押下を受け付けなかった場合はステップS406へ処理を移行する。   In step S405, the allocation tool 120 determines whether a layer release instruction has been received. Specifically, when the operator presses the “release” button 903 shown in FIG. 9, it is determined that the layer release instruction has been received, and the process proceeds to step S409. If the press of the “cancel” button 903 has not been received, the process proceeds to step S406.

ステップS409のレイヤー解除処理とは、公差テーブルの条件に従って寸法が割り当てられたレイヤーを例えば削除し、寸法のレイヤーへの割当を解除する処理である。ステップS409のレイヤー解除処理については図7の説明で後述する。   The layer release process in step S409 is a process of, for example, deleting a layer to which dimensions are allocated according to the conditions of the tolerance table, and releasing the allocation of the dimensions to the layer. The layer release processing in step S409 will be described later with reference to FIG.

ステップS406では、割当ツール120は、画面の終了指示を受け付けたか判定する。具体的には、図9に示す「終了」ボタン905の押下を受け付けた場合に当該画面の終了指示を受け付けたと判定し、図8の800に示す公差テーブルの情報を外部データへ格納してコマンド終了処理を行う。画面の終了指示を受け付けなかった場合は、ステップS402へ処理を移行する。以上が図4の説明である。   In step S406, the allocation tool 120 determines whether a screen end instruction has been received. Specifically, when the press of the “end” button 905 shown in FIG. 9 is received, it is determined that the end instruction of the screen is received, and the information of the tolerance table 800 shown in FIG. Perform end processing. If an instruction to end the screen has not been received, the process proceeds to step S402. The above is the description of FIG.

次に図5を参照して、公差テーブル更新処理の流れについて説明する。尚、ステップS501〜S510の各ステップは、PC101におけるCPU201が、PC101にインストールされた割当ツールの機能を用いて実行するものとする。   Next, the flow of the tolerance table update process will be described with reference to FIG. It is assumed that each of the steps S501 to S510 is executed by the CPU 201 of the PC 101 by using the function of the allocation tool installed in the PC 101.

ステップS501では、割当ツール120は、図8に示す公差テーブル800の情報を図10に示す設定ダイアログ1000の設定グリッド1001へ表示し(図10の1010)、ステップS502へ処理を移行する。   In step S501, the allocation tool 120 displays information of the tolerance table 800 shown in FIG. 8 on the setting grid 1001 of the setting dialog 1000 shown in FIG. 10 (1010 in FIG. 10), and shifts the processing to step S502.

具体的にはレコードNo801の値が1のレコードから昇順で、設定グリッド1001のヘッダ(項目)に対応した公差テーブルヘッダ(公差テーブルの項目)のプロパティ値を、設定グリッド1001に表示する。設定グリッド1001のヘッダの公差タイプの列には公差タイプ802の値を表示し、同様に最小寸法差の列には最小寸法差803の値を表示し、最大寸法差の列には最大寸法差804の値を表示し、レイヤー名の列にはレイヤー名805の値をそれぞれ表示する。   Specifically, the property values of the tolerance table header (items of the tolerance table) corresponding to the headers (items) of the setting grid 1001 are displayed in the setting grid 1001 in ascending order from the record whose record No. 801 is 1. The value of the tolerance type 802 is displayed in the column of the tolerance type in the header of the setting grid 1001, the value of the minimum size difference 803 is displayed in the column of the minimum size difference, and the maximum size difference is displayed in the column of the maximum size difference. The value of 804 is displayed, and the value of layer name 805 is displayed in the layer name column.

またグリッド上で任意のレコードの選択を操作者から受け付けることにより、図10に示すテキストボックス1002〜1005の表示を更新する。具体的にはテキストボックス1002に選択中のレコードの公差タイプ802の値を表示し、テキストボックス1003に最小寸法差803の値を表示し、テキストボックス1004に最大寸法差804の値を表示し、テキストボックス1005にレイヤー名805の値をそれぞれ表示する。表示されるダイアログの一例を、図10の1010に示す。   In addition, the display of the text boxes 1002 to 1005 shown in FIG. 10 is updated by receiving selection of an arbitrary record from the operator on the grid. Specifically, the value of the tolerance type 802 of the selected record is displayed in the text box 1002, the value of the minimum dimension difference 803 is displayed in the text box 1003, the value of the maximum dimension difference 804 is displayed in the text box 1004, The value of the layer name 805 is displayed in the text box 1005. An example of the displayed dialog is shown at 1010 in FIG.

ステップS502では、割当ツール120は、操作者による設定ダイアログ1000への公差パラメータ入力受付処理を行う。具体的には、テキストボックス1002〜1005で、ユーザ操作による各入力受付部への直接入力を受け付ける。なお、入力受付後は操作者による任意のタイミングで「追加」ボタン1006、「更新」ボタン1007、「削除」ボタン1008、「閉じる」ボタン1009のいずれかの押下を受け付けることで、ステップS507〜S510の処理を実行する。   In step S502, the allocation tool 120 performs a process of accepting input of a tolerance parameter to the setting dialog 1000 by the operator. Specifically, text boxes 1002 to 1005 accept direct input to each input accepting unit by a user operation. After the input is accepted, any one of the “Add” button 1006, the “Update” button 1007, the “Delete” button 1008, and the “Close” button 1009 is accepted at an arbitrary timing by the operator, so that steps S507 to S510 are performed. Execute the processing of

ステップS503では、割当ツール120は、公差テーブルへのレコード追加指示を受け付けたか判定する。具体的には図10に示す「追加」ボタン1006の押下を受け付けた場合に当該公差テーブルへのレコード追加指示を受け付けたと判定し、指示受付時にテキストボックス1002〜1005に入力され・表示されている値を設定グリッド1001の末尾に新規レコードとして追加し(図11の1100及び1110)、ステップS507へ処理を移行する。「追加」ボタン1006の押下を受け付けなかった場合は、ステップS504へ処理を移行する。   In step S503, the allocation tool 120 determines whether an instruction to add a record to the tolerance table has been received. Specifically, when the press of the “Add” button 1006 shown in FIG. 10 is received, it is determined that the record addition instruction to the tolerance table is received, and the input and display are performed in the text boxes 1002 to 1005 when the instruction is received. The value is added to the end of the setting grid 1001 as a new record (1100 and 1110 in FIG. 11), and the process proceeds to step S507. If the press of the “add” button 1006 has not been received, the process proceeds to step S504.

ステップS507では、ステップS503で入力を受け付けた内容に基づいて、公差テーブル800のレコード追加処理を行う。具体的には、図11の1120及び1130に示すように、公差テーブル800の末尾に新規レコードを追加し、ステップS503で受け付けたプロパティ値(公差テーブルの各項目の値)を格納する。その後、処理をステップS502の前に処理を移行する。   In step S507, a record addition process of the tolerance table 800 is performed based on the content received in step S503. Specifically, as shown by 1120 and 1130 in FIG. 11, a new record is added to the end of the tolerance table 800, and the property value (the value of each item of the tolerance table) received in step S503 is stored. Thereafter, the processing shifts to a processing before step S502.

ステップS504では、割当ツール120は、操作者による公差テーブルへのレコード変更指示を受け付けたか判定する。具体的には図10に示す「更新」ボタン1007の押下を受け付けた場合に、当該公差テーブルへのレコード変更指示を受け付けたと判定し、指示受付時にテキストボックス1002〜1005に表示する値を設定グリッド1001で選択されているレコードのプロパティへ反映し(図12の1200及び1210)、ステップS508へ処理を移行する。「更新」ボタン1007の押下を受け付けなかった場合は、ステップS505へ処理を移行する。   In step S504, the allocation tool 120 determines whether the operator has received an instruction to change the record in the tolerance table. Specifically, when the press of the “update” button 1007 shown in FIG. 10 is received, it is determined that a record change instruction to the tolerance table is received, and the value displayed in the text box 1002 to 1005 when the instruction is received is set in the setting grid. The property is reflected on the properties of the record selected in step 1001 (1200 and 1210 in FIG. 12), and the process proceeds to step S508. If the press of the “update” button 1007 has not been received, the process proceeds to step S505.

ステップS508では、割当ツール120は、ステップS504で入力を受け付けた内容に基づいて、公差テーブル800のレコード変更処理を行う。具体的には、図12の1220及び1230に示すように、ステップS504で設定グリッド1001に処理を行ったレコードNoに該当する公差テーブル800のレコードに対して、ステップS504と同様のプロパティ値を格納する。その後、ステップS502の前に処理を移行する。   In step S508, the allocation tool 120 performs a record change process of the tolerance table 800 based on the content received in step S504. Specifically, as shown in 1220 and 1230 in FIG. 12, the same property values as in step S504 are stored in the records of the tolerance table 800 corresponding to the record Nos in which the processing was performed on the setting grid 1001 in step S504. I do. Thereafter, the process proceeds to a step before step S502.

ステップS505では、割当ツール120は、操作者による公差テーブルへのレコード順序変更の指示を受け付けたか判定する。   In step S505, the allocation tool 120 determines whether the operator has received an instruction to change the record order to the tolerance table.

具体的には、図10に示す設定ダイアログ1000において、レコードグリッド行のドラッグアンドドロップコントロールによって表示上の順序変更指示(順序変更操作)を受け付けた場合に当該レコード順序変更の指示を受け付けたと判定し、順序変更指示の受付対象レコードの表示順序を設定グリッド1001で更新し(図13の1300及び1310)、処理をステップS509へ移行する。順序変更指示を受け付けなかった場合は、ステップS506へ処理を移行する。   More specifically, in the setting dialog 1000 shown in FIG. 10, when a display order change instruction (order change operation) is received by the drag and drop control of the record grid row, it is determined that the record order change instruction has been received. Then, the display order of the records subject to receiving the order change instruction is updated by the setting grid 1001 (1300 and 1310 in FIG. 13), and the process proceeds to step S509. If the order change instruction has not been received, the process proceeds to step S506.

ステップS509では、ステップS505の受け付けた順序変更指示による順序変更に基づいて、公差テーブル800のレコード順序変更処理を行う。具体的には、図13の1320及び1330に示すように、ステップS505で設定グリッド1001に処理を行ったレコードNoに該当する公差テーブル800のレコードに対して順序変更(例えばレコードのインサート処理)を行う。その後、ステップS502の前に処理を移行する。   In step S509, record order change processing of the tolerance table 800 is performed based on the order change by the order change instruction received in step S505. Specifically, as shown at 1320 and 1330 in FIG. 13, the order of the records in the tolerance table 800 corresponding to the record Nos that have been processed in the setting grid 1001 in step S505 is changed (for example, record insertion processing). Do. Thereafter, the process proceeds to a step before step S502.

ステップS506では、操作者による公差テーブルへのレコード削除指示を受け付けたか判定する。具体的には図10に示す「削除」ボタン1008の押下を受け付けた場合に当該削除指示を受け付けたと判定し、当該削除指示受付時に設定グリッド1001で選択されているレコードを設定グリッド1001から削除し(図14の1400及び1410)、ステップS510へ処理を移行する。「削除」ボタン1008の押下を受け付けなかった場合は、例えば「閉じる」ボタン1009の押下を受け付けたものと判定し、公差テーブル更新処理を終了する。そして、ステップS402の前に処理を移行する。   In step S506, it is determined whether an instruction to delete a record from the tolerance table by the operator has been received. Specifically, when the press of the “delete” button 1008 shown in FIG. 10 is received, it is determined that the delete instruction has been received, and the record selected in the setting grid 1001 at the time of receiving the delete instruction is deleted from the setting grid 1001. (1400 and 1410 in FIG. 14), the process proceeds to step S510. If the press of the “delete” button 1008 is not received, for example, it is determined that the press of the “close” button 1009 has been received, and the tolerance table updating process ends. Then, the processing is shifted to before step S402.

ステップS510では、ステップS506で受け付けた削除指示の結果に基づいて、公差テーブル800のレコード削除処理を行う。具体的には、図14の1420及び1430に示すように、ステップS506で設定グリッド1001に処理を行ったレコードNoに該当する公差テーブル800のレコードに対して削除処理を行う。その後、ステップS502の前に処理を移行する。以上が図5の説明である。   In step S510, a record deletion process of the tolerance table 800 is performed based on the result of the deletion instruction received in step S506. Specifically, as shown by 1420 and 1430 in FIG. 14, the deletion processing is performed on the record of the tolerance table 800 corresponding to the record No that has performed the processing on the setting grid 1001 in step S506. Thereafter, the process proceeds to a step before step S502. The above is the description of FIG.

次に図6を参照して、本発明の実施形態における、レイヤー割当処理の流れについて説明する。尚、ステップS601〜S615の各ステップは、PC101におけるCPU201が、PC101にインストールされたCADソフト及び割当ツールの機能を用いて実行するものとする。   Next, a flow of a layer assignment process in the embodiment of the present invention will be described with reference to FIG. The steps S601 to S615 are executed by the CPU 201 of the PC 101 using the functions of the CAD software and the allocation tool installed in the PC 101.

ステップS601で、割当ツール120は、CADソフト110のAPIを用いてCADソフトが展開中のCADファイル内の寸法情報の1番目の内部IDを取得し、ステップS602へ処理を移行する。   In step S601, the allocation tool 120 obtains the first internal ID of the dimension information in the CAD file being developed by the CAD software using the API of the CAD software 110, and shifts the processing to step S602.

具体的には、割当ツール120がCADソフト110に対してCADソフト110が展開中のCADファイル(図面)の中のオブジェクト、線分の全寸法情報を要求する。これに対してCADソフト110が、展開中のCADファイルに記憶されている寸法情報を割当ツール120に返信し、割当ツールが当該寸法情報を取得し、メモリ上にリストとして記憶する。そして、割当ツール120が当該リスト中の1つ目の寸法情報を取得する。   Specifically, the allocation tool 120 requests the CAD software 110 for all dimension information of objects and line segments in the CAD file (drawing) being developed by the CAD software 110. On the other hand, the CAD software 110 returns the dimension information stored in the CAD file being developed to the allocation tool 120, and the allocation tool acquires the dimension information and stores it as a list on the memory. Then, the allocation tool 120 acquires the first dimension information in the list.

寸法情報とは、例えば図15の1500に示すような情報であり、寸法ID1501、公差タイプ1502、最小寸法差1503、最大寸法差1504及び寸法が所属するレイヤー名1505等から構成される、PC101の外部メモリに記憶されている情報である。   The dimension information is, for example, information as indicated by 1500 in FIG. 15, and includes a dimension ID 1501, a tolerance type 1502, a minimum dimension difference 1503, a maximum dimension difference 1504, and a layer name 1505 to which the dimension belongs. This is information stored in the external memory.

ステップS602では、ステップS601で取得した寸法情報に対して寸法公差有無の判定を行う。具体的には、ステップS601で取得した寸法情報1500から公差タイプ1502の値が取得できなければ公差を持たない寸法として判定する。判定の結果、寸法公差を持つ寸法(公差タイプ1502を持ち、最小寸法差1503、最大寸法差1504に値を持っている寸法情報)であればステップS603へ処理を移行し、寸法公差を持たない寸法であればステップS607へ処理を移行する。   In step S602, the presence / absence of a dimensional tolerance is determined for the dimensional information acquired in step S601. Specifically, if the value of the tolerance type 1502 cannot be acquired from the dimension information 1500 acquired in step S601, it is determined that the dimension has no tolerance. If the result of the determination is that the dimension has a dimensional tolerance (dimension information having a tolerance type 1502 and values of the minimum dimensional difference 1503 and the maximum dimensional difference 1504), the process proceeds to step S603, and no dimensional tolerance is provided. If so, the process moves to step S607.

ステップS603では、図15の1510に示す割当前テーブル(1510に示すようなレコードが空のテーブル)をメモリ上に作成し、ステップS602で取得した寸法情報1500を割当前テーブルへ格納し(図16の1610及び1620)、ステップS604へ処理を移行する。割当前テーブルは、別途外部メモリに記憶されている、割当前テーブルの項目を規定した割当テーブルの項目に基づいて生成される。   In step S603, a pre-allocation table 1510 in FIG. 15 (a table with empty records as shown in 1510) is created in the memory, and the dimension information 1500 acquired in step S602 is stored in the pre-allocation table (FIG. 16). 1610 and 1620), and the process proceeds to step S604. The pre-allocation table is generated based on the items of the allocation table that separately define the items of the pre-allocation table and are stored in the external memory.

割当前テーブルは、レコードNoを格納するNo1511、寸法のIDを格納する寸法ID1512、公差の種類を格納する公差タイプ1513、公差の許容下限値を格納する最小寸法差1514、公差の許容上限値を格納する最大寸法差1515、処理の対象となった寸法を割り当てるレイヤー名を格納するレイヤー名1516等から構成される。   The pre-allocation table includes No. 1511 for storing the record No., dimension ID 1512 for storing the dimension ID, tolerance type 1513 for storing the type of tolerance, minimum dimension difference 1514 for storing the allowable lower limit value of the tolerance, and allowable upper limit value of the tolerance. It is composed of a maximum dimension difference 1515 to be stored, a layer name 1516 to store a layer name to which a dimension to be processed is allocated, and the like.

ステップS604では、ステップS603で格納したレコード(例えば図16の1620)のうち1つのレコードを取得して、図5の公差テーブル800の全レコード(公差に応じて寸法をどのレコードに割り当てるかの条件)と比較し、該当する公差テーブルのレコードがあるか判定する。   In step S604, one of the records (eg, 1620 in FIG. 16) stored in step S603 is acquired, and all records in the tolerance table 800 in FIG. ) To determine whether there is a corresponding tolerance table record.

当該判定の基準は、図9に示す帯域有効オプション904が有効か(チェックが入っているか)無効かに応じて異なる。ここでは帯域有効オプション904が無効な場合における処理について説明する。具体的には、ステップS603で格納したレコードと公差テーブルのレコードNo1の公差タイプを比較し、一致した場合は両レコードの最小寸法差を比較し、一致した場合は両レコードの最大寸法差を比較する。全ての比較で一致した場合、ステップS603で格納したレコードは公差テーブルの公差設定に該当したものと判定して該当した公差テーブルレコードのレイヤー名805を取得し、ステップS605へ処理を移行する。   The criterion for the determination differs depending on whether the band valid option 904 shown in FIG. 9 is valid (checked) or invalid. Here, processing when the band valid option 904 is invalid will be described. More specifically, the record stored in step S603 is compared with the tolerance type of record No. 1 in the tolerance table. If they match, the minimum dimensional difference between the two records is compared. If they match, the maximum dimensional difference between the two records is compared. I do. When all records match, it is determined that the record stored in step S603 corresponds to the tolerance setting of the tolerance table, the layer name 805 of the corresponding tolerance table record is obtained, and the process proceeds to step S605.

比較した結果、一致しない項目を確認した場合は(寸法情報が公差テーブルのレコードの条件に合致しない場合は)、公差テーブルの次レコードを新たな比較対象レコードとして取得し、前述した方法と同様方法で、ステップS601又は後述するステップS608で取得した寸法情報のレコードと、公差テーブル800を、公差タイプから順に比較する。全ての公差テーブルのレコードと比較を行った結果、いずれのレコードにも該当しなかった場合はステップS606へ処理を移行する。   As a result of the comparison, if an item that does not match is confirmed (if the dimension information does not match the condition of the record in the tolerance table), the next record in the tolerance table is acquired as a new comparison target record, and a method similar to the method described above is used. Then, the record of the dimension information acquired in step S601 or step S608 described later and the tolerance table 800 are compared in order from the tolerance type. As a result of comparison with the records of all the tolerance tables, if the record does not correspond to any of the records, the process proceeds to step S606.

つまり、該当する公差テーブル800のレコードが見つかるか、全ての公差テーブル800のレコードに該当しないと判定されるまで、ステップS604のレコードの該当判定を行う。   In other words, until the record of the corresponding tolerance table 800 is found, or until it is determined that the record does not correspond to all the records of the tolerance table 800, the record determination of the step S604 is performed.

ステップS605では、前述した割当テーブルを用いて、割当後テーブル(テーブルの項目は割当前テーブル1510と同じ)を作成し、ステップS604で、公差テーブル800のレコードに該当すると判定された寸法情報の1501〜1504を格納し、且つ、該当した公差テーブル800のレコードのレイヤー名を格納した(該当した条件に対応するレイヤーを割り当てた)、レイヤー割当後の情報を割当後テーブルへ格納し、ステップS607へ処理を移行する。当該レイヤーの割当(割当後テーブルへの寸法情報の記憶)の様子を図17に示す。   In step S605, a post-allocation table (table items are the same as the pre-allocation table 1510) is created using the above-described allocation table, and in step S604, 1501 of the dimension information determined to correspond to the record of the tolerance table 800. 1501504 are stored, the layer name of the record of the applicable tolerance table 800 is stored (the layer corresponding to the applicable condition is allocated), the information after the layer allocation is stored in the allocated table, and the process proceeds to step S607. Transfer processing. FIG. 17 shows a state of the allocation of the layers (the storage of the dimension information in the table after the allocation).

ステップS606では、割当テーブルの項目を用いて未割当テーブル(レイヤー割当の条件(公差テーブルのレコード)に該当せず、公差テーブルのレイヤー名505に割り当てられない寸法情報を記憶するテーブル)を作成し、ステップS603までで取得した寸法情報及びレイヤー名を未割当テーブルへ格納する。そして、ステップS607へ処理を移行する。未割当テーブルへの寸法情報の格納結果を図19に示す。   In step S606, an unallocated table (a table that stores dimension information that does not correspond to the layer allocation condition (tolerance table record) and is not allocated to the layer name 505 of the tolerance table) is created using the items of the allocation table. Then, the dimension information and the layer name acquired up to step S603 are stored in the unallocated table. Then, the process proceeds to step S607. FIG. 19 shows the result of storing the dimension information in the unallocated table.

ステップS607では、ステップS601と同様の手段によってCADファイル上で未処理の寸法情報があるか判定する。未処理の寸法情報がある場合はステップS608へ処理を移行し、未処理の寸法が無い(直前のステップS605又は606の処理を適用した寸法情報が展開中のCADファイルの寸法情報のうち最後の寸法情報である)場合は、ステップS609へ処理を移行する。   In step S607, it is determined whether there is unprocessed dimension information in the CAD file by the same means as in step S601. If there is unprocessed dimension information, the process proceeds to step S608, and there is no unprocessed dimension (the last dimension information of the CAD file being developed is the dimension information obtained by applying the processing of the previous step S605 or 606). If it is the dimension information), the process proceeds to step S609.

ステップS608では、ステップS607で取得した未処理の寸法情報の1つを新たな処理対象寸法として取得・設定し、ステップS602へ処理を移行する。   In step S608, one of the unprocessed dimension information acquired in step S607 is acquired and set as a new dimension to be processed, and the process proceeds to step S602.

ステップS609では、未割当テーブル(どの割当条件にも合致しなかった寸法を格納するテーブル)に格納されているレコードがあるか判定する。ステップS609に至る過程で未割当テーブルを作成している場合は(公差テーブル800のレイヤー割当の条件に該当しない寸法情報があった場合は)、ステップS610へ処理を移行し、未割当テーブルを未作成の場合はステップS611へ処理を移行する。   In step S609, it is determined whether there is a record stored in the unallocated table (table storing dimensions that did not match any allocation conditions). If an unallocated table is created in the process of step S609 (if there is dimensional information that does not correspond to the layer allocation condition of the tolerance table 800), the process proceeds to step S610, and the unallocated table is stored in the unallocated table. If it is created, the process moves to step S611.

ステップS611では、割当前テーブルと割当後テーブルのレコードに対してそれぞれのレイヤー名を比較し、差異の有無判定を行う。差異がある場合はステップS612へ処理を移行し、差異がない場合はレイヤー割当処理を終了する。   In step S611, the layer names of the records in the pre-allocation table and the post-allocation table are compared to determine whether there is a difference. If there is a difference, the process proceeds to step S612; otherwise, the layer assignment process ends.

ステップS612では、図21に示す確認ダイアログ2100を表示する。具体的には、2101が空の確認ダイアログ2100を作成し、ステップS611で行った判定対象の割当前テーブル及び割当後テーブルのレコードNoごとに、割当前と割当後でレイヤー名に差異を持つ全てのレコードを確認ダイアログ2100へ比較表示する(割当前テーブルの寸法IDとレイヤー名及び割当後テーブルのレイヤー名を確認グリッド2101へ表示する)。そして、ステップS613へ処理を移行する。   In step S612, a confirmation dialog 2100 shown in FIG. 21 is displayed. Specifically, 2101 creates an empty confirmation dialog 2100, and for each record No of the pre-allocation table and the post-allocation table to be determined in step S611, all of the layers having a difference in the layer name before and after the allocation are displayed. Are displayed in the confirmation dialog 2100 (the dimension ID and layer name of the table before allocation and the layer name of the table after allocation are displayed on the confirmation grid 2101). Then, the process proceeds to step S613.

ステップS613では、操作者によるCADファイルの寸法への所属レイヤー更新指示を受け付けたか判定する。具体的には図21の「実行」ボタン2102の押下を受け付けた場合に、CADファイルの寸法への所属レイヤー更新指示を受け付けたと判定し、ステップS614へ処理を移行する。「閉じる」ボタン2103の押下を受け付けた場合、レイヤー割当処理を終了する。   In step S613, it is determined whether an instruction to update the layer belonging to the dimensions of the CAD file by the operator has been received. Specifically, when the press of the “execute” button 2102 in FIG. 21 is received, it is determined that the instruction to update the layer belonging to the dimensions of the CAD file has been received, and the process proceeds to step S614. If the press of the “close” button 2103 is received, the layer assignment processing ends.

ステップS614では、割当ツール120は、割当後テーブルのレコードに基づいて寸法を割り当てるためのレイヤーをCADファイルにおいて作成する制御を行う(割当ツール120が、CADソフトのAPIにより割当後テーブルのレコードに含まれるレイヤー名のレイヤーを作成する)。具体的には、割当ツール120がCADソフト110に、展開中のCADファイルが保持している既存のレイヤーの一覧を要求し、割当後テーブルのレイヤー名を1つ取得して当該既存のレイヤー一覧に割当後テーブルから取得したレイヤーのレイヤー名が存在するか判定する。存在しない場合には当該レイヤー名のレイヤーを作成するようCADソフト110に指示し、CADソフト110は、割当ツールからの指示に応じて新たなレイヤーを作成する。同名のレイヤーが既に存在する場合は割当後テーブルの次のレコードを取得し、上述した既存のレイヤー一覧との比較・判定を実行する。全てのレコードに対して当該レイヤーの作成処理(S614)を行った後、ステップS615へ処理を移行する。   In step S614, the allocation tool 120 performs control to create a layer for allocating dimensions based on the record in the post-allocation table in the CAD file (the allocation tool 120 includes the layer in the post-allocation table record using the API of the CAD software). Create a layer with the name of the layer) Specifically, the allocation tool 120 requests the CAD software 110 for a list of existing layers held by the CAD file being developed, obtains one layer name in the table after allocation, and obtains a list of the existing layers. It is determined whether the layer name of the layer acquired from the table after the assignment exists. If it does not exist, it instructs the CAD software 110 to create a layer with the layer name, and the CAD software 110 creates a new layer in accordance with the instruction from the allocation tool. If a layer with the same name already exists, the next record in the post-allocation table is acquired, and comparison and determination with the above-described existing layer list is executed. After the layer creation processing (S614) is performed for all records, the processing moves to step S615.

ステップS615では、割当ツール120は、ステップS614で作成した割当先のレイヤー、又は割当先の既存のレイヤーに対して割当後テーブルのレコードに含まれる全ての寸法(寸法ID)の割当処理(割当制御)を行う。   In step S615, the allocation tool 120 allocates all dimensions (dimension IDs) included in records in the post-allocation table to the layer of the allocation destination created in step S614 or the existing layer of the allocation destination (allocation control). )I do.

具体的には割当ツール120が、CADソフトのAPIにより割当後テーブルのレコードに含まれる寸法IDによって処理対象となる寸法を取得し、寸法が所属するレイヤーを同レコードのレイヤー名に格納したレイヤーへ割り当てるようCADソフト110に指示する。そしてCADソフト110が、対象の寸法IDの寸法を、指示されたレイヤー名のレイヤーに割り当てる(寸法情報のレイヤー名を割当ツール120に指示されたレイヤー名に更新する)処理を行う。割当後テーブルの全てのレコードに対して処理を行った場合、レイヤー割当処理を終了する。図22にステップS614、S615の処理の様子及び結果の一例を示す。   Specifically, the allocation tool 120 obtains the dimension to be processed by the dimension ID included in the record of the post-allocation table using the API of the CAD software, and moves the layer to which the dimension belongs to the layer stored in the layer name of the record. The CAD software 110 is instructed to allocate. Then, the CAD software 110 performs a process of assigning the dimension of the target dimension ID to the layer of the designated layer name (updating the layer name of the dimension information to the layer name designated by the assignment tool 120). When the processing has been performed on all the records in the post-allocation table, the layer allocation processing ends. FIG. 22 shows an example of the state of the processing of steps S614 and S615 and the result.

ステップS610では、割当処理でレイヤーに割り当てられなかった寸法用の割当条件(公差テーブルの条件)を、図10に示す設定ダイアログ1000を用いて公差テーブルに追加するレコード追加処理を行う。具体的には、未割当テーブルの全てのレコードを対象として、公差タイプ、最小寸法差、最大寸法差を設定グリッド1001へ表示し(画面表示手段に該当)、レコードが複数ある場合は設定グリッド1001のレコードNo1に表示する公差タイプ、最小寸法差、最大寸法差をテキストボックス1002〜1004へ表示する。テキストボックス1005は操作者による文字入力を受け付け、「追加」ボタン1006の押下を受け付けることによりテキストボックス1002〜1005に表示する値を公差テーブルの末尾に、新たなレコードとして格納し、設定グリッド1001に表示する残りのレコードに対しても同様の手順で処理を行う。ステップS610の様子を図20に示す。また、「閉じる」ボタン1009の押下を受け付けることにより、既存の割当前テーブル、割当後テーブル、未割当テーブルの全てを削除し、ステップS601へ処理を移行する。なお、ステップS610において、未割当テーブルの破棄、割当前テーブルの破棄、割当後テーブルの破棄を行い、ステップS601に処理を戻すことで最初から処理を再開するものとする。   In step S610, record addition processing is performed to add the dimension assignment conditions (tolerance table conditions) not assigned to the layer in the assignment processing to the tolerance table using the setting dialog 1000 shown in FIG. More specifically, the tolerance type, the minimum dimensional difference, and the maximum dimensional difference are displayed on the setting grid 1001 for all the records in the unallocated table (corresponding to the screen display means). , The tolerance type, the minimum dimensional difference, and the maximum dimensional difference displayed in the record No. 1 are displayed in text boxes 1002 to 1004. The text box 1005 receives a character input by the operator and stores a value to be displayed in the text boxes 1002 to 1005 as a new record at the end of the tolerance table by receiving a press of the “Add” button 1006, and stores the value in the setting grid 1001. The same process is performed on the remaining records to be displayed. FIG. 20 shows the state of step S610. In addition, by accepting the press of the “close” button 1009, the existing pre-allocation table, post-allocation table, and unallocated table are all deleted, and the process proceeds to step S601. Note that in step S610, the unallocated table, the pre-allocation table, and the post-allocation table are destroyed, and the process is restarted from the beginning by returning to step S601.

つまり、割当先のレイヤーがない寸法が存在する場合に、ステップS610の処理を実行することにより、割当先のレイヤーのない寸法情報について、割当先となるレイヤー(当該寸法情報が該当する条件、及び条件に該当するレイヤー名)を作成することができる。以上が図6の説明である。   In other words, if there is a dimension having no layer of the assignment destination, the processing of step S610 is executed, so that the dimension information of the layer without the assignment destination is changed to the layer of the assignment destination (the condition to which the dimension information corresponds, and Layer name that meets the conditions) can be created. The above is the description of FIG.

次に図7を参照して、本発明の実施形態における、レイヤー解除処理の流れについて説明する。尚、ステップS701〜S705の各ステップは、PC101におけるCPU201が、PC101にインストールされたCADソフト及び割当ツールの機能を用いて実行するものとする。   Next, a flow of the layer release processing in the embodiment of the present invention will be described with reference to FIG. Note that each of the steps S701 to S705 is executed by the CPU 201 of the PC 101 using the functions of the CAD software and the allocation tool installed in the PC 101.

図7の処理では、公差テーブル800のレイヤー名505を、レイヤー割当解除(寸法情報が割り当てられたレイヤーの削除)の条件として用いる。   In the process of FIG. 7, the layer name 505 of the tolerance table 800 is used as a condition for canceling layer assignment (deletion of a layer to which dimension information has been assigned).

ステップS701では、割当ツール120は、CADソフトのAPIを用いて、展開中のCADファイル上の既存のレイヤー一覧をCADソフト110から取得して、当該既存のレイヤーの一つ目のレイヤー名を取得し、ステップS702へ処理を移行する。   In step S701, the allocation tool 120 obtains a list of existing layers on the CAD file being developed from the CAD software 110 using the API of the CAD software, and obtains the first layer name of the existing layers. Then, the process proceeds to step S702.

ステップS702では、割当ツール120は、ステップS701で取得したレイヤー名と公差テーブルのレコードのレイヤー名とを比較し、それぞれのレイヤー名が一致する場合はステップS703へ処理を移行し、一致しない場合はステップS704へ処理を移行する。   In step S702, the allocation tool 120 compares the layer name acquired in step S701 with the layer name of the record in the tolerance table. If the respective layer names match, the process proceeds to step S703. The process moves to step S704.

ステップS703では、割当ツール120は、ステップS701で取得したレイヤー(公差テーブルのレコードのレイヤー名805のいずれかに一致するレイヤー名のレイヤー)を、CADソフト110のAPIによって削除し(CADソフト110に削除するよう指示してCADソフト110がレイヤーを削除し)、ステップS704へ処理を移行する。   In step S703, the allocation tool 120 deletes the layer acquired in step S701 (the layer having a layer name that matches any of the layer names 805 of the records in the tolerance table) using the API of the CAD software 110 (to the CAD software 110). The CAD software 110 instructs to delete the layer and deletes the layer), and shifts the processing to step S704.

なお、一般的にCADファイル上のレイヤーを削除した場合でも、そのレイヤーに割り当てられている寸法などは削除されず、初期レイヤー(例えばレイヤーNoが0のレイヤー)へ強制的に割り当てが変更される。少なくとも本実施形態においては、CADファイル上のレイヤーを削除した場合でも、そのレイヤーに割り当てられている寸法などは削除されず、初期レイヤーへ強制的に割り当てが変更されるものとする。   Generally, even when a layer on a CAD file is deleted, dimensions and the like assigned to the layer are not deleted, and the assignment is forcibly changed to an initial layer (for example, a layer with a layer number of 0). . At least in the present embodiment, even when a layer on the CAD file is deleted, the dimensions and the like assigned to the layer are not deleted, and the assignment is forcibly changed to the initial layer.

ステップS704では、割当ツール120は、処理したレイヤーが、CADファイルにおけるレイヤー一覧の最後のレイヤーか(当該一覧上の全てのレイヤーに対してステップS702の処理、又はステップS702及びS703の処理の両方を適用済みか)判定し、最後のレイヤーでない場合は処理をステップS705に移行する。最後のレイヤーである場合(当該一覧上の全てのレイヤーに対してステップS702の処理、又はステップS702及びS703の処理の両方を適用済みである場合)、処理を終了する。   In step S704, the allocation tool 120 determines whether the processed layer is the last layer in the layer list in the CAD file (for all the layers on the list, the processing in step S702, or both the processing in steps S702 and S703). If it is not the last layer, the process moves to step S705. If it is the last layer (when the processing in step S702 or both the processing in steps S702 and S703 have been applied to all the layers on the list), the processing ends.

ステップS705では、ステップS701と同様の手段によって未処理のレイヤーから一つ目のレイヤー名を取得し、ステップS702へ処理を移行する。図23にステップS702、S703の処理の様子及び結果の一例を示す。以上が図7の説明である。   In step S705, the first layer name is obtained from the unprocessed layer by the same means as in step S701, and the process proceeds to step S702. FIG. 23 shows an example of the processing in steps S702 and S703 and the results. The above is the description of FIG.

以上説明したように、本実施形態によれば、寸法公差の設定に応じて、寸法を容易にグループ分けすることができる。   As described above, according to the present embodiment, the dimensions can be easily grouped according to the setting of the dimensional tolerance.

例えば、公差テーブルにもとづいてCADソフト上の寸法を自動的にレイヤーへ割り当てることができるため、図24に示すCADソフト上におけるユーザによるレイヤーの表示/非表示の切替操作及び当該操作に応じたCADソフトによるレイヤーの表示/非表示処理と組み合わせることにより、特定の情報(寸法公差)に特化したCADファイルの表示を比較的容易に実現することが可能となる。当該寸法公差に基づく特定の寸法の表示を以って、作業を行う作業者のCADファイルに対する読解にかかる負担を軽減させることができる。   For example, since the dimensions on the CAD software can be automatically assigned to the layers based on the tolerance table, the user can switch the display / non-display of the layers on the CAD software shown in FIG. By combining this with software layer display / non-display processing, it is possible to relatively easily realize the display of a CAD file specialized for specific information (dimension tolerance). By displaying a specific dimension based on the dimensional tolerance, it is possible to reduce the burden of the operator who performs the work on reading the CAD file.

上述した図6の説明においては、帯域有効オプション904が無効な場合の処理について説明したが、当該帯域有効オプション904が有効か無効かに応じて、寸法情報のレイヤーへの割当方法を変更することができる。   In the description of FIG. 6 described above, the processing in the case where the band valid option 904 is invalid has been described. However, the method of assigning the dimension information to the layer is changed according to whether the band valid option 904 is valid or invalid. Can be.

なお、当該帯域有効オプションが有効か無効かの判定は、PC101におけるCPU201が、PC101にインストールされた割当ツールの機能を用いて、例えば図6のステップS601の前に行う。無効である場合は図6の説明で上述した処理を実行し、有効である場合は以下に説明する処理を実行する。   Note that the CPU 201 of the PC 101 determines whether the band valid option is valid or invalid by using a function of an allocation tool installed in the PC 101, for example, before step S601 in FIG. If it is invalid, the processing described above with reference to FIG. 6 is executed, and if it is valid, the processing described below is executed.

以下、帯域有効オプション904が有効な場合の処理について説明する。なお、ステップS604における、寸法情報の公差テーブル800の条件への該当判定の方法以外は、上述した図6の処理と同一の処理を行うものとする。   Hereinafter, processing when the band valid option 904 is valid will be described. Except for the method of determining whether the dimension information matches the condition of the tolerance table 800 in step S604, the same processing as the processing in FIG. 6 described above is performed.

帯域有効オプション904が有効である場合、公差テーブル800の最小寸法差と最大寸法差の範囲を、寸法情報の最小寸法差と最大寸法差の範囲との比較の帯域(幅)として設定してステップS604の判定を行う。具体的にはステップS603で格納したレコードと比較対象となる公差テーブル800のレコードそれぞれの公差タイプを比較し、一致する場合にはそれぞれの最小寸法差と最大寸法差の範囲を比較し、公差テーブル800のレコードによって設定する最小寸法差と最大寸法差の範囲内にステップS603で格納したレコードの最小寸法差と最大寸法差の範囲が収まっている場合は、当該寸法情報(寸法情報のレコード)を、公差テーブル800の条件に該当するレコードとして判定して、処理をステップS605に移行する。収まっていない場合は該当しないレコードとして判定し、処理をステップS606に移行する。帯域有効オプション904が有効である場合の処理の様子及び結果の一例を図18に示す。以上が、帯域有効オプション904が有効な場合の処理についての説明である。   When the band valid option 904 is valid, the step of setting the range of the minimum dimensional difference and the maximum dimensional difference of the tolerance table 800 as a band (width) for comparing the range of the minimum dimensional difference and the maximum dimensional difference of the dimension information is performed. The determination of S604 is performed. More specifically, the record stored in step S603 is compared with the tolerance type of each record in the tolerance table 800 to be compared, and if they match, the ranges of the minimum dimensional difference and the maximum dimensional difference are compared. If the range of the minimum dimensional difference and the maximum dimensional difference of the record stored in step S603 falls within the range of the minimum dimensional difference and the maximum dimensional difference set by the 800 records, the dimensional information (the record of the dimensional information) is stored. Is determined as a record corresponding to the condition of the tolerance table 800, and the process proceeds to step S605. If not, it is determined that the record is not applicable, and the process proceeds to step S606. FIG. 18 shows an example of the processing and the result when the band valid option 904 is valid. The above is the description of the processing when the band valid option 904 is valid.

寸法をレイヤーに割り当てるための条件に幅を持たせることによって、必ずしも「寸法の数=レイヤーの数」となることがなくなる。   By giving a width to the condition for assigning dimensions to layers, it is not always necessary that “the number of dimensions = the number of layers”.

また、複数種類の寸法を1つのレイヤーに割り当てることが容易になるという効果がある。   Further, there is an effect that it becomes easy to assign a plurality of types of dimensions to one layer.

また、ユーザは、レイヤーに割り当てたい寸法の値を全て把握せずとも、大体の公差の幅を指定するだけで、当該幅に収まる公差の寸法を分類(グループ分け)することができる。   Also, the user can classify (group) the tolerance dimensions that fall within the width only by specifying the approximate tolerance width without having to know all the values of the dimensions to be assigned to the layer.

また、設定ダイアログ1000に代えて、図25に示す設定ダイアログ2500を表示するようにしてもよい。実際には図25の2520のような順序で公差テーブルの条件を設定してしまうと、レコードNoが先頭の条件(割当対象の寸法に最初に合致判定される条件)一番広い条件であるため、No2の条件の範囲に収まる公差を持つ寸法であっても、意図せずレコードNo1の条件に合致(該当)したと判断されてしまい、レコードNo1のレイヤーに当該寸法が割り当てられてしまうことがある。図25の設定ダイアログ2500を用いることで、条件の数値、順序を直感的に設定・変更することができる。   Further, a setting dialog 2500 shown in FIG. 25 may be displayed instead of the setting dialog 1000. Actually, if the conditions of the tolerance table are set in the order as indicated by 2520 in FIG. 25, the record No. is the widest condition at the head (the condition that is determined to match the size to be allocated first). , No. 2 may be unintentionally determined to match (relate to) the condition of record No. 1 and the dimension may be assigned to the layer of record No. 1. is there. By using the setting dialog 2500 shown in FIG. 25, the numerical values and order of the conditions can be set and changed intuitively.

例えばステップS501において、割当ツール120は図25に示す設定ダイアログ2500を表示画面に表示する。設定ダイアログ2500において、割当ツール120は、公差テーブルの各条件が示す最小・最大寸法差の幅を示す矢印を生成して、設定ダイアログ2500に示すように、当該幅の値を示す表の上に配置する。なお、左側からレコードNoの昇順に矢印を並べるものとする。割当ツール120は、矢印の選択操作(例えばダブルクリック)を受け付けた場合に、2511に示すような、公差タイプと割当先のレイヤー名を入力する入力部を表示する。そして、当該入力部に対する入力を受け付けることで、パラメータの入力を受け付けたものと判定する(S502に該当)。また、「更新」ボタンの押下を受け付けることで入力されたパラメータの値を公差テーブルの対象レコードに上書きして更新し、当該更新後の公差の値に従って対象の矢印の幅を変更する(S504、S508に該当)。また、「新規作成」ボタンの押下を受け付けた場合に、公差テーブルの最後尾に、各項目にデフォルト値が設定された新規のレコードを追加し、当該レコードの条件を示す矢印を表に追加する(S503、S507に該当)。「削除」ボタンの押下を受け付けた場合に、選択中の矢印を表から削除し、公差テーブルからも対象レコードを削除する(S506、S510に該当)。また、矢印の順序を左右に入れ替えることで、公差テーブル2520、2530に示すように、公差テーブルのレコードの順序を入れ替える。当該入れ替えの操作は、矢印に対するドラッグ&ドロップ操作であるものとする(S505、S509に該当)。   For example, in step S501, the allocation tool 120 displays a setting dialog 2500 shown in FIG. 25 on the display screen. In the setting dialog 2500, the allocation tool 120 generates an arrow indicating the width of the minimum / maximum dimensional difference indicated by each condition of the tolerance table, and, as shown in the setting dialog 2500, displays an arrow on the table indicating the value of the width. Deploy. Note that arrows are arranged in ascending order of record numbers from the left. When accepting an arrow selection operation (for example, double-click), the allocation tool 120 displays an input unit for inputting a tolerance type and a layer name of an allocation destination as indicated by 2511. Then, by receiving the input to the input unit, it is determined that the input of the parameter has been received (corresponding to S502). Also, by accepting the press of the “update” button, the input parameter value is updated by overwriting the target record in the tolerance table, and the width of the target arrow is changed according to the updated tolerance value (S504, S508). Also, when the “New” button is pressed, a new record with default values set for each item is added to the end of the tolerance table, and an arrow indicating the condition of the record is added to the table. (Corresponding to S503 and S507). When the press of the “delete” button is received, the selected arrow is deleted from the table, and the target record is also deleted from the tolerance table (corresponding to S506 and S510). By changing the order of the arrows left and right, the order of the records in the tolerance table is changed as shown in the tolerance tables 2520 and 2530. The replacement operation is a drag-and-drop operation with respect to an arrow (corresponding to S505 and S509).

図25の表示形態を採用することで、直感的に公差テーブルの条件を設定、変更することができる。   By adopting the display form of FIG. 25, the conditions of the tolerance table can be set and changed intuitively.

また、上述の実施形態では、図7のステップS703で割当先のレイヤーを削除する処理をしたが、例えばCADソフト110が、レイヤーを削除すると当該レイヤーに属している情報(線分/寸法/注記等)も削除してしまう仕様の場合は、当該処理を行ってしまうと公差テーブルの割当条件に合致する全ての寸法情報が削除されてしまう。寸法情報を削除しないようにするために、例えば、割当ツール120がステップS703で、対象のレイヤーに属する寸法およびその他の情報を、削除対象ではない他のレイヤー(例えば初期レイヤー)に移動するようCADソフト110に指示し、CADソフト110が当該指示に従って対象の情報を対象のレイヤーから初期レイヤーに移動して移動完了を割当ツールに通知し、当該通知を受け付けた場合に、割当ツール120がCADソフト110に対してステップS702で公差テーブルの条件に含まれていると判定されたレイヤーを削除するよう指示するようにしてもよい(CADソフト110は当該指示を受けて対象のレイヤーを展開中のCADファイル上から削除する)。当該処理により、より確実に、割当済みの寸法を削除することなく割当解除することができる。   Further, in the above-described embodiment, the process of deleting the allocation destination layer was performed in step S703 of FIG. 7. For example, when the CAD software 110 deletes the layer, the information (line segment / dimension / note ) Is deleted, all the dimensional information that matches the allocation condition of the tolerance table is deleted if the process is performed. In order not to delete the dimension information, for example, in step S703, the assignment tool 120 moves the dimension and other information belonging to the target layer to a CAD that is moved to another layer that is not a deletion target (eg, an initial layer). Instructs the software 110, the CAD software 110 moves the target information from the target layer to the initial layer according to the instruction, notifies the allocation tool of the completion of the movement, and when the notification is received, the allocation tool 120 The CAD software 110 may be instructed to delete the layer determined to be included in the conditions of the tolerance table in step S702 (the CAD software 110 receives the instruction and deletes the CAD in which the target layer is being developed). Delete from the file). By this processing, the allocation can be more reliably released without deleting the allocated dimensions.

なお、寸法を他のレイヤーに移動せずに対象のレイヤーを削除するか、寸法を他のレイヤーに移動せずに対象のレイヤーを削除するかは、モード設定で切替可能であるものとする。当該モードの情報はPC101の外部メモリに記憶されているものとし、割当ツールが提供する不図示のモード設定画面に対する操作により任意に変更・設定可能である。割当ツールはステップS703の処理を実行する前に当該モードの情報を読み込んで、モードによって上記のいずれの処理を実行するか決定する。   Note that whether to delete the target layer without moving the dimension to another layer or to delete the target layer without moving the dimension to another layer can be switched by mode setting. The information on the mode is stored in the external memory of the PC 101, and can be arbitrarily changed and set by operating a mode setting screen (not shown) provided by the assignment tool. The allocation tool reads the information of the mode before executing the process of step S703, and determines which of the above processes is to be executed depending on the mode.

また、上述した実施形態においては、図6のステップS614で割当ツール120が既存のレイヤーでない新規に作成すべきレイヤーを特定して当該新規に作成すべきレイヤーの作成をCADソフト110に対して指示することで新規のレイヤーを作成するものとしたが、例えば、CADソフト110に、もし(ユーザにより入力された)公差テーブルにとっては新規のレイヤー名レイヤーとCADファイル上の既存のレイヤーのレイヤー名が重複していた場合に既存のレイヤーの設定を残したままレイヤーを上書き保存する機能があるのであれば、上述したような割当ツール120での新規に作成すべきレイヤーの特定処理は不要である。このような場合、割当ツール120は、単に、確認ダイアログに表示されている割当後レイヤー名のレイヤーの作成をCADソフトに指示するようにしてもよい。割当ツール120がステップS614で新規に作成すべきレイヤーの特定をしてCADソフトに作成指示をするか、単に認ダイアログに表示されている割当後レイヤー名のレイヤーの作成指示をするかは、モード設定で切替可能であるものとする。当該モードの情報はPC101の外部メモリに記憶されているものとし、割当ツールが提供する不図示のモード設定画面に対する操作により任意に変更・設定可能である。割当ツールはステップS614の処理を実行する前に当該モードの情報を読み込んで、モードによって上記のいずれの処理を実行するか決定するものとする。新規に作成すべきレイヤーの特定処理を省くことで、割当ツール120による処理の効率化ができる。   Further, in the above-described embodiment, in step S614 of FIG. 6, the allocation tool 120 specifies a layer to be newly created that is not an existing layer, and instructs the CAD software 110 to create the layer to be newly created. In this case, for example, in the CAD software 110, if a tolerance table (entered by a user) is used, a new layer name layer and a layer name of an existing layer in the CAD file are displayed. If there is a function of overwriting and saving the layer while retaining the existing layer settings when the layers overlap, the above-described process of specifying the layer to be newly created by the allocation tool 120 as described above is unnecessary. In such a case, the allocation tool 120 may simply instruct the CAD software to create a layer with the layer name after allocation displayed in the confirmation dialog. Whether the assignment tool 120 specifies the layer to be newly created in step S614 and instructs the CAD software to create it, or simply instructs the creation of a layer with the layer name after assignment displayed in the recognition dialog box It is assumed that the setting can be switched. The information on the mode is stored in the external memory of the PC 101, and can be arbitrarily changed and set by operating a mode setting screen (not shown) provided by the assignment tool. It is assumed that the allocation tool reads the information of the mode before executing the process of step S614, and determines which of the above processes is to be executed depending on the mode. By eliminating the process of specifying a layer to be newly created, the efficiency of the process by the allocation tool 120 can be improved.

また、ステップS615で割り当てた寸法が示す線分の色を、割当先のレイヤーに対応する色に変更するようにしてもよい。具体的には、公差テーブルのレコード(割当条件)にCADソフト110が壱岐別可能な色の識別番号を対応付けて記憶しておき、例えば割当ツール120がステップS615の実行後に、割当処理を実行した各寸法IDの寸法の線分の色を、公差テーブルのレコード上で当該寸法を割り当てた先のレイヤー名に対応する識別番号の色に変更するよう、CADソフト110に指示する。CADソフト110は当該指示に応じて、対象の寸法の示す線分の色及び/または寸法・寸法公差を示す文字の色を指示された識別番号の色に変更する(色変更手段に該当)。色を変更することで、例えレイヤーの割当が解除されたとしても、各寸法がどの割当条件を満たす公差の寸法なのかを容易に確認できる。   Alternatively, the color of the line segment indicated by the dimension allocated in step S615 may be changed to a color corresponding to the layer to which the line is allocated. More specifically, the CAD software 110 stores a record (assignment condition) of the tolerance table in association with an identification number of a color that can be classified by Iki, and executes, for example, the assignment processing after the assignment tool 120 executes step S615. The CAD software 110 is instructed to change the color of the line of the dimension of each dimension ID to the color of the identification number corresponding to the layer name to which the dimension is assigned on the record of the tolerance table. In response to the instruction, the CAD software 110 changes the color of the line indicating the target dimension and / or the color of the character indicating the dimension / dimension tolerance to the color of the specified identification number (corresponding to the color changing means). By changing the color, even if the assignment of the layer is canceled, it is possible to easily confirm that each dimension meets the tolerance condition that meets the assignment condition.

以上説明したように、本発明によれば、寸法公差の設定に応じて、寸法を容易にグループ分けすることができる。   As described above, according to the present invention, the dimensions can be easily grouped according to the setting of the dimensional tolerance.

尚、本発明は、例えば、システム、装置、方法、プログラム若しくは記憶媒体等としての実施形態も可能であり、具体的には、複数の機器から構成されるシステムに適用してもよいし、また、1つの機器からなる装置に適用してもよい。   Note that the present invention can be, for example, embodiments as a system, an apparatus, a method, a program, a storage medium, or the like. Specifically, the present invention may be applied to a system including a plurality of devices, Alternatively, the present invention may be applied to an apparatus including one device.

例えば、不図示のサーバ装置にCADファイルを記憶させ、PC101に記憶されているCADソフト110がネットワークを介して当該CADファイルをサーバから取得・読込、展開するようにしてもよい。また、CADソフト110と割当ツール120が一体であってもよい。   For example, the CAD file may be stored in a server device (not shown), and the CAD software 110 stored in the PC 101 may acquire, read, and expand the CAD file from the server via a network. Further, the CAD software 110 and the allocation tool 120 may be integrated.

なお、本発明は、前述した実施形態の機能を実現するソフトウェアのプログラムを、システム或いは装置に直接、或いは遠隔から供給するものを含む。そして、そのシステム或いは装置のコンピュータが前記供給されたプログラムコードを読み出して実行することによっても達成される場合も本発明に含まれる。   Note that the present invention includes a program that directly or remotely supplies a software program that realizes the functions of the above-described embodiments to a system or an apparatus. The present invention also includes a case where the present invention is also achieved by a computer of the system or the apparatus reading and executing the supplied program code.

したがって、本発明の機能処理をコンピュータで実現するために、前記コンピュータにインストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明は、本発明の機能処理を実現するためのコンピュータプログラム自体も含まれる。   Therefore, the program code itself installed in the computer to implement the functional processing of the present invention by the computer also implements the present invention. That is, the present invention includes the computer program itself for realizing the functional processing of the present invention.

プログラムを供給するための記録媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、MO、CD−ROM、CD−R、CD−RWなどがある。また、磁気テープ、不揮発性のメモリカード、ROM、DVD(DVD−ROM,DVD−R)などもある。   Examples of a recording medium for supplying the program include a flexible disk, a hard disk, an optical disk, a magneto-optical disk, an MO, a CD-ROM, a CD-R, and a CD-RW. Further, there are a magnetic tape, a nonvolatile memory card, a ROM, a DVD (DVD-ROM, DVD-R), and the like.

その他、プログラムの供給方法としては、クライアントコンピュータのブラウザを用いてインターネットのホームページに接続する。そして、前記ホームページから本発明のコンピュータプログラムそのもの、若しくは圧縮され自動インストール機能を含むファイルをハードディスク等の記録媒体にダウンロードすることによっても供給できる。   As another program supply method, a client computer is connected to a homepage on the Internet using a browser. The computer program of the present invention or a compressed file including an automatic installation function can be supplied from the home page by downloading the file to a recording medium such as a hard disk.

また、本発明のプログラムを構成するプログラムコードを複数のファイルに分割し、それぞれのファイルを異なるホームページからダウンロードすることによっても実現可能である。つまり、本発明の機能処理をコンピュータで実現するためのプログラムファイルを複数のユーザに対してダウンロードさせるWWWサーバも、本発明に含まれるものである。   Also, the present invention can be realized by dividing the program code constituting the program of the present invention into a plurality of files and downloading each file from a different homepage. In other words, the present invention also includes a WWW server that allows a plurality of users to download a program file for implementing the functional processing of the present invention on a computer.

また、本発明のプログラムを暗号化してCD−ROM等の記憶媒体に格納してユーザに配布し、所定の条件をクリアしたユーザに対し、インターネットを介してホームページから暗号化を解く鍵情報をダウンロードさせる。そして、ダウンロードした鍵情報を使用することにより暗号化されたプログラムを実行してコンピュータにインストールさせて実現することも可能である。   In addition, the program of the present invention is encrypted, stored in a storage medium such as a CD-ROM, distributed to users, and downloaded to a user who satisfies predetermined conditions from a homepage via the Internet to download key information for decryption. Let it. It is also possible to execute the encrypted program by using the downloaded key information and install the program on a computer to realize the program.

また、コンピュータが、読み出したプログラムを実行することによって、前述した実施形態の機能が実現される。その他、そのプログラムの指示に基づき、コンピュータ上で稼動しているOSなどが、実際の処理の一部又は全部を行い、その処理によっても前述した実施形態の機能が実現され得る。   The functions of the above-described embodiments are implemented when the computer executes the read program. In addition, the OS or the like running on the computer performs part or all of the actual processing based on the instructions of the program, and the functions of the above-described embodiments can also be realized by the processing.

さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれる。その後、そのプログラムの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部又は全部を行い、その処理によっても前述した実施形態の機能が実現される。   Further, the program read from the recording medium is written to a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Thereafter, based on instructions of the program, a CPU or the like provided in the function expansion board or the function expansion unit performs part or all of actual processing, and the functions of the above-described embodiments are also realized by the processing.

尚、前述した実施形態は、本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。
即ち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。
It should be noted that the above-described embodiment is merely an example of an embodiment for carrying out the present invention, and the technical scope of the present invention should not be interpreted in a limited manner.
That is, the present invention can be implemented in various forms without departing from the technical idea or the main features.

101 PC
110 CADソフト
120 割当ツール

101 PC
110 CAD software 120 Assignment tool

Claims (12)

CADファイルを記憶して読み込む機能を備える情報処理装置であって、
読み込んだCADファイルの寸法の公差を取得する取得手段と、
公差を持つ寸法をグループに割り当てるための、最大寸法公差と最小寸法公差とによって規定されている条件である割当条件を記憶する割当条件記憶手段と、
前記取得手段で取得した寸法の公差が、前記割当条件記憶手段に記憶されている前記割当条件を満たすか判定する判定手段と、
前記判定手段で、前記取得手段で取得した寸法の公差が、前記割当条件記憶手段に記憶されている前記割当条件を満たすと判定された場合に、当該条件に対応する割当先のグループに当該条件を満たした公差を持つ寸法を割り当てるべく制御する割当制御手段と、
を備えることを特徴とする情報処理装置。
An information processing apparatus having a function of storing and reading a CAD file,
Acquiring means for acquiring a tolerance of dimensions of the read CAD file;
Allocation condition storage means for storing an allocation condition , which is a condition defined by a maximum dimensional tolerance and a minimum dimensional tolerance, for allocating a dimension having a tolerance to a group,
Determining means for determining whether the dimensional tolerance obtained by the obtaining means satisfies the allocation condition stored in the allocation condition storage means,
When the determining unit determines that the dimensional tolerance acquired by the acquiring unit satisfies the assignment condition stored in the assignment condition storage unit, the condition is assigned to an assignment destination group corresponding to the condition. Allocation control means for controlling to allocate a dimension having a tolerance satisfying
An information processing apparatus comprising:
前記判定手段で、前記取得手段で取得した寸法の公差が、前記割当条件記憶手段に記憶されている前記割当条件を満たさないと判定された場合に、当該公差の寸法を割り当てるための前記割当条件を前記割当条件記憶手段に追加する操作を行う画面を表示する画面表示手段と、
前記画面表示手段で表示された画面において操作を受け付けることで、前記割当条件の追加又は更新を行う更新手段と
を備えることを特徴とする請求項1に記載の情報処理装置。
When the determination unit determines that the tolerance of the dimension acquired by the acquisition unit does not satisfy the assignment condition stored in the assignment condition storage unit, the assignment condition for assigning the dimension of the tolerance is determined. Screen display means for displaying a screen for performing an operation of adding to the allocation condition storage means,
The information processing apparatus according to claim 1, further comprising: an update unit configured to add or update the assignment condition by receiving an operation on a screen displayed by the screen display unit.
前記判定手段は、前記取得手段で取得した寸法の公差が、前記割当条件記憶手段に記憶されている前記割当条件の示す最大寸法差と最小寸法差に一致する場合に当該割当条件を満たすと判定する、または、前記取得手段で取得した寸法の公差が、前記割当条件記憶手段に記憶されている前記割当条件の示す最大寸法差と最小寸法差の幅に収まる場合に当該割当条件を満たすと判定することを特徴とする請求項1または2に記載の情報処理装置。   The determination unit determines that the allocation condition is satisfied when the tolerance of the dimension acquired by the acquisition unit matches the maximum dimension difference and the minimum dimension difference indicated by the allocation condition stored in the allocation condition storage unit. Or if the tolerance of the dimensions acquired by the acquisition means falls within the range of the maximum dimension difference and the minimum dimension difference indicated by the allocation conditions stored in the allocation condition storage means, it is determined that the allocation conditions are satisfied. The information processing apparatus according to claim 1, wherein the information processing is performed. 前記最大寸法差と最小寸法差の幅を設定するための設定画面であって、当該最大寸法差と最小寸法差の幅を示すオブジェクトを、前記割当条件の判定の順に並べて表示する設定画面を表示する表示手段と、
前記表示手段で表示された前記オブジェクトに対する操作を受け付けることで、前記前記最大寸法差と最小寸法差の値を変更する変更手段と、
を備えることを特徴とする請求項3に記載の情報処理装置。
A setting screen for setting the width of the maximum dimension difference and the minimum dimension difference, wherein a setting screen for displaying objects indicating the widths of the maximum dimension difference and the minimum dimension difference in the order of the determination of the allocation condition is displayed. Display means for
Changing means for changing values of the maximum dimensional difference and the minimum dimensional difference by receiving an operation on the object displayed on the display means;
The information processing apparatus according to claim 3, further comprising:
前記グループは、前記情報処理装置において読み込まれているCADファイル上のレイヤーであることを特徴とする請求項1乃至4のいずれか1項に記載の情報処理装置。   The information processing apparatus according to any one of claims 1 to 4, wherein the group is a layer on a CAD file read in the information processing apparatus. 前記割当制御手段で行った割り当てを、前記割当条件を用いて解除する解除手段と、
を備えることを特徴とする請求項1乃至5のいずれか1項に記載の情報処理装置。
Release means for releasing the allocation performed by the allocation control means using the allocation conditions,
The information processing apparatus according to any one of claims 1 to 5, further comprising:
前記割当制御手段で割り当てる寸法にかかる色を、前記割当先のグループに対応する色に変更する制御を行う色変更手段と、
を備えることを特徴とする請求項1乃至6のいずれか1項に記載の情報処理装置。
A color change unit that performs control to change a color related to the size to be allocated by the allocation control unit to a color corresponding to the group of the allocation destination;
The information processing apparatus according to any one of claims 1 to 6, further comprising:
CADファイルを記憶して読み込む機能を備える情報処理装置の制御方法であって、
読み込んだCADファイルの寸法の公差を取得する取得工程と、
公差を持つ寸法をグループに割り当てるための、最大寸法公差と最小寸法公差とによって規定されている条件である割当条件を記憶する割当条件記憶工程と、
前記取得工程で取得した寸法の公差が、前記割当条件記憶工程に記憶されている前記割当条件を満たすか判定する判定工程と、
前記判定工程で、前記取得工程で取得した寸法の公差が、前記割当条件記憶工程に記憶されている前記割当条件を満たすと判定された場合に、当該条件に対応する割当先のグループに当該条件を満たした公差を持つ寸法を割り当てるべく制御する割当制御工程と、
を含むことを特徴とする情報処理装置の制御方法。
A method for controlling an information processing apparatus having a function of storing and reading a CAD file,
An acquisition step of acquiring the tolerance of the dimensions of the read CAD file;
An allocation condition storing step of storing an allocation condition that is a condition defined by a maximum dimensional tolerance and a minimum dimensional tolerance for allocating a dimension having a tolerance to a group;
A determining step of determining whether the dimensional tolerance acquired in the acquiring step satisfies the assignment condition stored in the assignment condition storage step,
In the determining step, when it is determined that the tolerance of the dimension acquired in the acquiring step satisfies the assignment condition stored in the assignment condition storage step, the condition is assigned to an assignment destination group corresponding to the condition. An assignment control step of controlling to assign a dimension having a tolerance satisfying
A method for controlling an information processing apparatus, comprising:
CADファイルを記憶して読み込む機能を備える情報処理装置で実行が可能なプログラムであって、
前記情報処理装置を、
読み込んだCADファイルの寸法の公差を取得する取得手段と、
公差を持つ寸法をグループに割り当てるための、最大寸法公差と最小寸法公差とによって規定されている条件である割当条件を記憶する割当条件記憶手段と、
前記取得手段で取得した寸法の公差が、前記割当条件記憶手段に記憶されている前記割当条件を満たすか判定する判定手段と、
前記判定手段で、前記取得手段で取得した寸法の公差が、前記割当条件記憶手段に記憶されている前記割当条件を満たすと判定された場合に、当該条件に対応する割当先のグループに当該条件を満たした公差を持つ寸法を割り当てるべく制御する割当制御手段として機能させることを特徴とする情報処理装置のプログラム。
A program executable by an information processing apparatus having a function of storing and reading a CAD file,
The information processing device,
Acquiring means for acquiring a tolerance of dimensions of the read CAD file;
Allocation condition storage means for storing an allocation condition , which is a condition defined by a maximum dimensional tolerance and a minimum dimensional tolerance, for allocating a dimension having a tolerance to a group,
Determining means for determining whether the dimensional tolerance obtained by the obtaining means satisfies the allocation condition stored in the allocation condition storage means,
When the determining unit determines that the dimensional tolerance acquired by the acquiring unit satisfies the assignment condition stored in the assignment condition storage unit, the condition is assigned to an assignment destination group corresponding to the condition. A program for an information processing apparatus, which functions as an allocation control unit that controls to allocate a dimension having a tolerance satisfying the following.
CADファイルを記憶して読み込む機能を備える情報処理装置であって、  An information processing apparatus having a function of storing and reading a CAD file,
読み込んだCADファイルの寸法の公差を取得する取得手段と、  Acquiring means for acquiring a tolerance of dimensions of the read CAD file;
公差に応じて、当該公差を持つ寸法をグループに割り当てる割当条件を記憶する割当条件記憶手段と、  Assignment condition storage means for storing an assignment condition for assigning a dimension having the tolerance to a group according to the tolerance;
前記取得手段で取得した寸法の公差が、前記割当条件記憶手段に記憶されている前記割当条件を満たすか判定する判定手段と、  Determining means for determining whether the dimensional tolerance obtained by the obtaining means satisfies the allocation condition stored in the allocation condition storage means,
前記判定手段で、前記取得手段で取得した寸法の公差が、前記割当条件記憶手段に記憶されている前記割当条件を満たすと判定された場合に、当該条件に対応する割当先のグループに当該条件を満たした公差を持つ寸法を割り当てるべく制御する割当制御手段と、  When the determination unit determines that the tolerance of the dimension acquired by the acquisition unit satisfies the allocation condition stored in the allocation condition storage unit, the determination unit assigns the condition to an allocation destination group corresponding to the condition. Allocation control means for controlling to allocate a dimension having a tolerance satisfying
前記割当制御手段で行った割り当てを、前記割当条件を用いて解除する解除手段と、  Release means for releasing the allocation performed by the allocation control means using the allocation conditions,
を備えることを特徴とする情報処理装置。  An information processing apparatus comprising:
CADファイルを記憶して読み込む機能を備える情報処理装置の制御方法であって、A method for controlling an information processing apparatus having a function of storing and reading a CAD file,
読み込んだCADファイルの寸法の公差を取得する取得工程と、An acquisition step of acquiring the tolerance of the dimensions of the read CAD file;
公差に応じて、当該公差を持つ寸法をグループに割り当てる割当条件を記憶する割当条件記憶工程と、An assignment condition storing step of storing an assignment condition for assigning a dimension having the tolerance to a group according to the tolerance;
前記取得工程で取得した寸法の公差が、前記割当条件記憶工程に記憶されている前記割当条件を満たすか判定する判定工程と、A determining step of determining whether the dimensional tolerance acquired in the acquiring step satisfies the assignment condition stored in the assignment condition storage step,
前記判定工程で、前記取得工程で取得した寸法の公差が、前記割当条件記憶工程に記憶されている前記割当条件を満たすと判定された場合に、当該条件に対応する割当先のグループに当該条件を満たした公差を持つ寸法を割り当てるべく制御する割当制御工程と、In the determining step, when it is determined that the tolerance of the dimension acquired in the acquiring step satisfies the assignment condition stored in the assignment condition storage step, the condition is assigned to an assignment destination group corresponding to the condition. An assignment control step of controlling to assign a dimension having a tolerance satisfying
前記割当制御工程で行った割り当てを、前記割当条件を用いて解除する解除工程と、A cancellation step of canceling the assignment performed in the assignment control step using the assignment condition,
を備えることを特徴とする情報処理装置の制御方法。A method for controlling an information processing apparatus, comprising:
CADファイルを記憶して読み込む機能を備える情報処理装置を制御するプログラムであって、A program for controlling an information processing apparatus having a function of storing and reading a CAD file,
前記情報処理装置を、The information processing device,
読み込んだCADファイルの寸法の公差を取得する取得手段と、Acquiring means for acquiring a tolerance of dimensions of the read CAD file;
公差に応じて、当該公差を持つ寸法をグループに割り当てる割当条件を記憶する割当条件記憶手段と、Assignment condition storage means for storing an assignment condition for assigning a dimension having the tolerance to a group according to the tolerance;
前記取得手段で取得した寸法の公差が、前記割当条件記憶手段に記憶されている前記割当条件を満たすか判定する判定手段と、Determining means for determining whether the dimensional tolerance obtained by the obtaining means satisfies the allocation condition stored in the allocation condition storage means,
前記判定手段で、前記取得手段で取得した寸法の公差が、前記割当条件記憶手段に記憶されている前記割当条件を満たすと判定された場合に、当該条件に対応する割当先のグループに当該条件を満たした公差を持つ寸法を割り当てるべく制御する割当制御手段と、When the determination unit determines that the tolerance of the dimension acquired by the acquisition unit satisfies the allocation condition stored in the allocation condition storage unit, the determination unit assigns the condition to an allocation destination group corresponding to the condition. Allocation control means for controlling to allocate a dimension having a tolerance satisfying
前記割当制御手段で行った割り当てを、前記割当条件を用いて解除する解除手段として機能させるためのプログラム。A program for functioning as cancellation means for canceling the assignment performed by the assignment control means using the assignment condition.
JP2015214415A 2015-10-30 2015-10-30 Information processing apparatus, control method therefor, and program Active JP6677882B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015214415A JP6677882B2 (en) 2015-10-30 2015-10-30 Information processing apparatus, control method therefor, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015214415A JP6677882B2 (en) 2015-10-30 2015-10-30 Information processing apparatus, control method therefor, and program

Publications (2)

Publication Number Publication Date
JP2017084252A JP2017084252A (en) 2017-05-18
JP6677882B2 true JP6677882B2 (en) 2020-04-08

Family

ID=58714344

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015214415A Active JP6677882B2 (en) 2015-10-30 2015-10-30 Information processing apparatus, control method therefor, and program

Country Status (1)

Country Link
JP (1) JP6677882B2 (en)

Also Published As

Publication number Publication date
JP2017084252A (en) 2017-05-18

Similar Documents

Publication Publication Date Title
JP4623461B2 (en) Information processing apparatus, print control method, printer driver program, and recording medium
US8559047B2 (en) Information processing apparatus, information processing apparatus control method, and storage medium
KR101700553B1 (en) System development device, method, and program
JP5396339B2 (en) Resource control method and resource control system
US10467209B2 (en) Document management client apparatus and document management method
JP6677882B2 (en) Information processing apparatus, control method therefor, and program
JP6649572B2 (en) Information processing apparatus, information processing system, control method thereof, and program
JP6912741B2 (en) Information processing equipment, information processing system, its control method and program
JP2019012435A (en) Information processor, information processing system, method for control, and program
JP6365397B2 (en) Information processing apparatus, information processing system, control method thereof, and program
JP2015069522A (en) Information processing apparatus, information processing system, control method thereof, and program
JP6813787B2 (en) Information processing equipment, its processing method, and programs
JP6817524B2 (en) Information processing equipment, information processing system, its control method and program
WO2016110983A1 (en) System design assistance tool
JP2019008391A (en) Information processing device, information processing system, control method and program thereof
JP2018005311A (en) Information processing device, information processing system, method for controlling the same, and program
JP5532036B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP6540200B2 (en) INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING SYSTEM, CONTROL METHOD AND PROGRAM THEREOF
JP2018106333A (en) Information processing apparatus, information processing system, and control method and program therefor
JP2021125116A (en) Information processing apparatus, information processing system, method for controlling the same, and program
JP6226032B2 (en) Information processing apparatus, information processing system, control method thereof, and program
JP2018106548A (en) Program, information processing device, and processing method
JP6137245B2 (en) Information processing system, information processing system control method, and program
JP2021108032A (en) Information processing device and its processing method and program
JP2020201724A (en) Information processing apparatus, information processing system, method of controlling same, and program therefor

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20161101

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20161101

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20180703

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181029

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20181031

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20190111

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190827

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190910

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191108

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200212

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200225

R151 Written notification of patent or utility model registration

Ref document number: 6677882

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250