JP6493585B2 - Information processing apparatus, control method thereof, and program - Google Patents

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

Info

Publication number
JP6493585B2
JP6493585B2 JP2018041072A JP2018041072A JP6493585B2 JP 6493585 B2 JP6493585 B2 JP 6493585B2 JP 2018041072 A JP2018041072 A JP 2018041072A JP 2018041072 A JP2018041072 A JP 2018041072A JP 6493585 B2 JP6493585 B2 JP 6493585B2
Authority
JP
Japan
Prior art keywords
component data
shortest distance
data
orientation
shortest
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
JP2018041072A
Other languages
Japanese (ja)
Other versions
JP2018113057A (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
Publication of JP2018113057A publication Critical patent/JP2018113057A/en
Application granted granted Critical
Publication of JP6493585B2 publication Critical patent/JP6493585B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、可動部を有する部品データの可動域のうちユーザからの指示に応じた可動域で動作する当該部品データと、当該部品データとは異なる部品データとが最接近する距離を容易に特定することの可能な情報処理装置、その制御方法、及びプログラムに関する。   The present invention easily identifies the distance at which the part data operating in the movable range according to the instruction from the user among the movable range of the component data having the movable part and the component data different from the component data are closest to each other. The present invention relates to an information processing apparatus that can perform the control, a control method thereof, and a program.

従来、パーソナルコンピュータ等の情報処理装置を用いて製品等の設計を行うCAD(Computer Aided Design)アプリケーションが存在する。CADアプリケーションは、従来の正面図、平面図、側面図等の2次元図面で設計を行う2次元CADアプリケーションと、3次元モデルで設計を行う3次元CADアプリケーションの2種類に分別される。   Conventionally, there is a CAD (Computer Aided Design) application for designing a product or the like using an information processing apparatus such as a personal computer. CAD applications are classified into two types: a conventional two-dimensional CAD application for designing with a two-dimensional drawing such as a front view, a plan view, and a side view, and a three-dimensional CAD application for designing with a three-dimensional model.

特に、3次元CADアプリケーションで設計した製品を構成する部品データは可動部を備えている場合があり、設計ではこの可動部が正常に動作するか否かを確認するために、可動部を備える部品データと他の部品データとの干渉を確認しなければならない。3次元CADアプリケーションでは、ユーザが可動部を備える部品データをドラッグするだけで、可動部に応じて部品データを動作させることができるようになっている。つまり、2次元CADアプリケーションで表現される2次元図面では再現することが難しかった可動部に応じた部品データの動作状況を、3次元CADアプリケーションでは容易に再現することができるので、これにより部品データ同士が干渉するかどうかを目視にて確認している。   In particular, part data constituting a product designed by a three-dimensional CAD application may have a movable part. In designing, a part having a movable part is used to confirm whether or not the movable part operates normally. Interference between data and other parts data must be confirmed. In the three-dimensional CAD application, the user can operate the component data according to the movable part only by dragging the component data including the movable part. In other words, the operation status of the component data corresponding to the movable part, which was difficult to reproduce in the two-dimensional drawing expressed by the two-dimensional CAD application, can be easily reproduced in the three-dimensional CAD application. It is visually confirmed whether or not they interfere with each other.

下記の特許文献1では、このような可動部を備える部品データに対して親部品を所定の移動ピッチで移動させ、幾何学的に干渉を検知する仕組みが開示されている。   Patent Document 1 below discloses a mechanism for geometrically detecting interference by moving a parent part with a predetermined movement pitch with respect to part data including such a movable part.

特開2000−113002JP 2000-111302 A

ところで、製品を設計する際には、部品データ間に必要な距離(空間)を確保できているかどうかの検討も行われる。部品データから部品を製造し、製造された部品を組み立てることで製品となるが、この組み立てを行う際に作業者が手や工具を動かすための空間が必要である。この空間がないと、3次元CADアプリケーションで設計した設計物が机上の空論になってしまう。また、前述した可動部を備える部品データと他の部品データとの間にもある程度の空間が必要である。たとえ、設計段階では可動部を備える部品データと他の部品データとが干渉しなかったとしても、製造した部品の大きさの誤差によっては、干渉してしまう場合があるからである。   By the way, when designing a product, it is also examined whether a necessary distance (space) can be secured between component data. A part is manufactured from the part data, and the manufactured part is assembled into a product. However, a space is required for an operator to move his hands and tools when assembling. Without this space, a design designed with a three-dimensional CAD application becomes an empty theory on the desk. In addition, a certain amount of space is required between the component data including the movable portion described above and other component data. For example, even if the component data including the movable part and other component data do not interfere with each other at the design stage, they may interfere depending on an error in the size of the manufactured component.

このような部品データ間に必要な空間を確保できているかどうかを検証するために、3次元CADアプリケーションでは、指定された部品データ間の最短距離を測定する機能が備わっている。設計者は、この機能を用いて部品データ間の最短距離を測定し、必要な空間を確保できているか否かを確認している。   In order to verify whether or not a necessary space can be secured between such component data, the three-dimensional CAD application has a function of measuring the shortest distance between designated component data. The designer uses this function to measure the shortest distance between the component data, and confirms whether the necessary space can be secured.

ところが、一般的な3次元CADアプリケーションに備わっている機能では、可動部を備える部品データを動作させた場合の一時的な動作状態における部品間の最短距離しか測定できないため、一定の可動域の中で部品データが他の部品データと最も近接する際の距離(最接近距離)を取得するためには、測定を繰り返さなければならない。そのため、効率よく最接近距離を測定するために熟練の設計者の場合は、経験と勘により測定が必要な個所を高い精度で予測し、測定回数をできる限り少なくしている。   However, the functions provided in a general three-dimensional CAD application can measure only the shortest distance between components in a temporary operation state when component data including a movable part is operated. In order to obtain the distance when the part data is closest to other part data (the closest approach distance), the measurement must be repeated. For this reason, in order to efficiently measure the closest approach distance, an experienced designer predicts a place where measurement is necessary with high accuracy based on experience and intuition, and minimizes the number of measurements.

しかしながら、同様の手法を経験の浅い設計者が行った場合は予測精度が高くない為、測定回数が増加しがちであり効率がよいとはいえない。仮に予測の精度が高くないまま測定回数を減少させた場合、設計品質の低下を招く恐れがあるため、安易に測定回数を減少させれば良いわけではない。   However, if an inexperienced designer performs the same method, the prediction accuracy is not high, and therefore the number of measurements tends to increase, and it cannot be said that the efficiency is high. If the number of measurements is reduced without the prediction accuracy being high, design quality may be deteriorated. Therefore, it is not necessary to easily reduce the number of measurements.

更に従来技術として、可動部を備える部品データが動作する可動域の中で、他の部品データと最も近接する際の距離をシミュレーションにより算出する方法が存在する。これを用いることで容易に最接近距離を特定することが可能となるのだが、正式な可動域が決定していない設計段階ではこの仕組みを用いることはできない。つまり、現在の可動域の中から必要な空間が確保できる可動域を探索するような場合には、前述したように一時的な動作状態における部品間の最短距離を繰り返し測定するしかない。あくまでこのシミュレーションの仕組みは、設計がほぼ完成した段階で行われる確認作業であり、設計段階では用いることができないので、効率的に設計できないという問題がある。   Furthermore, as a conventional technique, there is a method of calculating a distance when the component data including the movable part is closest to other component data within a movable range in which the component data is operated by simulation. Using this makes it possible to easily identify the closest distance, but this mechanism cannot be used at the design stage where the official range of motion has not been determined. That is, when searching for a movable range in which a necessary space can be secured from the current movable range, there is no choice but to repeatedly measure the shortest distance between components in a temporary operating state as described above. This simulation mechanism is a confirmation work performed when the design is almost completed, and cannot be used at the design stage. Therefore, there is a problem that the design cannot be performed efficiently.

発明の目的は、第1の部品データと第2の部品データとの最短距離を計測した際の状況をユーザが簡便に確認することができる仕組みを提供することを目的とする。 An object of the present invention is to provide a mechanism by which a user can easily confirm the situation when the shortest distance between first component data and second component data is measured .

発明のプログラムは、コンピュータを、第1の部品データと、当該第1の部品データとは異なる第2の部品データとの最短距離を計測する計測手段と、前記計測手段で計測された複数の最短距離と、当該最短距離における前記第1の部品データの位置姿勢と前記第2の部品データの位置姿勢とを記憶するよう制御する記憶制御手段と、前記記憶制御手段で記憶された複数の前記最短距離のうち、ユーザに指定された最短距離における前記第1の部品データの位置姿勢と前記第2の部品データの位置姿勢とに基づいて、前記第1の部品データと前記第2の部品データとを表示するよう制御する表示制御手段として機能させることを特徴とする。 The program according to the present invention includes a computer that measures a shortest distance between first component data and second component data different from the first component data, and a plurality of measurement units measured by the measurement unit. Storage control means for controlling to store the shortest distance, the position and orientation of the first component data and the position and orientation of the second component data at the shortest distance, and a plurality of the storage units stored in the storage control means Based on the position and orientation of the first component data and the position and orientation of the second component data at the shortest distance designated by the user among the shortest distances, the first component data and the second component data It is made to function as a display control means which controls to display.

本発明によれば、第1の部品データと第2の部品データとの最短距離を計測した際の状況をユーザが簡便に確認することができる。 According to the present invention, the user can easily confirm the situation when the shortest distance between the first component data and the second component data is measured.

本発明の実施形態における3次元CADシステム100の一例を示す構成図である。1 is a configuration diagram illustrating an example of a three-dimensional CAD system 100 according to an embodiment of the present invention. 情報処理装置101及びサーバ102のハードウェア構成の一例を示す構成図である。2 is a configuration diagram illustrating an example of a hardware configuration of an information processing apparatus 101 and a server 102. FIG. 情報処理装置101の機能構成の一例を示す機能構成図である。2 is a functional configuration diagram illustrating an example of a functional configuration of an information processing apparatus 101. FIG. 本発明の実施形態における一連の処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a series of processes in embodiment of this invention. 最短距離測定画面500の画面構成の一例を示す図である。It is a figure which shows an example of a screen structure of the shortest distance measurement screen. 本発明の実施形態における可動部を備える第1の部品データ601と、測定対象となる第2の部品データ602の一例を示す図である。It is a figure which shows an example of the 1st component data 601 provided with the movable part in embodiment of this invention, and the 2nd component data 602 used as a measuring object. 構成部品テーブル700、動作状態履歴テーブル710、最短距離測定テーブル720、最接近距離テーブル730のテーブル構成の一例を示す図である。6 is a diagram illustrating an example of a table configuration of a component table 700, an operation state history table 710, a shortest distance measurement table 720, and a closest approach distance table 730. FIG. 最短距離測定処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the shortest distance measurement process. 本実施形態における処理結果のイメージ図である。It is an image figure of the processing result in this embodiment.

以下、図面を参照して、本発明の実施形態を詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明の3次元CADシステム100のシステム構成の一例を示す図である。本発明の3次元CADシステム100は、情報処理装置101、サーバ102が設置されており、それら装置はLAN(Local Area Network)等のネットワーク103を介して相互にデータ通信可能に接続されている。図1のネットワーク103上に接続される各種端末あるいはサーバの構成は一例であり、用途や目的に応じて様々な構成例があることは言うまでもない。   FIG. 1 is a diagram showing an example of a system configuration of a three-dimensional CAD system 100 of the present invention. An information processing apparatus 101 and a server 102 are installed in a three-dimensional CAD system 100 of the present invention, and these apparatuses are connected to each other via a network 103 such as a LAN (Local Area Network) so that data communication can be performed. The configuration of various terminals or servers connected on the network 103 in FIG. 1 is an example, and it goes without saying that there are various configuration examples depending on the application and purpose.

情報処理装置101は、オペレーティングシステム上で3次元CADアプリケーションと最短距離測定プログラムを実行する装置である。3次元CADアプリケーションと最短距離測定プログラムは後述する図2のROM202または外部メモリ211に記憶されており、ユーザからの指示に応じて、CPU201がRAM203に読み出して各種動作を行う。   The information processing apparatus 101 is an apparatus that executes a three-dimensional CAD application and a shortest distance measurement program on an operating system. The three-dimensional CAD application and the shortest distance measurement program are stored in the ROM 202 or the external memory 211 shown in FIG. 2, which will be described later, and the CPU 201 reads out to the RAM 203 and performs various operations in accordance with instructions from the user.

3次元CADアプリケーションは、ユーザからの操作に応じて、設計物の立体形状を示す3次元モデルの作成や構築、また3次元モデルに基づく2次元図面の作成を行う。3次元CADアプリケーションは、様々なAPI(Application Programming Interface)を備えており、後述する最短距離測定プログラムからの指示に応じてAPIを実行し、必要に応じてその結果を最短距離測定プログラムに返すことができる。   The three-dimensional CAD application creates or constructs a three-dimensional model indicating a three-dimensional shape of a design object and creates a two-dimensional drawing based on the three-dimensional model in accordance with an operation from the user. The three-dimensional CAD application has various APIs (Application Programming Interface), executes the API according to an instruction from the shortest distance measurement program described later, and returns the result to the shortest distance measurement program as necessary. Can do.

最短距離測定プログラムは、3次元CADアプリケーションに表示された3次元モデルから成る部品データ間の距離を測定するべく、3次元CADアプリケーションのAPIに指示を出し、その結果を表示するためのプログラムである。最短距離測定プログラムは、3次元CADアプリケーションのアドオンであってもよいし、別個の独立したプログラムであってもよい。   The shortest distance measurement program is a program for issuing an instruction to the API of the 3D CAD application and displaying the result in order to measure the distance between the component data composed of the 3D model displayed in the 3D CAD application. . The shortest distance measurement program may be an add-on to the three-dimensional CAD application or may be a separate and independent program.

サーバ102は、情報処理装置101で作成された各種データを記憶管理する装置である。3次元モデルは、複数のユーザによって作成される場合があり、その場合には1つのサーバ102に各ユーザの情報処理装置101で作成された3次元モデルを一元管理する。   The server 102 is a device that stores and manages various data created by the information processing apparatus 101. A three-dimensional model may be created by a plurality of users. In this case, the three-dimensional model created by the information processing apparatus 101 of each user is centrally managed in one server 102.

尚、情報処理装置101が、サーバ102の構成を含んでもよいし、サーバ102が情報処理装置101の構成を含んでもよい。また、本実施例においては、情報処理装置101に各種データが記憶され、ユーザからの操作によって動作させる形態に基づいて説明を行う。   The information processing apparatus 101 may include the configuration of the server 102, or the server 102 may include the configuration of the information processing apparatus 101. Also, in the present embodiment, description will be made based on a form in which various data are stored in the information processing apparatus 101 and operated by an operation from a user.

図2は、本発明の実施形態における各種端末のハードウェア構成を示す図である。   FIG. 2 is a diagram illustrating a hardware configuration of various terminals according to the embodiment of the present invention.

CPU201は、システムバス204に接続される各デバイスやコントローラを統括的に制御する。   The CPU 201 comprehensively controls each device and controller connected to the system bus 204.

また、ROM202あるいは外部メモリ211(記憶手段)には、CPU201の制御プログラムであるBIOS(Basic Input / OutputSystem)やオペレーティングシステムプログラム(以下、OS)や、各サーバ或いは各PCの実行する機能を実現するために必要な後述する各種プログラム等が記憶されている。RAM203は、CPU201の主メモリ、ワークエリア等として機能する。   Further, the ROM 202 or the external memory 211 (storage means) implements a BIOS (Basic Input / Output System) or an operating system program (hereinafter referred to as OS) that is a control program of the CPU 201, and functions executed by each server or each PC. For this purpose, various programs described later are stored. The RAM 203 functions as a main memory, work area, and the like for the CPU 201.

CPU201は、処理の実行に際して必要なプログラム等をRAM203にロードして、プログラムを実行することで各種動作を実現するものである。   The CPU 201 implements various operations by loading a program necessary for execution of processing into the RAM 203 and executing the program.

また、入力コントローラ(入力C)205は、キーボードや不図示のマウス等のポインティングデバイス等の入力デバイス209からの入力を制御する。   An input controller (input C) 205 controls input from an input device 209 such as a keyboard or a pointing device such as a mouse (not shown).

ビデオコントローラ(VC)206は、ディスプレイ210等の表示器への表示を制御する。表示器の種類はCRTや、液晶ディスプレイを想定するが、これに限らない。   A video controller (VC) 206 controls display on a display device such as the display 210. The type of the display device is assumed to be a CRT or a liquid crystal display, but is not limited thereto.

メモリコントローラ(MC)207は、ブートプログラム、ブラウザソフトウエア、各種のアプリケーション、フォントデータ、ユーザファイル、編集ファイル、各種データ等を記憶するハードディスク(HD)やフレキシブルディスク(FD)或いはPCMCIAカードスロットにアダプタを介して接続されるカード型メモリ等の外部メモリ211へのアクセスを制御する。   The memory controller (MC) 207 is an adapter to a hard disk (HD), flexible disk (FD) or PCMCIA card slot for storing boot programs, browser software, various applications, font data, user files, editing files, various data, and the like. Controls access to an external memory 211 such as a card-type memory connected via the.

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

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

本発明の情報処理装置101が後述する各種処理を実行するために用いられる各種プログラム等は外部メモリ211に記録されており、必要に応じてRAM203にロードされることによりCPU201によって実行されるものである。さらに、本発明に係わるプログラムが用いる定義ファイルや各種情報テーブルは外部メモリ211に格納されている。   Various programs used by the information processing apparatus 101 of the present invention to execute various processes described later are recorded in the external memory 211 and are executed by the CPU 201 by being loaded into the RAM 203 as necessary. is there. Furthermore, definition files and various information tables used by the program according to the present invention are stored in the external memory 211.

次に、情報処理装置101の機能構成を示す機能構成図について、図3を用いて説明する。尚、図3の機能構成は一例であり、用途や目的に応じて様々な構成例があることは言うまでもない。   Next, a functional configuration diagram showing a functional configuration of the information processing apparatus 101 will be described with reference to FIG. Note that the functional configuration of FIG. 3 is an example, and it goes without saying that there are various configuration examples depending on the application and purpose.

情報処理装置101は、記憶部301、表示制御部302を備える。記憶部301は、RAM203や外部メモリ211に相当し、情報処理装置101で扱う各種データを記憶する。本実施形態では特に、3次元CADアプリケーションで表示する3次元モデルや2次元図面、後述する各種テーブルを記憶する。   The information processing apparatus 101 includes a storage unit 301 and a display control unit 302. The storage unit 301 corresponds to the RAM 203 and the external memory 211, and stores various data handled by the information processing apparatus 101. In this embodiment, in particular, a three-dimensional model and a two-dimensional drawing displayed by a three-dimensional CAD application and various tables described later are stored.

表示制御部302は、記憶部301に記憶された各種データをディスプレイ210に表示するための制御部である。後述する3次元モデル制御部311や画面表示制御部321からの指示に応じて、ディスプレイ210に各種データを表示する。   The display control unit 302 is a control unit for displaying various data stored in the storage unit 301 on the display 210. Various data are displayed on the display 210 in accordance with instructions from a later-described three-dimensional model control unit 311 and screen display control unit 321.

また、前述した通り、情報処理装置101には、3次元CADアプリケーション310と、最短距離測定プログラム320がインストールされている。3次元CADアプリケーション310は、3次元モデル制御部311、最短距離取得部312、モード切替部313、距離測定部314、動作状態取得部315、最短距離識別表示制御部316、最接近状態再現制御部317を備えている。これらは、APIとして3次元CADアプリケーション310に備えている。   As described above, the information processing apparatus 101 is installed with the three-dimensional CAD application 310 and the shortest distance measurement program 320. The three-dimensional CAD application 310 includes a three-dimensional model control unit 311, a shortest distance acquisition unit 312, a mode switching unit 313, a distance measurement unit 314, an operation state acquisition unit 315, a shortest distance identification display control unit 316, and a closest approach state reproduction control unit. 317 is provided. These are provided in the three-dimensional CAD application 310 as an API.

3次元モデル制御部311は、記憶部301で記憶された3次元モデルをRAM203に読み出し、ユーザから指示された3次元CADアプリケーション310の機能に応じて、3次元モデルの作成、編集、削除等を実行する。また、3次元モデルから成り、可動部を備える部品データをユーザからの指示に応じて動作させる機能も備える。   The three-dimensional model control unit 311 reads out the three-dimensional model stored in the storage unit 301 to the RAM 203, and creates, edits, deletes, etc. a three-dimensional model according to the function of the three-dimensional CAD application 310 instructed by the user. Run. Further, it has a function of operating a part data comprising a three-dimensional model and having a movable part in accordance with an instruction from the user.

最短距離取得部312は、後述する最短距離取得指示部324からの指示を受け付けると、可動部を備える部品データ(以下、第1の部品データ)を3次元モデル制御部311で動作させている間、距離測定部314で当該部品データと、他の部品データ(以下、第2の部品データ)との最短距離を一定の間隔で測定し続けるモードになるよう、モード切替部313に対して指示を出す。そして、距離測定部314で測定することで取得した最短距離を最短距離取得指示部324に渡す。また、合わせて動作状態取得部315で取得した、第1の部品データの動作状態を取得し、最短距離取得指示部324に渡す。   When the shortest distance acquisition unit 312 receives an instruction from the shortest distance acquisition instruction unit 324 described later, the component data including the movable unit (hereinafter referred to as first component data) is operated by the three-dimensional model control unit 311. The distance measuring unit 314 instructs the mode switching unit 313 to enter a mode in which the shortest distance between the component data and other component data (hereinafter referred to as second component data) is continuously measured. put out. Then, the shortest distance acquired by measurement by the distance measuring unit 314 is passed to the shortest distance acquisition instruction unit 324. In addition, the operation state of the first component data acquired by the operation state acquisition unit 315 is acquired and passed to the shortest distance acquisition instruction unit 324.

モード切替部313は、3次元CADアプリケーション310のモードを切り替える。本実施形態においては、第1の部品データを3次元モデル制御部311による制御によって動作させることで、距離測定部314が最短距離を測定するモード(最短距離測定モード)と、これを測定しないモード(通常モード)の2つがある。第1の部品データを可動部に応じて動作させることで、常に距離測定部314が最短距離を測定してしまうと、情報処理装置101にかかる負荷が高くなってしまう。つまり、ユーザの設計作業に支障が出てしまう問題がある。そのため、モード切替部313によって、必要な時だけ距離測定部314で距離を測定するモードに切り替えることで、このような問題を解決している。   The mode switching unit 313 switches the mode of the three-dimensional CAD application 310. In the present embodiment, a mode in which the distance measurement unit 314 measures the shortest distance (shortest distance measurement mode) by operating the first component data under the control of the three-dimensional model control unit 311 and a mode in which this is not measured. There are two modes (normal mode). If the distance measuring unit 314 always measures the shortest distance by operating the first component data according to the movable part, the load on the information processing apparatus 101 becomes high. That is, there is a problem that the design work of the user is hindered. Therefore, such a problem is solved by switching to the mode in which the distance measuring unit 314 measures the distance only when necessary by the mode switching unit 313.

距離測定部314は、部品データ間の最短距離を測定する。本実施形態では、第1の部品データを、可動部に応じてユーザから指示された可動域の範囲内で3次元モデル制御部311が動作させている間、動作させたある状態における第1の部品データと第2の部品データとの最短距離を継続して測定する。最短距離の測定方法は、従来技術であるので説明は省略する。従来から、3次元CADアプリケーションでは、2つの部品データ間の最短距離を測定する機能が存在するため、これと同様の測定を実施するものとする。   The distance measuring unit 314 measures the shortest distance between component data. In the present embodiment, the first component data is operated in the state in which the first part data is operated while the three-dimensional model control unit 311 is operated within the range of the range of motion instructed by the user according to the movable unit. The shortest distance between the component data and the second component data is continuously measured. The method for measuring the shortest distance is a conventional technique, and the description thereof will be omitted. Conventionally, in a three-dimensional CAD application, there is a function for measuring the shortest distance between two component data. Therefore, the same measurement is performed.

動作状態取得部315は、距離測定部314で最短距離を測定した時点での、第1の部品データの動作状態を取得し、最短距離取得部312に渡す。当該動作状態は、後述する最接近状態再現制御部317で使用する。   The operation state acquisition unit 315 acquires the operation state of the first component data at the time when the shortest distance is measured by the distance measurement unit 314 and passes it to the shortest distance acquisition unit 312. The operation state is used by the closest approach state reproduction control unit 317 described later.

最短距離識別表示制御部316は、後述する最短距離識別表示指示部326からの指示を受け付けると、距離測定部314で最短距離が測定されたことに応じて、第1の部品データと、第2の部品データとの間で当該最短距離を識別表示する。つまり、第1の部品データのどの箇所と、第2の部品データのどの箇所とを結ぶ直線が最短距離であるのかは、距離測定部314で測定される最短距離の値だけではわからない。そこで、最短距離に該当する直線を最短距離が測定される都度、リアルタイムに識別表示することで、ユーザに対する理解を助けている。   When the shortest distance identification display control unit 316 receives an instruction from the shortest distance identification display instruction unit 326 described later, the shortest distance identification display control unit 316 receives the first component data and the second component data according to the shortest distance measured by the distance measurement unit 314. The shortest distance is identified and displayed with the part data. That is, it is not known only by the value of the shortest distance measured by the distance measuring unit 314 which part of the first part data and which part of the second part data is the shortest distance. Therefore, the straight line corresponding to the shortest distance is identified and displayed in real time each time the shortest distance is measured, thereby helping the user to understand.

最接近状態再現制御部317は、後述する最接近状態再現指示部327から、動作状態取得部315で取得した動作状態を再現するよう指示を受け付けると、第1の部品データの動作状態を、指示された動作状態となるよう動作させる。   When receiving the instruction to reproduce the operation state acquired by the operation state acquisition unit 315 from the closest state reproduction instruction unit 327 described later, the closest approach state reproduction control unit 317 instructs the operation state of the first component data. It is operated so as to be in the operated state.

また、最短距離測定プログラム320は、画面表示制御部321、入力受付部322、CSV出力部323、最短距離取得指示部324、最接近距離判定部325、最短距離識別表示指示部326、最接近状態再現指示部327を備えている。   The shortest distance measurement program 320 includes a screen display control unit 321, an input reception unit 322, a CSV output unit 323, a shortest distance acquisition instruction unit 324, a closest approach distance determination unit 325, a shortest distance identification display instruction unit 326, and a closest approach state. A reproduction instruction unit 327 is provided.

画面表示制御部321は、ユーザからの操作を受け付けるための各種画面の表示制御を行う。例えば、後述する最短距離測定画面500(図5参照)である。また、最短距離測定プログラム320で実行された結果を最短距離測定画面500に表示する。   The screen display control unit 321 performs display control of various screens for accepting an operation from the user. For example, a shortest distance measurement screen 500 (see FIG. 5) described later. The result executed by the shortest distance measurement program 320 is displayed on the shortest distance measurement screen 500.

入力受付部322は、入力デバイス209を通じて、ユーザから文字入力やボタン押下を受け付ける。   The input receiving unit 322 receives a character input or button press from the user through the input device 209.

CSV出力部323は、最短距離取得指示部324で指示することにより取得した最短距離の一覧をCSV(Comma−Separated Values)形式のファイルとして出力する。本実施形態ではCSV形式としたが、最短距離の一覧が出力できれば、ファイル形式は特に問わない。   The CSV output unit 323 outputs a list of shortest distances acquired by instructing by the shortest distance acquisition instruction unit 324 as a CSV (Comma-Separated Values) format file. Although the CSV format is used in this embodiment, the file format is not particularly limited as long as a list of the shortest distances can be output.

最短距離取得指示部324は、最短距離取得部312に対して、部品データの可動域のうちユーザから指示された可動域で第1の部品データを動作させて、第1の部品データと第2の部品データとの最短距離を測定するよう指示を出す。そして、最短距離取得部312から渡される最短距離を随時受け取る。また、最短距離を測定した際の第1の部品データの動作状態を取得するよう、動作状態取得部315に指示を出し、動作状態取得部315から当該動作状態を受け取る。   The shortest distance acquisition instruction unit 324 causes the shortest distance acquisition unit 312 to operate the first component data within the movable range instructed by the user out of the movable range of the component data, and the first component data and the second component data. An instruction is given to measure the shortest distance from the part data. And the shortest distance passed from the shortest distance acquisition part 312 is received at any time. In addition, an instruction is given to the operation state acquisition unit 315 to acquire the operation state of the first component data when the shortest distance is measured, and the operation state is received from the operation state acquisition unit 315.

最接近距離判定部325は、最短距離取得指示部324で指示することにより取得した最短距離が、第1の部品データと第2の部品データとが、第1の部品データのユーザから指示された可動域において最も接近した距離であるか否かを判定する。最短距離取得指示部324では、第1の部品データが3次元モデル制御部311によって動作している間、随時最短距離が取得できるので、この取得した複数の最短距離のうち、最も値の小さい距離を持つ最短距離を、最接近距離と判定する。つまり、3次元モデル制御部311で第1の部品データの可動部を動作させる際には、ユーザから指示された可動域を網羅するよう、動作させることが望ましい。   The closest distance determination unit 325 is instructed by the user of the first component data that the shortest distance acquired by instructing the shortest distance acquisition instruction unit 324 is the first component data and the second component data. It is determined whether or not it is the closest distance in the range of motion. Since the shortest distance acquisition instruction unit 324 can acquire the shortest distance at any time while the first part data is operated by the three-dimensional model control unit 311, the distance having the smallest value among the plurality of acquired shortest distances. Is determined as the closest approach distance. That is, when the three-dimensional model control unit 311 operates the movable part of the first component data, it is desirable to operate so as to cover the movable range instructed by the user.

最短距離識別表示指示部326は、最短距離取得指示部で取得した最短距離を識別表示するよう、最短距離識別表示制御部316に指示を出す。前述した通り、3次元モデル制御部311による動作に応じて、リアルタイムに最短距離の識別表示を行うことが望ましい。   The shortest distance identification display instruction unit 326 instructs the shortest distance identification display control unit 316 to identify and display the shortest distance acquired by the shortest distance acquisition instruction unit. As described above, it is desirable to perform identification display of the shortest distance in real time in accordance with the operation by the three-dimensional model control unit 311.

最接近状態再現指示部327は、最接近距離判定部325で最接近距離と判定された最短距離を測定した際の動作状態を最短距離取得指示部324で取得した情報から特定し、最接近状態再現制御部317に対して、当該動作状態を再現するよう指示を出す。   The closest approach state reproduction instruction unit 327 specifies the operation state when the shortest distance determined as the closest approach distance by the closest approach distance determination unit 325 is determined from the information acquired by the shortest distance acquisition instruction unit 324, and the closest approach state The reproduction control unit 317 is instructed to reproduce the operation state.

次に、本発明の実施形態における情報処理装置101によって行われる一連の処理について、図4に示すフローチャートを用いて説明する。   Next, a series of processing performed by the information processing apparatus 101 according to the embodiment of the present invention will be described with reference to the flowchart shown in FIG.

尚、図4に示す処理を行う際には、情報処理装置101のCPU201は、ユーザからの指示に応じて3次元CADアプリケーション310が起動されており、3次元モデルを操作可能な状態であるものとして、以下、説明を行う。   When performing the processing shown in FIG. 4, the CPU 201 of the information processing apparatus 101 is in a state where the 3D CAD application 310 is activated in accordance with an instruction from the user and the 3D model can be operated. In the following, description will be given.

ステップS401では、情報処理装置101のCPU201は、ユーザからの入力デバイス209を通じた指示に応じて、最短距離測定プログラム320を起動する。   In step S <b> 401, the CPU 201 of the information processing apparatus 101 activates the shortest distance measurement program 320 in accordance with an instruction from the user through the input device 209.

ステップS402では、情報処理装置101のCPU201は、ステップS401で最短距離測定プログラム320の起動を確認すると、3次元CADアプリケーション310が最短距離測定プログラム320の開始条件を満たしているか否かを判定する。より具体的には、現在のアクティブドキュメントがアセンブリデータであること、開かれている状態のドキュメント数がアクティブドキュメント1つだけであること、現在のアクティブドキュメントが保存済みであることを確認し、これらをすべて満たせば開始条件を満たしていると判定する。これらにより、予想しない3次元CADアプリケーション310の挙動や、予期しないデータの取得を防止する。尚、アセンブリデータとは、3次元CADアプリケーションで取り扱い可能なデータであり、1以上の部品データまたはアセンブリデータの参照情報を含むものである。つまり、部品データやアセンブリデータが保存されている絶対パスや部品データを配置する位置といった情報を管理している。最短距離測定プログラム320の開始条件を満たしていると判定した場合には、ステップS403に処理を進める。最短距離測定プログラム320の開始条件を満たしていないと判定した場合には、エラーメッセージを表示して本一連の処理を終了する。   In step S <b> 402, when the CPU 201 of the information processing apparatus 101 confirms that the shortest distance measurement program 320 is activated in step S <b> 401, the CPU 201 determines whether the three-dimensional CAD application 310 satisfies the start condition of the shortest distance measurement program 320. More specifically, confirm that the current active document is assembly data, that only one active document is open, and that the current active document has been saved. If all the conditions are satisfied, it is determined that the start condition is satisfied. These prevent unexpected behavior of the three-dimensional CAD application 310 and acquisition of unexpected data. The assembly data is data that can be handled by the three-dimensional CAD application, and includes reference information of one or more parts data or assembly data. That is, information such as the absolute path where the part data and the assembly data are stored and the position where the part data is arranged are managed. If it is determined that the start condition of the shortest distance measurement program 320 is satisfied, the process proceeds to step S403. If it is determined that the start condition of the shortest distance measurement program 320 is not satisfied, an error message is displayed and the series of processes is terminated.

ステップS403では、情報処理装置101のCPU201は、画面表示制御部321を用いて、図5に示すような最短距離測定画面500をディスプレイ210に表示する。   In step S <b> 403, the CPU 201 of the information processing apparatus 101 displays the shortest distance measurement screen 500 as illustrated in FIG. 5 on the display 210 using the screen display control unit 321.

ステップS404では、情報処理装置101のCPU201は、入力受付部322を用いて、最短距離の測定対象となる2つの部品データの選択を受け付ける。特に、3次元CADアプリケーション310で開かれたアセンブリデータに含まれる部品データのうち、可動部を備える部品データの選択を少なくとも1つ受け付ける。より具体的には、ユーザは、最短距離測定画面500のテキストボックス501を選択し、その後、測定対象となる部品データを選択すると、画面表示制御部321が3次元CADアプリケーション310から、選択された部品データの部品名を取得し、テキストボックス501に表示する。また同時に図7に示す測定対象部品テーブル700の測定対象部品名a701に取得した部品名を登録する。同様にしてもう1つの部品データについても、テキストボックス502の選択後に部品データの選択を受け付けて、この部品データの部品名をテキストボックス502に表示し、部品名を測定対象部品テーブル700の測定対象部品名b702に登録する。   In step S <b> 404, the CPU 201 of the information processing apparatus 101 uses the input receiving unit 322 to receive selection of two component data to be measured with the shortest distance. In particular, at least one part data including a movable part is selected from the part data included in the assembly data opened by the three-dimensional CAD application 310. More specifically, when the user selects the text box 501 of the shortest distance measurement screen 500 and then selects the component data to be measured, the screen display control unit 321 is selected from the three-dimensional CAD application 310. The part name of the part data is acquired and displayed in the text box 501. At the same time, the acquired component name is registered in the measurement target component name a 701 of the measurement target component table 700 shown in FIG. Similarly, with respect to another part data, the selection of the part data is accepted after the text box 502 is selected, the part name of the part data is displayed in the text box 502, and the part name is measured in the measurement target part table 700. It is registered in the part name b702.

測定対象部品テーブル700(図7参照)は、情報処理装置101の記憶部301で記憶されるテーブルである。測定対象部品テーブル700は、測定対象部品名a701と、測定対象部品名b702から構成される。前述した通り、測定対象部品名a701と測定対象部品名b702とは、ステップS404で選択を受け付けた測定対象の部品データの部品名を格納する。   The measurement target component table 700 (see FIG. 7) is a table stored in the storage unit 301 of the information processing apparatus 101. The measurement target component table 700 includes a measurement target component name a 701 and a measurement target component name b 702. As described above, the measurement target component name a 701 and the measurement target component name b 702 store the component names of the measurement target component data that have been selected in step S404.

以下、本実施形態では、図6に示す第1の部品データ601と、第2の部品データ602を用いて説明を行う。第1の部品データは、可動部を備える部品データである。第1の部品データは、第1の部品データの中心点を通る縦軸を回転軸として回転するようになっている。第2の部品データは、可動部を備えていない部品データである。それぞれがステップS404で選択されると、第1の部品データ601の部品名がテキストボックス501に表示され、この部品名が測定対象部品名a701に登録される。また、第2の部品データ602の部品名がテキストボックス502に表示され、この部品名が測定対象部品名b702に登録される。   Hereinafter, in the present embodiment, description will be made using the first component data 601 and the second component data 602 shown in FIG. The first component data is component data including a movable part. The first part data is rotated with a vertical axis passing through the center point of the first part data as a rotation axis. The second component data is component data that does not include a movable part. When each is selected in step S404, the part name of the first part data 601 is displayed in the text box 501 and this part name is registered in the measurement target part name a701. Further, the part name of the second part data 602 is displayed in the text box 502, and this part name is registered in the measurement target part name b702.

ステップS405では、情報処理装置101のCPU201は、最短距離測定画面500において、「測定開始」を示す制御ボタン503の押下を受け付ける。   In step S <b> 405, the CPU 201 of the information processing apparatus 101 accepts pressing of the control button 503 indicating “measurement start” on the shortest distance measurement screen 500.

そして、ステップS406では、情報処理装置101のCPU201は、入力受付部322を用いて、測定対象となる部品データが選択されているかどうかを判定する。測定対象の部品データが選択されているかどうかは測定対象部品テーブル700の測定対象部品名a701と測定対象部品名b702にそれぞれ部品名が登録されているかどうかで判定する。選択されていると判定した場合は、制御ボタン503のキャプションを例えば「測定開始」から「測定終了」に変更し、処理をステップS407に進める。選択されていないと判定した場合は、エラーメッセージを表示し、処理をステップS404に戻し、測定対象となる部品データの選択を促す。   In step S <b> 406, the CPU 201 of the information processing apparatus 101 uses the input reception unit 322 to determine whether or not component data to be measured is selected. Whether or not the measurement target component data is selected is determined by whether or not the component names are registered in the measurement target component name a 701 and the measurement target component name b 702 of the measurement target component table 700, respectively. If it is determined that the button is selected, the caption of the control button 503 is changed from “measurement start” to “measurement end”, for example, and the process proceeds to step S407. If it is determined that it is not selected, an error message is displayed, and the process returns to step S404 to prompt selection of part data to be measured.

ステップS407では、情報処理装置101のCPU201は、ステップS404で選択された部品データ間の最短距離を算出するための処理を実行する。最短距離算出処理の詳細は、後述する図8に示す。   In step S407, the CPU 201 of the information processing apparatus 101 executes a process for calculating the shortest distance between the component data selected in step S404. Details of the shortest distance calculation process are shown in FIG.

ステップS408では、情報処理装置101のCPU201は、入力受付部322を用いて、最短距離測定画面500においてCSV出力ボタン508が押下されたか否かを判定する。CSV出力ボタン508が押下されたと判定した場合には、ステップS409に処理を進め、CSV出力ボタン508が押下されていないと判定した場合には、ステップS410に処理を進める。   In step S <b> 408, the CPU 201 of the information processing apparatus 101 determines whether the CSV output button 508 is pressed on the shortest distance measurement screen 500 using the input reception unit 322. If it is determined that the CSV output button 508 has been pressed, the process proceeds to step S409. If it is determined that the CSV output button 508 has not been pressed, the process proceeds to step S410.

ステップS409では、情報処理装置101のCPU201は、CSV出力部323を用いて、図7に示す最短距離測定テーブル720に格納された測定ID721、最短距離722、X座標a723、X座標b724、Y座標a725、Y座標b726、Z座標a727、Z座標b728をCSV形式のファイルに出力する(ファイル出力手段)。この出力形式はCSV形式のファイルに限らない。   In step S409, the CPU 201 of the information processing apparatus 101 uses the CSV output unit 323 to measure the measurement ID 721, the shortest distance 722, the X coordinate a 723, the X coordinate b 724, and the Y coordinate stored in the shortest distance measurement table 720 illustrated in FIG. a725, Y-coordinate b726, Z-coordinate a727, and Z-coordinate b728 are output to a CSV file (file output means). This output format is not limited to a CSV format file.

最短距離測定テーブル720は、情報処理装置101の記憶部301で記憶されるテーブルである。最短距離測定テーブル720は、測定ID721、最短距離722、X座標a723、X座標b724、Y座標a725、Y座標b726、Z座標a727、Z座標b728から構成される。測定ID721は、後述する処理において最短距離が取得される度に発行され、一意に識別可能な情報である。最短距離722は、選択された測定対象の部品データ間の最短距離を示す情報である。特に第1の部品データを可動部に応じて動作させた際の、第1の部品データと第2の部品データとの間の最短距離を示す。X座標a723、X座標b724、Y座標a725、Y座標b726、Z座標a727、Z座標b728は、最短距離を示す直線の始点と終点を示す座標値である。X座標a723、Y座標a725、Z座標a727が始点を示す座標値であり、X座標b724、Y座標b726、Z座標b728が終点を示す座標値である。   The shortest distance measurement table 720 is a table stored in the storage unit 301 of the information processing apparatus 101. The shortest distance measurement table 720 includes a measurement ID 721, a shortest distance 722, an X coordinate a 723, an X coordinate b 724, a Y coordinate a 725, a Y coordinate b 726, a Z coordinate a 727, and a Z coordinate b 728. The measurement ID 721 is information that is issued each time the shortest distance is acquired in the process described later and is uniquely identifiable. The shortest distance 722 is information indicating the shortest distance between the selected measurement target component data. In particular, the shortest distance between the first component data and the second component data when the first component data is operated according to the movable part is shown. The X coordinate a 723, the X coordinate b 724, the Y coordinate a 725, the Y coordinate b 726, the Z coordinate a 727, and the Z coordinate b 728 are coordinate values indicating the start point and end point of a straight line indicating the shortest distance. The X coordinate a723, the Y coordinate a725, and the Z coordinate a727 are coordinate values indicating the start point, and the X coordinate b724, the Y coordinate b726, and the Z coordinate b728 are coordinate values indicating the end point.

ステップS410では、情報処理装置101のCPU201は、入力受付部322を用いて、最短距離測定画面500の閉じるボタン509の押下を検知することで、最短距離測定画面500を閉じ、最短距離測定プログラム320の起動を終了する。   In step S <b> 410, the CPU 201 of the information processing apparatus 101 detects the pressing of the close button 509 on the shortest distance measurement screen 500 using the input receiving unit 322, thereby closing the shortest distance measurement screen 500 and shortest distance measurement program 320. Terminates the start of.

次に、最短距離測定処理について図8を用いて説明する。最短距離測定処理は、ステップS404で選択された部品データをユーザから指示された可動域で動作させ、動作している間、部品データ間の最短距離を取得し続ける。そして、取得した複数の最短距離のうち、当該部品データ同士が最も接近した最短距離(最接近距離)を、最接近距離として特定する。つまり、選択された部品データをユーザが任意の可動域で動作させるだけで、その可動域における部品データ間の最接近距離を取得できる。以下、この説明を行う。   Next, the shortest distance measurement process will be described with reference to FIG. In the shortest distance measurement process, the component data selected in step S404 is operated in the movable range designated by the user, and the shortest distance between the component data is continuously acquired during the operation. And the shortest distance (closest approach distance) which the said component data approached most among the some acquired shortest distances is specified as the closest approach distance. That is, the user can acquire the closest approach distance between the component data in the movable range only by operating the selected component data in an arbitrary movable range. This will be described below.

まず、ステップS801では、情報処理装置101のCPU201は、3次元CADアプリケーション310を、最短距離を測定するモードに切り替える。より具体的には、最短距離取得指示部324を用いて、最短距離取得部312に対して、最短距離の取得を指示する。最短距離取得部312は、その指示を受け付けると、モード切替部313に対して、最短距離を測定するモードに切り替えるよう指示する。モード切替部313は、これに応じて、当該モードに切り替える。最短距離を特定するモードに切り替わると、部品データを可動部に応じて動作させるごとに、後述するステップS803乃至ステップS812の各処理を実行するようになる。   First, in step S801, the CPU 201 of the information processing apparatus 101 switches the three-dimensional CAD application 310 to a mode for measuring the shortest distance. More specifically, the shortest distance acquisition instruction unit 324 is used to instruct the shortest distance acquisition unit 312 to acquire the shortest distance. When receiving the instruction, the shortest distance acquisition unit 312 instructs the mode switching unit 313 to switch to the mode for measuring the shortest distance. In response to this, the mode switching unit 313 switches to the mode. When the mode is switched to the mode for specifying the shortest distance, each process of step S803 to step S812 to be described later is executed every time the component data is operated according to the movable part.

ステップS802では、情報処理装置101のCPU201は、入力デバイス209を通じてユーザから可動部を備える測定対象の部品データをドラッグされたか否かを判定する。つまり、ユーザから動作指示があったか否かを判定する。動作指示があったと判定した場合には、ステップS803に処理を進め、そうでない場合には、ステップS813に処理を進める。   In step S <b> 802, the CPU 201 of the information processing apparatus 101 determines whether or not the user has dragged the measurement target component data including the movable unit through the input device 209. That is, it is determined whether or not there is an operation instruction from the user. If it is determined that an operation instruction has been issued, the process proceeds to step S803. If not, the process proceeds to step S813.

ステップS803では、情報処理装置101のCPU201は、3次元モデル制御部311を用いて、3次元CADアプリケーション310で表示された、可動部を備える部品データ(第1の部品データ)のドラッグ操作を受け付けると、ドラッグ操作に応じた可動域で当該部品データを動作させる。つまり、部品データの可動域のうちユーザからドラッグ操作がなされた範囲で動作させる。   In step S <b> 803, the CPU 201 of the information processing apparatus 101 uses the three-dimensional model control unit 311 to accept a drag operation on the component data (first component data) including the movable unit displayed on the three-dimensional CAD application 310. Then, the component data is operated in a movable range corresponding to the drag operation. That is, the operation is performed in a range in which the drag operation is performed by the user within the movable range of the component data.

ステップS804では、情報処理装置101のCPU201は、距離測定部314を用いて、一定の測定間隔で測定対象の部品データ間の最短距離を測定する(測定制御手段)。本実施形態においては、可動部を備える第1の部品データ601をステップS803で動作させ、当該第1の部品データ601と、当該第1の部品データ601とは異なる第2の部品データ602との最短距離を測定する。測定した最短距離は、最短距離取得部312に渡され、最短距離取得部312から最短距離取得指示部324に渡される。   In step S804, the CPU 201 of the information processing apparatus 101 uses the distance measurement unit 314 to measure the shortest distance between the measurement target component data at a fixed measurement interval (measurement control unit). In the present embodiment, the first component data 601 including the movable part is operated in step S803, and the first component data 601 and the second component data 602 different from the first component data 601 are obtained. Measure the shortest distance. The measured shortest distance is transferred to the shortest distance acquisition unit 312 and is transferred from the shortest distance acquisition unit 312 to the shortest distance acquisition instruction unit 324.

ステップS805では、情報処理装置101のCPU201は、最短距離取得指示部324を用いて、ステップS804で取得した最短距離を最短距離測定テーブル720に格納する。より具体的には、最短距離測定テーブル720に新しくレコードを作成し、測定ID721に新しく一意な識別情報を発行する。そして、当該レコードの最短距離722にステップS804で取得した最短距離を格納し、X座標a723、X座標b724、Y座標a725、Y座標b726、Z座標a727、Z座標b728には、ステップS804で測定した最短距離を示す直線の始点と終点を示す座標値をそれぞれ格納する。このようにして、動作したある位置における最短距離を記録する。   In step S <b> 805, the CPU 201 of the information processing apparatus 101 stores the shortest distance acquired in step S <b> 804 in the shortest distance measurement table 720 using the shortest distance acquisition instruction unit 324. More specifically, a new record is created in the shortest distance measurement table 720, and new unique identification information is issued to the measurement ID 721. The shortest distance acquired in step S804 is stored in the shortest distance 722 of the record, and the X coordinate a723, X coordinate b724, Y coordinate a725, Y coordinate b726, Z coordinate a727, and Z coordinate b728 are measured in step S804. The coordinate values indicating the start point and end point of the straight line indicating the shortest distance are stored. In this way, the shortest distance at a certain operated position is recorded.

ステップS806では、情報処理装置101のCPU201は、画面表示制御部321を用いて、ステップS805で更新した最短距離測定テーブル720の各情報を最短距離測定画面500に備える測定点一覧507に表示する(一覧表示手段)。例えば、図9の最短距離測定画面500の測定点一覧507に示すように、最短距離とその最短距離が示す座標値とを表示する。   In step S806, the CPU 201 of the information processing apparatus 101 uses the screen display control unit 321 to display each piece of information in the shortest distance measurement table 720 updated in step S805 on the measurement point list 507 provided in the shortest distance measurement screen 500 ( List display means). For example, as shown in the measurement point list 507 of the shortest distance measurement screen 500 in FIG. 9, the shortest distance and the coordinate value indicated by the shortest distance are displayed.

ステップS807では、情報処理装置101のCPU201は、動作状態取得部315を用いて、ステップS804で最短距離を測定した時点での、可動部を備える測定対象の部品データの動作状態を取得する。最短距離取得部312は、最短距離取得指示部324からの指示に応じて、最短距離を測定した時点での第1の部品データ601の動作状態の取得を動作状態取得部315に指示する。動作状態取得部315は、第1の部品データ601の動作状態を取得し、最短距離取得部312に返し、最短距離取得部312が最短距離取得指示部324に結果として返す。   In step S807, the CPU 201 of the information processing apparatus 101 uses the operation state acquisition unit 315 to acquire the operation state of the component data to be measured including the movable unit when the shortest distance is measured in step S804. In response to an instruction from the shortest distance acquisition instruction unit 324, the shortest distance acquisition unit 312 instructs the operation state acquisition unit 315 to acquire the operation state of the first component data 601 when the shortest distance is measured. The operation state acquisition unit 315 acquires the operation state of the first component data 601 and returns it to the shortest distance acquisition unit 312, and the shortest distance acquisition unit 312 returns the result to the shortest distance acquisition instruction unit 324 as a result.

ステップS808では、情報処理装置101のCPU201は、最短距離取得指示部324を用いて、ステップS807で取得した動作状態に関する情報を図7に示すような動作状態履歴テーブル710に格納する。   In step S808, the CPU 201 of the information processing apparatus 101 uses the shortest distance acquisition instruction unit 324 to store information regarding the operation state acquired in step S807 in the operation state history table 710 as illustrated in FIG.

動作状態履歴テーブル710は、情報処理装置101の記憶部301で記憶されるテーブルである。動作状態履歴テーブル710は、測定ID711、測定対象部品名712、原点座標値713、X軸ベクトル714、Y軸ベクトル715、Z軸ベクトル716から構成される。測定ID711は、最短距離測定テーブル720の測定ID721と対応する識別情報である。ステップS805で発行された測定ID721と同じ情報を測定ID721に格納する。つまり、測定した最短距離ごとに動作状態が格納されることになる。測定対象部品名712は、可動部を備える測定対象の部品データの名称を示す。つまり、測定対象部品テーブル700の測定対象部品名a701または測定対象部品名b702のうち、可動部を備える部品データの部品名が格納される。原点座標値713は、測定対象部品名712が示す部品データに設定された原点の座標値が格納される。アクティブドキュメントであるアセンブリデータの原点の座標値ではなく、部品データごとに設定された原点の座標値である。また、X軸ベクトル714、Y軸ベクトル715、Z軸ベクトル716は、測定対象部品名712が示す部品データの向きや角度を格納する。このようにして、ステップS804で最短距離を測定した時点での、可動部を備える測定対象の部品データの動作状態を動作状態履歴テーブル710に格納しておく。   The operation state history table 710 is a table stored in the storage unit 301 of the information processing apparatus 101. The operation state history table 710 includes a measurement ID 711, a measurement target component name 712, an origin coordinate value 713, an X-axis vector 714, a Y-axis vector 715, and a Z-axis vector 716. The measurement ID 711 is identification information corresponding to the measurement ID 721 of the shortest distance measurement table 720. The same information as the measurement ID 721 issued in step S805 is stored in the measurement ID 721. That is, the operation state is stored for each measured shortest distance. The measurement target component name 712 indicates the name of the measurement target component data including the movable part. That is, the component name of the component data including the movable part is stored in the measurement target component name a 701 or the measurement target component name b 702 in the measurement target component table 700. The origin coordinate value 713 stores the coordinate value of the origin set in the part data indicated by the part name 712 to be measured. It is not the coordinate value of the origin of the assembly data that is the active document, but the coordinate value of the origin set for each part data. Further, the X-axis vector 714, the Y-axis vector 715, and the Z-axis vector 716 store the direction and angle of the component data indicated by the measurement target component name 712. In this manner, the operation state of the component data to be measured including the movable portion at the time when the shortest distance is measured in step S804 is stored in the operation state history table 710.

ステップS809では、情報処理装置101のCPU201は、最短距離識別表示指示部326を用いて、ステップS804で測定した最短距離を3次元空間上で識別表示するよう、最短距離識別表示制御部316に指示を出す(表示制御手段)。最短距離識別表示制御部316はその指示を受け付けると、第1の部品データと、第2の部品データとの間において最短距離を識別表示する。例えば、図9の処理イメージ910に示すように、第1の部品データ601の可動部を動作させることで、最短距離が測定され、その最短距離を示す直線の矢印911のように識別表示する。尚、矢印911は、第2の部品データ602の裏側を指している。   In step S809, the CPU 201 of the information processing apparatus 101 instructs the shortest distance identification display control unit 316 to identify and display the shortest distance measured in step S804 in the three-dimensional space using the shortest distance identification display instruction unit 326. (Display control means). When receiving the instruction, the shortest distance identification display control unit 316 identifies and displays the shortest distance between the first component data and the second component data. For example, as shown in the processing image 910 of FIG. 9, the shortest distance is measured by operating the movable part of the first component data 601 and is identified and displayed as a straight arrow 911 indicating the shortest distance. An arrow 911 indicates the back side of the second component data 602.

ステップS810では、情報処理装置101のCPU201は、最接近距離判定部325を用いて、ステップS804で測定し、ステップS805で最短距離測定テーブル720に格納された最短距離が、最接近距離であるか否かを判定する(最接近距離特定手段)。より具体的には、図7に示すような最接近距離テーブル730の最接近距離732と、ステップS805で新たに格納した最短距離722とを比較し、最短距離722の方が、値が小さい場合には、ステップS811に処理を進める。そうでない場合には、ステップS812に処理を進める。尚、初めて最短距離を取得した場合には、最接近距離732には何も格納されていないので、ステップS811に処理を進める。このようにすることで、ドラッグ操作を受け付ける度に、測定された最短距離が、現時点までで測定した最短距離のうち、測定対象の部品データが最も接近する距離(最接近距離)であるか否かを特定することができる。   In step S810, the CPU 201 of the information processing apparatus 101 uses the closest distance determination unit 325 to measure in step S804, and whether the shortest distance stored in the shortest distance measurement table 720 in step S805 is the closest distance. It is determined whether or not (closest approach distance specifying means). More specifically, the closest distance 732 in the closest distance table 730 as shown in FIG. 7 is compared with the shortest distance 722 newly stored in step S805, and the shortest distance 722 has a smaller value. In step S811, the process proceeds to step S811. Otherwise, the process proceeds to step S812. When the shortest distance is acquired for the first time, nothing is stored in the closest approach distance 732, so the process proceeds to step S811. In this way, every time a drag operation is accepted, the measured shortest distance is the closest distance (the closest approach distance) to the measurement target part data among the shortest distances measured so far. Can be identified.

最接近距離テーブル730は、情報処理装置101の記憶部301で記憶されるテーブルである。最接近距離テーブル730は、測定ID731と最接近距離732から構成される。測定ID731は、測定ID721に対応する識別情報である。最接近距離732は、測定ID731に対応する測定ID721の最短距離722を示す。   The closest approach table 730 is a table stored in the storage unit 301 of the information processing apparatus 101. The closest approach distance table 730 includes a measurement ID 731 and a closest approach distance 732. The measurement ID 731 is identification information corresponding to the measurement ID 721. The closest approach distance 732 indicates the shortest distance 722 of the measurement ID 721 corresponding to the measurement ID 731.

ステップS811では、情報処理装置101のCPU201は、ステップS810で最接近距離であると判定されたので、ステップS804で測定された最短距離を最接近距離として記録する。合わせて、最短距離測定画面500の最接近距離欄506に記録する最接近距離を表示する。より具体的には、ステップS805で格納された測定ID721を測定ID731に格納し、同じくステップS805で格納された最短距離722を最接近距離732に格納する。いずれも、すでに値が格納されている場合には上書きする。ただし、最短距離722が最接近距離732と同じ値を示すのであれば、新たにレコードを追加する。このように、測定の都度、今測定した最短距離が最接近距離か否かを判定し、最接近距離である場合には上書き保存していくことで、最接近距離を特定することができる。すなわち、所定の間隔で最短距離が測定されるため、測定漏れのないよう、ユーザが動作させたい可動域をできる限り満たすように部品データを動作させることが望ましい。そうすることで、最接近距離の特定漏れを防止できる。また、同じ距離を持つ最接近距離が複数ある場合でも、記録しておくことができる。   In step S811, the CPU 201 of the information processing apparatus 101 determines that it is the closest approach distance in step S810, and therefore records the shortest distance measured in step S804 as the closest approach distance. In addition, the closest approach distance recorded in the closest approach distance column 506 of the shortest distance measurement screen 500 is displayed. More specifically, the measurement ID 721 stored in step S 805 is stored in the measurement ID 731, and the shortest distance 722 stored in step S 805 is stored in the closest approach distance 732. In either case, if a value has already been stored, it is overwritten. However, if the shortest distance 722 shows the same value as the closest distance 732, a new record is added. Thus, at each measurement, it is determined whether or not the shortest distance that has just been measured is the closest distance, and if it is the closest distance, the closest distance can be specified by overwriting and saving. That is, since the shortest distance is measured at a predetermined interval, it is desirable to operate the component data so as to satisfy as much as possible the range of motion that the user wants to operate so that there is no measurement omission. By doing so, it is possible to prevent specific leakage of the closest approach distance. Moreover, even when there are a plurality of closest approach distances having the same distance, it can be recorded.

ステップS812では、情報処理装置101のCPU201は、可動部を備える測定対象の部品データに対するユーザからのドラッグ操作が継続しているか否かを判定する。継続していると判定した場合には、ステップS803に処理を戻す。継続していないと判定した場合には、ステップS813に処理を進める。つまり、ドラッグ操作が継続されている間は、ステップS803乃至ステップS812の各処理を継続することになる。すなわち、可動部を備える測定対象の部品データを動作させている間、ステップS804で最短距離を測定し続け、測定した最短距離が測定点一覧507に随時追加で表示され、ステップS810で最接近距離であるか否かが判定され、それまでに記録した最接近距離よりも小さい距離であるなら、測定した最短距離を最接近距離として新たに記録する。   In step S812, the CPU 201 of the information processing apparatus 101 determines whether or not the drag operation from the user on the measurement target component data including the movable unit is continued. If it is determined that the process continues, the process returns to step S803. If it is determined not to continue, the process proceeds to step S813. That is, while the drag operation is continued, each process of step S803 to step S812 is continued. That is, while operating the part data to be measured including the movable part, the shortest distance is continuously measured in step S804, and the measured shortest distance is additionally displayed as needed in the measurement point list 507, and the closest distance is displayed in step S810. If the distance is smaller than the closest approach distance recorded so far, the measured shortest distance is newly recorded as the closest approach distance.

ステップS813では、情報処理装置101のCPU201は、入力受付部322を用いて、最短距離測定画面500に備えられたプレビューボタン504が押下されたか否かを判定する。プレビューボタン504は、最接近距離として記録された最短距離を測定した際の動作状態を再現するためのボタンである。プレビューボタン504が押下されたと判定した場合には、ステップS814に処理を進める。プレビューボタン504が押下されていないと判定した場合には、ステップS818に処理を進める。   In step S813, the CPU 201 of the information processing apparatus 101 determines whether the preview button 504 provided on the shortest distance measurement screen 500 has been pressed using the input receiving unit 322. The preview button 504 is a button for reproducing the operation state when the shortest distance recorded as the closest approach distance is measured. If it is determined that the preview button 504 has been pressed, the process proceeds to step S814. If it is determined that the preview button 504 has not been pressed, the process proceeds to step S818.

ステップS814では、情報処理装置101のCPU201は、画面表示制御部321を用いて、最接近距離テーブル730に格納された最接近距離を測定点一覧507で識別表示する。測定点一覧507に表示されている最短距離は、最短距離測定テーブル720に格納された情報が一覧表示されている。つまり、最接近距離テーブル730の測定ID731と同じ測定ID721を持つレコードを特定し、このレコードに対応する行を測定点一覧507で識別表示する。図9に示す最短距離測定画面500では、最接近距離欄506では、「149.172」と表示されている。つまり、これが最接近距離である。この最接近距離に対応するレコードは、901に示すレコードであるので、これを識別表示する。901に示すように背景を反転させてもよいし、文字色を変えてもよい。識別表示の方法は特に問わない。   In step S <b> 814, the CPU 201 of the information processing apparatus 101 uses the screen display control unit 321 to identify and display the closest approach distance stored in the closest approach distance table 730 in the measurement point list 507. The shortest distance displayed in the measurement point list 507 is a list of information stored in the shortest distance measurement table 720. That is, a record having the same measurement ID 721 as the measurement ID 731 of the closest approach distance table 730 is specified, and the row corresponding to this record is identified and displayed in the measurement point list 507. In the shortest distance measurement screen 500 shown in FIG. 9, “149.172” is displayed in the closest distance column 506. That is, this is the closest approach distance. Since the record corresponding to this closest approach distance is the record indicated by 901, this is identified and displayed. The background may be reversed as shown in 901, or the character color may be changed. The identification display method is not particularly limited.

ステップS815では、情報処理装置101のCPU201は、最接近距離を測定した時の動作状態を再現する(再現手段)。より具体的には、最接近状態再現指示部327が、最接近距離テーブル730の測定ID731と一致する測定ID711を特定し、当該測定ID711を持つレコードに格納された情報を用いて、動作状態を再現するよう、最接近状態再現制御部317に指示を出す。最接近状態再現制御部317はこれを受け取り、原点座標値713、X軸ベクトル714、Y軸ベクトル715、Z軸ベクトル716に基づいて、測定対象部品名712に示す部品データを動作させ、最接近距離を測定した時の配置位置や向きを再現する。また、この動作状態における最短距離を矢印911のように識別表示する。このようにすることで、最接近距離を測定した時の状態を再現できるので、値だけではわからない状況をユーザに理解させることができる。尚、本実施形態では、最接近距離の動作状態だけを再現しているが、最短距離ごとに動作状態を動作状態履歴テーブル710に記録しているので、各最短距離の動作状態を再現するようにしてもよい。この場合、測定点一覧507においてユーザに選択された最短距離を再現する仕組みが考えられる。選択された最短距離の測定ID721と一致する測定ID711を持つレコードを動作状態履歴テーブル710から特定し、前述した通り再現すればよい。   In step S815, the CPU 201 of the information processing apparatus 101 reproduces the operation state when the closest approach distance is measured (reproduction unit). More specifically, the closest approach state reproduction instruction unit 327 specifies the measurement ID 711 that matches the measurement ID 731 of the closest approach distance table 730, and uses the information stored in the record having the measurement ID 711 to determine the operation state. An instruction is issued to the closest state reproduction control unit 317 so as to reproduce. The closest approach state reproduction control unit 317 receives this and operates the part data indicated by the part name 712 to be measured based on the origin coordinate value 713, the X-axis vector 714, the Y-axis vector 715, and the Z-axis vector 716, and the closest approach Reproduce the placement position and orientation when measuring the distance. Further, the shortest distance in this operation state is identified and displayed as shown by an arrow 911. By doing in this way, since the state when the closest approach distance is measured can be reproduced, it is possible to make the user understand the situation that cannot be understood only by the value. In this embodiment, only the operation state at the closest distance is reproduced. However, since the operation state is recorded in the operation state history table 710 for each shortest distance, the operation state at each shortest distance is reproduced. It may be. In this case, a mechanism for reproducing the shortest distance selected by the user in the measurement point list 507 can be considered. A record having a measurement ID 711 that matches the measurement ID 721 of the selected shortest distance may be identified from the operation state history table 710 and reproduced as described above.

ステップS816では、情報処理装置101のCPU201は、最接近距離が複数あるか否かを判定する。ステップS811で前述した通り、測定した最短距離と最接近距離が同じの場合、新たに最接近距離テーブル730にレコードを作成して、記録している。つまり、同じ距離を持つ最接近距離が複数存在する可能性がある。この場合には、その複数の動作状態をそれぞれユーザに提示する必要があるので、このような判定を行っている。より具体的には、最接近距離テーブル730に複数のレコードがある場合に、最接近距離が複数あると判定する。最接近距離が複数あると判定した場合には、ステップS817に処理を進め、最接近距離が複数ないと判定した場合には、ステップS818に処理を進める。   In step S816, the CPU 201 of the information processing apparatus 101 determines whether there are a plurality of closest approach distances. As described above in step S811, if the measured shortest distance and the closest approach distance are the same, a record is newly created and recorded in the closest approach distance table 730. That is, there may be a plurality of closest approach distances having the same distance. In this case, since it is necessary to present the plurality of operating states to the user, such a determination is made. More specifically, when there are a plurality of records in the closest distance table 730, it is determined that there are a plurality of closest distances. If it is determined that there are a plurality of closest approach distances, the process proceeds to step S817. If it is determined that there are not a plurality of closest approach distances, the process proceeds to step S818.

ステップS817では、情報処理装置101のCPU201は、入力受付部322を用いて、最短距離測定画面500に備える次へボタン505が押下されたか否かを判定する。次へボタン505が押下されたと判定した場合には、ステップS815に処理を戻し、まだ再現していない最接近距離の動作状態を再現する。このように、次へボタン505を押下する度に、別の最接近距離の動作状態を再現することができる。次へボタン505が押下されたと判定しなかった場合には、ステップS818に処理を進める。図9の処理イメージ920では、処理イメージ910で再現された最接近距離とは異なる最接近距離を測定した際の動作状態を再現している。次へボタン505が押下されると、第1の部品データ601を動作させ、処理イメージ920に示すような状態で表示する。   In step S817, the CPU 201 of the information processing apparatus 101 uses the input receiving unit 322 to determine whether or not the next button 505 provided on the shortest distance measurement screen 500 has been pressed. If it is determined that the next button 505 has been pressed, the process returns to step S815 to reproduce the operation state at the closest distance that has not yet been reproduced. In this way, each time the next button 505 is pressed, the operation state of another closest approach distance can be reproduced. If it is not determined that the next button 505 has been pressed, the process proceeds to step S818. In the processing image 920 of FIG. 9, the operation state when the closest distance different from the closest distance reproduced in the processing image 910 is measured is reproduced. When the next button 505 is pressed, the first component data 601 is operated and displayed in a state as shown in the processing image 920.

ステップS818では、情報処理装置101のCPU201は、入力受付部322を用いて、最短距離測定画面500に備える「測定終了」を示す制御ボタン503の押下がなされたか否かを判定する。制御ボタン503が押下されたと判定した場合には、制御ボタン503のキャプションを「測定終了」から「測定開始」に変え、ステップS819に処理を進める。制御ボタン503が押下されたと判定しなかった場合には、ステップS802に処理を戻す。   In step S <b> 818, the CPU 201 of the information processing apparatus 101 determines whether or not the control button 503 indicating “end of measurement” included in the shortest distance measurement screen 500 has been pressed using the input receiving unit 322. If it is determined that the control button 503 has been pressed, the caption of the control button 503 is changed from “measurement end” to “measurement start”, and the process proceeds to step S819. If it is not determined that the control button 503 has been pressed, the process returns to step S802.

ステップS809では、情報処理装置101のCPU201は、ステップS801で切り替えられたモードを元の通常のモードに戻す。より具体的には、最短距離取得指示部324から最短距離取得部312に対して、最短距離の取得を終了するよう指示を出す。最短距離取得部312は、これを受け取り、モード切替部313に対して、通常のモードに戻るよう指示を出すと、モード切替部313が最短距離を測定するモードから、通常のモードに切り替える。通常のモードは、前述した通り、可動部を備える部品データをドラッグしても、最短距離を測定しないモードである。この通常のモードに切り替えたら、最短距離測定処理を終了し、前述したステップS408に処理を進める。   In step S809, the CPU 201 of the information processing apparatus 101 returns the mode switched in step S801 to the original normal mode. More specifically, the shortest distance acquisition instruction unit 324 instructs the shortest distance acquisition unit 312 to end acquisition of the shortest distance. When the shortest distance acquisition unit 312 receives this and instructs the mode switching unit 313 to return to the normal mode, the mode switching unit 313 switches from the mode in which the shortest distance is measured to the normal mode. As described above, the normal mode is a mode in which the shortest distance is not measured even when the component data including the movable part is dragged. After switching to this normal mode, the shortest distance measurement process is terminated, and the process proceeds to step S408 described above.

以上説明したように、本実施形態によれば、可動部を有する部品データの可動域のうちユーザからの指示に応じた可動域で動作する当該部品データと、当該部品データとは異なる部品データとが最接近する距離を容易に特定できるので、作業者の経験や勘に頼ることなく、かつ作業者の手間を軽減することの可能な効果を奏する。   As described above, according to the present embodiment, the component data that operates in the movable range corresponding to the instruction from the user among the movable range of the component data having the movable part, Since the closest distance can be easily identified, there is an effect that can reduce the labor of the worker without depending on the experience and intuition of the worker.

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

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

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

その場合、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等の形態であってもよい。   In that case, as long as it has the function of a program, it may be in the form of object code, a program executed by an interpreter, script data supplied to the OS, and the like.

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

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

また、本発明のプログラムを構成するプログラムコードを複数のファイルに分割し、それぞれのファイルを異なるホームページからダウンロードすることによっても実現可能である。つまり、本発明の機能処理をコンピュータで実現するためのプログラムファイルを複数のユーザに対してダウンロードさせるWWWサーバも、本発明に含まれるものである。   It can also 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. That is, a WWW server that allows a plurality of users to download a program file for realizing the functional processing of the present invention on a computer is also included in the present invention.

また、本発明のプログラムを暗号化して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 key information for decryption is downloaded from a homepage via the Internet to users who have cleared predetermined conditions. Let It is also possible to execute the encrypted program by using the downloaded key information and install the program on a computer.

また、コンピュータが、読み出したプログラムを実行することによって、前述した実施形態の機能が実現される。その他、そのプログラムの指示に基づき、コンピュータ上で稼動しているOSなどが、実際の処理の一部又は全部を行い、その処理によっても前述した実施形態の機能が実現され得る。   Further, the functions of the above-described embodiments are realized by the computer executing the read program. In addition, based on the instructions of the program, an OS or the like running on the computer performs part or all of the actual processing, 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 in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Thereafter, the CPU of the function expansion board or function expansion unit performs part or all of the actual processing based on the instructions of the program, and the functions of the above-described embodiments are realized by the processing.

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

100 3次元CADシステム
101 情報処理装置
102 サーバ
103 ネットワーク
201 CPU
202 RAM
203 ROM
204 システムバス
205 入力コントローラ
206 ビデオコントローラ
207 メモリコントローラ
208 通信I/F(インターフェース)コントローラ
209 入力装置
210 ディスプレイ装置
211 外部メモリ
100 three-dimensional CAD system 101 information processing apparatus 102 server 103 network 201 CPU
202 RAM
203 ROM
204 System Bus 205 Input Controller 206 Video Controller 207 Memory Controller 208 Communication I / F (Interface) Controller 209 Input Device 210 Display Device 211 External Memory

Claims (7)

コンピュータを、Computer
第1の部品データと、当該第1の部品データとは異なる第2の部品データとの最短距離を計測する計測手段と、Measuring means for measuring the shortest distance between the first component data and the second component data different from the first component data;
前記計測手段で計測された複数の最短距離と、当該最短距離における前記第1の部品データの位置姿勢と前記第2の部品データの位置姿勢とを記憶するよう制御する記憶制御手段と、Storage control means for controlling to store a plurality of shortest distances measured by the measuring means, and the position and orientation of the first component data and the position and orientation of the second component data at the shortest distance;
前記記憶制御手段で記憶された複数の前記最短距離のうち、ユーザに指定された最短距離における前記第1の部品データの位置姿勢と前記第2の部品データの位置姿勢とに基づいて、前記第1の部品データと前記第2の部品データとを表示するよう制御する表示制御手段Based on the position and orientation of the first component data and the position and orientation of the second component data at the shortest distance designated by the user among the plurality of the shortest distances stored by the storage control means. Display control means for controlling to display one part data and the second part data
として機能させるためのプログラム。Program to function as.
前記計測手段で計測された前記最短距離の一覧を表示する一覧表示手段として機能させ、Function as a list display means for displaying a list of the shortest distances measured by the measuring means;
前記表示制御手段は、前記一覧表示手段で表示された前記一覧より指定された最短距離における前記第1の部品データの位置姿勢と前記第2の部品データの位置姿勢とに基づいて、前記第1の部品データと前記第2の部品データとを表示するよう制御することを特徴とする請求項1に記載のプログラム。The display control means is based on the position and orientation of the first component data and the position and orientation of the second component data at the shortest distance specified from the list displayed by the list display means. 2. The program according to claim 1, wherein the program is controlled to display the part data and the second part data.
前記一覧表示手段で表示される前記最短距離の一覧のうち、最も値の小さい最短距離を特定する特定手段として機能させ、Among the list of shortest distances displayed by the list display means, function as a specifying means for specifying the shortest distance with the smallest value,
前記一覧表示手段は、前記特定手段で特定された前記最も値の小さい最短距離を前記一覧で識別可能に表示することを特徴とする請求項2に記載のプログラム。The program according to claim 2, wherein the list display unit displays the shortest distance having the smallest value specified by the specifying unit so that the list can be identified.
前記特定手段で特定された前記最も値の小さい最短距離が複数存在する場合に、その複数存在するそれぞれの前記最も小さい最短距離における前記第1の部品データの位置姿勢と前記第2の部品データの位置姿勢とに基づいて、前記第1の部品データと前記第2の部品データとを切り替えて表示する指示を受け付ける指示受付手段として機能させ、When there are a plurality of the shortest distances with the smallest value specified by the specifying means, the position and orientation of the first component data and the second component data at the smallest shortest distances of the plurality of the shortest distances. Based on the position and orientation, function as an instruction receiving means for receiving an instruction to switch and display the first component data and the second component data;
前記表示制御手段は、前記指示受付手段で受け付けた指示に応じて、複数の最も値の小さい最短距離における前記第1の部品データの位置姿勢と前記第2の部品データの位置姿勢で前記第1の部品データと前記第2の部品データとを、切り替えて表示することを特徴とする請求項3に記載のプログラム。In accordance with the instruction received by the instruction receiving means, the display control means is configured to change the first component data position and orientation of the first component data and the position and orientation of the second component data at a plurality of shortest distances. The program according to claim 3, wherein the part data and the second part data are switched and displayed.
前記表示制御手段は、前記第1の部品データと前記第2の部品データとが表示される三次元空間上で前記最短距離を示すオブジェクトを表示するよう制御することを特徴とする請求項1乃至4のいずれか1項に記載のプログラム。The display control means controls to display an object indicating the shortest distance in a three-dimensional space in which the first component data and the second component data are displayed. 5. The program according to any one of 4 above. 第1の部品データと、当該第1の部品データとは異なる第2の部品データとの最短距離を計測する計測手段と、Measuring means for measuring the shortest distance between the first component data and the second component data different from the first component data;
前記計測手段で計測された複数の最短距離と、当該最短距離における前記第1の部品データの位置姿勢と前記第2の部品データの位置姿勢とを記憶するよう制御する記憶制御手段と、Storage control means for controlling to store a plurality of shortest distances measured by the measuring means, and the position and orientation of the first component data and the position and orientation of the second component data at the shortest distance;
前記記憶制御手段で記憶された複数の前記最短距離のうち、ユーザに指定された最短距離における前記第1の部品データの位置姿勢と前記第2の部品データの位置姿勢とに基づいて、前記第1の部品データと前記第2の部品データとを表示するよう制御する表示制御手段とBased on the position and orientation of the first component data and the position and orientation of the second component data at the shortest distance designated by the user among the plurality of the shortest distances stored by the storage control means. Display control means for controlling to display one part data and the second part data;
を備えることを特徴とする情報処理装置。An information processing apparatus comprising:
第1の部品データと、当該第1の部品データとは異なる第2の部品データとの最短距離を計測する計測手段と、Measuring means for measuring the shortest distance between the first component data and the second component data different from the first component data;
前記計測手段で計測された複数の最短距離と、当該最短距離における前記第1の部品データの位置姿勢と前記第2の部品データの位置姿勢とを記憶するよう制御する記憶制御手段と、Storage control means for controlling to store a plurality of shortest distances measured by the measuring means, and the position and orientation of the first component data and the position and orientation of the second component data at the shortest distance;
前記記憶制御手段で記憶された複数の前記最短距離のうち、ユーザに指定された最短距離における前記第1の部品データの位置姿勢と前記第2の部品データの位置姿勢とに基づいて、前記第1の部品データと前記第2の部品データとを表示するよう制御する表示制御手段とBased on the position and orientation of the first component data and the position and orientation of the second component data at the shortest distance designated by the user among the plurality of the shortest distances stored by the storage control means. Display control means for controlling to display one part data and the second part data;
を含むことを特徴とする情報処理装置の制御方法。A method for controlling an information processing apparatus, comprising:
JP2018041072A 2013-09-30 2018-03-07 Information processing apparatus, control method thereof, and program Active JP6493585B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2013205107 2013-09-30
JP2013205107 2013-09-30

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2016201632A Division JP6304339B2 (en) 2013-09-30 2016-10-13 Information processing apparatus, control method thereof, and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2019041079A Division JP6836083B2 (en) 2013-09-30 2019-03-07 Information processing device, its control method, and program

Publications (2)

Publication Number Publication Date
JP2018113057A JP2018113057A (en) 2018-07-19
JP6493585B2 true JP6493585B2 (en) 2019-04-03

Family

ID=53195465

Family Applications (4)

Application Number Title Priority Date Filing Date
JP2014193221A Active JP6024723B2 (en) 2013-09-30 2014-09-24 Information processing apparatus, control method thereof, and program
JP2016201632A Active JP6304339B2 (en) 2013-09-30 2016-10-13 Information processing apparatus, control method thereof, and program
JP2018041072A Active JP6493585B2 (en) 2013-09-30 2018-03-07 Information processing apparatus, control method thereof, and program
JP2019041079A Active JP6836083B2 (en) 2013-09-30 2019-03-07 Information processing device, its control method, and program

Family Applications Before (2)

Application Number Title Priority Date Filing Date
JP2014193221A Active JP6024723B2 (en) 2013-09-30 2014-09-24 Information processing apparatus, control method thereof, and program
JP2016201632A Active JP6304339B2 (en) 2013-09-30 2016-10-13 Information processing apparatus, control method thereof, and program

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2019041079A Active JP6836083B2 (en) 2013-09-30 2019-03-07 Information processing device, its control method, and program

Country Status (1)

Country Link
JP (4) JP6024723B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6465172B2 (en) * 2016-07-29 2019-02-06 キヤノンマーケティングジャパン株式会社 Information processing apparatus, information processing system, control method thereof, and program
JP7284654B2 (en) * 2019-07-29 2023-05-31 株式会社日立製作所 Design support system, design support method and design support program

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0954791A (en) * 1995-08-14 1997-02-25 Toshiba Corp Interference check device
JP3602518B2 (en) * 1995-11-07 2004-12-15 富士通株式会社 Link mechanism joint data calculation device
JP3383563B2 (en) * 1997-12-18 2003-03-04 富士通株式会社 Object movement simulation device
JP2004258890A (en) * 2003-02-25 2004-09-16 Sharp Corp Gravitaty center analysis device and gravitaty center analysis program
JP2006172020A (en) * 2004-12-14 2006-06-29 Canon Inc Information processor and its control method, program, and storage medium
JP4960757B2 (en) * 2007-04-27 2012-06-27 キヤノン株式会社 Interference calculation apparatus and control method thereof
JP5445191B2 (en) * 2010-02-08 2014-03-19 株式会社デンソーウェーブ Robot trajectory display device

Also Published As

Publication number Publication date
JP2019109931A (en) 2019-07-04
JP2017004574A (en) 2017-01-05
JP6024723B2 (en) 2016-11-16
JP6304339B2 (en) 2018-04-04
JP6836083B2 (en) 2021-02-24
JP2018113057A (en) 2018-07-19
JP2015092332A (en) 2015-05-14

Similar Documents

Publication Publication Date Title
JP7095262B2 (en) Programming support device, robot system and program generation method
US7420556B2 (en) Information processing method and information processing apparatus
JP5920417B2 (en) Information processing apparatus, control method thereof, and program
JP6493585B2 (en) Information processing apparatus, control method thereof, and program
CN104903798A (en) Automated input simulation for simulated programmable logic controller
JP2017146839A (en) Component information retrieval device, component information retrieval method and program
JP5278927B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP5314959B2 (en) Information processing apparatus, control method therefor, computer program, and storage medium
JP2006172128A (en) Processing method and information processing device for program cooperation system
JP2019012435A (en) Information processor, information processing system, method for control, and program
JP6465172B2 (en) Information processing apparatus, information processing system, control method thereof, and program
JP5644452B2 (en) Information processing apparatus, control method thereof, and program
JP6646222B2 (en) Information processing apparatus, information processing system, control method thereof, and program
JP2016053798A (en) Information processing device, control method thereof, and program
JP2018200657A (en) Information processing apparatus, control method and program therefor, information processing system, and control method and program therefor
JP7219389B2 (en) Information processing device, its control method and program
WO2023031649A1 (en) A method and a system for enabling a user to review simulation data of an industrial environment
JP2022153748A (en) Information processing device, information processing system, control method therefor, and program
JP5084702B2 (en) Analysis data input device, CAE device, analysis data input method, and program
JP6908835B2 (en) Programs, information processing devices and their processing methods
JP2015069546A (en) Information processing apparatus, control method of the same, and program
JP6604140B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP5693668B2 (en) Information processing apparatus, control method therefor, computer program, and storage medium
JP5686152B2 (en) Switching operation using a pointing device
JP5686089B2 (en) Information processing apparatus, control method thereof, and program

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20180703

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

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190128

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190218

R151 Written notification of patent or utility model registration

Ref document number: 6493585

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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