JP6544407B2 - INFORMATION PROCESSING APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM - Google Patents

INFORMATION PROCESSING APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM Download PDF

Info

Publication number
JP6544407B2
JP6544407B2 JP2017199056A JP2017199056A JP6544407B2 JP 6544407 B2 JP6544407 B2 JP 6544407B2 JP 2017199056 A JP2017199056 A JP 2017199056A JP 2017199056 A JP2017199056 A JP 2017199056A JP 6544407 B2 JP6544407 B2 JP 6544407B2
Authority
JP
Japan
Prior art keywords
plane
information processing
dimensional
processing apparatus
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
JP2017199056A
Other languages
Japanese (ja)
Other versions
JP2018005954A5 (en
JP2018005954A (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 JP2018005954A publication Critical patent/JP2018005954A/en
Publication of JP2018005954A5 publication Critical patent/JP2018005954A5/ja
Application granted granted Critical
Publication of JP6544407B2 publication Critical patent/JP6544407B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、3次元CADシステムの3次元モデルを用いた2次元図面の作成に関し、特に2次元図面における奥行きの寸法の表示を支援する情報処理装置、その制御方法、及びプログラムに関する。   The present invention relates to creation of a two-dimensional drawing using a three-dimensional model of a three-dimensional CAD system, and more particularly to an information processing apparatus that supports display of depth dimensions in a two-dimensional drawing, a control method thereof, and a program.

従来、加工工程または部品検査工程ごとに専用の図面を作成し、その平面図(上面図)に注釈として高さ寸法(奥行方向の寸法)を記入している。これは、凹凸面が数多く存在する部品形状を作図する場合に、側面図や断面図への寸法の記入だけでは加工または部品検査時に図面から形状を推測しづらいためである。   Conventionally, a dedicated drawing is created for each processing step or part inspection step, and a height dimension (dimension in the depth direction) is entered as an annotation on the plan view (top view). This is because when drawing a part shape having many uneven surfaces, it is difficult to estimate the shape from the drawing at the time of processing or part inspection only by entering the dimensions in the side view or the sectional view.

奥行方向の寸法であり、平面図上ではCADの計測機能を使用しても寸法値を取得できないので、ユーザが平面図上に数値を直接入力することにより、平面図上に高さ寸法を注釈として表示させている。   This is a dimension in the depth direction, and the dimension value can not be acquired using the CAD measurement function on the plan view, so the user can annotate the height dimension on the plan view by directly inputting a numerical value on the plan view. It is displayed as.

また、3次元CADシステムを使用している場合、3次元モデル上の平面に色付けや寸法記入などを行うことで、ディスプレイに表示した3次元モデルにより、高さ寸法を確認することも可能である。しかし、未だに製造現場では紙図面の参照による加工または部品検査が一般的であるため、2次元図面で高さ寸法を確認できることが求められている。   In addition, when using a three-dimensional CAD system, it is also possible to confirm the height dimension by the three-dimensional model displayed on the display by coloring or dimensioning the plane on the three-dimensional model. . However, since processing or part inspection with reference to paper drawings is still common at a manufacturing site, it is required that height dimensions can be confirmed in two-dimensional drawings.

そこで例えば、下記の特許文献1には、3次元モデルを基に2次元図面を作成した際、投影図上に表示された面に対し、各面種別に従った注釈表記ルールに基づき、注釈を作成する技術が開示されている。   Therefore, for example, in Patent Document 1 below, when a two-dimensional drawing is created based on a three-dimensional model, an annotation is written on the surface displayed on the projection drawing based on the annotation rule according to each surface type. The technology to make is disclosed.

特開平9−73472号公報Japanese Patent Application Laid-Open No. 9-73472

しかしながら、設計者が2次元図面上に高さ寸法を表記する場合、高さ寸法の値を直接入力することにより一つずつ作成する必要があるため、2次元図面の作成に多くの時間が必要になってしまう問題がある。   However, when a designer describes height dimensions on a two-dimensional drawing, it needs to be created one by one by directly inputting the values of the height dimensions, so it takes a lot of time to create a two-dimensional drawing. There is a problem of becoming

更に、3次元モデルを一旦表示及び計測し、得られた寸法を数値の直接入力により2次元図面の投影図上に記入するので、元となる3次元モデルとは違う寸法を入力してしまう可能性がある。また、手動での入力作業になるため、高さ寸法の記入漏れが発生する可能性も高い。   Furthermore, since the 3D model is once displayed and measured, and the obtained dimensions are entered on the projection drawing of the 2D drawing by direct numerical input, it is possible to input a dimension different from the original 3D model. There is sex. In addition, since it is a manual input operation, there is a high possibility of omission of height dimensions.

また、前述した特許文献1に開示されている仕組みでは、3次元モデルの見える面に対応する2次元図面上の投影図に、あらかじめ装置に記憶された各種注釈を表記させている。更に、高さ寸法についても寸法基準から選択面までの高さがあらかじめ装置に記憶されているので、その高さ寸法も2次元図面上に表記させている。しかしながら、あらかじめ記憶された高さ寸法を表示するだけでは、様々な高さ寸法を表現するには不十分である。例えば、底面のようなきりのいい地点からではなく、底面より数センチ上から上面より数センチ下までの高さを表示したい場合には、特許文献1ではその高さをユーザが計測して、注釈データとして記憶しておかなくてはならない。結局、2次元図面で高さ寸法を表示する際には、ユーザが3次元モデルや2次元図面を見て、高さ寸法を計測する手間が発生してしまう問題がある。   Further, in the mechanism disclosed in Patent Document 1 described above, various annotations stored in the apparatus in advance are described on a projection view on a two-dimensional drawing corresponding to a viewable surface of the three-dimensional model. Furthermore, since the height from the dimension reference to the selected surface is also stored in the apparatus in advance for the height dimension, the height dimension is also indicated on the two-dimensional drawing. However, displaying the prestored height dimension is not sufficient to represent various height dimensions. For example, when it is desired to display a height from several centimeters above the bottom to several centimeters below the top surface, the user measures the height in Patent Document 1, not from a well-defined point such as the bottom surface, It must be stored as annotation data. As a result, when displaying the height dimension in the two-dimensional drawing, there is a problem that the user needs to view the three-dimensional model or the two-dimensional drawing and measure the height dimension.

また、2次元図面には平面図、正面図、側面図とあるため、ユーザが見やすい位置やユーザの望む位置に高さ寸法を表示するべきであるが、ユーザの操作に応じて適切な位置に高さ寸法を表示させることができなかった。   In addition, since the two-dimensional drawing has a plan view, a front view, and a side view, the height dimension should be displayed at a position easy for the user to view or at a position desired by the user. The height dimensions could not be displayed.

特に、製造現場では加工工程ごとに閲覧すべき平面が決まっている。よって、すべての寸法を表記する必要はなく、加工工程ごとに必要な寸法が表記されていることが望まれている。   In particular, in the manufacturing site, the plane to be viewed is determined for each processing step. Therefore, it is not necessary to indicate all the dimensions, and it is desirable that the necessary dimensions be described for each processing step.

本発明は上記の課題を鑑みてなされたものであって、3次元モデルに基づいて作成された2次元図面を構成する投影図で指定された要素に基づいて、奥行き方向の寸法を表示させることの可能な仕組みを提供することを目的とする。   The present invention has been made in view of the above problems, and is to display the dimension in the depth direction based on an element designated in a projection drawing that constitutes a two-dimensional drawing created based on a three-dimensional model. Aims to provide a possible mechanism of

上記の目的を達成するために、本発明の情報処理装置は、設計物の立体形状を示す3次元モデルから生成され、複数の投影図から構成される2次元図面と、当該2次元図面を生成した3次元モデルを構成する要素ごとの座標値とを記憶する記憶手段を備える情報処理装置であって、前記記憶手段に記憶された2次元図面を構成する任意の投影図において、奥行き方向の寸法を算出するための基準となる要素の指定を受け付ける第1の指定受付手段と、前記記憶手段に記憶された2次元図面を構成する任意の投影図において、奥行き方向の寸法を算出する要素の指定を受け付ける第2の指定受付手段と、前記第1の指定受付手段で指定を受け付けた要素と、前記第2の指定受付手段で指定を受け付けた要素とに基づいて、前記2次元図面を生成した3次元モデルにおいて、当該要素間の距離を算出するための処理を行う算出手段と、前記算出手段における処理に応じて算出された距離を、前記第2の指定受付手段で指定を受け付けた要素の奥行き方向の寸法として表示するための処理を行う表示手段とを備えることを特徴とする。   In order to achieve the above object, an information processing apparatus according to the present invention is generated from a three-dimensional model showing a three-dimensional shape of a design, and generates a two-dimensional drawing composed of a plurality of projection views and the two-dimensional drawing. An information processing apparatus comprising: storage means for storing coordinate values for each of the elements constituting the three-dimensional model, wherein the dimension in the depth direction in any projection drawing for constructing the two-dimensional drawing stored in the storage means Designation of the element for calculating the dimension in the depth direction in the first specification receiving means for receiving the specification of the element to be the basis for calculating the second dimension and any projection drawing constituting the two-dimensional drawing stored in the storage means The two-dimensional drawing is generated on the basis of the second specification receiving unit for receiving the second specification receiving unit, the element for which the specification is received by the first specification receiving unit, and the element for which the specification is received by the second specification receiving unit. In the three-dimensional model, the calculation means for performing processing for calculating the distance between the elements, and the element for which the second specification reception means receives the specification of the distance calculated according to the processing in the calculation means And display means for performing processing for displaying as the dimension in the depth direction of the image.

本発明によれば、投影図上で指定された2つの要素の距離を3次元モデルにおいて算出し、当該算出された距離を奥行き方向の寸法(高さ寸法)として投影図上に表記させることが可能となるので、ユーザの望む高さ寸法を算出し表示させることのできる効果を奏する。   According to the present invention, it is possible to calculate the distance between two elements designated on the projection in a three-dimensional model, and to express the calculated distance on the projection as a dimension in the depth direction (height dimension). Since this becomes possible, it is possible to calculate and display the height dimension desired by the user.

本発明の実施形態における3次元CADシステム100の一例を示す構成図である。It is a block diagram which shows an example of the three-dimensional CAD system 100 in embodiment of this invention. 図1に示す情報処理装置101及びサーバ102のハードウェア構成の一例を示す構成図である。FIG. 2 is a block diagram showing an example of the hardware configuration of an information processing apparatus 101 and a server 102 shown in FIG. 1; 図1に示す情報処理装置101及びサーバ102のモジュール構成の一例を示す構成図である。FIG. 2 is a block diagram showing an example of a module configuration of the information processing apparatus 101 and the server 102 shown in FIG. 1; 本発明の実施形態における一連の処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a series of processes in embodiment of this invention. ユーザによって作成された3次元モデルの一例を示す模式図である。It is a schematic diagram which shows an example of the three-dimensional model created by the user. 加工平面の設定画面600の一例を示す構成図である。It is a block diagram which shows an example of the setting screen 600 of a process plane. 図4のステップS403の加工平面の設定処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the setting process of the process plane of FIG.4 S403. ユーザによって作成された2次元図面の一例を示す模式図である。It is a schematic diagram which shows an example of the two-dimensional drawing created by the user. 加工工程の選択画面900の一例を示す構成図である。It is a block diagram which shows an example of the selection screen 900 of a process process. 図4のステップS408の高さ寸法の自動記入処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the automatic entry process of the height dimension of FIG.4 S408. 高さ寸法作成画面1100の一例を示す構成図である。FIG. 16 is a block diagram showing an example of a height dimension creation screen 1100. 図4のステップS410の高さ寸法の選択記入処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the selective entry process of the height dimension of FIG.4 S410. 情報処理装置101に記憶された加工平面テーブル1300の構成の一例を示す構成図である。FIG. 16 is a block diagram showing an example of the configuration of a processed plane table 1300 stored in the information processing apparatus 101. 加工平面の設定処理による画面切り替えの一例を示す模式図である。It is a schematic diagram which shows an example of screen switching by the setting process of a process plane. 加工平面の設定処理が行われた後の3次元モデルの属性情報の一例を示す図である。It is a figure which shows an example of the attribute information of a three-dimensional model after the setting process of the process plane was performed. 加工平面の設定処理が行われた後の3次元モデルの属性情報テーブル1600の構成の一例を示す構成図である。It is a block diagram which shows an example of a structure of the attribute information table 1600 of a three-dimensional model after setting processing of a process plane is performed. 加工工程の選択処理による画面切り替えの一例を示す模式図である。It is a schematic diagram which shows an example of screen switching by the selection process of a manufacturing process. 高さ寸法の自動記入処理が行われた後の2次元図面の一例を示す図である。It is a figure which shows an example of a two-dimensional drawing after the automatic entry process of height dimension was performed. 同一投影図上の基準面選択処理による画面切り替えの一例を示す模式図である。It is a schematic diagram which shows an example of screen switching by the reference plane selection process on the same projection figure. 他の投影図上の基準点選択処理による画面切り替えの一例を示す模式図である。It is a schematic diagram which shows an example of screen switching by the reference point selection process on another projection drawing. 同一投影図上の対象面選択処理による画面切り替えの一例を示す模式図である。It is a schematic diagram which shows an example of screen switching by object surface selection processing on the same projection figure. 同一投影図上の基準面を選択し高さ寸法の選択記入処理が行われた後の2次元図面の一例を示す模式図である。It is a schematic diagram which shows an example of a two-dimensional drawing after selecting the reference plane on the same projection figure, and performing selection entry processing of a height dimension. 他の投影図上の基準点を選択し高さ寸法の選択記入処理が行われた後の2次元図面の一例を示す模式図である。It is a schematic diagram which shows an example of a two-dimensional drawing after selecting the reference point on another projection figure, and performing selection entry processing of a height dimension. 他の投影図上に高さ寸法を作成する処理が行われた後の2次元図面の一例を示す模式図である。It is a schematic diagram which shows an example of a two-dimensional drawing after the process which produces a height dimension on another projection drawing is performed. 図4のステップS410の第二の実施形態における高さ寸法の選択記入処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the selective entry process of the height dimension in 2nd embodiment of FIG.4 S410. 任意の投影図上の基準点を選択した際の2次元図面の一例を示す模式図である。It is a schematic diagram which shows an example of a two-dimensional drawing at the time of selecting the reference point on arbitrary projection figures. 基準点を選択した投影図と同一の投影図上で対象線が選択された後の2次元図面の一例を示す模式図である。It is a schematic diagram which shows an example of a two-dimensional drawing after an object line is selected on the same projection as the projection which selected the reference point. 基準点を選択した投影図と異なる投影図上で対象面が選択された後の2次元図面の一例を示す模式図である。It is a schematic diagram which shows an example of a two-dimensional drawing after the object plane was selected on the projection different from the projection which selected the reference point. 高さ寸法の対象面ハイライト処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the object surface highlight process of height dimension. 対象面ハイライト画面3000の一例を示す構成図である。FIG. 16 is a block diagram showing an example of a target surface highlight screen 3000. 3次元CADシステムが持つ高さ寸法属性情報3100の一例を示す構成図である。It is a block diagram which shows an example of the height dimension attribute information 3100 which a three-dimensional CAD system has. 対象面ハイライト処理による画面切り替えの一例を示す模式図である。It is a schematic diagram which shows an example of screen switching by object surface highlight processing. 対象面ハイライト処理が行われた後の3次元モデルの一例を示す模式図である。It is a schematic diagram which shows an example of a three-dimensional model after object plane highlight processing was performed.

以下、図面を参照して、本発明の実施の形態の一例について説明する。   Hereinafter, an example of an embodiment of the present invention will be described 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 view 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 the three-dimensional CAD system 100 of the present invention, and these apparatuses are connected so as to be capable of mutual data communication via a network 103 such as a LAN (Local Area Network). The configurations of various terminals or servers connected on the network 103 of FIG. 1 are one 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. The three-dimensional CAD application is stored in the ROM 202 or the external memory 211 in FIG. 2 described later, and the CPU 201 reads out to the RAM 203 and performs various operations in accordance with an instruction from a designer (hereinafter referred to as a user).

3次元CADアプリケーションは、ユーザからの操作に応じて、設計物の3次元モデル(立体データ)の作成や構築、また3次元モデルに基づく2次元図面(平面データ)の作成を行う。尚、3次元モデルや2次元図面はサーバ102の外部メモリ211に記憶されても、情報処理装置101の外部メモリ211に記憶されてもよい。本実施例では、情報処理装置101の外部メモリ211に記憶されているものとして、以下説明を行う。   The three-dimensional CAD application creates and constructs a three-dimensional model (three-dimensional data) of a design object, and creates a two-dimensional drawing (planar data) based on the three-dimensional model, in accordance with an operation from a user. The three-dimensional model or the two-dimensional drawing may be stored in the external memory 211 of the server 102 or may be stored in the external memory 211 of the information processing apparatus 101. In the present embodiment, description will be made below assuming that the information is stored in the external memory 211 of the information processing apparatus 101.

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

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

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

CPU201は、システムバス204に接続される各デバイスやコントローラを統括的に制御する。   The CPU 201 centrally controls the devices and controllers 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 is required to realize a BIOS (Basic Input / Output System) which is a control program of the CPU 201, an operating system program (hereinafter referred to as an OS), and functions executed by each server or each PC. Various programs to be described later are stored. The RAM 203 functions as a main memory, a work area, and the like of the CPU 201.

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

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

ビデオコントローラ(VC)206は、CRTディスプレイ(CRT)210等の表示器への表示を制御する。表示器はCRTだけでなく、液晶ディスプレイでも構わない。これらは必要に応じて管理者が使用するものである。   A video controller (VC) 206 controls the display on a display such as a CRT display (CRT) 210. The display may be a liquid crystal display as well as a CRT. These are used by the administrator as needed.

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

通信I/Fコントローラ(通信I/FC)208は、ネットワークを介して、外部機器と接続・通信するものであり、ネットワークでの通信制御処理を実行する。例えば、TCP/IPを用いたインターネット通信等が可能である。   A communication I / F controller (communication I / FC) 208 connects 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内の表示情報用領域へアウトラインフォントの展開(ラスタライズ)処理を実行することにより、CRT210上での表示を可能としている。また、CPU201は、CRT210上の不図示のマウスカーソル等でのユーザ指示を可能とする。   Note that the CPU 201 enables display on the CRT 210 by executing, for example, outline font rasterization processing on a display information area in the RAM 203. Further, the CPU 201 enables user's instruction with a mouse cursor (not shown) on the CRT 210 or the like.

本発明の情報処理装置101が後述する各種処理を実行するために用いられる各種プログラム等は外部メモリ211に記録されており、必要に応じてRAM203にロードされることによりCPU201によって実行されるものである。さらに、本発明に係わるプログラムが用いる定義ファイルや各種情報テーブルは外部メモリ211に格納されている。   Various programs and the like used for the information processing apparatus 101 of the present invention to execute various processes described later are stored 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及びサーバ102のモジュール構成を示す機能構成図について、図3を用いて説明する。尚、図3の各種端末あるいはサーバのモジュール構成は一例であり、用途や目的に応じて様々な構成例があることは言うまでもない。   Next, a functional configuration diagram showing a module configuration of the information processing apparatus 101 and the server 102 will be described with reference to FIG. The module configurations of the various terminals or servers shown in FIG. 3 are merely examples, and it goes without saying that there are various configuration examples according to the application and purpose.

情報処理装置101は、CADデータ記憶モジュール301、画面表示モジュール302、テーブル管理モジュール303、2次元図面作成モジュール304、加工平面管理モジュール305、高さ寸法作成モジュール306、座標値管理モジュール307を備える。   The information processing apparatus 101 includes a CAD data storage module 301, a screen display module 302, a table management module 303, a two-dimensional drawing creation module 304, a processing plane management module 305, a height dimension creation module 306, and a coordinate value management module 307.

CADデータ記憶モジュール301は、3次元CADアプリケーションによって作成された設計物の立体形状を示す3次元モデルと、当該3次元モデルに基づいて作成され、複数の投影図によって構成された2次元図面を記憶するモジュールである。CADデータ記憶モジュール301によって記憶された3次元モデル及び2次元図面は、情報処理装置101の外部メモリ211等に記憶され、必要に応じて、CADデータ記憶モジュール301によって読みだされる。   The CAD data storage module 301 stores a three-dimensional model indicating a three-dimensional shape of a design created by the three-dimensional CAD application and a two-dimensional drawing created based on the three-dimensional model and configured by a plurality of projection drawings. Module. The three-dimensional model and the two-dimensional drawing stored by the CAD data storage module 301 are stored in the external memory 211 or the like of the information processing apparatus 101 and read by the CAD data storage module 301 as necessary.

画面表示モジュール302は、各種情報を情報処理装置101のCRT210に表示させるためのモジュールである。画面表示モジュール302は後述する加工平面の設定画面600等の画面を表示させ、必要に応じてユーザからの選択や入力を受け付ける。また、3次元モデルや2次元図面を表示させ、必要に応じて識別可能に表示させる。   The screen display module 302 is a module for displaying various information on the CRT 210 of the information processing apparatus 101. The screen display module 302 displays a screen such as a setting screen 600 of a processing plane to be described later, and accepts selection and input from the user as needed. Also, a three-dimensional model or a two-dimensional drawing is displayed, and is displayed in a distinguishable manner as necessary.

テーブル管理モジュール303は、後述する図13の加工平面テーブル1300や属性情報テーブル1600の記憶や更新等を行うためのモジュールである。各種テーブルは、外部メモリ211に記憶され、必要に応じてRAM203に読み出す。   The table management module 303 is a module for storing and updating the processing plane table 1300 and the attribute information table 1600 of FIG. 13 described later. The various tables are stored in the external memory 211 and read out to the RAM 203 as needed.

2次元図面作成モジュール304は、CADデータ記憶モジュール301で記憶された3次元モデルに対応するように、当該3次元モデルの2次元図面を作成する。2次元図面は、3次元モデルの投影図であり、ユーザから指示された任意の方向で投影された2次元図面を作成する。例えば、正面図、平面図、右側面図(側面図)といった投影図がある。これらの投影図は2次元図面作成モジュール304によって3次元モデルと対応づけて作成されるので、2次元図面で選択された線分や面といった要素が3次元モデル上のどの箇所に対応するのかがわかるようになっている。   The two-dimensional drawing creation module 304 creates a two-dimensional drawing of the three-dimensional model so as to correspond to the three-dimensional model stored in the CAD data storage module 301. The two-dimensional drawing is a projection of a three-dimensional model, and creates a two-dimensional drawing projected in any direction instructed by the user. For example, there are projected views such as a front view, a plan view, and a right side view (side view). Since these projections are created in correspondence with the three-dimensional model by the two-dimensional drawing creation module 304, it is determined where on the three-dimensional model the elements such as line segments and faces selected in the two-dimensional drawing correspond. It is made to understand.

加工平面管理モジュール305は、3次元モデルが示す部品の加工工程ごとに加工する平面を設定するモジュールである。加工工程ごとに基準となる基準面の設定と、加工する平面の設定を行う。ユーザからの指示に応じて、3次元モデル上の平面と加工平面とを紐づけて管理する。   The processing plane management module 305 is a module for setting a plane to be processed in each processing step of the part indicated by the three-dimensional model. The setting of the reference plane which becomes a reference and the setting of the plane to process are performed for each processing step. In accordance with an instruction from the user, the plane on the three-dimensional model and the processing plane are linked and managed.

高さ寸法作成モジュール306は、2次元図面の投影図に奥行き方向を示す高さ寸法を作成し、表記するためのモジュールである。高さ寸法作成モジュール306は、ユーザから指定された基準点または基準面と、同じく指定された対象点または対象面、対象線とに基づいて高さ寸法を算出する。2次元図面は前述した通り、3次元モデルと対応づいているので、3次元モデル上の対応する箇所同士の距離をとって高さ寸法として表示させる。   The height dimension creation module 306 is a module for creating and representing a height dimension indicating a depth direction in a projection of a two-dimensional drawing. The height dimension creation module 306 calculates a height dimension based on the reference point or reference plane specified by the user, the target point or target plane, and the target line which are also specified. As described above, since the two-dimensional drawing corresponds to the three-dimensional model, the distance between corresponding parts on the three-dimensional model is taken and displayed as the height dimension.

座標値管理モジュール307は、2次元図面で選択された箇所に対応する3次元モデル上の箇所を特定し、当該箇所の座標値を取得したり、座標値同士の算出を行ったりするモジュールである。各種座標値の取得、操作を行う。   The coordinate value management module 307 is a module that specifies a point on the three-dimensional model corresponding to the selected point in the two-dimensional drawing, acquires coordinate values of the point, or calculates coordinate values. . Get various coordinate values and perform operations.

サーバ102は、CADデータ記憶モジュール311を備える。CADデータ記憶モジュール311は、前述した情報処理装置101のCADデータ記憶モジュール301と同様である。情報処理装置101に3次元モデル及び2次元図面を記憶管理させる場合には情報処理装置101のCADデータ記憶モジュール301を利用し、サーバ102に3次元モデル及び2次元図面を記憶管理させる場合にはサーバ102のCADデータ記憶モジュール311を利用する。本実施例では、情報処理装置101のCADデータ記憶モジュール301を利用するものとして説明を行う。   The server 102 comprises a CAD data storage module 311. The CAD data storage module 311 is similar to the CAD data storage module 301 of the information processing apparatus 101 described above. When the information processing apparatus 101 stores and manages the three-dimensional model and the two-dimensional drawing, the CAD data storage module 301 of the information processing apparatus 101 is used, and when the server 102 stores and manages the three-dimensional model and the two-dimensional drawing. The CAD data storage module 311 of the server 102 is used. The present embodiment will be described on the assumption that the CAD data storage module 301 of the information processing apparatus 101 is used.

次に、本発明の実施形態における情報処理装置101によって行われる一連の処理について、図4に示すフローチャートを用いて説明する。尚、ステップS401乃至ステップS410の各ステップは情報処理装置101におけるCPU201の制御の下、処理が行われる。   Next, a series of processes performed by the information processing apparatus 101 in the embodiment of the present invention will be described using the flowchart shown in FIG. The processing in steps S401 to S410 is performed under the control of the CPU 201 in the information processing apparatus 101.

また、この処理を情報処理装置101に実行させるためのプログラムは、情報処理装置101にインストールされている3次元CADアプリケーションの一部、若しくはアドオンプログラムとして用意されていてもよいし、3次元CADアプリケーションとは別にインストールされたプログラムとして用意されていてもよい。   A program for causing the information processing apparatus 101 to execute this process may be prepared as a part of a three-dimensional CAD application installed in the information processing apparatus 101 or as an add-on program. It may be prepared as a separately installed program.

また、図4に示す処理を行う際には、情報処理装置101のCPU201は3次元CADアプリケーションを動作可能な状態にあるものとして説明を始める。   Further, when performing the processing shown in FIG. 4, the CPU 201 of the information processing apparatus 101 starts the explanation assuming that the three-dimensional CAD application is in the operable state.

まず、ステップS401では、情報処理装置101は、情報処理装置101を操作するユーザから入力される各種の指示に従って、例えば図5に示すような3次元モデルを作成する。その後、作成した3次元モデルを情報処理装置101のROM202または外部メモリ211に登録(記憶)する。   First, in step S401, the information processing apparatus 101 creates, for example, a three-dimensional model as illustrated in FIG. 5 in accordance with various instructions input from the user operating the information processing apparatus 101. Thereafter, the created three-dimensional model is registered (stored) in the ROM 202 or the external memory 211 of the information processing apparatus 101.

図5は、図4のステップS401において作成される3次元モデルの一例を示す図である。3次元モデル500は、3次元CADアプリケーションを利用して作成される。3次元モデル500では、複数の平面の組み合わせにより作成されており、各平面は3次元空間上の座標系での位置情報を持つ。平面501は高さ方向を表すZ座標値が「30mm」であり、平面502は高さ方向を表すZ座標値が「0mm」である。また、3次元CADアプリケーションでは任意の点を指定し、3次元空間上の座標系での位置情報を取得することが可能であり、点503を指定した場合に取得できる高さ方向を表すZ座標値は「0mm」である。3次元CADアプリケーションでは、3次元モデル上の平面間または平面と点との座標値の比較により、その距離を測定することが可能である。3次元モデル500の平面501と平面502との距離は、「30mm−0mm」の計算結果の絶対値である「30mm」となる。   FIG. 5 is a diagram showing an example of the three-dimensional model created in step S401 of FIG. The three-dimensional model 500 is created using a three-dimensional CAD application. The three-dimensional model 500 is created by combining a plurality of planes, and each plane has positional information in a coordinate system in a three-dimensional space. The plane 501 has a Z coordinate value of “30 mm” representing the height direction, and the plane 502 has a Z coordinate value of “0 mm” representing the height direction. Also, in the 3D CAD application, it is possible to specify an arbitrary point, obtain position information in the coordinate system in the 3D space, and specify a Z coordinate that indicates the height direction that can be obtained when the point 503 is specified. The value is "0 mm". In a three-dimensional CAD application, it is possible to measure the distance by comparing coordinate values between planes or planes and points on a three-dimensional model. The distance between the plane 501 and the plane 502 of the three-dimensional model 500 is "30 mm" which is the absolute value of the calculation result of "30 mm-0 mm".

図4の説明に戻る。ステップS402では、情報処理装置101は、図6に示すような加工平面の設定画面600を起動する。   It returns to the explanation of FIG. In step S402, the information processing apparatus 101 activates a setting screen 600 of a processing plane as shown in FIG.

図6は、図4のステップS402においてCRT210に表示される加工平面の設定画面の一例を示す図である。加工平面の設定画面600は、部品種類601、加工平面リスト602、OKボタン603、キャンセルボタン604が設定されている。加工平面リスト602は、加工工程列605、加工平面列606、設定平面列607が設定されている。   FIG. 6 is a view showing an example of a setting screen of a processing plane displayed on the CRT 210 in step S402 of FIG. In the processing plane setting screen 600, a part type 601, a processing plane list 602, an OK button 603, and a cancel button 604 are set. In the machining plane list 602, a machining process sequence 605, a machining plane sequence 606, and a setting plane sequence 607 are set.

部品種類601は、3次元モデルの種類を入力するための入力欄である。部品種類601には、後述する図13の加工平面テーブル1300の部品種類1301に設定されている部品種類が選択候補リストを読み込み、ユーザから選択可能に表示することができる。加工平面リスト602は、部品種類601に入力された部品種類における加工工程、加工平面を表示する表示欄であり、当該行の加工平面に相当する3次元モデル上の平面を入力するための入力欄である設定平面列607を持つ。加工平面リスト602内の加工工程列605には、後述する図7のステップS703により特定される加工工程名を表示する。加工平面リスト602内の加工平面列606には、後述する図7のステップS703により特定される加工平面名を表示する。加工平面リスト602内の設定平面列607には、後述する図7のステップS707により入力される3次元モデル上の平面名を表示する。OKボタン603は、本画面に表示された情報で3次元モデルの属性情報を更新するためのボタンである。キャンセルボタン604は、本画面を終了するためのボタンである。以上が図6の加工平面の設定画面の説明である。   The part type 601 is an input field for inputting the type of 3D model. In the component type 601, the component type set in the component type 1301 of the processing plane table 1300 of FIG. 13 described later can read the selection candidate list and can be displayed so as to be selectable by the user. The machining plane list 602 is a display field for displaying the machining process and machining plane according to the part type input to the part type 601, and an input box for inputting a plane on a three-dimensional model corresponding to the machining plane of the row. Setting plane row 607 which is In the machining process sequence 605 in the machining plane list 602, the machining process name specified in step S703 of FIG. 7 described later is displayed. The machining plane name specified in step S703 of FIG. 7 described later is displayed on the machining plane column 606 in the machining plane list 602. The set plane row 607 in the machining plane list 602 displays plane names on the three-dimensional model input in step S 707 of FIG. 7 described later. The OK button 603 is a button for updating the attribute information of the three-dimensional model with the information displayed on this screen. The cancel button 604 is a button for ending this screen. The above is description of the setting screen of the process plane of FIG.

図4の説明に戻る。ステップS403では、情報処理装置101は、3次元モデルの属性情報を更新する処理を行う。加工平面の設定処理の詳細は、後述する図7に示す。   It returns to the explanation of FIG. In step S403, the information processing apparatus 101 performs a process of updating attribute information of a three-dimensional model. Details of setting processing of the machining plane are shown in FIG. 7 described later.

ステップS404では、情報処理装置101は、情報処理装置101を操作するユーザから入力される各種の指示に従って、ステップS401で作成された3次元モデルに基づいて図8に示すような2次元図面を作成する。その後、作成した2次元図面を情報処理装置101のROM202または外部メモリ211に登録(記憶)する。2次元図面は3次元CADアプリケーションの機能を用いて作成される。特に、ステップS401で作成された3次元モデルを構成する各要素と対応づいた2次元図面が作成される。   In step S404, the information processing apparatus 101 creates a two-dimensional drawing as shown in FIG. 8 based on the three-dimensional model created in step S401 in accordance with various instructions input from the user operating the information processing apparatus 101. Do. Thereafter, the created two-dimensional drawing is registered (stored) in the ROM 202 or the external memory 211 of the information processing apparatus 101. Two-dimensional drawings are created using the functions of a three-dimensional CAD application. In particular, a two-dimensional drawing corresponding to each element constituting the three-dimensional model created in step S401 is created.

図8は、図4のステップS404において作成される2次元図面の一例を示す図である。図面800は、投影図A801、投影図B802が作成されている。投影図A801は、図5の3次元モデル500を三面図で形状を表した場合の上面図である。投影図B802は、図5の3次元モデル500を三面図で形状を表した場合の正面図である。ここでいう2次元図面は、前述の通り3次元モデルに対応づいているため、3次元モデルを参照しており、3次元モデルの形状が更新されると2次元図面上の投影図で表示された形状も更新される仕組みとなっている。   FIG. 8 is a diagram showing an example of a two-dimensional drawing created in step S404 of FIG. In the drawing 800, a projection A801 and a projection B802 are created. A projection view A801 is a top view when the three-dimensional model 500 in FIG. 5 is represented by a three-view shape. A projection view B802 is a front view of the three-dimensional model 500 in FIG. Since the two-dimensional drawing referred to here corresponds to the three-dimensional model as described above, the three-dimensional model is referred to, and when the shape of the three-dimensional model is updated, it is displayed as a projection on the two-dimensional drawing. Shape is also updated.

図4の説明に戻る。ステップS405では、情報処理装置101は、ステップS404で作成された図面800をCRT210に表示させ、ユーザからの指示に従って、高さ寸法を表記する対象となる図面800内の投影図の一つを選択する。   It returns to the explanation of FIG. In step S405, the information processing apparatus 101 displays the drawing 800 created in step S404 on the CRT 210, and selects one of the projection drawings in the drawing 800 to which height dimensions are to be written, in accordance with an instruction from the user. Do.

ステップS406では、情報処理装置101は、ステップS405で表示された図面が参照する3次元モデルに対し、ステップS403で属性情報が設定されているか否かを確認する。参照する3次元モデルに対し属性情報が設定されている場合には、ステップS407に処理を進め、参照する3次元モデルに対し属性情報が設定されていない場合には、ステップS408に処理を進める。   In step S406, the information processing apparatus 101 confirms whether attribute information is set in step S403 for the three-dimensional model to which the drawing displayed in step S405 refers. If attribute information is set for the three-dimensional model to be referenced, the process proceeds to step S407. If attribute information is not set for the three-dimensional model to be referenced, the process proceeds to step S408.

ステップS407では、情報処理装置101は、図9に示す加工工程の選択画面900を表示する。図9は、図4のステップS407においてCRT210に表示される加工工程の選択画面の一例を示す図である。加工工程の選択画面900は、部品種類901、加工工程902、高さ寸法作図ボタン903、キャンセルボタン904が設定されている。   In step S407, the information processing apparatus 101 displays a selection screen 900 of the processing step shown in FIG. FIG. 9 is a view showing an example of the selection screen of the processing step displayed on the CRT 210 in step S407 of FIG. In the processing process selection screen 900, a component type 901, a processing process 902, a height dimension drawing button 903, and a cancel button 904 are set.

部品種類901は、2次元図面が参照する3次元モデルの属性に設定された部品種類を表示するための表示欄である。加工工程902は、高さ寸法を表記する対象となる加工工程を入力するための入力欄である。高さ寸法作図ボタン903は、ステップS405で選択された投影図に高さ寸法を表記する処理を実行するためのボタンである。キャンセルボタン904は、本画面を終了するためのボタンである。以上が図9の加工工程の選択画面の説明である。   The component type 901 is a display field for displaying the component type set in the attribute of the three-dimensional model to which the two-dimensional drawing refers. The processing step 902 is an input field for inputting a processing step for which height dimensions are to be described. The height dimension drawing button 903 is a button for executing a process of representing the height dimension in the projection selected in step S405. The cancel button 904 is a button for ending the present screen. The above is the description of the selection screen of the processing step of FIG.

図4の説明に戻る。ステップS408では、情報処理装置101は、ステップS405で選択された投影図に高さ寸法を表記する処理を行う。高さ寸法の自動記入処理の詳細は、後述する図10に示す。高さ寸法の自動記入処理が終了したら、本一連の処理を終了する。   It returns to the explanation of FIG. In step S408, the information processing apparatus 101 performs a process of representing the height dimension on the projection selected in step S405. Details of the height dimension automatic fill-in process will be described later with reference to FIG. When the height dimension automatic filling process is completed, this series of processes is ended.

一方、ステップS409では、情報処理装置101は、図11に示す高さ寸法作成画面1100を表示する。図11は、図4のステップS409においてCRT210に表示される高さ寸法作成画面の一例を示す図である。高さ寸法作成画面1100は、基準点・基準面選択ラジオボタン1101、対象面選択ラジオボタン1102、他の投影図に寸法作成ボタン1103、他の投影図に寸法プレビューボタン1104、キャンセルボタン1105が設定されている。   On the other hand, in step S409, the information processing apparatus 101 displays a height dimension creation screen 1100 shown in FIG. FIG. 11 is a view showing an example of a height dimension creation screen displayed on the CRT 210 in step S409 of FIG. The height dimension creation screen 1100 includes a reference point / reference plane selection radio button 1101, a target plane selection radio button 1102, a dimension creation button 1103 for another projection view, a dimension preview button 1104 for a projection view, and a cancel button 1105 It is done.

基準点・基準面選択ラジオボタン1101は、ユーザが高さ寸法の基準となる基準点または基準面を2次元図面上で選択する際にチェックするボタンである。対象面選択ラジオボタン1102は、ユーザが高さ寸法を表記したい対象面を2元図面上で選択する際にチェックするボタンである。他の投影図に寸法作成ボタン1103は、高さ寸法作成画面起動前に指定した投影図以外に高さ寸法を作成する処理を実行するためのボタンである。他の投影図に寸法プレビューボタン1104は、高さ寸法作成画面起動前に指定した投影図以外に高さ寸法をプレビュー表示する処理を実行するためのボタンである。キャンセルボタン1105は、本画面を終了するためのボタンである。以上が図11の高さ寸法作成画面の説明である。   The reference point / reference surface selection radio button 1101 is a button for checking when the user selects a reference point or a reference surface on which a height dimension is based on the two-dimensional drawing. The target surface selection radio button 1102 is a button for checking when the user selects a target surface on which the height dimension is to be described on the binary drawing. In the other projections, the dimension creation button 1103 is a button for executing processing of creating height dimensions in addition to the projection designated before the height dimension creation screen is activated. In the other projections, the dimension preview button 1104 is a button for executing a process of previewing the height dimensions in addition to the projection specified before starting the height dimension creation screen. A cancel button 1105 is a button for ending this screen. The above is the description of the height dimension creation screen of FIG.

図4の説明に戻る。ステップS410では、情報処理装置101は、ステップS405で選択された投影図にユーザが選択した基準点・基準面と対象面の寸法を高さ寸法として表記する処理を行う。高さ寸法作成処理の詳細は、後述する図12に示す。高さ寸法作成処理が終了したら、本一連の処理を終了する。   It returns to the explanation of FIG. In step S410, the information processing apparatus 101 performs a process of representing the dimensions of the reference point / reference surface selected by the user and the target surface in the projection view selected in step S405 as a height dimension. Details of the height dimension creation process are shown in FIG. 12 described later. When the height dimension creating process is completed, this series of processes is ended.

次に、加工平面の設定処理について図7を用いて説明する。尚、ステップS701乃至ステップS710の各ステップは情報処理装置101おけるCPU201の制御の下、処理が行われる。   Next, setting processing of a processing plane will be described using FIG. The processing in steps S701 to S710 is performed under the control of the CPU 201 in the information processing apparatus 101.

また、この処理を情報処理装置101に実行させるためのプログラムは、情報処理装置101にインストールされている3次元CADアプリケーションの一部、若しくはアドオンプログラムとして用意されていてもよいし、3次元CADアプリケーションとは別にインストールされたプログラムとして用意されていてもよい。   A program for causing the information processing apparatus 101 to execute this process may be prepared as a part of a three-dimensional CAD application installed in the information processing apparatus 101 or as an add-on program. It may be prepared as a separately installed program.

ステップS701では、情報処理装置101は、ユーザからの指示に従って、加工平面の設定画面600の部品種類601に、CRT210に表示されている3次元モデルの部品種類を選択する。   In step S701, the information processing apparatus 101 selects the part type of the three-dimensional model displayed on the CRT 210 as the part type 601 of the setting screen 600 of the processing plane according to an instruction from the user.

ステップS702では、情報処理装置101は、図13に示す加工平面テーブル1300を検索し、ステップS701で選択入力された部品種類601に設定されている加工工程1302、加工平面1303、平面ID1304を取得する。   In step S702, the information processing apparatus 101 searches the processing plane table 1300 shown in FIG. 13, and acquires the processing step 1302, the processing plane 1303, and the plane ID 1304 set in the component type 601 selected and input in step S701. .

図13は、図4のステップS402、図7のステップ702で利用する3次元CADプログラムが内部情報または外部情報として持つ加工平面テーブルの一例を示す図である。加工平面テーブル1300は、部品種類1301、加工工程1302、加工平面1303、平面ID1304などが設定されている。   FIG. 13 is a view showing an example of a processing plane table which the three-dimensional CAD program used in step S402 in FIG. 4 and step 702 in FIG. 7 has as internal information or external information. In the machining plane table 1300, a component type 1301, a machining process 1302, a machining plane 1303, a plane ID 1304, and the like are set.

部品種類1301は、部品の種類を示す情報である。加工工程1302は、部品種類1301を製作する際に必要となる複数の加工工程を示す情報である。加工平面1303は、加工工程1302の加工や検査を行う際に基準となる平面(第1の要素)と、加工や検査の対象となる複数の平面(第2の要素)を示す情報である。平面ID1304は、3次元モデル上の平面に対し、属性として割り当てる値である。3次元モデル上の平面に割り当てられた属性から平面IDを取得し、取得した値で加工平面テーブル1300の平面ID1304を検索することで、3次元モデル上の当該平面の加工工程名と加工平面名を特定する。以上が、図13の加工平面テーブルの一例の説明である。   The component type 1301 is information indicating the type of component. The processing step 1302 is information indicating a plurality of processing steps required to manufacture the part type 1301. The processing plane 1303 is information indicating a plane (first element) serving as a reference when processing or inspection of the processing step 1302 and a plurality of planes (second elements) to be processed or inspected. The plane ID 1304 is a value assigned as an attribute to a plane on the three-dimensional model. The plane ID is acquired from the attribute assigned to the plane on the three-dimensional model, and the plane ID 1304 of the machining plane table 1300 is searched using the acquired value, thereby processing the process step name and the plane name of the plane on the three-dimensional model. Identify The above is description of an example of the process plane table of FIG.

図7の説明に戻る。ステップS703では、情報処理装置101は、ステップS702で取得した加工工程1302を加工平面の設定画面600の加工工程列605に、加工平面1303を加工平面列606に表示する。   It returns to the explanation of FIG. In step S703, the information processing apparatus 101 displays the machining process 1302 acquired in step S702 in the machining process sequence 605 of the setting screen 600 of the machining plane and in the machining plane array 606.

次にステップS704では、情報処理装置101は、変数iに「1」を代入し、その後、変数iの値が加工平面リスト602の行数を超えない間、ステップS705乃至ステップS707の処理を繰り返す。   Next, in step S704, the information processing apparatus 101 substitutes “1” for the variable i, and then repeats the processing in steps S705 to S707 while the value of the variable i does not exceed the number of lines in the machining plane list 602. .

ステップS705では、情報処理装置101は、加工平面リスト602のi行目の設定平面列607を選択状態にする。   In step S <b> 705, the information processing apparatus 101 sets the setting plane column 607 in the i-th row of the machining plane list 602 in a selected state.

ステップS706では、情報処理装置101は、ユーザからの指示に従って、加工平面リスト602で選択されているi行目の加工平面列606に表示された加工平面に該当する平面を、3次元モデル上で選択する。   In step S706, the information processing apparatus 101 displays, on the three-dimensional model, a plane corresponding to the machining plane displayed in the i-th machining plane column 606 selected in the machining plane list 602 in accordance with an instruction from the user. select.

ステップS707では、情報処理装置101は、ステップS706で選択された3次元モデル上の平面の名前を取得し、加工平面リスト602のi行目の設定平面列607に表示する。そして、変数iに「1」追加の後、変数iの値が加工平面リスト602の行数以下であるか否かを判断する。変数iの値が加工平面リスト602の行数以下であると判断した場合には、ステップS705からS707の処理を繰り返す。一方、変数iの値が加工平面リスト602の行数を超えたと判断した場合には、ステップS708に処理を進める。   In step S 707, the information processing apparatus 101 acquires the name of the plane on the three-dimensional model selected in step S 706, and displays the plane name in the i-th set plane column 607 of the machining plane list 602. Then, after “1” is added to the variable i, it is determined whether the value of the variable i is equal to or less than the number of lines in the machining plane list 602. If it is determined that the value of the variable i is equal to or less than the number of lines in the machining plane list 602, the processes in steps S705 to S707 are repeated. On the other hand, if it is determined that the value of variable i has exceeded the number of lines in machining plane list 602, the process proceeds to step S708.

ステップS708では、情報処理装置101は、加工平面の設定画面600の何れかのボタンの押下を受け付けたと判断した場合には、押下されたボタンを特定する。OKボタン603が押下されたと判断した場合には、ステップS709に処理を進め、キャンセルボタン604が押下されたと判断した場合には、加工平面の設定処理を終了し、呼び出し元に処理を戻す。   In step S708, when it is determined that pressing of any button of the setting screen 600 of the processing plane has been received, the information processing apparatus 101 specifies the pressed button. If it is determined that the OK button 603 has been pressed, the process proceeds to step S709, and if it is determined that the cancel button 604 has been pressed, the process of setting the processing plane is ended, and the process is returned to the caller.

ステップS708で特定したボタンが、OKボタン603である場合は、ステップS709に処理を移行し、変数iに「1」を代入し、その後、変数iの値が加工平面リスト602の行数を超えない間、ステップS710の処理を繰り返す。   If the button specified in step S 708 is the OK button 603, the process proceeds to step S 709 to substitute “1” for the variable i, and then the value of the variable i exceeds the number of lines in the machining plane list 602 While not, the process of step S710 is repeated.

ステップS710では、情報処理装置101は、加工平面リスト602のi行目の設定平面列607に表示された平面名を持つ3次元モデルの平面に対し、ステップS702で取得したi行目の加工平面列606に対応する平面ID1304を属性として付加する。ここでは、3次元CADアプリケーションが管理する3次元モデルを構成する平面の属性として平面ID1304を付加する。こうしておくことで、設定平面列607の各平面が、3次元モデルを構成する平面のうち、どの平面に対応するのかを紐づけておくことができる。変数iに「1」を追加の後、変数iの値が加工平面リスト602の行数以下であるか否かを判断する。変数iの値が加工平面リスト602の行数以下であると判断した場合には、ステップS710の処理を繰り返す。一方、変数iの値が加工平面リスト602の行数を超えたと判断した場合には、部品種類601で選択入力された部品種類を3次元モデルの属性情報に付加し、加工平面の設定画面600を閉じ、加工平面の設定処理を終了する。   In step S710, the information processing apparatus 101 processes the processing plane in the i-th row acquired in step S702 with respect to the plane of the three-dimensional model having the plane name displayed in the setting plane column 607 in the i-th row in the processing plane list 602. A plane ID 1304 corresponding to the column 606 is added as an attribute. Here, a plane ID 1304 is added as an attribute of the plane constituting the three-dimensional model managed by the three-dimensional CAD application. By setting in this way, it is possible to link which plane among the planes constituting the three-dimensional model corresponds to each plane of the setting plane sequence 607. After “1” is added to the variable i, it is determined whether the value of the variable i is equal to or less than the number of lines in the machining plane list 602. If it is determined that the value of the variable i is equal to or less than the number of lines in the machining plane list 602, the process of step S710 is repeated. On the other hand, when it is determined that the value of the variable i exceeds the number of lines in the machining plane list 602, the component type selected and inputted in the component type 601 is added to the attribute information of the 3D model, and the setting screen 600 for machining plane Is closed, and the processing plane setting process is finished.

ここで、図14を参照して、加工平面の設定処理が行われる際の表示画面の一例について説明する。CRT210上には、3次元モデル1400が表示されている。加工平面の設定画面1401を起動し、ユーザからの指示に従って部品種類1402で「部品A」が選択されると(ステップS701)、加工平面テーブル1300を検索し部品種類1301が「部品A」である加工工程1302、加工平面1303が加工平面リスト1403に表示される(ステップS702、ステップS703)。加工平面リスト1403で選択されている行の加工平面として設定する3次元モデル上の平面1404をユーザが選択すると、平面1404の名前が設定平面1405に表示される(ステップS705、ステップS706)。   Here, with reference to FIG. 14, an example of a display screen when the setting process of the machining plane is performed will be described. The three-dimensional model 1400 is displayed on the CRT 210. When the setting screen 1401 of the processing plane is activated and "part A" is selected as the part type 1402 according to the instruction from the user (step S701), the processing plane table 1300 is searched and the part type 1301 is "part A". The machining process 1302 and the machining plane 1303 are displayed on the machining plane list 1403 (steps S702 and S703). When the user selects the plane 1404 on the three-dimensional model to be set as the machining plane of the row selected in the machining plane list 1403, the name of the plane 1404 is displayed on the setting plane 1405 (steps S705 and S706).

図15は、加工平面リスト1403のすべての行の設定平面を選択後、OKボタン1406をクリックし、選択したすべての平面に平面ID1304を属性として付加した状態の一例である。3次元モデル1500の部品の種類属性1501には「部品A」が付加される。また、ステップS710で設定した3次元モデルの平面1502の平面ID属性には「A1−0」、平面1503の平面ID属性には「A1−1」、平面1504の平面ID属性には「A1−2」が付加される(ステップS710)。   FIG. 15 shows an example of a state in which the plane ID 1304 is added as an attribute to all the selected planes by clicking the OK button 1406 after selecting the setting planes of all the rows of the machining plane list 1403. “Part A” is added to the part type attribute 1501 of the three-dimensional model 1500. The plane ID attribute of the plane 1502 of the three-dimensional model set in step S 710 is “A1-0”, the plane ID attribute of the plane 1503 is “A1-1”, and the plane ID attribute of the plane 1504 is “A1−0”. 2 ”is added (step S710).

図16は、加工平面リスト1403のすべての行の設定平面を選択後、OKボタン1406をクリックし、選択したすべての平面に平面IDを属性として付加することにより作成される3次元モデルの属性情報テーブルの一例である。平面IDの属性情報テーブル1600は、3次元モデル上の平面が持つ平面名1601と、属性情報として付加した平面ID1602が設定されている。こうすることで、設定平面と平面IDとを紐づけておく。   16 selects the setting planes of all the rows in the machining plane list 1403, clicks the OK button 1406, and adds the plane ID as an attribute to all the selected planes as attribute information of the three-dimensional model. It is an example of a table. In the attribute information table 1600 of plane ID, a plane name 1601 possessed by a plane on the three-dimensional model and a plane ID 1602 added as attribute information are set. By doing this, the set plane and plane ID are linked.

次に、高さ寸法の自動記入処理について図10を用いて説明する。尚、ステップS1001乃至ステップS1009の各ステップは情報処理装置101おけるCPU201の制御の下、処理が行われる。   Next, the process of automatically filling in the height dimension will be described with reference to FIG. The processing in steps S1001 to S1009 is performed under the control of the CPU 201 in the information processing apparatus 101.

また、この処理を情報処理装置101に実行させるためのプログラムは、情報処理装置101にインストールされている3次元CADアプリケーションの一部、若しくはアドオンプログラムとして用意されていてもよいし、3次元CADアプリケーションとは別にインストールされたプログラムとして用意されていてもよい。   A program for causing the information processing apparatus 101 to execute this process may be prepared as a part of a three-dimensional CAD application installed in the information processing apparatus 101 or as an add-on program. It may be prepared as a separately installed program.

ステップS1001では、情報処理装置101は、CRT210上に表示された2次元図面が参照する3次元モデルの種類属性を取得する。3次元モデルの種類属性は、前述したステップS710及び図15に示す通り、3次元モデルごとに付加されている。   In step S1001, the information processing apparatus 101 acquires the type attribute of the three-dimensional model to which the two-dimensional drawing displayed on the CRT 210 refers. The type attribute of the three-dimensional model is added to each three-dimensional model as shown in step S710 and FIG. 15 described above.

ステップS1002では、情報処理装置101は、S1001で取得した部品の種類をステップS407で表示された図9に示すような加工工程の選択画面900の部品種類901に表示する。また、S1001で取得した部品の種類で加工平面テーブル1300の部品種類1301を検索し、一致するすべての行の加工工程1302を取得し、加工工程の選択画面900の加工工程902の選択候補として設定する。   In step S1002, the information processing apparatus 101 displays the type of the part acquired in step S1001 on the part type 901 of the selection screen 900 of the processing process as shown in FIG. 9 displayed in step S407. In addition, the part type 1301 of the processing plane table 1300 is searched by the type of part acquired in S1001 and the processing steps 1302 of all the matching rows are acquired and set as selection candidates for the processing step 902 of the processing step selection screen 900. Do.

ステップS1003では、情報処理装置101は、ユーザからの指示に従って、加工工程の選択画面900の加工工程902の選択候補の中から、2次元図面上で選択されている投影図に表記したい高さ寸法を持つ加工工程を選択する。   In step S1003, according to an instruction from the user, the information processing apparatus 101 selects a height dimension to be described in the projection selected on the two-dimensional drawing from the selection candidates of the processing step 902 of the selection screen 900 of the processing step. Select a processing process that has

ステップS1004では、情報処理装置101は、加工工程の選択画面900の何れかのボタンの押下を受け付けたと判断した場合には、押下されたボタンを特定する。ステップS1004で特定したボタンが、高さ寸法作図ボタン903である場合は、ステップS1005に処理を移行する。ステップS1004で特定したボタンが、キャンセルボタン904である場合は、加工工程の選択画面900を閉じて、高さ寸法の自動記入処理を終了し、呼び出し元に処理を戻す。   In step S1004, when the information processing apparatus 101 determines that pressing of any button of the processing process selection screen 900 has been received, the information processing apparatus 101 identifies the pressed button. If the button specified in step S 1004 is the height dimension drawing button 903, the process proceeds to step S 1005. If the button identified in step S1004 is a cancel button 904, the processing process selection screen 900 is closed, the height dimension automatic entry process is ended, and the process is returned to the caller.

ステップS1005では、情報処理装置101は、加工工程の選択画面900の部品種類901に表示された部品の種類と加工工程902に表示された加工工程で、加工平面テーブル1300の部品種類1301と加工工程1302をそれぞれ検索し、一致する行のうち加工平面1303が「基準面」で始まる値である行の平面ID1304の値を取得する。CRT210上に表示された2次元図面が参照する3次元モデルに存在する平面のうち、取得した平面IDと一致する平面ID属性を持つ平面を基準面として取得する。   In step S1005, the information processing apparatus 101 selects the part type 1301 of the processing plane table 1300 and the processing step in the part type displayed on the part type 901 of the processing screen selection screen 900 and the processing step displayed in the processing step 902. Each value 1302 is searched, and the value of the plane ID 1304 of the row, which is a value starting from the “reference plane” of the processing plane 1303 among the matching rows, is acquired. Among the planes present in the three-dimensional model referenced by the two-dimensional drawing displayed on the CRT 210, a plane having a plane ID attribute that matches the acquired plane ID is acquired as a reference plane.

ステップS1006では、情報処理装置101は、加工工程の選択画面900の部品種類901に表示された部品の種類と加工工程902に表示された加工工程で、加工平面テーブル1300の部品種類1301と加工工程1302をそれぞれ検索し、一致する行のうち加工平面1303が「加工平面」で始まる値である行の行数を加工平面数として取得する。変数iに「1」を追加の後、変数iの値が加工平面数以下であるかを判断する。変数iの値が加工平面数以下であると判断した場合には、ステップS1007からステップS1009の処理を繰り返す。一方、変数iの値が加工平面数を超えたと判断した場合には、加工工程の選択画面900を閉じる。   In step S1006, the information processing apparatus 101 displays the part type 1301 of the processing plane table 1300 and the processing step in the part type displayed on the part type 901 of the processing screen selection screen 900 and the processing step displayed in the processing step 902. Each of the lines 1302 is searched, and the number of lines in the row where the machining plane 1303 starts with “machining plane” is acquired as the number of machining planes. After adding “1” to the variable i, it is determined whether the value of the variable i is equal to or less than the number of processing planes. If it is determined that the value of the variable i is equal to or less than the number of processing planes, the processing from step S1007 to step S1009 is repeated. On the other hand, if it is determined that the value of the variable i exceeds the number of processing planes, the selection screen 900 for the processing process is closed.

ステップS1007では、情報処理装置101は、加工工程の選択画面900の部品種類901に表示された部品の種類と加工工程902に表示された加工工程で、加工平面テーブル1300の部品種類1301と加工工程1302をそれぞれ検索し、一致する行のうち加工平面1303が「加工平面」で始まる値である行のi行目の平面ID1304の値を取得する。CRT210上に表示された2次元図面が参照する3次元モデルに存在する平面のうち、取得した平面IDと一致する平面ID属性を持つ平面を加工平面iとして取得する。   In step S1007, the information processing apparatus 101 selects the part type 1301 of the processing plane table 1300 and the processing step in the part type displayed on the part type 901 of the processing screen selection screen 900 and the processing step displayed in the processing step 902. Each value 1302 is searched to obtain the value of the plane ID 1304 of the i-th row of the row in which the machining plane 1303 starts with the “machining plane” among the coincident rows. Among the planes present in the three-dimensional model referred to by the two-dimensional drawing displayed on the CRT 210, a plane having a plane ID attribute coincident with the acquired plane ID is acquired as a processed plane i.

ステップS1008では、情報処理装置101は、CRT210上に表示された2次元図面が参照する3次元モデルに存在する平面のうち、ステップS1005で取得した基準面とステップS1007で取得した加工平面iの距離を測定し、高さ寸法iとして取得する。距離の測定は、3次元CADアプリケーションの機能よって計算される。3次元CADアプリケーションでは、3次元モデル上の平面間または平面と点との座標値の比較により、その距離を測定することが可能である。つまり、図15の3次元モデル1500を例にすると、ステップS1005で平面1502を取得し、ステップS1007で平面1503、平面1504を取得した場合、平面1502と平面1503が持つ3次元空間上におけるZ座標の絶対値の差を算出する。例えば、平面1502のZ座標が「0」、平面1503と平面1504のZ座標が「30」だった場合、これらの差の絶対値は、「30」であるので、平面1502と平面1503、または平面1502と平面1504の距離は「30mm」となる。この例では1座標を1mmとして算出したが、1座標が2mmと設定されていた場合には、「30×2mm」で、距離が「60mm」と算出される。本実施形態では、このような算出方法で2つの要素間の距離を算出したが、算出方法はこれに限らない。例えば、3次元CADアプリケーションが持つAPIの機能により、2つの要素間の最短距離を算出してもよい。この場合、2つの要素の3次元空間上の座標値をAPIに渡すと、当該APIが渡された座標値に基づいて最短距離を算出する。最短距離の算出方法は従来技術であるため、説明を省略する。   In step S1008, among the planes present in the three-dimensional model referred to by the two-dimensional drawing displayed on the CRT 210, the information processing apparatus 101 measures the distance between the reference plane acquired in step S1005 and the processing plane i acquired in step S1007. Is measured and obtained as height dimension i. The measurement of distance is calculated by the function of the 3D CAD application. In a three-dimensional CAD application, it is possible to measure the distance by comparing coordinate values between planes or planes and points on a three-dimensional model. That is, taking the three-dimensional model 1500 of FIG. 15 as an example, when the plane 1502 is acquired in step S1005 and the plane 1503 and the plane 1504 are acquired in step S1007, Z coordinates in three-dimensional space of the plane 1502 and the plane 1503 Calculate the difference between the absolute values of For example, when the Z coordinate of the plane 1502 is “0” and the Z coordinates of the plane 1503 and the plane 1504 is “30”, the absolute value of these differences is “30”, so the plane 1502 and the plane 1503 or The distance between the plane 1502 and the plane 1504 is "30 mm". In this example, one coordinate is calculated as 1 mm, but when one coordinate is set as 2 mm, the distance is calculated as “60 mm” at “30 × 2 mm”. In the present embodiment, the distance between two elements is calculated by such a calculation method, but the calculation method is not limited to this. For example, the shortest distance between two elements may be calculated by the function of the API possessed by the 3D CAD application. In this case, when the coordinate value of the two elements in the three-dimensional space is passed to the API, the API calculates the shortest distance based on the passed coordinate value. Since the method of calculating the shortest distance is a conventional technique, the description will be omitted.

ステップS1009では、情報処理装置101は、CRT210上に表示された2次元図面で選択されている投影図上に表示されている加工平面iに注釈を作成する。基準面と加工平面iが平行な場合は、ステップS1008で取得した高さ寸法iの値を注釈に表記する。基準面と加工平面iが平行でない場合は、加工平面iが基準面に対し平行ではないことを表す「SLOPE」などの文字列を注釈に表記する。   In step S1009, the information processing apparatus 101 creates an annotation on the processing plane i displayed on the projection view selected in the two-dimensional drawing displayed on the CRT 210. When the reference plane and the processing plane i are parallel, the value of the height dimension i acquired in step S1008 is described in the annotation. If the reference plane and the processing plane i are not parallel, a character string such as "SLOPE" indicating that the processing plane i is not parallel to the reference plane is written in the annotation.

ここで、図17を参照して、高さ寸法の自動記入処理が行われる際の表示画面の一例について説明する。CRT210上には、2次元図面1700が表示されている。ユーザにより、2次元図面1700内の投影図面1701が選択されている状態で、加工工程の選択画面1702が起動される(ステップS1002)。加工工程の選択画面1702の部品種類1703には、2次元図面1700が参照する3次元モデルの部品の種類属性「部品A」が表示され、加工工程1704の選択候補には、「部品A」に含まれる加工工程が表示される。ユーザにより加工工程1704が選択され、高さ寸法作図ボタン1705が押下されると(ステップS1004)、2次元図面1700は高さ寸法が注釈として表記された図18に示す状態になる(ステップS1009)。   Here, with reference to FIG. 17, an example of a display screen when the height dimension automatic entry process is performed will be described. A two-dimensional drawing 1700 is displayed on the CRT 210. With the projection drawing 1701 in the two-dimensional drawing 1700 selected by the user, the selection screen 1702 for the processing step is activated (step S1002). The type attribute "part A" of the part of the three-dimensional model to which the two-dimensional drawing 1700 refers is displayed in the part type 1703 of the selection screen 1702 of the processing step, and "part A" is a candidate for selection of the processing step 1704. The included processing steps are displayed. When the processing step 1704 is selected by the user and the height dimension drawing button 1705 is pressed (step S1004), the two-dimensional drawing 1700 is in the state shown in FIG. 18 in which the height dimension is described as an annotation (step S1009). .

図18は、高さ寸法の自動記入処理が実行された後の2次元図面の一例である。高さ寸法の自動記入処理前に選択されていた2次元図面1800上の投影図面1801に、高さ寸法1802と高さ寸法1803が注釈として作成される。このように、あらかじめ加工工程ごとに高さ寸法を表示したい平面を指定しておくだけで、高さ寸法を加工工程ごとに表示させることができるようになる。   FIG. 18 is an example of a two-dimensional drawing after the height dimension automatic filling process is performed. A height dimension 1802 and a height dimension 1803 are created as annotations in the projection drawing 1801 on the two-dimensional drawing 1800 selected before the automatic filling process of the height dimension. Thus, the height dimension can be displayed for each processing step only by designating the plane on which the height dimension is desired to be displayed in advance for each processing step.

次に、高さ寸法の選択記入処理について図12を用いて説明する。尚、ステップS1201乃至ステップS1218の各ステップは情報処理装置101おけるCPU201の制御の下、処理が行われる。   Next, height dimension selection entry processing will be described using FIG. The processing in steps S1201 to S1218 is performed under the control of the CPU 201 in the information processing apparatus 101.

また、この処理を情報処理装置101に実行させるためのプログラムは、情報処理装置101にインストールされている3次元CADアプリケーションの一部、若しくはアドオンプログラムとして用意されていてもよいし、3次元CADアプリケーションとは別にインストールされたプログラムとして用意されていてもよい。   A program for causing the information processing apparatus 101 to execute this process may be prepared as a part of a three-dimensional CAD application installed in the information processing apparatus 101 or as an add-on program. It may be prepared as a separately installed program.

ステップS1201では、情報処理装置101は、ユーザからの指示に従って、ステップS409で表示された図11に示すような高さ寸法作成画面1100の基準点・基準面選択ラジオボタン1101を選択状態にする。   In step S1201, the information processing apparatus 101 sets the reference point / reference plane selection radio button 1101 of the height dimension creation screen 1100 as shown in FIG. 11 displayed in step S409 according to an instruction from the user.

ステップS1202では、情報処理装置101は、CRT210上に表示された2次元図面のうち、ステップS405で選択された投影図上で基準面となる平面が選択されたのか、ステップS405で選択された投影図とは異なる投影図上で基準点となる点が選択されたのかを判断する。ステップS405で選択された投影図上で基準面となる平面が選択されたと判断された場合には、ステップS1203に処理を進め、ステップS405で選択された投影図とは異なる投影図上で基準点となる点が選択されたと判断された場合には、ステップS1205に処理を進める。   In step S1202, the information processing apparatus 101 determines whether the plane serving as the reference plane is selected on the projection view selected in step S405 among the two-dimensional drawings displayed on the CRT 210, or the projection selected in step S405. It is determined whether a point to be a reference point has been selected on a projection different from the drawing. If it is determined that the plane to be the reference plane has been selected on the projection selected in step S405, the process proceeds to step S1203 and a reference point on a projection that is different from the projection selected in step S405. If it is determined that the point to be is selected, the process proceeds to step S1205.

ステップS1203では、情報処理装置101は、ユーザからの指示に従って、CRT210上に表示された2次元図面で選択されている投影図上の高さ寸法を算出するための基準となる平面(基準面)を選択(指定)する(第1の指定受付手段)。基準面は、後述するステップS1210において、当該基準面からの距離(高さ寸法)を測定するために使用する。また、平面が指定されると、当該2次元図面を生成した3次元モデルを構成する要素のうち、当該指定された平面に対応する要素がCRT210で識別表示される。2次元図面は3次元モデルから生成されているので、2次元図面の投影図を構成する各要素は、3次元モデルを構成する各要素と対応づいている。そのため、2次元図面で任意の要素が選択されると、その要素に対応する3次元モデルの要素が識別表示できる。ユーザは3次元モデルを作成した後、2次元図面を生成しているので、2次元図面の要素が3次元モデルのどの要素に対応するのか把握しにくい。そのため、ユーザから2次元図面の要素が選択されると、3次元モデルにおいて当該選択された要素に対応する要素を識別表示することで、ユーザに把握させやすくできる。   In step S1203, the information processing apparatus 101 is a plane (reference plane) serving as a reference for calculating the height dimension on the projection selected in the two-dimensional drawing displayed on the CRT 210 according to the instruction from the user. Is selected (designated) (first designated reception means). The reference surface is used to measure the distance (height dimension) from the reference surface in step S1210 described later. Also, when a plane is designated, among the elements constituting the three-dimensional model that has generated the two-dimensional drawing, the element corresponding to the designated plane is identified and displayed on the CRT 210. Since the two-dimensional drawing is generated from the three-dimensional model, the elements constituting the projection of the two-dimensional drawing correspond to the elements constituting the three-dimensional model. Therefore, when an arbitrary element is selected in the two-dimensional drawing, the element of the three-dimensional model corresponding to the element can be identified and displayed. Since the user generates a two-dimensional drawing after creating the three-dimensional model, it is difficult to grasp which element of the three-dimensional model corresponds to the element of the two-dimensional drawing. Therefore, when an element of the two-dimensional drawing is selected by the user, the user can easily grasp the element by identifying and displaying the element corresponding to the selected element in the three-dimensional model.

ステップS1204では、情報処理装置101は、ステップS1203で選択された平面を基準面として取得し、RAM203に記憶しておく。   In step S1204, the information processing apparatus 101 acquires the plane selected in step S1203 as a reference plane, and stores the plane in the RAM 203.

一方、ステップS1205では、情報処理装置101は、ユーザからの指示に従って、CRT210上に表示された2次元図面で選択されている投影図とは異なる投影図上の、高さ寸法を算出するための基準となる点(基準点)を選択(指定)する(第1の指定受付手段)。基準面同様、基準点は、後述するステップS1210において、当該基準点からの距離(高さ寸法)を測定するために使用する。また点が指定されると、当該2次元図面を生成した3次元モデルを構成する要素のうち、当該指定された点に対応する要素がCRT210で識別表示される。詳細については、ステップS1203で前述した通りである。   On the other hand, in step S1205, the information processing apparatus 101 calculates a height dimension on a projection view different from the projection view selected in the two-dimensional drawing displayed on the CRT 210 according to an instruction from the user. A reference point (reference point) is selected (designated) (first designated reception means). Like the reference plane, the reference point is used to measure the distance (height dimension) from the reference point in step S1210 described later. Further, when a point is designated, an element corresponding to the designated point is identified and displayed on the CRT 210 among the elements constituting the three-dimensional model which has generated the two-dimensional drawing. The details are as described above in step S1203.

ステップS1206では、情報処理装置101は、ステップS1205で選択された点を基準点として取得し、RAM203に記憶しておく。   In step S1206, the information processing apparatus 101 acquires the point selected in step S1205 as a reference point, and stores the point in the RAM 203.

ステップS1207では、情報処理装置101は、ユーザからの指示に従って、高さ寸法作成画面1100の対象面選択ラジオボタン1102を選択状態にする。   In step S1207, the information processing apparatus 101 sets a target surface selection radio button 1102 of the height dimension creation screen 1100 in a selected state according to an instruction from the user.

ステップS1208では、情報処理装置101は、CRT210上に表示された2次元図面で選択されている投影図上の高さ寸法の算出対象となる平面の要素(対象面)をユーザからの指示に従って選択(指定)する(第2の指定受付手段)。対象面は、前述した基準面や基準点との距離(高さ寸法)を算出するために使用する。また、平面が指定されると、当該2次元図面を生成した3次元モデルを構成する要素のうち、当該指定された平面に対応する要素がCRT210で識別表示される。詳細については、ステップS1203で前述した通りである。   In step S1208, the information processing apparatus 101 selects, according to an instruction from the user, an element (target surface) of a plane which is a target for calculating the height dimension on the projection selected in the two-dimensional drawing displayed on the CRT 210 (Designation) to do (second designation reception means). The target surface is used to calculate the distance (height dimension) to the reference surface and the reference point described above. Also, when a plane is designated, among the elements constituting the three-dimensional model that has generated the two-dimensional drawing, the element corresponding to the designated plane is identified and displayed on the CRT 210. The details are as described above in step S1203.

ステップS1209では、情報処理装置101は、ステップS1208で選択された平面を対象面として取得し、RAM203に記憶しておく。   In step S1209, the information processing apparatus 101 acquires the plane selected in step S1208 as a target plane, and stores the plane in the RAM 203.

ステップS1210では、情報処理装置101は、CRT210上に表示された2次元図面の生成元である3次元モデルを構成する要素のうち、ステップS1204で取得した基準面またはステップS1206で取得した基準点と、ステップS1209で取得した対象面をRAM203から読み出し、これらの距離を3次元空間において測定し高さ寸法として取得する(高さ寸法算出手段)。基準面または基準点と対象面の距離については、3次元CADアプリケーションの機能を用いて算出できるので、これを利用するものとする。具体的には、基準面または基準点の3次元空間上における座標値と、対象面の3次元空間上における座標値とに基づいて高さ寸法を算出する。より具体的には、ステップS1204で取得した基準面またはステップS1206で取得した基準点、更にステップS1207で取得した対象面に対応する要素を、2次元図面を生成した3次元モデルを構成する要素の中から特定する。そして、特定された要素には3次元空間上における座標値が存在するので、この座標値の差の絶対値を算出することで、2つの要素間の距離を算出する。3次元空間上における座標値には、X座標とY座標とZ座標が存在するが、選択された対象面が含まれる2次元図面上の投影図が正面図なのか、平面図なのか、側面図なのかに応じて、算出で使用する座標値を変える。例えば、対象面が正面図の場合には、3次元モデルにおける基準面または基準点が持つZ座標と、同じく対象面が持つZ座標の差の絶対値を算出する。また、対象面が平面図の場合には、3次元モデルにおける基準面または基準点が持つY座標と、同じく対象面が持つY座標の差の絶対値を算出する。また、対象面が側面図の場合には、3次元モデルにおける基準面または基準点が持つX座標と、同じく対象面が持つX座標の差の絶対値を算出する。このように、選択された対象面が2次元図面上のどの投影図に含まれるのかに応じて、算出で使用する座標値を変えることで、奥行き方向を示す高さ寸法を算出することができる。尚、高さ寸法の算出方法は他の算出方法であってもよい。例えば、3次元CADアプリケーションが備えるAPIを用いて、選択された基準点または基準面と対象面との3次元空間上における最短距離を算出してもよい。基準点または基準面と対象面との3次元空間上における最短距離は、そのまま高さ寸法となる。よって、このAPIによって2つの要素間の最短距離を算出することで、高さ寸法を算出してもよい。最短距離の算出方法は、従来技術であるので、説明を省略する。   In step S1210, the information processing apparatus 101 selects one of the elements constituting the three-dimensional model that is the generation source of the two-dimensional drawing displayed on the CRT 210, the reference plane acquired in step S1204 or the reference point acquired in step S1206. The target surface acquired in step S1209 is read from the RAM 203, and these distances are measured in a three-dimensional space and acquired as height dimensions (height dimension calculation means). The distance between the reference surface or reference point and the target surface can be calculated using the function of the three-dimensional CAD application, and this is used. Specifically, the height dimension is calculated based on the coordinate value of the reference surface or the reference point in the three-dimensional space and the coordinate value of the target surface in the three-dimensional space. More specifically, elements corresponding to the reference plane acquired in step S1204 or the reference point acquired in step S1206 and the target plane acquired in step S1207 are elements constituting the three-dimensional model having generated a two-dimensional drawing. Identify from inside. Then, since the coordinate value in the three-dimensional space exists in the specified element, the distance between the two elements is calculated by calculating the absolute value of the difference between the coordinate values. There are X, Y, and Z coordinates in the coordinate values in the three-dimensional space, but the projection on the two-dimensional drawing including the selected target surface is a front view, a plan view, or a side view Change the coordinate value used in the calculation depending on the figure. For example, when the target surface is a front view, the absolute value of the difference between the Z coordinate of the reference surface or reference point in the three-dimensional model and the Z coordinate of the target surface is calculated. When the target surface is a plan view, the absolute value of the difference between the Y coordinate of the reference surface or reference point in the three-dimensional model and the Y coordinate of the target surface is calculated. When the target surface is a side view, the absolute value of the difference between the X coordinate of the reference surface or reference point in the three-dimensional model and the X coordinate of the target surface is calculated. Thus, the height dimension indicating the depth direction can be calculated by changing the coordinate value used in the calculation according to which projection on the two-dimensional drawing the selected target surface is included in . Note that the height dimension may be calculated by another calculation method. For example, the shortest distance in the three-dimensional space between the selected reference point or reference plane and the target plane may be calculated using an API included in the three-dimensional CAD application. The shortest distance in the three-dimensional space between the reference point or reference plane and the target plane is the height dimension as it is. Therefore, the height dimension may be calculated by calculating the shortest distance between two elements using this API. Since the method of calculating the shortest distance is a conventional technique, the description will be omitted.

ステップS1211では、情報処理装置101は、ステップS1208で選択された対象面に注釈を作成する(表示手段)。ステップS1204で基準面を取得しており、基準面と対象面が平行な場合は、ステップS1210で取得した高さ寸法の値を注釈に表記する。ステップS1204で基準面を取得しており、基準面と対象面が平行でない場合は、対象面が基準面に対し平行ではないことを表す「SLOPE」などの文字列を注釈に表記する。ステップS1206で基準点を取得している場合は、ステップS1210で取得した高さ寸法の値を注釈に表記する。こうすることで、同一の投影図上または異なる投影図上で基準となる平面や点を選択し、対象面に対する距離を算出し、高さ寸法として表示させることができる。   In step S1211, the information processing apparatus 101 creates an annotation on the target surface selected in step S1208 (display unit). When the reference plane is acquired in step S1204 and the reference plane and the target plane are parallel, the value of the height dimension acquired in step S1210 is described in the annotation. If the reference plane is acquired in step S 1204 and the reference plane and the target plane are not parallel, a character string such as “SLOPE” indicating that the target plane is not parallel to the reference plane is described in the annotation. When the reference point is acquired in step S1206, the value of the height dimension acquired in step S1210 is described in the annotation. By doing this, it is possible to select a reference plane or point on the same projection view or different projection views, calculate the distance to the target plane, and display it as the height dimension.

ステップS1212では、高さ寸法作成画面1100の何れかのボタンの押下を受け付けたと判断した場合には、押下されたボタンを特定する。ステップS1212で特定したボタンが、他の投影図に寸法作成ボタン1103(表示位置変更受付手段)である場合は、ステップS1213に処理を移行する。ステップS1212で特定したボタンが、他の投影図に寸法プレビューボタン1104である場合は、ステップS1216に処理を移行する。ステップS1212で特定したボタンが、キャンセルボタン1105である場合は、高さ寸法作成画面1100を閉じ、高さ寸法の選択記入処理を終了し、呼び出し元に処理を戻す。ボタンの押下を受け付けていない場合には、ステップS1208に処理を戻す。   In step S 1212, when it is determined that pressing of any button of the height dimension creation screen 1100 has been received, the pressed button is specified. If the button specified in step S 1212 is the dimension creation button 1103 (display position change acceptance unit) in another projection drawing, the process proceeds to step S 1213. If the button specified in step S 1212 is the dimension preview button 1104 for another projection, the process proceeds to step S 1216. If the button identified in step S1212 is the cancel button 1105, the height dimension creation screen 1100 is closed, the height dimension selection entry process is ended, and the process is returned to the caller. If pressing of the button has not been received, the process returns to step S1208.

ステップS1213乃至ステップS1215は、ステップS1211で作成された高さ寸法を他の投影図で対応する箇所に表示させるための処理である。つまり、他の投影図で従来通りの表記方法として寸法線を作成し、そこに高さを表記させる。   Steps S1213 to S1215 are processing for displaying the height dimension created in step S1211 in a corresponding position in another projection view. In other words, dimension lines are created in a conventional manner in other projections, and heights are described there.

ステップS1213では、情報処理装置101は、ユーザからの指示に従って寸法線を作成したい投影図を選択する。ここで選択される投影図は、ステップS1211で注釈を作成した投影図とは別の投影図である。   In step S1213, the information processing apparatus 101 selects a projection view for which a dimension line is desired to be created in accordance with an instruction from the user. The projection selected here is a projection different from the projection for which the annotation was created in step S1211.

ステップS1214では、情報処理装置101は、ステップS1211で作成した高さ寸法の注釈を削除する。尚、削除でなくても、非表示となればよい。   In step S1214, the information processing apparatus 101 deletes the annotation of the height dimension created in step S1211. In addition, even if it is not deletion, it may be hidden.

ステップS1215では、情報処理装置101は、ステップS1213で選択された投影図内に、ステップS1204で取得した基準面またはステップS1206で取得した基準点と、ステップS1209で取得した対象面の距離を表す長さ寸法として、寸法線を作成する。寸法線は、ステップS1211で算出された高さ寸法に対応する、ステップS1213で選択された投影図上の箇所に作成する。表示された2次元図面は前述した通り3次元モデルと対応づいているので、ステップS1211で作成した高さ寸法が表示された位置から3次元モデルに対応する箇所を特定し、そして、特定された3次元モデルの箇所に対応する、ステップS1213で選択された投影図上の箇所を特定するようにすれば、ステップS1211で作成された高さ寸法に対応する寸法線をステップS1213で選択された投影図上に表示することができる。そして、作成した寸法線にステップS1210で測定された距離を表示する。   In step S1215, the information processing apparatus 101 has a length representing the distance between the reference surface acquired in step S1204 or the reference point acquired in step S1206 and the target surface acquired in step S1209 in the projection selected in step S1213. Create dimension lines as vertical dimensions. A dimension line is created at a position on the projection view selected in step S1213 corresponding to the height dimension calculated in step S1211. Since the displayed two-dimensional drawing corresponds to the three-dimensional model as described above, the position corresponding to the three-dimensional model is identified from the position at which the height dimension created in step S1211 is displayed, and identified If the portion on the projection view selected in step S1213 corresponding to the portion of the three-dimensional model is specified, the dimension line corresponding to the height dimension created in step S1211 is selected in step S1213. It can be displayed on the figure. Then, the distance measured in step S1210 is displayed on the created dimension line.

ステップS1216乃至ステップS1218は、一時的に他の投影図に対して、ステップS1211で作成した高さ寸法に対応する寸法線をプレビュー表示させる処理である。   Steps S1216 to S1218 are processing for temporarily displaying a dimension line corresponding to the height dimension created in step S1211 on another projection view.

ステップS1216では、情報処理装置101は、ユーザからの指示に従って、寸法線をプレビュー表示したい投影図を選択する。ここで選択される投影図は、ステップS1211で注釈を作成した投影図とは別の投影図である。   In step S1216, the information processing apparatus 101 selects a projection view on which a dimension line is to be previewed according to an instruction from the user. The projection selected here is a projection different from the projection for which the annotation was created in step S1211.

ステップS1217では、情報処理装置101は、ステップS1216で選択された投影図内に、ステップS1204で取得した基準面またはステップS1206で取得した基準点と、ステップS1209で取得した対象面の距離を表す長さ寸法として、寸法線を作成する。寸法線の作成方法は、前述したステップS1215と同様である。   In step S 1217, the information processing apparatus 101 has a length representing the distance between the reference plane acquired in step S 1204 or the reference point acquired in step S 1206 and the target plane acquired in step S 1209 in the projection selected in step S 1216. Create dimension lines as vertical dimensions. The dimension line creation method is the same as step S1215 described above.

ステップS1218では、情報処理装置101は、ステップS1217で作成した寸法線を所定時間表示した後、S1217で作成した寸法線を削除する。こうすることで、ステップS1211で作成した高さ寸法に対応する箇所に、寸法線を一時的にプレビュー表示させることができる。   In step S1218, the information processing apparatus 101 displays the dimension line created in step S1217 for a predetermined time, and then deletes the dimension line created in step S1217. By doing this, it is possible to temporarily display a dimension line preview at a portion corresponding to the height dimension created in step S1211.

図19は、高さ寸法の選択記入処理における基準面の選択が行われる際の表示画面の一例である。CRT210上には、2次元図面1900が表示されている。ユーザにより、2次元図面1900内の投影図面1901が選択されている状態で、高さ寸法作成画面1902が起動される。その後ユーザにより、高さ寸法作成画面1902の基準点・基準面選択オプションボタン1903が選択された状態で、投影図面1901上に表示されている高さ寸法の基準となる基準面1904が選択される(ステップS1203)。   FIG. 19 is an example of a display screen when selection of a reference surface is performed in the height dimension selection entry process. A two-dimensional drawing 1900 is displayed on the CRT 210. With the projection drawing 1901 in the two-dimensional drawing 1900 selected by the user, the height dimension creation screen 1902 is activated. Thereafter, with the reference point / reference surface selection option button 1903 on the height dimension creation screen 1902 selected by the user, the reference surface 1904 serving as the reference of the height dimension displayed on the projection drawing 1901 is selected. (Step S1203).

一方、図20は、高さ寸法の選択記入処理における基準点の選択が行われる際の表示画面の一例である。CRT210上には、2次元図面2000が表示されている。ユーザにより、2次元図面2000内の投影図面2001が選択されている状態で、高さ寸法作成画面2002が起動される。その後ユーザにより、高さ寸法作成画面2002の基準点・基準面選択オプションボタン2003が選択された状態で、投影図面1901以外の投影図上から高さ寸法の基準となる基準点2004が選択される(ステップS1204)。   On the other hand, FIG. 20 is an example of a display screen when the selection of the reference point in the selection entry process of the height dimension is performed. On the CRT 210, a two-dimensional drawing 2000 is displayed. With the projection drawing 2001 in the two-dimensional drawing 2000 selected by the user, the height dimension creation screen 2002 is activated. After that, with the reference point / reference surface selection option button 2003 of the height dimension creation screen 2002 selected by the user, the reference point 2004 that is the reference of the height dimension is selected from the projection other than the projection drawing 1901 (Step S1204).

そして、図21は、高さ寸法の選択記入処理における対象面の選択が行われる際の表示画面の一例である。CRT210上には、2次元図面2100が表示されている。ユーザにより、2次元図面2100内の投影図面2101が選択されている状態で、高さ寸法作成画面2102が起動され、すでに図19に示す基準面の選択または図20で示す基準点の選択が完了している状態である。その後ユーザにより、高さ寸法作成画面2102の対象面選択オプションボタン2103が選択された状態で、投影図面2101上に表示されている高さ寸法の作成対象となる対象面2104が選択される(ステップS1207)。   And FIG. 21 is an example of a display screen at the time of selection of an object side in selection entry processing of height dimension being performed. On the CRT 210, a two-dimensional drawing 2100 is displayed. With the projected drawing 2101 in the two-dimensional drawing 2100 selected by the user, the height dimension creation screen 2102 is activated, and selection of the reference plane shown in FIG. 19 or selection of the reference point shown in FIG. 20 is completed. It is in the state of doing. Thereafter, with the target surface selection option button 2103 on the height dimension creation screen 2102 selected by the user, the target surface 2104 to be created for the height dimension displayed on the projected drawing 2101 is selected (step S1207).

図22は、基準面の選択を行い高さ寸法の選択記入処理が実行された後の2次元図面の一例である。高さ寸法の選択記入処理において、基準面として図19の基準面1904、対象面として図21の対象面2104が選択されると、2次元図面2200が参照する3次元モデル上で基準面と対象面の距離を測定し、測定結果が「5」として取得される。2次元図面2200上の対象面に注釈2201が作成され、測定結果「5」が表記される。   FIG. 22 is an example of a two-dimensional drawing after selection of a reference surface and selection entry processing of height dimension is executed. When the reference plane 1904 of FIG. 19 is selected as the reference plane and the target plane 2104 of FIG. 21 is selected as the target plane in the height dimension selection entry process, the reference plane and the target on the three-dimensional model to which the two-dimensional drawing 2200 refers The distance of the surface is measured, and the measurement result is obtained as "5". An annotation 2201 is created on the target surface on the two-dimensional drawing 2200, and the measurement result "5" is written.

また、図23は、基準点の選択を行い高さ寸法の選択記入処理が実行された後の2次元図面の一例である。高さ寸法の選択記入処理において、基準点として図20の基準点2004、対象面として図21の対象面2104が選択されると、2次元図面2200が参照する3次元モデル上で基準点と対象面の距離を測定し、測定結果が「30」として取得される。2次元図面2300上の対象面に注釈2301が作成され、測定結果「30」が表記される。   FIG. 23 is an example of a two-dimensional drawing after selection of reference points is performed and selection entry processing of height dimension is executed. When the reference point 2004 in FIG. 20 is selected as the reference point and the target surface 2104 in FIG. 21 is selected as the target plane in the height dimension selection entry process, the reference point and the target on the three-dimensional model to which the two-dimensional drawing 2200 refers The distance of the surface is measured, and the measurement result is obtained as "30". An annotation 2301 is created on the target surface on the two-dimensional drawing 2300, and the measurement result "30" is written.

図24は、高さ寸法作成画面1100の他の投影図に寸法作成ボタン1103が押下された後の2次元図面の一例である。高さ寸法の選択記入処理において、基準面として図19の基準面1904、対象面として図21の対象面2104が選択されると、2次元図面2200が参照する3次元モデル上で基準面と対象面の距離を測定し、測定結果が「5」として取得される。2次元図面2400上の対象面に注釈2401が作成され、測定結果「5」が表記される。その後、他の投影図に寸法作成ボタンを押下し、ユーザにより投影図面2402が選択されると、注釈2401は削除され、投影図面2402に、図19の基準面1904と図21の対象面2104の距離を表す長さ寸法2403が作成される。   FIG. 24 is an example of a two-dimensional drawing after the dimension creation button 1103 is pressed on another projection drawing of the height dimension creation screen 1100. When the reference plane 1904 of FIG. 19 is selected as the reference plane and the target plane 2104 of FIG. 21 is selected as the target plane in the height dimension selection entry process, the reference plane and the target on the three-dimensional model to which the two-dimensional drawing 2200 refers The distance of the surface is measured, and the measurement result is obtained as "5". An annotation 2401 is created on the target surface on the two-dimensional drawing 2400, and the measurement result "5" is written. Thereafter, when the user presses the dimension creation button on another projection and the user selects the projection drawing 2402, the annotation 2401 is deleted, and the projection drawing 2402 of the reference surface 1904 of FIG. 19 and the target surface 2104 of FIG. A linear dimension 2403 is created that represents the distance.

このように、凹凸面が多い設計物で、複数の投影図を用いて指定された箇所に応じて高さ寸法を表示することができるので、複数の投影図をまたいだ選択であってもユーザの望む寸法を計測し表示させることのできる効果を奏する。   As described above, since a height dimension can be displayed according to a designated place using a plurality of projection views in a design having many uneven surfaces, the user can select even across a plurality of projection views. The effect of being able to measure and display the desired dimensions of is produced.

次に、本発明の第二の実施形態について説明する。第二の実施形態は、対象面または対象線が選択された投影図に応じて、高さ寸法を表記するのか、従来の寸法線を用いた寸法を表示するのかを決定する仕組みである。基本的に高さ寸法は奥行きのある寸法として、前述した仕組みを利用して投影図に表記するものが一般的である。しかしながら、2次元図面に表記すべき寸法は、高さ寸法だけでなく、従来から存在する寸法線を用いた寸法表記もある。前述した仕組みでは、高さ寸法を表記するための機能を3次元CADアプリケーションで動作させることによって、実現しているものだが、従来の寸法は先の機能とは別の機能を使用して表記しなければならない。そこで、より簡易な操作によって、高さ寸法と従来の寸法とを表記する必要がある。以下、これを実現するための仕組みについて説明を行う。   Next, a second embodiment of the present invention will be described. The second embodiment is a mechanism for determining whether to express the height dimension or to display the dimension using the conventional dimension line, depending on the projection plane in which the object plane or the object line is selected. Basically, the height dimension is a dimension with depth, and it is common to be described in a projection drawing using the mechanism described above. However, the dimensions to be described in the two-dimensional drawing include not only the height dimensions but also the dimension notation using conventionally existing dimension lines. The mechanism described above is realized by operating the function for representing height dimensions in a 3D CAD application, but the conventional dimensions are expressed using functions other than the previous functions. There must be. Therefore, it is necessary to indicate the height dimension and the conventional dimension by a simpler operation. The mechanism for realizing this will be described below.

第二の実施形態における高さ寸法の選択記入処理について図25を用いて説明する。尚、ステップS2501乃至ステップS2515の各ステップは情報処理装置101おけるCPU201の制御の下、処理が行われる。   The height dimension selection entry process in the second embodiment will be described with reference to FIG. The processing in steps S2501 to S2515 is performed under the control of the CPU 201 in the information processing apparatus 101.

また、この処理を情報処理装置101に実行させるためのプログラムは、情報処理装置101にインストールされている3次元CADアプリケーションの一部、若しくはアドオンプログラムとして用意されていてもよいし、3次元CADアプリケーションとは別にインストールされたプログラムとして用意されていてもよい。   A program for causing the information processing apparatus 101 to execute this process may be prepared as a part of a three-dimensional CAD application installed in the information processing apparatus 101 or as an add-on program. It may be prepared as a separately installed program.

第二の実施形態における高さ寸法選択記入処理は、前述した図4のステップS410における処理である。よって、図4のステップS401乃至ステップS410は第二の実施形態においても同様の処理を実行する。ステップS401乃至ステップS410は、同様の処理であるので詳細な説明は、省略する。   The height dimension selection entry process in the second embodiment is the process in step S410 in FIG. 4 described above. Therefore, steps S401 to S410 in FIG. 4 execute the same processing in the second embodiment. Steps S401 to S410 are similar processing, and thus detailed description will be omitted.

まず、ステップS2501では、情報処理装置101は、ユーザからの指示に従って、ステップS409で表示された寸法作成画面2602に表示されたラジオボタンのうち、基準点選択ラジオボタン2603を選択状態にする。前述した実施形態では高さ寸法作成画面を表示していたが、第二の実施形態ではステップS409で図26に示すような寸法作成画面2602を表示し、ユーザからの操作を受け付けておく。   First, in step S2501, the information processing apparatus 101 sets the reference point selection radio button 2603 among the radio buttons displayed on the dimension creation screen 2602 displayed in step S409 in accordance with an instruction from the user. In the embodiment described above, the height dimension creation screen is displayed, but in the second embodiment, a dimension creation screen 2602 as shown in FIG. 26 is displayed in step S409, and an operation from the user is received.

ステップS2502では、情報処理装置101は、ユーザからの指示に従って、ステップS405で選択された投影図上から、寸法を計測するための基準となる点(基準点)の選択を行う。そして、ステップS2503では、情報処理装置101は、ステップS2502で選択された点を基準点として、その座標値をRAM203に記憶しておく。図26に示すように、2次元図面2600には2つの投影図が存在し、そのうちステップS405で選択された投影図が前面を示す投影図面2601だった場合、当該投影図面2601に対して基準点の選択を受け付け、ユーザから選択された点2604を基準点とする。   In step S2502, the information processing apparatus 101 selects a point (reference point) serving as a reference for measuring dimensions from the projection selected in step S405 in accordance with an instruction from the user. Then, in step S2503, the information processing apparatus 101 stores the coordinate values in the RAM 203 using the point selected in step S2502 as a reference point. As shown in FIG. 26, when there are two projections in the two-dimensional drawing 2600, of which the projection selected in step S405 is the projection 2601 showing the front, a reference point with respect to the projection 2601 is Is selected, and the point 2604 selected by the user is used as a reference point.

ステップS2504では、情報処理装置101は、ユーザからの指示に従って、ステップS409で表示された寸法作成画面2602に表示されたラジオボタンのうち、対象面・対象線選択ラジオボタン2703を選択状態にする。そして、CRT210に表示された2次元図面を構成する複数の投影図のうち、いずれかの投影図の面または線に対する選択を受け付ける状態にしておく。   In step S2504, the information processing apparatus 101 sets the target surface / target line selection radio button 2703 among the radio buttons displayed on the dimension creation screen 2602 displayed in step S409 in accordance with an instruction from the user. Then, among the plurality of projection views constituting the two-dimensional drawing displayed on the CRT 210, the selection for the plane or line of any of the projection views is accepted.

ステップS2505では、情報処理装置101は、ユーザからの指示に従って、ステップS405で選択された投影図と同一の投影図上で線分が選択指示されたか否かを判定する。つまり、図27に示すように基準点と同じ投影図上で線分が選択指示されたか否かを判定することになる。同一の投影図上で線分が選択指示されたと判定した場合には、ステップS2506に処理を進め、そうでない場合には、ステップS2510に処理を進める。尚、第二の実施形態では、同一の投影図上では線分が選択指示された場合としているが、線分でなくてもよい。面でも点であってもよい。以下、同様である。   In step S2505, the information processing apparatus 101 determines whether or not a line segment is selected and instructed on the same projection as the projection selected in step S405, in accordance with an instruction from the user. That is, as shown in FIG. 27, it is determined whether or not a line segment is selected and instructed on the same projection as the reference point. If it is determined that a line segment has been selected and instructed on the same projection drawing, the process proceeds to step S2506, and if not, the process proceeds to step S2510. In the second embodiment, a line segment is selected and instructed on the same projection, but may not be a line segment. It may be a plane or a point. The same applies below.

ステップS2506では、情報処理装置101は、ステップS2505で選択指示された線分を選択状態にする(第3の指定受付手段)。そして、ステップS2507では、情報処理装置101は、選択状態の線分を対象線として、その座標値をRAM203に記憶しておく。   In step S2506, the information processing apparatus 101 sets the line segment instructed to be selected in step S2505 to be in a selected state (third specification receiving unit). Then, in step S2507, the information processing apparatus 101 stores the coordinate value in the RAM 203 with the line segment in the selected state as the target line.

ステップS2508では、情報処理装置101は、ステップS2503で取得した基準点と、ステップS2507で取得した対象線をRAM203から取得して、それらに基づいて距離(寸法)を測定する。同一の投影図上であるので、3次元モデル上で対応する箇所同士のZ軸方向(高さ方向)の差を絶対値として算出し、これを寸法とする。これ以外の算出方法であってもよい。   In step S2508, the information processing apparatus 101 acquires, from the RAM 203, the reference point acquired in step S2503 and the target line acquired in step S2507, and measures the distance (dimension) based on them. Since they are on the same projection, the difference between the corresponding portions in the Z-axis direction (height direction) on the three-dimensional model is calculated as an absolute value, and this is used as a dimension. Other calculation methods may be used.

ステップS2509では、情報処理装置101は、対象線と基準点から平行となるような寸法線を作成し、ステップS2508で算出した距離を表記する。具体的には、図27に示すように、基準点を選択した後、対象線2705を選択すると、同一の投影図内であるので、高さ寸法ではなく通常の寸法を表記する必要がある。よって、対象線と基準点から平行となるような寸法線2704を作成し、ステップS2508で算出した距離を表記することで、寸法の表記を簡易に行う。   In step S2509, the information processing apparatus 101 creates a dimension line parallel to the target line and the reference point, and describes the distance calculated in step S2508. Specifically, as shown in FIG. 27, when the object line 2705 is selected after selecting the reference point, since it is in the same projection, it is necessary to indicate not the height but the normal size. Therefore, a dimension line 2704 that is parallel to the object line and the reference point is created, and the distance is calculated in step S2508 to easily describe the dimension.

一方、ステップS2510では、情報処理装置101は、ユーザからの指示に従って、ステップS405で選択された投影図とは異なる投影図上で面が選択指示されたか否かを判定する。つまり、図28に示すように基準点とは異なる投影図上で面が選択指示されたか否かを判定することになる。異なる投影図上で面が選択指示されたと判定した場合には、ステップS2511に処理を進め、そうでない場合には、ステップS2515に処理を進める。尚、第二の実施形態では、異なる投影図上では面が選択指示された場合としているが、面でなくてもよい。線分でも点であってもよい。以下、同様である。   On the other hand, in step S2510, the information processing apparatus 101 determines, in accordance with an instruction from the user, whether or not a plane has been selected and instructed on a projection view different from the projection view selected in step S405. That is, as shown in FIG. 28, it is determined whether or not a plane has been selected and designated on a projection that is different from the reference point. If it is determined that a plane has been selected and instructed on a different projection, the process proceeds to step S 2511. If not, the process proceeds to step S 2515. In the second embodiment, although a plane is selected and instructed on different projection views, it may not be a plane. It may be a line segment or a point. The same applies below.

ステップS2511では、情報処理装置101は、ステップS2510で選択指示された面を選択状態にする。そして、ステップS2512では、情報処理装置101は、選択状態の面を対象面として、その座標値をRAM203に記憶しておく。   In step S 2511, the information processing apparatus 101 sets the surface instructed to be selected in step S 2510 in a selected state. Then, in step S 2512, the information processing apparatus 101 stores the coordinate value in the RAM 203 with the surface in the selected state as the target surface.

ステップS2513では、情報処理装置101は、ステップS2503で取得した基準点と、ステップS2512で取得した対象面をRAM203から取得して、それらに基づいて距離(高さ寸法)を測定する。ステップS2509とは異なり、基準点と対象面がそれぞれ異なる投影図上で選択されているので、寸法線を引いて寸法を表記することができないとわかる。よって、高さ寸法を表記する指示と判断する。よって、3次元モデル上で対応する箇所同士のZ軸方向(高さ方向)の差を絶対値として算出し、これを寸法とする。これ以外の算出方法であってもよい。   In step S 2513, the information processing apparatus 101 acquires from the RAM 203 the reference point acquired in step S 2503 and the target surface acquired in step S 2512, and measures the distance (height dimension) based on them. Unlike in step S2509, since the reference point and the object plane are selected on different projection views, it can be understood that the dimension line can not be drawn to indicate the dimension. Therefore, it is judged as an instruction to write the height dimension. Therefore, the difference in the Z-axis direction (height direction) between corresponding parts on the three-dimensional model is calculated as an absolute value, and this is used as a dimension. Other calculation methods may be used.

ステップS2514では、情報処理装置101は、ステップS2511で選択された対象面に高さ寸法を作成し、ステップS2513で算出した距離を表記する。具体的には、図28に示すように、基準点を選択した後、対象面2802を選択すると、基準点と対象面が異なる投影図上で選択されたとわかるので、高さ寸法を表記する必要がある。よって、対象面に高さ寸法2801を作成し、ステップS2513で算出した距離を表記することで、高さ寸法の表記を簡易に行う。   In step S 2514, the information processing apparatus 101 creates a height dimension on the target surface selected in step S 2511, and describes the distance calculated in step S 2513. Specifically, as shown in FIG. 28, when the target surface 2802 is selected after the reference point is selected, it is known that the reference point and the target surface are selected on different projection views, so it is necessary to describe the height dimension. There is. Therefore, the height dimension 2801 is created on the target surface, and the height dimension is simply described by describing the distance calculated in step S 2513.

ステップS2515では、情報処理装置101は、寸法作成画面2602に備えられたキャンセルボタン2605が押下されたか否かを判定する。キャンセルボタン2605が押下されたと判定された場合には、第二の実施形態における高さ寸法の選択記入処理を終了して呼び出し元に処理を戻し、そうでない場合には、ステップS2505に処理を戻す。   In step S 2515, the information processing apparatus 101 determines whether the cancel button 2605 provided on the dimension creation screen 2602 is pressed. If it is determined that the cancel button 2605 is pressed, the height dimension selection entry process according to the second embodiment is ended, and the process returns to the calling source. Otherwise, the process returns to step S2505. .

このようにすることで、従来の寸法線を用いた寸法表記を行いつつも、高さ寸法を表記することが可能となる。   By doing this, it is possible to represent the height dimension while performing dimension notation using conventional dimension lines.

以上説明したように、本実施形態によれば、第1の投影図上で選択されたオブジェクトと第2の投影図上で選択されたオブジェクトとの距離を第1の投影図上または第2の投影図上に表記させることが可能となるので、複数の投影図をまたいだ選択であってもユーザの望む寸法を計測し表示させることのできる効果を奏する。   As described above, according to the present embodiment, the distance between the object selected on the first projection and the object selected on the second projection is the distance on the first projection or the second Since it is possible to write on the projection, it is possible to measure and display the dimension desired by the user even if the selection is made across a plurality of projections.

次に、第一の実施形態と第二の実施形態で2次元図面に高さ寸法が表示された後、3次元モデルにおいて2次元図面で選択された基準点または基準面と対象面、更に高さ寸法を識別表示する処理について、図29を用いて説明する。尚、ステップS2901乃至ステップS2908の各ステップは情報処理装置101におけるCPU201の制御の下、処理が行われる。   Next, after height dimensions are displayed in the two-dimensional drawing in the first embodiment and the second embodiment, the reference point or reference plane and the object plane selected in the two-dimensional drawing in the three-dimensional model, and further The process of identifying and displaying the vertical dimension will be described with reference to FIG. The processing in steps S2901 to S2908 is performed under the control of the CPU 201 in the information processing apparatus 101.

また、この処理を情報処理装置101に実行させるためのプログラムは、情報処理装置101にインストールされている3次元CADアプリケーションの一部、若しくはアドオンプログラムとして用意されていてもよいし、3次元CADアプリケーションとは別にインストールされたプログラムとして用意されていてもよい。   A program for causing the information processing apparatus 101 to execute this process may be prepared as a part of a three-dimensional CAD application installed in the information processing apparatus 101 or as an add-on program. It may be prepared as a separately installed program.

前述した第一の実施形態と第二の実施形態では、奥行き方向を示す寸法である高さ寸法をユーザから指定された要素に基づいて3次元モデルで算出し、2次元図面に表示する仕組みを説明した。しかしながら、図面を閲覧するユーザにとっては、2次元図面に専門的な表記が多数あると、どこの要素の何を意味しているのかがわかりにくくなってしまう問題もある。特に、高さ寸法は補助的な表記であり、通常の寸法線とは異なるものであるので、慣れていないユーザが多い。この問題点を解決するために、以下の処理では、2次元図面で高さ寸法が選択されると、3次元モデル上で対応する要素や高さ寸法を識別表示する。これにより、ユーザの理解を助けることができるので、慣れていないユーザであっても、どこからどこの高さ寸法を示しているのかを把握することができる。以下、この詳細な説明を行う。   In the first embodiment and the second embodiment described above, the height dimension, which is a dimension indicating the depth direction, is calculated by a three-dimensional model based on an element designated by the user, and displayed in a two-dimensional drawing. explained. However, for a user who views a drawing, there is also a problem that when there are a large number of specialized notations in a two-dimensional drawing, it is difficult to understand what of what elements it means. In particular, the height dimension is an auxiliary notation and is different from a normal dimension line, and thus many users are not used to it. In order to solve this problem, in the following processing, when the height dimension is selected in the two-dimensional drawing, the corresponding element or height dimension is identified and displayed on the three-dimensional model. Since this can help the user's understanding, even an unaccustomed user can grasp from what height dimension it indicates. The following is a detailed description of this.

まず、ステップS2901では、情報処理装置101は、情報処理装置101を操作するユーザからの操作に基づき、第一の実施形態または第二の実施形態で作成された2次元図面を画面に表示し、更に図30に示すような対象面ハイライト画面3000を起動する。   First, in step S2901, the information processing apparatus 101 displays the two-dimensional drawing created in the first embodiment or the second embodiment on the screen based on an operation from the user operating the information processing apparatus 101, Further, an object plane highlight screen 3000 as shown in FIG. 30 is activated.

図30は、図29のステップS2901においてCRT210に表示される対象面ハイライト画面3000の一例を示す図である。対象面ハイライト画面3000は、ハイライトボタン3001、キャンセルボタン3002を備えている。ハイライトボタン3001は、後述する図30のステップS2902で選択される高さ寸法や、当該高さ寸法の基準点または基準面と対象面をハイライトするためのボタンである。キャンセルボタン3002は、本画面を終了するためのボタンである。以上が図30の対象面ハイライト画面3000の説明である。   FIG. 30 shows an example of the target surface highlight screen 3000 displayed on the CRT 210 in step S2901 of FIG. The target surface highlight screen 3000 includes a highlight button 3001 and a cancel button 3002. The highlight button 3001 is a button for highlighting the height dimension selected in step S2902 in FIG. 30 described later, the reference point of the height dimension, or the reference surface and the target surface. The cancel button 3002 is a button for ending the present screen. The above is the description of the target surface highlight screen 3000 of FIG.

図29の説明に戻る。ステップ2901の処理が終了後、ステップS2902では、情報処理装置101は、ユーザからの指示に応じて、第一の実施形態または第二の実施形態で表示された高さ寸法に対する選択を受け付ける。選択された注釈が高さ寸法であるか否かは、通常の寸法の注釈なのか、高さ寸法の注釈なのかを示す属性を注釈ごとに紐づけて記憶管理しておけばよい。そうすれば、この属性に応じて選択された注釈が高さ寸法であるか否かを判定し、その結果、属性が高さ寸法である旨を示すのであれば、高さ寸法が選択されたと判断できる。   It returns to the explanation of FIG. After the process of step 2901 ends, in step S2902, the information processing apparatus 101 receives a selection for the height dimension displayed in the first embodiment or the second embodiment according to an instruction from the user. Whether or not the selected annotation is a height dimension may be stored by managing an attribute indicating whether the annotation is a normal size annotation or a height dimension annotation for each annotation. Then, it is determined whether or not the annotation selected according to this attribute has a height dimension, and as a result, if it indicates that the attribute is a height dimension, it is assumed that the height dimension is selected. It can be judged.

高さ寸法が選択された後、ステップS2903では、情報処理装置101は、対象面ハイライト画面3000のいずれかのボタンの押下を受け付け、いずれのボタンが押下されたか否かを判定する。ハイライトボタン3001が押下されたと判定された場合には、ステップS2904に処理を進める。キャンセルボタン3002が押下されたと判定された場合には、対象面ハイライト画面3000を閉じて、本一連の処理を終了する。   After the height dimension is selected, in step S2903, the information processing apparatus 101 receives pressing of any button of the target surface highlight screen 3000, and determines which button is pressed. If it is determined that the highlight button 3001 is pressed, the process advances to step S2904. If it is determined that the cancel button 3002 has been pressed, the target surface highlight screen 3000 is closed, and the series of processing ends.

ハイライトボタン3001が押下されたと判定すると、ステップS2904では、情報処理装置101は、CRT210に表示されている2次元図面が参照する3次元モデルをCRT210に表示する。2次元図面は、前述の通り、3次元CADアプリケーションの機能によって3次元モデルから生成されたデータである。そのため、3次元CADアプリケーションで当該2次元図面と3次元モデルの紐付けが行われている。これに従って、ステップS2904では、開いている2次元図面に紐づく3次元モデルを特定し、これをCRT210に表示する。   If it is determined that the highlight button 3001 is pressed, the information processing apparatus 101 displays on the CRT 210 a three-dimensional model to which the two-dimensional drawing displayed on the CRT 210 refers, in step S2904. The two-dimensional drawing is data generated from the three-dimensional model by the function of the three-dimensional CAD application as described above. Therefore, the two-dimensional drawing and the three-dimensional model are linked in a three-dimensional CAD application. Following this, in step S2904, a three-dimensional model linked to the open two-dimensional drawing is identified and displayed on the CRT 210.

ステップS2905では、情報処理装置101は、図31で後述する3次元CADアプリケーションが持つ高さ寸法属性情報3100を検索し、ステップS2902で選択された高さ寸法の対象要素1と対象要素2をRAM203に取得する。   In step S2905, the information processing apparatus 101 searches for height dimension attribute information 3100 possessed by a 3D CAD application described later with reference to FIG. 31, and selects the target element 1 and target element 2 of the height dimension selected in step S2902. Get to

図31は、3次元CADアプリケーションが持つ高さ寸法属性情報3100の一例を示す図である。3次元CADアプリケーションが持つ高さ寸法属性情報3100は、寸法ID3101、対象要素1名3102、対象要素2名3103から構成されている。寸法ID3101は、2次元図面上に作成された高さ寸法の固有の識別情報を示す。この識別情報は、2次元図面上に高さ寸法が作成される度に、当該高さ寸法に対して発行される。そのため、一意な情報である。対象要素1名3102は、寸法ID3101が示す高さ寸法を構成する1つめの2次元図面上の要素名を示す。対象2要素名3103は、寸法ID3101が示す高さ寸法を構成する2つめの2次元図面上の要素名を示す。2次元図面上に作成された高さ寸法は、対象要素1名3102の要素と対象要素2名3103の要素の3次元空間における距離を表すものである。つまり、第一の実施形態または第二の実施形態で指定された、基準点または基準面と、対象面を示す。   FIG. 31 is a diagram showing an example of height dimension attribute information 3100 possessed by the 3D CAD application. The height dimension attribute information 3100 possessed by the three-dimensional CAD application is composed of a dimension ID 3101, one target element name 3102, and two target element names 3103. The dimension ID 3101 indicates unique identification information of the height dimension created on the two-dimensional drawing. This identification information is issued to the height dimension each time the height dimension is created on the two-dimensional drawing. Therefore, it is unique information. The target element first name 3102 indicates the name of an element on the first two-dimensional drawing that constitutes the height dimension indicated by the dimension ID 3101. An object 2 element name 3103 indicates an element name on the second two-dimensional drawing that constitutes the height dimension indicated by the dimension ID 3101. The height dimension created on the two-dimensional drawing represents the distance in the three-dimensional space of the element of the target element 1 3102 and the element of the target element 2 3103. That is, the reference point or reference plane and the target plane designated in the first embodiment or the second embodiment are shown.

図29の説明に戻る。ステップS2905の処理が終了後、ステップS2906では、情報処理装置101は、ステップS2904で表示した3次元モデルを構成する要素のうち、ステップS2905で取得した対象要素1名3102に対応する要素をハイライト表示する。3次元モデルから2次元図面が生成されているので、3次元モデルを構成する要素と、2次元図面を構成する要素とが対応づいている。そのため、2次元図面の要素に対応する3次元モデルの要素が特定できる。これに基づいて、対象要素1名3102に対応する要素を3次元モデルから特定し、ハイライト表示させる。本実施形態では、ハイライト表示としているが、ユーザが識別可能に表示できればなんでもよい。点滅させてもよいし、要素の縁や面だけ色を変更してもよい。   It returns to the explanation of FIG. After the process of step S2905 ends, in step S2906, the information processing apparatus 101 highlights the element corresponding to the target element name 1 3102 acquired in step S2905 among the elements constituting the three-dimensional model displayed in step S2904. indicate. Since the two-dimensional drawing is generated from the three-dimensional model, the elements constituting the three-dimensional model correspond to the elements constituting the two-dimensional drawing. Therefore, the element of the three-dimensional model corresponding to the element of the two-dimensional drawing can be identified. Based on this, the element corresponding to the target element one person 3102 is specified from the three-dimensional model and highlighted. In the present embodiment, highlight display is used, but any display may be used as long as the user can distinguish it. It may be blinked, or only the edge or face of the element may be changed in color.

ステップS2906の処理が終了後、ステップS2907では、情報処理装置101は、ステップS2904で表示した3次元モデルを構成する要素のうち、ステップS2905で取得した対象要素2名3103に対応する要素をハイライト表示する。処理の詳細は、ステップS2906で前述した通りである。   After the process of step S2906 ends, in step S2907, the information processing apparatus 101 highlights the element corresponding to the target element 2 name 3103 acquired in step S2905 among the elements constituting the three-dimensional model displayed in step S2904. indicate. Details of the process are as described above in step S2906.

そして、ステップS2908では、情報処理装置101は、ステップS2906とステップS2907でハイライト表示された2つの要素間に、ステップS2902で選択された高さ寸法を表示する。より具体的には、ステップS2902で選択された高さ寸法の値を取得しておき、ステップS2906とステップS2907でハイライト表示された2つの要素間に高さ寸法を示す寸法線を表示させ、その近傍に取得した高さ寸法の値を表示する。このようにすることで、2次元図面を閲覧するユーザは、2次元図面に表示された高さ寸法に対応する箇所を3次元モデル上で確認することができる効果を奏する。   Then, in step S2908, the information processing apparatus 101 displays the height dimension selected in step S2902 between the two elements highlighted in step S2906 and step S2907. More specifically, the value of the height dimension selected in step S2902 is acquired, and a dimension line indicating the height dimension is displayed between the two elements highlighted in step S2906 and step S2907, Display the value of the acquired height dimension in the vicinity. By doing this, the user who browses the two-dimensional drawing has an effect that the part corresponding to the height dimension displayed in the two-dimensional drawing can be confirmed on the three-dimensional model.

ここで、図32を参照して、対象面ハイライト処理による画面切り替えの一例について説明する。CRT210上には、2次元図面3200が表示されている。情報処理装置101は、ユーザからに指示に応じて、対象面ハイライト画面3202を起動する。そして、ユーザから高さ寸法3201の選択を受け付けて、ハイライトボタン3203が押下されると、図33に示すように対応する要素がハイライト表示される。   Here, with reference to FIG. 32, an example of screen switching by the target surface highlight process will be described. On the CRT 210, a two-dimensional drawing 3200 is displayed. The information processing apparatus 101 activates the target surface highlight screen 3202 according to an instruction from the user. When the user selects the height dimension 3201 and presses the highlight button 3203, the corresponding element is highlighted as shown in FIG.

図33は、図32で示す対象面ハイライト処理の実行後にCRT210に表示される3次元モデルの一例を参照して、対象面ハイライト処理による画面切り替えの一例である。3次元モデル3300は、対象面ハイライト処理の実行により、図32に示す高さ寸法3201に対応する高さ寸法属性情報3100の寸法ID3101を特定する。そして、当該寸法ID3101のレコードにある対象要素1名3102と対象要素2名3103に対応する要素3301と要素3302がハイライトされた状態になる。更に、これらの要素間に寸法線を表示させ、選択された高さ寸法の値(距離)を高さ寸法3303に示すような形態で表示する。   FIG. 33 shows an example of screen switching by the target surface highlight processing with reference to an example of the three-dimensional model displayed on the CRT 210 after the execution of the target surface highlight processing shown in FIG. The three-dimensional model 3300 specifies the dimension ID 3101 of the height dimension attribute information 3100 corresponding to the height dimension 3201 shown in FIG. 32 by executing the target surface highlight process. Then, the element 3301 and the element 3302 corresponding to the target element first name 3102 and the target element second name 3103 in the record of the dimension ID 3101 are highlighted. Furthermore, a dimension line is displayed between these elements, and the value (distance) of the selected height dimension is displayed as shown in the height dimension 3303.

以上説明したように、本実施形態によれば、2次元図面に表示された高さ寸法を選択するだけで、当該2次元図面に対応する3次元モデル上で対応箇所を識別表示することが可能となるので、2次元図面だけではわかりにくい情報の理解を助けることのできる効果を奏する。   As described above, according to the present embodiment, it is possible to identify and display corresponding portions on the three-dimensional model corresponding to the two-dimensional drawing only by selecting the height dimension displayed in the two-dimensional drawing. Therefore, it has the effect of helping to understand information that is difficult to understand only with two-dimensional drawings.

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

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

したがって、本発明の機能処理をコンピュータで実現するために、前記コンピュータにインストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明は、本発明の機能処理を実現するためのコンピュータプログラム自体も含まれる。   Therefore, the program code itself installed in the computer to realize the functional processing of the present invention by the computer also implements the present invention. That is, the present invention also 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 an object code, a program executed by an interpreter, script data supplied to an OS, or the like.

プログラムを供給するための記録媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、MO、CD−ROM、CD−R、CD−RWなどがある。また、磁気テープ、不揮発性のメモリカード、ROM、DVD(DVD−ROM,DVD−R)などもある。   Examples of recording media 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. There are also magnetic tapes, non-volatile memory cards, ROMs, DVDs (DVD-ROMs, DVD-Rs) and the like.

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

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

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

また、コンピュータが、読み出したプログラムを実行することによって、前述した実施形態の機能が実現される。その他、そのプログラムの指示に基づき、コンピュータ上で稼動しているOSなどが、実際の処理の一部又は全部を行い、その処理によっても前述した実施形態の機能が実現され得る。   Also, 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 embodiment can be realized by the processing.

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

なお、前述した実施形態は、本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。即ち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。   The embodiments described above merely show examples of implementation in practicing the present invention, and the technical scope of the present invention should not be interpreted in a limited manner by these. That is, the present invention can be implemented in various forms without departing from the technical concept 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 3D CAD System 101 Information Processing Device 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 (6)

設計物の立体形状を示す三次元モデルに対応する、複数の投影図から構成される二次元図面を表示可能な情報処理装置であって、
前記二次元図面を構成する複数の投影図のうち、少なくとも2つの、異なる方向から投影された投影図のそれぞれにおいて、寸法を算出するための基準となる要素の指定を受け付ける指定受付手段と、
前記指定受付手段で指定を受け付けた少なくとも2つの要素に基づいて算出された寸法を、前記指定受付手段で指定を受け付けた要素のうち、前記寸法を奥行き方向の寸法とする要素に対応付けて表示すべく制御する表示制御手段と、
を備えることを特徴とする情報処理装置。
An information processing apparatus capable of displaying a two-dimensional drawing composed of a plurality of projection drawings corresponding to a three-dimensional model showing a three-dimensional shape of a design object,
Designation accepting means for accepting designation of an element serving as a reference for calculating dimensions in each of at least two projection views projected from different directions among the plurality of projection views constituting the two-dimensional drawing;
The dimension calculated based on the at least two elements accepted by the designation accepting means is displayed in association with the element having the dimension as the dimension in the depth direction among the elements accepted by the designation accepting means Display control means for controlling
An information processing apparatus comprising:
前記表示制御手段は、前記指定受付手段で指定を受け付けた複数の要素が平行な位置関係でない場合には、前記寸法の表示とは異なる表示をすべく制御することを特徴とする請求項1に記載の情報処理装置。   The display control means controls to display different from the display of the dimensions when the plurality of elements whose specification is received by the specification receiving means is not in a parallel positional relationship. Information processor as described. 前記指定受付手段は、前記二次元図面を構成する任意の投影図において、奥行き方向の寸法を算出する対象となる要素である当該投影図を構成する面の指定を受け付けることを特徴とする請求項1又は2に記載の情報処理装置。   In the arbitrary projection drawing which constitutes the two-dimensional drawing, the specification reception means receives specification of a surface which constitutes the projection drawing which is an element which is a target for calculating a dimension in the depth direction. The information processing apparatus according to 1 or 2. 前記表示制御手段は、前記寸法の算出基準となる要素が指定された投影図とは別の投影図に、前記寸法の表示を行うべく制御することを特徴とする請求項1乃至3のいずれか1項に記載の情報処理装置。   4. The display control means according to any one of claims 1 to 3, wherein the display control means performs control to display the dimension in a projection view different from the projection view in which the element serving as the calculation reference of the dimension is specified. An information processing apparatus according to item 1. 設計物の立体形状を示す三次元モデルに対応する、複数の投影図から構成される二次元図面を表示可能な情報処理装置の制御方法であって、
前記情報処理装置の指定受付手段が、前記二次元図面を構成する複数の投影図のうち、少なくとも2つの、異なる方向から投影された投影図のそれぞれにおいて、寸法を算出するための基準となる要素の指定を受け付ける指定受付ステップと、
前記情報処理装置の表示制御手段が、前記指定受付ステップで指定を受け付けた少なくとも2つの要素に基づいて算出された寸法を、前記指定受付ステップで指定を受け付けた要素のうち、前記寸法を奥行き方向の寸法とする要素に対応付けて表示すべく制御する表示制御ステップと、
を含む制御方法。
A control method of an information processing apparatus capable of displaying a two-dimensional drawing composed of a plurality of projections corresponding to a three-dimensional model indicating a three-dimensional shape of a design object,
An element serving as a reference for calculating dimensions in at least two of the plurality of projection views constituting the two-dimensional drawing , the designation reception means of the information processing apparatus projecting from at least two different directions. Designated acceptance step for accepting the designation of
The dimension calculated based on the at least two elements accepted in the designation accepting step by the display control means of the information processing device is the dimension in the depth direction among the elements accepted in the designation accepting step. A display control step of controlling to display in correspondence with an element whose size is
Control method including:
設計物の立体形状を示す三次元モデルに対応する、複数の投影図から構成される二次元図面を表示可能な情報処理装置で実行可能なプログラムであって、
前記情報処理装置を、
前記二次元図面を構成する複数の投影図のうち、少なくとも2つの、異なる方向から投影された投影図のそれぞれにおいて、寸法を算出するための基準となる要素の指定を受け付ける指定受付手段と、
前記指定受付手段で指定を受け付けた少なくとも2つの要素に基づいて算出された寸法を、前記指定受付手段で指定を受け付けた要素のうち、前記寸法を奥行き方向の寸法とする要素に対応付けて表示すべく制御する表示制御手段として機能させるためのプログラム。
A program that can be executed by an information processing apparatus capable of displaying a two-dimensional drawing composed of a plurality of projections, corresponding to a three-dimensional model indicating a three-dimensional shape of a design object,
The information processing apparatus
Designation accepting means for accepting designation of an element serving as a reference for calculating dimensions in each of at least two projection views projected from different directions among the plurality of projection views constituting the two-dimensional drawing;
The dimension calculated based on the at least two elements accepted by the designation accepting means is displayed in association with the element having the dimension as the dimension in the depth direction among the elements accepted by the designation accepting means A program to function as display control means to control
JP2017199056A 2012-07-31 2017-10-13 INFORMATION PROCESSING APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM Active JP6544407B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2012170608 2012-07-31
JP2012170608 2012-07-31

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2016145081A Division JP6233467B2 (en) 2012-07-31 2016-07-25 Information processing apparatus, control method thereof, and program

Publications (3)

Publication Number Publication Date
JP2018005954A JP2018005954A (en) 2018-01-11
JP2018005954A5 JP2018005954A5 (en) 2018-09-13
JP6544407B2 true JP6544407B2 (en) 2019-07-17

Family

ID=50395898

Family Applications (4)

Application Number Title Priority Date Filing Date
JP2013073701A Expired - Fee Related JP5652495B2 (en) 2012-07-31 2013-03-29 Information processing apparatus, control method thereof, and program
JP2014234070A Active JP5983711B2 (en) 2012-07-31 2014-11-19 Information processing apparatus, control method thereof, and program
JP2016145081A Active JP6233467B2 (en) 2012-07-31 2016-07-25 Information processing apparatus, control method thereof, and program
JP2017199056A Active JP6544407B2 (en) 2012-07-31 2017-10-13 INFORMATION PROCESSING APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM

Family Applications Before (3)

Application Number Title Priority Date Filing Date
JP2013073701A Expired - Fee Related JP5652495B2 (en) 2012-07-31 2013-03-29 Information processing apparatus, control method thereof, and program
JP2014234070A Active JP5983711B2 (en) 2012-07-31 2014-11-19 Information processing apparatus, control method thereof, and program
JP2016145081A Active JP6233467B2 (en) 2012-07-31 2016-07-25 Information processing apparatus, control method thereof, and program

Country Status (1)

Country Link
JP (4) JP5652495B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6582202B2 (en) * 2016-10-05 2019-10-02 株式会社大都技研 Amusement stand
JP7078834B2 (en) * 2017-06-30 2022-06-01 キヤノンマーケティングジャパン株式会社 Information processing equipment, information processing system, its control method and program
CN110750840B (en) * 2019-09-17 2023-10-13 东莞市超图软件科技有限公司 Method and device for automatically generating two-dimensional part view based on three-dimensional model
JP7149354B2 (en) * 2020-03-27 2022-10-06 Sppテクノロジーズ株式会社 MAINTENANCE SUPPORT SYSTEM, MAINTENANCE SUPPORT METHOD, AND MAINTENANCE SUPPORT PROGRAM

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63115222A (en) * 1986-11-04 1988-05-19 Canon Inc Three-dimensional coordinate input device
JP3143464B2 (en) * 1990-09-04 2001-03-07 キヤノン株式会社 Apparatus and method for creating three-dimensional model
JP3522830B2 (en) * 1994-06-09 2004-04-26 ミサワホーム株式会社 3D ceiling design support system
JPH0973472A (en) * 1995-09-04 1997-03-18 Canon Inc Designing device and describing method for its annotation text
US6654027B1 (en) * 2000-06-09 2003-11-25 Dassault Systemes Tool for three-dimensional analysis of a drawing
JP4643200B2 (en) * 2004-08-09 2011-03-02 富士通株式会社 3D model display program, 3D model display method, and 3D model display device
JP2006106938A (en) * 2004-10-01 2006-04-20 Andor Kk Cad apparatus, method of creating cad drawing, cad drawing creating program and program medium recording the program
JP2012003507A (en) * 2010-06-16 2012-01-05 Toyota Motor Corp Device and method for automatic creation of processing instruction drawing

Also Published As

Publication number Publication date
JP5983711B2 (en) 2016-09-06
JP6233467B2 (en) 2017-11-22
JP2018005954A (en) 2018-01-11
JP2015035231A (en) 2015-02-19
JP2014044704A (en) 2014-03-13
JP2016197449A (en) 2016-11-24
JP5652495B2 (en) 2015-01-14

Similar Documents

Publication Publication Date Title
JP6544407B2 (en) INFORMATION PROCESSING APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM
US8533184B2 (en) Numerical analysis data creating method and apparatus, and computer-readable program
KR20180131471A (en) Apparatus for integrated management of construction errors using 3d scanning with bim and method thereof
US20070038415A1 (en) Cable quantity totalizing device, cable quantity totalizing method and cable quantity totalizing program
JP4893148B2 (en) Shape simplification device and program used therefor
JP3347964B2 (en) Automatic programming device and method
CN102667867A (en) Computer-implemented method of geometric feature detection and modification
US11250179B2 (en) Engineering drawings and digital twins
CN101198957A (en) Method and device for generation of a parametric model associated with a 3d geometry
US7428480B2 (en) CAD analysis result data processing apparatus, analytic simulation apparatus, CAD analysis result data processing method and CAD analysis result data processing program
JP2006277166A (en) Three-dimensional shape comparison program and three-dimensional similar shape retrieval program
CN111753347B (en) Component screening method based on Revit primitives, revit platform and storage medium
CN115438396A (en) Package design method and device
CN102177518A (en) Method and device for producing a finite element model
KR100994693B1 (en) Analysis supproting apparatus, analysis supporting method, and computer readable recording medium which records analysis supporting program
JP2020204817A (en) Three-dimensional model producing device, three-dimensional model producing method, and program
KR101807585B1 (en) Apparatus and Method for designing automation using FEM
JP3939550B2 (en) Object consistency management method and system
EP2088525A1 (en) Analysis supporting apparatus, analysis supporting method, and analysis supporting program
JP3143464B2 (en) Apparatus and method for creating three-dimensional model
JP5644452B2 (en) Information processing apparatus, control method thereof, and program
JP5084702B2 (en) Analysis data input device, CAE device, analysis data input method, and program
CN112783913B (en) Database updating method, device, equipment and storage medium
CN118133570B (en) Project creation method, storage medium, electronic device, and program product
JP6264208B2 (en) Display program, display method, and display device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171113

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20180703

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180806

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180903

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181016

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20181031

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181203

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20190115

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190603

R151 Written notification of patent or utility model registration

Ref document number: 6544407

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