JP2007065923A - Automatic adjustment program and system therefor - Google Patents

Automatic adjustment program and system therefor Download PDF

Info

Publication number
JP2007065923A
JP2007065923A JP2005250212A JP2005250212A JP2007065923A JP 2007065923 A JP2007065923 A JP 2007065923A JP 2005250212 A JP2005250212 A JP 2005250212A JP 2005250212 A JP2005250212 A JP 2005250212A JP 2007065923 A JP2007065923 A JP 2007065923A
Authority
JP
Japan
Prior art keywords
procedure
primitive
position adjustment
data
identification information
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.)
Withdrawn
Application number
JP2005250212A
Other languages
Japanese (ja)
Inventor
Hajime Haga
元 芳賀
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2005250212A priority Critical patent/JP2007065923A/en
Publication of JP2007065923A publication Critical patent/JP2007065923A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a program for making it unnecessary for a user to operate the position correction of component number or component name performed by a user himself to the previously automatically generated design drawing even when a design drawing is automatically generated again by changing layout, and for reflecting it on the design drawing automatically generated this time. <P>SOLUTION: This automatic adjustment program is provided to search the component identification information and the position coordinates of position adjustment request primitive and the arrangement origin of components for every component in the order of the acquisition of the component information before drawing arrangement, to generate new CAD data, to specify the components having the same component identification information as the component identification information searched in the order of the adjustment of the positions of the position adjustment request primitive, to search the position coordinates of the position adjustment request primitive of the specified components and the arrangement origin of the components, and to search the difference of the relative positions of the position adjustment request primitive from the searched position coordinates of the position adjustment request primitive and the arrangement origin of the components, and to make the position adjustment of the position adjustment request primitive for the difference. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、CADデータ中の特定オブジェクトの位置調整を行うプログラムに関し、主に、使用者が既に行った位置調整を修正後の図面に対して行うプログラムに関する。   The present invention relates to a program for adjusting the position of a specific object in CAD data, and mainly relates to a program for adjusting a position already adjusted by a user on a corrected drawing.

背景技術として、レイアウト図を作成するレイアウト装置を説明する。このレイアウト装置は例えばリフォーム店でレイアウト図を作成する場合に用いられている。リフォーム店では、キッチン、トイレ、バス等のリフォームを希望する客がリフォームショップの店員に相談すると、店員はカタログを見せながら客の希望をヒアリングする。ヒアリングしながら、客の要望通りのレイアウト図を店員はレイアウト装置を用いて作成する。レイアウト装置は、リフォームショップが取り扱う部品を組み合せてリフォームのレイアウト図を作成する装置である。部品とは、例えばシステムキッチンの場合には、シンク、レンジフード、食器洗い乾燥機、フロア収納、ウォール収納等のシステムキッチンを構成するものである。店員はレイアウト装置のディスプレイを客に向け、客がカタログを見ながら希望する部品をレイアウト装置上で組み合せてレイアウトを完成させていく。このレイアウト装置には客のリフォーム環境を入力することができ、事前に現地調査を行って入力する。レイアウト作成完了後、店員はレイアウト装置を用いてレイアウト図から設計図を自動生成させる。詳細には、部品のシンボルデータからなるレイアウト図に基づき、シンボルデータと対応する部品のCAD形式の部品データを多数記録した記憶手段から対応する部品を読み出して設計図のCADデータを自動生成する。CADデータは各部品がグループ化されており、各部品に対して丸付き数字の部品番号と部品名とが自動生成の過程で付与される。ここで、各部品に付与された部品番号と部品名も合わせてグループ化される。部品番号は図面の隅に設けられる部品欄で使用される。部品欄は部品の詳細な情報が記載されており、例えば、部品名、材質、個数、重量、工程、備考が設けられる。自動生成されたCADデータをCAD装置に読み込ませると、設計図(施工図、製品三面図)がディスプレイに表示される。ディスプレイに表示された設計図は、部品に自動的に部品番号及び部品名が付与されているため、部品を構成するライン上に部品番号及び部品名が配置されることが多々ある。この場合に店員はCAD装置の基本機能であるオブジェクトの移動の操作を行ってライン上に重ならないように部品番号及び部品名を配置する。そして、体裁が整った設計図及び見積もりを客に提出する。客が設計図及び見積もりを確認し、契約を行う。契約が成立すると、リフォーム店の店員から施工業者へ設計図が渡され、施工業者が設計図に従って施工を行う。以上の一連の流れを経て、リフォームが完了する。
特開平9−6981号公報 特開平8−202891号公報
As a background art, a layout apparatus for creating a layout diagram will be described. This layout apparatus is used, for example, when creating a layout drawing at a remodeling store. In a renovation store, when a customer who wants to remodel kitchens, toilets, baths, etc., consults with a remodeling shop clerk, the clerk listens to the customer's wishes while viewing the catalog. While hearing, the store clerk creates a layout diagram as requested by the customer using the layout device. The layout device is a device that creates a reform layout diagram by combining parts handled by a renovation shop. For example, in the case of a system kitchen, the components constitute a system kitchen such as a sink, a range hood, a dishwasher, floor storage, and wall storage. The store clerk points the display of the layout device to the customer and completes the layout by combining the desired parts on the layout device while viewing the catalog. A customer's remodeling environment can be input to this layout device, and a field survey is performed in advance. After completing the layout creation, the store clerk uses the layout device to automatically generate a design drawing from the layout drawing. Specifically, based on a layout diagram composed of symbol data of components, the corresponding components are read out from a storage means in which a large number of CAD-format component data of the components corresponding to the symbol data are recorded, and CAD data of the design drawing is automatically generated. In the CAD data, each part is grouped, and a part number and a part name with a circled number are given to each part in the process of automatic generation. Here, the part number and part name assigned to each part are also grouped together. The part number is used in the part column provided at the corner of the drawing. In the part column, detailed information of the part is described. For example, the part name, material, number, weight, process, and remarks are provided. When the automatically generated CAD data is read by the CAD device, a design drawing (construction drawing, product three-side view) is displayed on the display. In the design drawing displayed on the display, since the part number and the part name are automatically assigned to the part, the part number and the part name are often arranged on the line constituting the part. In this case, the store clerk performs the operation of moving the object, which is a basic function of the CAD device, and arranges the part number and the part name so as not to overlap the line. Then, submit a well-designed blueprint and estimate to the customer. The customer confirms the blueprint and estimate and makes a contract. When the contract is finalized, a blueprint is delivered from the remodeling store clerk to the contractor, and the contractor performs the construction according to the blueprint. The renovation is completed through the above series of flows.
Japanese Patent Laid-Open No. 9-6981 JP-A-8-202891

上記特許文献は、CAD(Computer Aided Design)装置に係るものである。前者は任意のオペレーションに遡って復元するアンドウ(Undo)機能及びこのアンドウを取り消すリドウ(Redo)機能に関する。後者は使用者が選択したビューを保存し、保存したビューの中から任意に選択し表示を切り換える機能に関する。これらの特許文献は本発明と同技術分野の参考文献であり、関連性が低いことから詳細な説明は省略する。   The above patent document relates to a CAD (Computer Aided Design) apparatus. The former relates to an undo function for restoring back to an arbitrary operation and a redo function for canceling this undo. The latter relates to a function of saving a view selected by the user, and selecting and switching the display arbitrarily from the saved views. These patent documents are references in the same technical field as the present invention, and since their relevance is low, detailed description is omitted.

前記背景技術のレイアウト装置によれば客との共同作業で店員がレイアウト図を作成することができ、客の意図に沿ったレイアウト図を作成することができる。ところが、客は受け取った設計図を見て修正を店員に指示することがよくある。店員はこの指示に従い部品のサイズ調整、部品の代替、部品の削除等をレイアウト装置上で行い、再び、設計図を自動生成させる。自動生成された設計図は客が指示通りの部品配置になっているものの、部品毎に配置された部品番号及び部品名は自動配置されることからライン上に重なった状態で配置されており、店員は前回自動生成された設計図に対して行った部品番号及び部品名の配置を略同様に行う必要があるという課題を有する。   According to the layout apparatus of the background art, a store clerk can create a layout diagram in collaboration with a customer, and a layout diagram according to the customer's intention can be created. However, customers often instruct shop assistants to look at the received blueprints. In accordance with this instruction, the store clerk performs part size adjustment, part replacement, part deletion, etc. on the layout device, and automatically generates a design drawing again. Although the automatically generated blueprints are arranged according to the instructions of the customer, the part number and part name arranged for each part are automatically arranged, so they are arranged on the line, The store clerk has a problem that it is necessary to arrange the part number and the part name performed on the design drawing automatically generated last time in the same manner.

本発明は前記課題を解決するためになされたものであり、レイアウトの変更により設計図を再度自動生成させた場合であっても、前回自動生成させた設計図に対して使用者自らが行った部品番号及び部品名等の位置調整要プリミティブの位置修正に関して操作することなく、今回自動生成された設計図に対して反映することができるプログラムを提供することを目的とする。   The present invention has been made to solve the above problems, and even when the design drawing is automatically generated again by changing the layout, the user himself / herself performed the design drawing that was automatically generated last time. It is an object of the present invention to provide a program that can be reflected on a design drawing that is automatically generated this time without performing an operation for correcting the position of a position adjustment primitive such as a part number and a part name.

(1) 本発明に係る自動調整プログラムは、コンピュータに、修正前のCADデータ中の図面配置原点を求める手順、修正前のCADデータを構成する部品のグループデータから部品を識別する部品識別情報を取り出す手順、グループデータを構成するプリミティブデータの中から位置調整を必要とするプリミティブである位置調整要プリミティブの位置座標を取り出す手順、及び、部品の配置原点を求める手順からなる図面配置前の部品情報の取得大手順と、部品のシンボルデータ、部品の配置座標及び部品識別情報からなるレイアウトデータに基づき対応するCADデータ形式の部品データを読み出し、配置座標に基づき部品を配置する新規図面配置大手順と、前記取得大手順で取り出した部品識別情報と新規図面の部品識別情報とを比較し、部品識別情報が同一である場合に、新規図面においてグループデータを構成するプリミティブデータの中で位置調整要プリミティブの位置座標を取り出す手順、新規図面の配置原点を求める手順、及び、既存図の位置調整要プリミティブの部品の配置原点からの相対距離と新規図面の位置調整要プリミティブの部品の配置原点からの相対距離とを比較し、新規図面の位置調整要プリミティブを相対距離の差分分移動させる手順からなる位置調整要プリミティブの位置調整大手順とを実行させるためのものである。このように本発明においては、図面配置前の部品情報の取得大手順で部品毎に部品識別情報、位置調整要プリミティブの位置座標、部品の配置原点を求め、新規CADデータを生成し、位置調整要プリミティブの位置調整大手順で求めた部品識別情報と同一の部品識別情報を有する部品を特定し、特定した部品の位置調整要プリミティブの位置座標、部品の配置原点を求め、求めた位置調整要プリミティブの位置座標、部品の配置原点から位置調整要プリミティブの相対位置の差異を求め、その差異分位置調整要プリミティブを位置調整するので、使用者が既に位置調整した部品に関して位置調整要プリミティブを移動させる必要がなく、自動的に位置調整が完了し、使用者の手間が大幅に低減される。位置調整を必要とするプリミティブである位置調整要プリミティブは、例えば、部品番号、部品名が該当する。この自動調整プログラムは、後記実施形態中のCADデータ生成プログラムに該当する。自動調整プログラムと名称したのは、発明の要部が自動調整にあるためである。   (1) The automatic adjustment program according to the present invention provides a computer with a procedure for obtaining a drawing arrangement origin in CAD data before correction, and part identification information for identifying a part from group data of parts constituting the CAD data before correction. Part information before layout of the drawing, which includes a procedure for retrieving, a procedure for retrieving the position coordinates of the primitive requiring alignment from the primitive data constituting the group data, and a procedure for obtaining the component placement origin And a new drawing layout large procedure for reading out the corresponding CAD data format part data based on the layout data consisting of the part symbol data, the part placement coordinates and the part identification information, and placing the parts based on the placement coordinates. The component identification information extracted in the large acquisition procedure and the component identification information of the new drawing In comparison, when the component identification information is the same, the procedure for extracting the position coordinates of the primitives requiring position adjustment from the primitive data constituting the group data in the new drawing, the procedure for obtaining the arrangement origin of the new drawing, and the existing drawing Compare the relative distance from the placement origin of the part of the primitive required to be adjusted to the relative distance from the placement origin of the part of the new drawing position adjustment primitive, and move the position adjustment primitive of the new drawing by the difference of the relative distance. This is to execute a large position adjustment procedure of the position adjustment primitives consisting of the steps to be performed. As described above, in the present invention, component identification information, position coordinates of primitives requiring position adjustment, component placement origins are obtained for each part in a large procedure for obtaining part information before drawing placement, new CAD data is generated, and position adjustment is performed. Primitive position adjustment Identifies a part that has the same part identification information as the part identification information obtained in the large procedure, finds the position coordinates of the identified part, and locates the origin of the part. Since the relative position of the position adjustment primitive is calculated from the position coordinates of the primitive and the part placement origin, the position adjustment primitive is adjusted for the difference, so the position adjustment primitive is moved with respect to the part that has already been adjusted by the user. Therefore, the position adjustment is automatically completed, and the labor of the user is greatly reduced. The primitive requiring position adjustment, which is a primitive that requires position adjustment, corresponds to a part number and a part name, for example. This automatic adjustment program corresponds to a CAD data generation program in an embodiment described later. The automatic adjustment program is named because the main part of the invention is automatic adjustment.

(2) 本発明に係る自動調整プログラムは、コンピュータに、修正前のCADデータ中の図面配置原点を求める手順、修正前のCADデータを構成する部品のグループデータから部品を識別する部品識別情報を取り出す手順、グループデータを構成するプリミティブデータの中から位置調整を必要とするプリミティブである位置調整要プリミティブの位置座標及び属性を取り出す手順、及び、部品の配置原点を求める手順からなる図面配置前の部品情報の取得大手順と、部品のシンボルデータ、部品の配置座標及び部品識別情報からなるレイアウトデータに基づき対応するCADデータ形式の部品データを読み出し、配置座標に基づき部品を配置する新規図面配置大手順と、前記取得大手順で取り出した部品識別情報と新規図面の部品識別情報とを比較し、部品識別情報が同一である場合に、新規図面においてグループデータを構成するプリミティブデータの中で位置調整要プリミティブの位置座標を取り出す手順、新規図面の配置原点を求める手順、既存図の位置調整要プリミティブの部品の配置原点からの相対距離と新規図面の位置調整要プリミティブの部品の配置原点からの相対距離とを比較し、新規図面の位置調整要プリミティブを相対距離の差分分移動させる手順、及び、新規図面の位置調整要プリミティブの属性を既存図の位置調整要プリミティブの属性に更新する手順からなる位置調整要プリミティブの位置調整大手順とを実行させるためのものである。この(2)の自動調整プログラムは、前記(1)の自動調整プログラムに加えて、位置調整要プリミティブの位置だけでなく属性についても既存図に準じて更新するので、使用者が前回既存図に対して行った位置調整要プリミティブの位置調整だけでなく、位置調整要プリミティブの属性の更新も新規図面に自動的に反映され、使用者の利便性がより高まる。位置調整要プリミティブの属性としては、例えば、線種、線色、線長、フォント、フォントサイズ、フォント色等が該当する。   (2) The automatic adjustment program according to the present invention provides a computer with a procedure for obtaining a drawing arrangement origin in CAD data before correction, and part identification information for identifying a part from group data of parts constituting the CAD data before correction. Pre-placement of drawing, consisting of a step of taking out, a step of taking out position coordinates and attributes of primitives that require position adjustment from primitive data constituting group data, and a step of obtaining a component placement origin A new drawing layout that reads out the corresponding CAD data format part data based on the component information acquisition procedure and the layout data consisting of the part symbol data, part placement coordinates and part identification information, and places the part based on the placement coordinates. Procedure, part identification information extracted in the large acquisition procedure, and part identification of new drawing If the component identification information is the same, the procedure to extract the position coordinates of the primitives that require positioning from the primitive data that constitutes the group data in the new drawing, the procedure to find the placement origin of the new drawing, and the existing Compare the relative distance from the placement origin of the part for the position adjustment primitive in the figure to the relative distance from the placement origin of the part for the position adjustment primitive in the new drawing, and set the position adjustment primitive in the new drawing as the difference of the relative distance. This is to execute a procedure for moving and a large position adjustment procedure for primitives for position adjustment including a procedure for updating the attributes of primitives for position adjustment of new drawings to the attributes of primitives for position adjustment of existing drawings. In addition to the automatic adjustment program of (1), the automatic adjustment program of (2) updates not only the position of the position adjustment primitive but also the attribute according to the existing figure, so that the user can add the previous existing figure to the previous figure. In addition to the position adjustment of the position adjustment primitive performed for the position update, the update of the attribute of the position adjustment primitive is automatically reflected in the new drawing, and the convenience for the user is further enhanced. The attributes of the position adjustment primitives include, for example, line type, line color, line length, font, font size, font color, and the like.

(3) 本発明に拘る自動調整プログラムは、コンピュータに、CADデータ中の図面配置原点を求める手順、CADデータを構成する部品のグループデータから部品を識別する部品種類識別情報を取り出す手順、グループデータを構成するプリミティブデータの中から位置調整を必要とするプリミティブである位置調整要プリミティブの位置座標を取り出す手順、部品の配置原点を求める手順、及び、部品種類識別情報、位置調整要プリミティブの位置座標及び部品の配置原点を記憶手段に記録する手順からなる部品情報の取得大手順と、対象CADデータ中で記憶手段に記録した部品種類識別情報と同一の部品種類識別情報の部品を特定する手順、部品種類識別情報が同一である場合に、対象CADデータにおいてグループデータを構成するプリミティブデータの中で位置調整要プリミティブの位置座標を取り出す手順、対象CADデータの図面の配置原点を求める手順、及び、記憶手段に記録した位置調整要プリミティブの部品の配置原点からの相対距離と対象CADデータの図面の位置調整要プリミティブの部品の配置原点からの相対距離とを比較し、対象CADデータの位置調整要プリミティブを相対距離の差分分移動させる手順からなる位置調整要プリミティブの位置調整大手順とを実行させるためのものである。この(3)の自動調整プログラムは、修正前のCADデータに拘ることなく、CADデータから部品情報の取得大手順で部品毎に部品種類識別情報、位置調整要プリミティブの位置座標、部品の配置原点を求め、位置調整要プリミティブの位置調整大手順で求めた部品識別情報と同一の部品種類識別情報を有する部品を特定し、特定した部品の位置調整要プリミティブの位置座標、部品の配置原点を求め、求めた位置調整要プリミティブの位置座標、部品の配置原点及び記録した位置調整要プリミティブの位置座標、部品の配置原点から位置調整要プリミティブの相対位置の差異を求め、その差異分位置調整要プリミティブを位置調整するので、使用者が従前位置調整したことがある又は他の使用者が従前位置調整したことがある部品に関して位置調整要プリミティブを移動させる必要がなく、自動的に位置調整が完了し、使用者の手間が大幅に低減される。ここで、複数の使用者であっても、位置調整要プリミティブが同一位置に調整されるので、統一化を図ることができ、使用者によって異なる位置への配置となることを防ぐことができる。部品種類識別情報は、部品の種類を識別する情報である。   (3) An automatic adjustment program according to the present invention includes a computer for obtaining a drawing arrangement origin in CAD data, a procedure for extracting part type identification information for identifying a part from group data of parts constituting the CAD data, and group data. The procedure for extracting the position coordinates of a primitive requiring alignment from the primitive data that constitutes the position, the procedure for obtaining the component placement origin, and the component type identification information, the position coordinates of the primitive requiring alignment And a procedure for specifying a component having the same component type identification information as the component type identification information recorded in the storage unit in the target CAD data, When the part type identification information is the same, group data is configured in the target CAD data A procedure for extracting the position coordinates of the primitives requiring position adjustment in the primitive data to be obtained, a procedure for obtaining the placement origin of the drawing of the target CAD data, and a relative distance from the placement origin of the parts of the primitives requiring position adjustment recorded in the storage means Position adjustment of the position adjustment primitive including the procedure of moving the position adjustment required primitive of the target CAD data by the relative distance by comparing the relative distance from the component origin of the position adjustment primitive in the drawing of the target CAD data. This is to execute a large procedure. The automatic adjustment program of (3) is not limited to the CAD data before correction, and the parts type identification information, the position coordinates of primitives requiring position adjustment, the origin of placement of parts for each part in a large procedure for obtaining part information from CAD data. The part having the same part type identification information as the part identification information obtained in the large position adjustment procedure of the position adjustment primitive is identified, and the position coordinates of the position adjustment primitive of the identified part and the component origin of origin are obtained. Then, the position coordinates of the primitives requiring position adjustment, the position origin of the component and the position coordinates of the recorded primitives requiring position adjustment, and the relative position difference of the primitives requiring position adjustment from the part placement origin are obtained, and the position adjustment primitives corresponding to the difference are obtained. For parts that have been adjusted by the user or previously adjusted by other users Positioning a main primitive is not necessary to move the automatically positioning is completed, effort of the user is greatly reduced. Here, even for a plurality of users, since the position adjustment primitives are adjusted to the same position, it is possible to unify them and prevent them from being arranged at different positions depending on the users. The component type identification information is information for identifying the type of component.

(4) 本発明に係る自動調整プログラムは必要に応じて、部品を提示する手順、使用者に選択された部品を指定された位置に配置する手順、部品に対して部品識別情報を付与する手順、及び、指定された表示で描画する手順からなるレイアウト大手順をさらに含むものである。この(4)の自動調整プログラムは、前記(1)ないし(3)のいずれかの自動調整プログラムに加えて、レイアウト図を作成する各種手順を含むものである。この自動調整プログラムは、後記実施形態中のレイアウトプログラム及びCADデータ生成プログラムに該当する。   (4) The automatic adjustment program according to the present invention provides a procedure for presenting a part, a procedure for placing the part selected by the user at a designated position, and a procedure for giving part identification information to the part as necessary. And a layout large procedure including a procedure of drawing with a designated display. The automatic adjustment program (4) includes various procedures for creating a layout diagram in addition to any of the automatic adjustment programs (1) to (3). This automatic adjustment program corresponds to a layout program and a CAD data generation program in the embodiment described later.

(5) 本発明に係る自動調整システムは、修正前のCADデータ中の図面配置原点を求める手段、修正前のCADデータを構成する部品のグループデータから部品を識別する部品識別情報を取り出す手段、グループデータを構成するプリミティブデータの中から位置調整を必要とするプリミティブである位置調整要プリミティブの位置座標を取り出す手段、及び、部品の配置原点を求める手段からなる図面配置前の部品情報の取得大手段と、部品のシンボルデータ、部品の配置座標及び部品識別情報からなるレイアウトデータに基づき対応するCADデータ形式の部品データを読み出し、配置座標に基づき部品を配置する新規図面配置大手段と、前記取得大手順で取り出した部品識別情報と新規図面の部品識別情報とを比較し、部品識別情報が同一である場合に、新規図面においてグループデータを構成するプリミティブデータの中で位置調整要プリミティブの位置座標を取り出す手段、新規図面の配置原点を求める手段、及び、既存図の位置調整要プリミティブの部品の配置原点からの相対距離と新規図面の位置調整要プリミティブの部品の配置原点からの相対距離とを比較し、新規図面の位置調整要プリミティブを相対距離の差分分移動させる手段からなる位置調整要プリミティブの位置調整大手段とを備えるものである。この自動調整システムは、前記(1)の自動調整プログラムをシステム化したものに相当する。
これら前記の発明の概要は、本発明に必須となる特徴を列挙したものではなく、これら複数の特徴のサブコンビネーションも発明となり得る。
(5) The automatic adjustment system according to the present invention includes means for obtaining a drawing arrangement origin in CAD data before correction, means for extracting part identification information for identifying a part from group data of parts constituting CAD data before correction, Acquisition of part information before layout of the drawing comprising means for extracting the position coordinates of the primitive requiring position adjustment from the primitive data constituting the group data and means for obtaining the placement origin of the part And a new drawing arrangement large means for reading out part data in a corresponding CAD data format based on layout data including part symbol data, part arrangement coordinates and part identification information, and arranging the parts based on the arrangement coordinates, and the acquisition Compare the part identification information retrieved in the large procedure with the part identification information of the new drawing. Are the same, the means for extracting the position coordinates of the primitives requiring position adjustment from the primitive data constituting the group data in the new drawing, the means for obtaining the arrangement origin of the new drawing, and the position adjustment primitives of the existing figure Compare the relative distance from the component placement origin to the relative distance from the component placement origin of the new drawing position adjustment primitive, and adjust the position by means of moving the new drawing position adjustment primitive by the relative distance difference. And a means for adjusting the position of the primitive required. This automatic adjustment system corresponds to a system obtained by systemizing the automatic adjustment program of (1).
These outlines of the invention do not enumerate the features essential to the present invention, and a sub-combination of these features can also be an invention.

ここで、本発明は多くの異なる形態で実施可能である。したがって、下記の各実施形態の記載内容のみで解釈すべきではない。また、各実施形態の全体を通して同じ要素には同じ符号を付けている。
各実施形態では、主に装置について説明するが、所謂当業者であれば明らかな通り、本発明はコンピュータで使用可能なプログラム、方法、システムとしても実施できる。また、本発明は、ハードウェア、ソフトウェア、または、ソフトウェア及びハードウェアの実施形態で実施可能である。プログラムは、ハードディスク、CD−ROM、DVD−ROM、光記憶装置または磁気記憶装置等の任意のコンピュータ可読媒体に記録できる。さらに、プログラムはネットワークを介した他のコンピュータに記録することができる。
Here, the present invention can be implemented in many different forms. Therefore, it should not be interpreted only by the description of the following embodiments. In addition, the same reference numerals are given to the same elements throughout the embodiments.
In each embodiment, the apparatus will be mainly described. However, as is apparent to those skilled in the art, the present invention can also be implemented as a program, method, and system that can be used by a computer. In addition, the present invention can be implemented in hardware, software, or software and hardware embodiments. The program can be recorded on any computer-readable medium such as a hard disk, CD-ROM, DVD-ROM, optical storage device, or magnetic storage device. Furthermore, the program can be recorded on another computer via a network.

(本発明の第1の実施形態)
本発明の第1の実施形態に係るCADデータ生成装置について、図に基づき説明する。
図1は本実施形態でコンピュータのハードウェア構成図である。このコンピュータ10は、汎用的なコンピュータであり、ハードウェアの構成としてはCPU(Central Processing Unit)11、DRAM(Dynamic Random Access Memory)12等のメインメモリ、外部記憶装置であるHD(hard disk)13、表示装置であるディスプレイ14、入力装置であるキーボード15及びマウス16、ネットワークに接続するための拡張カードであるLANカード17、CD-ROMドライブ18等からなる。
(First embodiment of the present invention)
A CAD data generation apparatus according to a first embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a hardware configuration diagram of a computer according to the present embodiment. The computer 10 is a general-purpose computer. The hardware configuration includes a CPU (Central Processing Unit) 11, a main memory such as a DRAM (Dynamic Random Access Memory) 12, and an HD (hard disk) 13 that is an external storage device. , A display 14 as a display device, a keyboard 15 and a mouse 16 as input devices, a LAN card 17 as an expansion card for connecting to a network, a CD-ROM drive 18 and the like.

このコンピュータのHD13には、レイアウトプログラム、CADデータ生成プログラム及びCADプログラムが記録されている。予め、コンピュータ可読媒体であるCD−ROMに記録されたプログラムをCD-ROMドライブ18を介して読み出し、HD13に複製記録して所謂インストールが事前に行われている。   A layout program, a CAD data generation program, and a CAD program are recorded on the HD 13 of this computer. A program recorded in advance on a CD-ROM, which is a computer-readable medium, is read out via the CD-ROM drive 18 and copied and recorded in the HD 13 so-called installation is performed in advance.

レイアウトプログラムがメインメモリ12に読み出されCPU11が実行することでレイアウト装置を構成する。CADデータ生成プログラムがメインメモリ12に読み出されCPU11が実行することでCADデータ生成装置を構成する。CADプログラムがメインメモリ12に読み出されCPU11が実行することでCAD装置を構成する。本実施形態では1台のコンピュータで複数装置を構成しているが、複数のコンピュータで複数装置を構成することもできる。   The layout program is configured by the layout program being read into the main memory 12 and executed by the CPU 11. The CAD data generation program is configured by reading the CAD data generation program into the main memory 12 and executing it by the CPU 11. A CAD program is configured by reading the CAD program into the main memory 12 and executing it by the CPU 11. In the present embodiment, a plurality of devices are configured by one computer, but a plurality of devices can also be configured by a plurality of computers.

図2は本実施形態に係るレイアウト装置の画面表示の一例である。レイアウト装置は、客の施工環境を入力する手順と、部品を提示する手順と、使用者に選択された部品を入力された施工環境に基づき指定された位置に配置する手順と、部品に対して部品識別情報を付与する手順と、指定された表示で描画する手順を実行する。指定された表示とは、例えば、「全体表示」「上スクロール」「矩形拡大」「拡大」「右スクロール」「縮小」「再表示」「下スクロール」「前画面」「左スクロール」「標準表示」がある。図2に示すように、上段にレイアウトの平面図、下段にレイアウトの正面図、右端側に操作欄がディスプレイ14に表示されている。レイアウト装置は作成したレイアウトをレイアウトデータとしてHD13の指定箇所に指定名称で記録する。レイアウトデータは部品のシンボルデータからなる。   FIG. 2 is an example of a screen display of the layout apparatus according to the present embodiment. The layout device has a procedure for inputting the customer's construction environment, a procedure for presenting the part, a procedure for placing the part selected by the user at a position specified based on the inputted construction environment, and a part. A procedure of assigning component identification information and a procedure of drawing with a designated display are executed. The specified display is, for example, “whole display” “up scroll” “rectangular enlargement” “enlargement” “right scroll” “reduction” “redisplay” “down scroll” “previous screen” “left scroll” “standard display” There is. As shown in FIG. 2, a plan view of the layout is displayed on the upper stage, a front view of the layout is displayed on the lower stage, and an operation column is displayed on the right end side. The layout apparatus records the created layout as layout data with a specified name in a specified location on the HD 13. The layout data consists of part symbol data.

レイアウト装置は、各部品に対して部品識別情報を付与しているが、レイアウト図を修正した場合には修正を施さない部品に関しては同じ部品識別情報が保持され、修正を施した部品に関しては新たに部品識別情報が付与される。   The layout device gives part identification information to each part. However, when the layout diagram is modified, the same part identification information is retained for the parts that are not modified, and the parts that have been modified are new. The part identification information is given to.

シンボルデータとCADデータ形式の部品データとを対応付けてHD13に記録している。CADデータ生成装置は、レイアウトデータを構成する部品のシンボルデータに基づき、対応する部品データをHD13から読み出す手順と、シンボルデータの配置位置に基づき部品の配置位置を読み出した部品データを含むグループデータに付与する手順と、各グループデータに部品名、部品番号を付与する手順を実行する。CADデータ生成装置は、指定されたレイアウトデータを受け、前記各種手順を経てCADデータを出力する。   Symbol data and CAD data format component data are associated with each other and recorded on the HD 13. The CAD data generation device generates a group data including a procedure for reading the corresponding component data from the HD 13 based on the symbol data of the components constituting the layout data, and the component data obtained by reading the component arrangement position based on the arrangement position of the symbol data. A procedure of assigning and a procedure of assigning a part name and a part number to each group data are executed. The CAD data generation device receives the designated layout data and outputs CAD data through the various procedures.

グループは、部品オブジェクト(部品の形状、部品識別情報などの属性情報、部品番号、部品名)と、施工図部品オブジェクト(施工図の形状、文字)と、その他の加筆したプリミティブとからなる。   The group is composed of a part object (part shape, attribute information such as part identification information, part number, part name), a construction drawing part object (work drawing shape, character), and other added primitives.

図3は本実施形態に係るCAD装置の画面表示(配置調整前)の一例である。CAD装置は、CADデータを読み込み、ディスプレイ14に表示する。図3は部品名、部品番号の配置調整を行う前であるので、部品を構成するプリミティブに部品名、部品番号が重なり見づらくなっている。このため、使用者はCAD装置の基本機能であるオブジェクトの移動を用いて部品名、部品番号を部品を構成するプリミティブに重ならないように移動させる。図4は本実施形態に係るCAD装置の画面表示(配置調整後)の一例である。図4は部品名、部品番号の配置調整を行った後であるので、部品を構成するプリミティブに部品名、部品番号が重なっていない。図4中点線は移動した部品名、部品番号を示す。なお、CADデータ生成時に寸法線の出力位置の指定を行うことができ、上、右、下、左の四方向を指定することができる。図3及び図4は四方向全ての指定で寸法線が出力された場合になる。   FIG. 3 is an example of a screen display (before arrangement adjustment) of the CAD apparatus according to the present embodiment. The CAD device reads the CAD data and displays it on the display 14. Since FIG. 3 is before the placement adjustment of the part name and the part number, the part name and the part number are difficult to see because they overlap the primitives constituting the part. For this reason, the user moves the part name and the part number so as not to overlap the primitive constituting the part by using the movement of the object which is a basic function of the CAD apparatus. FIG. 4 is an example of a screen display (after the arrangement adjustment) of the CAD apparatus according to the present embodiment. Since FIG. 4 is after the placement adjustment of the part name and part number, the part name and part number do not overlap with the primitives constituting the part. The dotted line in FIG. 4 indicates the moved part name and part number. It should be noted that the output position of the dimension line can be specified when CAD data is generated, and the four directions of upper, right, lower and left can be specified. 3 and 4 are cases where dimension lines are output in all four directions.

図5は本実施形態に係る図面配置原点、部品の配置原点の説明図である。図5中図面配置原点は●であり、部品の配置原点は◎である。図面配置原点は線分のプリミティブで示される。このプリミティブの属性・形状は例えば、所属レイヤが「EXT」であり、線種番号が「14(透明線)」であり、線色番号が「5(緑)」であり、線長さが「1.0[mm]」である。したがって、CADデータ中かかるプリミティブを検索し、このプリミティブの位置を取得することは図面配置原点の位置を取得することと同じである。部品の配置原点はプリミティブ全体のエクステントの頂点とする。エクステントは矩形であり頂点は4つあるが、統一していればどの頂点であってもよく、本実施形態では左下の頂点とする。左下の頂点は図面配置原点からの距離が最も小さい。部品の配置原点は図面配置原点のようにプリミティブで明示されていない。グループを構成するプリミティブからエクステントを求めてエクステントの頂点を求めることで、部品の配置原点を見つけることができる。なお、部品の配置原点をプリミティブで明示する方法を本実施形態に適用してもよい。   FIG. 5 is an explanatory diagram of a drawing arrangement origin and a component arrangement origin according to the present embodiment. In FIG. 5, the drawing arrangement origin is ●, and the part arrangement origin is ◎. The drawing placement origin is indicated by a line segment primitive. The attribute / shape of this primitive is, for example, that the affiliation layer is “EXT”, the line type number is “14 (transparent line)”, the line color number is “5 (green)”, and the line length is “ 1.0 [mm] ". Therefore, searching for such a primitive in CAD data and acquiring the position of this primitive is the same as acquiring the position of the drawing layout origin. The component placement origin is the vertex of the extent of the entire primitive. The extent is a rectangle and there are four vertices, but any vertex can be used as long as they are unified. In this embodiment, the vertex is the lower left vertex. The vertex at the lower left is the shortest distance from the drawing placement origin. The component placement origin is not specified by a primitive like the drawing placement origin. By obtaining an extent from the primitives constituting the group and obtaining the vertex of the extent, the placement origin of the part can be found. It should be noted that a method of clearly indicating the arrangement origin of parts with a primitive may be applied to this embodiment.

図6は本実施形態に係るレイアウト装置の画面表示(レイアウト変更)の一例である。図6は図2のレイアウトから使用者がレイアウト装置を用いて図6の点線部分に示されるように、フロアキャビネットと対応するウォールキャビネットの開口サイズを変更した例を示す。具体的には、開口サイズを300[mm]から450[mm]に変更した。このような変更は、例えば、提出した設計図及び見積もりを客が確認した際に客の考えが変わり修正の要望を店員に示し、この要望に対し店員が修正が反映された設計図を得るべくレイアウト装置上でレイアウトの変更がなされる。レイアウト装置の操作によりレイアウトの修正を行った後に、CADデータ生成装置を用いてCADデータを生成する。そうすることで、客の要望が反映された修正後のCADデータが生成される。このCADデータ生成時に、本実施形態ではCAD装置上で修正前の設計図に行った部品名、部品番号の位置修正を修正後の設計図に対してCADデータ生成装置が自動的に行う。したがって、CAD装置で生成された修正後のCADデータを読み出すと、修正前の設計図への位置修正が反映された修正後の設計図が表示される(図7参照)。この図7では点線部分に囲まれた部品の部品番号、部品名のみが位置調整がなされず、プリミティブに重複した状態となっている。   FIG. 6 is an example of a screen display (layout change) of the layout apparatus according to the present embodiment. FIG. 6 shows an example in which the user changes the opening size of the wall cabinet corresponding to the floor cabinet as shown by the dotted line portion of FIG. 6 using the layout device from the layout of FIG. Specifically, the opening size was changed from 300 [mm] to 450 [mm]. For example, when the customer confirms the submitted blueprints and estimates, the customer's thinking changes and the clerk is informed of a request for correction. The layout is changed on the layout device. After correcting the layout by operating the layout device, CAD data is generated using the CAD data generation device. By doing so, the corrected CAD data reflecting the customer's request is generated. In this embodiment, when the CAD data is generated, the CAD data generation apparatus automatically performs the position correction of the part name and the part number performed on the design drawing before correction on the CAD device, with respect to the design drawing after correction. Therefore, when the corrected CAD data generated by the CAD device is read, the corrected design drawing reflecting the position correction to the design drawing before the correction is displayed (see FIG. 7). In FIG. 7, only the part number and part name of the part surrounded by the dotted line portion are not adjusted in position and are overlapped with the primitive.

図8は本実施形態に係るCADデータ生成装置の図面配置処理のフローチャートである。店員はCADデータ生成装置に修正前のCADデータと修正後のレイアウトデータとを指定し、修正後のCADデータの生成を指示する。CADデータ装置はその指示を受け、修正前のCADデータのグループデータの情報を取得する定義済みステップ100と、修正前のCADデータを削除するステップ201と、修正後のCADデータを配置するステップ301と、部品名・部品番号の位置調整の定義済みステップ400とを行う。前記ステップ301では、前記したCADデータ生成装置での各手順がCPU11により実行される。   FIG. 8 is a flowchart of the drawing arrangement process of the CAD data generation apparatus according to this embodiment. The store clerk designates the CAD data before correction and the layout data after correction to the CAD data generation apparatus, and instructs the generation of the CAD data after correction. In response to the instruction, the CAD data device receives a predefined step 100 for acquiring group data information of the CAD data before correction, step 201 for deleting the CAD data before correction, and step 301 for arranging the CAD data after correction. Then, the defined step 400 for position adjustment of the part name / part number is performed. In step 301, the CPU 11 executes each procedure in the CAD data generation apparatus.

図9は本実施形態に係るCADデータ生成装置の部品情報の取得処理のフローチャートである。CPU11が修正前のCADデータから図面配置原点のプリミティブを検索し、図面配置原点を求め、DRAM12に記録する(ステップ101)。CPU11がCADデータの中からグループデータを読み出す(ステップ111)。グループ内の部品オブジェクトを読み込む(ステップ121)。ここで、部品オブジェクトとは、部品の基本形状と部品名、部品番号文字で構成されており、部品識別情報などの属性情報を持つ。CPU11が読み出したグループデータの中で部品名、部品識別情報を取り出し、DRAM12に記録する(ステップ131)。ここでの、部品名はオブジェクトに付いている属性情報に記述してある部品名である。CPU11が読み出したグループデータの中からプリミティブデータを読み出す(ステップ141)。CPU11が読み出したプリミティブの所属レイヤから部品名・部品番号であるか否かを判断する。判断の結果、部品名・部品番号であればCPU11が文字内容と配置座標を前記記録した部品識別情報に対応付けてDRAM12に記録する(ステップ151)。ここでの、部品名は図形として表記されているテキストプリミティブの部品名である。CPU11が読み出したグループデータ中の全てのプリミティブをチェックしたか否かを判断する(ステップ161)。全てのプリミティブをチェックしていないと判断した場合には、ステップ141に戻る。全てのプリミティブをチェックしたと判断した場合には、CPU11が読み出しているグループのエクステントの頂点を求め、部品の配置原点を求め、保持する(ステップ171)。CPU11がグループ内のオブジェクトを読み込み、その情報を保持する(ステップ172)。ここでは、上記部品オブジェクト以外の引出線付文字オブジェクトなどの識別番号を保持する。CPU11がグループ内の単体プリミティブを読み込み、その情報を保持する(ステップ173)。ここでは、CADの標準機能で作成された図形・文字などで、部品グループ化コマンドで、部品オブジェクトと共にグループ化されたプリミティブの識別番号を保持する。このとき、CPU11が求めた配置原点を記録した部品識別情報に対応付けてDRAM12に記録する。ステップ171の後に、CPU11がCADデータ中の全てのグループをチェックしたか否かを判断する(ステップ181)。全てのグループをチェックしていないと判断した場合には、ステップ111に戻る。全てのグループをチェックしたと判断した場合には、定義済みステップ100を完了する。   FIG. 9 is a flowchart of part information acquisition processing of the CAD data generation apparatus according to this embodiment. The CPU 11 retrieves the primitive for the drawing arrangement origin from the CAD data before correction, obtains the drawing arrangement origin, and records it in the DRAM 12 (step 101). The CPU 11 reads group data from the CAD data (step 111). The part object in the group is read (step 121). Here, the part object is composed of a basic shape of a part, a part name, and a part number character, and has attribute information such as part identification information. The part name and part identification information are extracted from the group data read by the CPU 11 and recorded in the DRAM 12 (step 131). The part name here is the part name described in the attribute information attached to the object. Primitive data is read from the group data read by the CPU 11 (step 141). The CPU 11 determines whether or not the part name / part number from the layer to which the primitive is read out. As a result of the determination, if it is a part name / part number, the CPU 11 records the character contents and the arrangement coordinates in the DRAM 12 in association with the recorded part identification information (step 151). Here, the part name is a part name of a text primitive represented as a figure. It is determined whether or not all primitives in the group data read out by the CPU 11 have been checked (step 161). If it is determined that all the primitives have not been checked, the process returns to step 141. If it is determined that all the primitives have been checked, the CPU 11 obtains the vertex of the extent of the group being read out, obtains the component placement origin, and holds it (step 171). The CPU 11 reads the object in the group and holds the information (step 172). Here, an identification number such as a character object with a leader line other than the component object is held. The CPU 11 reads the single primitive in the group and holds the information (step 173). Here, the identification numbers of primitives grouped together with the part object are held by a part grouping command using graphics / characters created by the standard CAD function. At this time, the placement origin obtained by the CPU 11 is recorded in the DRAM 12 in association with the recorded component identification information. After step 171, the CPU 11 determines whether or not all groups in the CAD data have been checked (step 181). If it is determined that all groups have not been checked, the process returns to step 111. If it is determined that all groups have been checked, the predefined step 100 is completed.

図10は本実施形態に係るCADデータ生成装置の部品番号・部品名の位置調整処理のフローチャートである。CPU11がDRAM12に記録している部品識別情報と同じ部品識別情報を有する部品を検索する(ステップ401)。CPU11が同じ部品識別情報の部品があるか否かを判断する(ステップ411)。同じ部品識別情報の部品がないと判断した場合には、後記ステップ481に進む。同じ部品識別情報の部品があると判断した場合には、CPU11がCADデータの中からその部品識別情報のグループデータを読み出す(ステップ421)。CPU11がグループ内の部品オブジェクトを読み出す(ステップ422)。CPU11が読み出したグループデータの中からプリミティブデータを読み出す(ステップ431)。CPU11が読み出したプリミティブの所属レイヤから部品名・部品番号であるか否かを判断する。判断の結果、部品名・部品番号であればCPU11が文字内容と配置座標を前記記録した部品識別情報に対応付けてDRAM12に記録する(ステップ441)。CPU11が読み出したグループデータ中の全てのプリミティブをチェックしたか否かを判断する(ステップ451)。全てのプリミティブをチェックしていないと判断した場合には、ステップ431に戻る。全てのプリミティブをチェックしたと判断した場合には、CPU11が読み出しているグループのエクステントの頂点を求め、部品の配置原点を求める(ステップ461)。求めた部品の配置原点と、記録した部品名・部品番号の配置座標とから修正後の変位をCPU11が求める。同じ部品識別情報のステップ151で求めた部品名・部品番号の配置座標とステップ171で求めた部品の配置原点とから修正前の変位をCPU11が求める。CPU11が修正前の変位と修正後の変位とを比較し、現在配置している部品名・部品番号を変位の差異分移動させる(ステップ471)。CPU11が配置前に作成されていたグループ内のオブジェクトを追加する(ステップ472)。ここでは、上記部品オブジェクト以外の引出線付文字オブジェクトなどを追加する。CPU11が配置前に作成されていたグループ内の単体プリミティブを追加する(ステップ473)。ここでは、CADの標準機能で作成された図形・文字などで、部品グループ化コマンドで、部品オブジェクトと共にグループ化されたプリミティブを追加する。次に、CPU11がCADデータ中の全てのグループをチェックしたか否かを判断する(ステップ481)。全てのグループをチェックしていないと判断した場合には、ステップ401に戻る。全てのグループをチェックしたと判断した場合には、定義済みステップ400を完了する。   FIG. 10 is a flowchart of the part number / part name position adjustment process of the CAD data generation apparatus according to this embodiment. The CPU 11 searches for a component having the same component identification information as the component identification information recorded in the DRAM 12 (step 401). The CPU 11 determines whether there is a part having the same part identification information (step 411). If it is determined that there is no part having the same part identification information, the process proceeds to step 481 described later. If it is determined that there is a part with the same part identification information, the CPU 11 reads the group data of the part identification information from the CAD data (step 421). The CPU 11 reads the part object in the group (step 422). Primitive data is read from the group data read by the CPU 11 (step 431). The CPU 11 determines whether or not the part name / part number from the layer to which the primitive is read out. As a result of the determination, if it is a part name / part number, the CPU 11 records the character contents and the arrangement coordinates in the DRAM 12 in association with the recorded part identification information (step 441). It is determined whether or not all primitives in the group data read by the CPU 11 have been checked (step 451). If it is determined that all the primitives have not been checked, the process returns to step 431. If it is determined that all primitives have been checked, the vertex of the extent of the group read by the CPU 11 is obtained, and the component placement origin is obtained (step 461). The CPU 11 obtains the corrected displacement from the obtained component placement origin and the recorded placement coordinates of the part name and part number. The CPU 11 obtains a displacement before correction from the arrangement coordinates of the part name and part number obtained in step 151 of the same part identification information and the arrangement origin of the parts obtained in step 171. The CPU 11 compares the displacement before correction with the displacement after correction, and moves the part name / part number currently arranged by the difference in displacement (step 471). The CPU 11 adds an object in the group created before the placement (step 472). Here, a character object with a leader line other than the part object is added. The CPU 11 adds a single primitive in the group that was created before placement (step 473). Here, primitives grouped together with a part object are added by a part grouping command using graphics / characters created by a standard CAD function. Next, the CPU 11 determines whether or not all groups in the CAD data have been checked (step 481). If it is determined that not all groups have been checked, the process returns to step 401. If it is determined that all groups have been checked, the predefined step 400 is completed.

このように本実施形態によれば、設計図に変更を施す必要が生じた場合であってもレイアウト装置を用いて修正を施した後に、以前使用者が設計図に対してCAD装置を用いて行った部品名、部品番号の位置修正がCADデータ生成装置により生成される修正後の設計図に対して自動的に行われ、使用者が再び修正後の設計図に対してCAD装置を用いて位置修正を行う手間を省くことができる。また、ステップ172及びステップ173の処理で部品以外の追加されたオブジェクトの情報を取得し、ステップ472及びステップ473の処理で部品以外の従来図に追加されたオブジェクトを自動的に追加することができ、より高い使用者の利便性を実現することができる。   As described above, according to the present embodiment, even if it is necessary to make a change to the design drawing, the user uses the CAD device for the design drawing after the correction is made using the layout device. The performed part name and part number position correction is automatically performed on the modified design drawing generated by the CAD data generation device, and the user again uses the CAD device for the corrected design drawing. The trouble of correcting the position can be saved. In addition, the information of the added object other than the parts can be acquired by the processing of Step 172 and Step 173, and the objects added to the conventional drawing other than the parts can be automatically added by the processing of Step 472 and Step 473. Higher user convenience can be realized.

[扉の開き方向について] レイアウト図(例えば図2)、設計図(例えば図3)において、一点鎖線は扉の開き方向を明示するプリミティブであり、矩形中の対角線は引き出しタイプを意味し、矩形中の三角形は扉を意味する。扉の場合、プリミティブと共有する辺と対向する頂点を軸として扉が開く。したがって、プリミティブと共有する辺と対向する頂点が右側を向いていれば右開きであり、プリミティブと共有する辺と対向する頂点が左側を向いていれば左開きである。一の部品において、2つの三角形を有し、三角形のプリミティブと共有する辺と対向する頂点がそれぞれ他方向を向いている場合には、観音開きの扉である。   [Door Opening Direction] In layout diagrams (for example, FIG. 2) and design drawings (for example, FIG. 3), the alternate long and short dash line is a primitive that clearly indicates the opening direction of the door, and the diagonal line in the rectangle means a drawer type. The triangle inside means the door. In the case of a door, the door opens with the vertex facing the side shared with the primitive as the axis. Therefore, if the vertex that faces the side shared with the primitive faces the right side, it opens right, and if the vertex that faces the side shared with the primitive faces the left side, it opens left. When one component has two triangles and the vertices facing the sides shared with the triangle primitives face in the other direction, it is a double door.

(本発明の第2の実施形態)
本発明の第2の実施形態に係るCADデータ生成装置について、図に基づき説明する。
本実施形態に係るCADデータ生成装置は前記第1の実施形態と同様に構成され、さらに、修正追加された部品に関して同じ部品が図面中に存在する場合に存在する部品に配置している部品番号・部品名の配置と同様に修正追加された部品に部品番号・部品名を配置する構成である。
修正追加された部品は、CPU11がステップ401及びステップ411で同じ部品識別情報を有しない部品が該当する。
(Second embodiment of the present invention)
A CAD data generation apparatus according to a second embodiment of the present invention will be described with reference to the drawings.
The CAD data generation apparatus according to the present embodiment is configured in the same manner as in the first embodiment, and further, a part number arranged in a part that exists when the same part exists in the drawing with respect to the part that has been corrected and added. In the same manner as the placement of the part name, the part number / part name is placed on the part that has been modified and added.
The parts that are corrected and added correspond to parts that the CPU 11 does not have the same part identification information in step 401 and step 411.

同じ部品が図面中に存在するか否かの判別は、修正追加されていない以前から存在する部品と修正追加された部品とを比較することで行うことができる。より詳細には、部品を構成するプリミティブの種類の比較、部品におけるプリミティブの位置を比較することにより部品が同一であるか否かを判断することができる。ここで、サイズが異なっている場合には、修正追加されていない以前から存在する部品、又は、修正追加された部品のどちらか一方を他方に合わせて拡大又は縮小して比較する。この判別方法をプリミティブ判別とする。   Whether or not the same part exists in the drawing can be determined by comparing a part that has not been corrected and added and a part that has been corrected and added. More specifically, it is possible to determine whether or not the parts are the same by comparing the types of primitives constituting the parts and by comparing the positions of the primitives in the parts. Here, when the sizes are different, either the part that has not been corrected or added, or the part that has been corrected or added, is enlarged or reduced in accordance with the other and compared. This discrimination method is referred to as primitive discrimination.

また、同じ部品が図面中に存在するか否かの判別をより簡便にする方法としては、レイアウトデータを構成するシンボルデータの部品の種類を識別する部品種類識別情報をCADデータ中にも保持する構成にすることで、部品修理識別情報を修正追加されていない以前から存在する部品と修正追加された部品とで比較する方法がある。この判別方法をシンボル判別とする。   Further, as a method for making it easier to determine whether or not the same part exists in the drawing, part type identification information for identifying the type of the part of the symbol data constituting the layout data is also held in the CAD data. By configuring, there is a method for comparing parts repair identification information between parts that have not been modified and added and parts that have been modified and added. This discrimination method is referred to as symbol discrimination.

本実施形態では、修正追加された部品を特定するステップと、同じ部品が図面中に存在するか否かの判別を行うステップと、部品番号・部品名を配置するステップ(前記ステップ421ないし473)とを、前記第1の実施形態のステップ481以降に行うことで実装することができる。ここで、ステップ481以降に行うようにしたのは、ステップ401及びステップ411後に修正追加された部品を特定するためである。   In the present embodiment, a step of specifying a corrected and added part, a step of determining whether or not the same part exists in the drawing, and a step of arranging a part number and a part name (steps 421 to 473) Can be implemented by performing the steps after step 481 of the first embodiment. Here, the reason why the steps are performed after step 481 is to identify the parts that have been corrected and added after step 401 and step 411.

このように本実施形態によれば、修正追加した部品の中で既存図で既に存在する部品と同一種類の部品である場合に、既存図の部品の部品番号・部品名の位置と同様に、修正追加した部品の部品番号・部品名を位置修正することができ、過去に自分が位置修正した部品だけでなく、位置修正した部品と同一種類の部品であれば同様に部品番号・部品名を自動的に位置修正することができ、より高い利便性を有する。   As described above, according to the present embodiment, when the parts are the same type as the parts already existing in the existing diagram among the corrected and added components, as in the case of the part number / part name of the component in the existing diagram, You can correct the position of the part number / part name of the part you have added and corrected. The position can be automatically corrected, and the convenience is higher.

[類似部品への適用] 本実施形態では以前から存在する部品と修正追加された部品とが同じ場合に部品番号・部品名を位置修正していたが、部品同士が類似する場合にも位置修正する構成にすることもでき、より多くの部品が適切に位置修正されることで使用者の利便性が向上する。   [Application to similar parts] In this embodiment, the position of the part number and the part name is corrected when the existing part is the same as the part that has been corrected and added. However, the position is also corrected when the parts are similar to each other. The convenience of the user is improved by appropriately correcting the position of more parts.

部品同士が類似するか否かの判定は、プリミティブ判別の場合には比較基準を緩和することで実現することができる。すなわち、同一の場合には全てのプリミティブの種類、位置が同一となるが、類似の場合には一部のプリミティブの種類、位置が同一であることを条件とすることで判別することができる。   The determination of whether or not the parts are similar can be realized by relaxing the comparison criteria in the case of primitive determination. That is, in the case where they are the same, the types and positions of all the primitives are the same, but in the case of similarities, the determination can be made on the condition that the types and positions of some of the primitives are the same.

部品同士が類似するか否かの判定は、シンボル判別の場合にはレイアウト装置での部品種類識別情報の付与方法を変更することで実現することができる。すなわち、部品種類識別情報が同一だけでなく、類似も判別できる形式とすればよい。具体的には、10桁の数字からなる部品種類識別情報のうち、下2桁を類似するか否かに割り当てることで実現でき、10桁全ての数字が同じ場合には同一の部品、上8桁全ての数字が同じ場合には類似の部品と判別することができる。   In the case of symbol discrimination, it is possible to determine whether or not parts are similar by changing the method for giving part type identification information in the layout device. That is, the format may be such that not only the component type identification information is the same, but also the similarity can be determined. Specifically, it can be realized by assigning whether or not the last two digits of the component type identification information consisting of ten digits are similar to each other. When all the digits are the same, it can be determined as a similar part.

ここで、同一である部品による位置調整と、類似である部品による位置調整とを明確に分けてシュミレーションする構成にすることもでき、使用者が類似である部品による位置調整も所望の位置調整がなされている場合にはかかる位置調整を実際に反映し、逆に、所望の位置調整がなされていない場合にはかかる位置調整を実際に反映しない使用をすることができる。   Here, the position adjustment by the same parts and the position adjustment by the similar parts can be clearly divided and simulated, and the position adjustment by the parts similar to the user can also be a desired position adjustment. If the position adjustment is made, the position adjustment is actually reflected. Conversely, when the desired position adjustment is not made, the position adjustment is not actually reflected.

[部品識別情報(又は部品種類識別情報)の付与] 本実施形態では、レイアウト装置により部品識別情報(又は部品種類識別情報)が付与されているが、レイアウト装置を用いずにCADデータをCAD装置により作成する場合であっても、部品(シンボル)を用いてCADデータを作成することができ、この部品(シンボル)を用いるタイミングで部品識別情報(又は部品種類識別情報)を付与する構成にすることもできる。   [Granting Component Identification Information (or Component Type Identification Information)] In this embodiment, component identification information (or component type identification information) is given by the layout device, but the CAD data is sent to the CAD device without using the layout device. Even if it is created by CAD, CAD data can be created using a component (symbol), and component identification information (or component type identification information) is given at the timing of using this component (symbol). You can also

(その他の実施形態)
[部品中の部品番号・部品名の位置の記録] 本実施形態では、従来図と修正後のレイアウト図の場合について説明したが、使用者が部品の部品番号・部品名を位置修正した場合に、該当部品の部品番号・部品名の部品内部での座標を記憶手段に記録し、かかる座標を保持している部品がレイアウト装置で用いられた場合には、CADデータ生成時に記録している座標に基づき部品番号・部品名を配置する構成にすることもできる。ここで、レイアウト装置で用いられた場合としたが、レイアウト装置がない構成でCAD装置で用いられた場合であってもよい。
(Other embodiments)
[Recording of the position of the part number / part name in the part] In the present embodiment, the case of the conventional drawing and the layout diagram after the correction has been described. However, when the user corrects the position of the part number / part name of the part. The coordinates of the part number and part name of the corresponding part are recorded in the storage means, and when the part holding the coordinates is used in the layout device, the coordinates recorded at the time of CAD data generation The part number / part name can be arranged based on Here, although the case where the layout apparatus is used, the case where the layout apparatus is not used may be used in the CAD apparatus.

[部品番号・部品名以外の再配置] 前記各実施形態では、部品番号、部品名についての位置調整について説明したが、使用者が位置調整を必要とするプリミティブ(位置調整要プリミティブ)であれば位置調整の対象とすることができる。部品番号、部品名以外の位置調整を必要とするオブジェクトとしては、具体的には、寸法線、部品の値段、部品の調達先、部品の施工時の注意等のコメントが該当する。   [Relocation other than Part Number / Part Name] In each of the above embodiments, the position adjustment for the part number and the part name has been described. However, if the user needs a primitive (position adjustment primitive) that requires position adjustment. The position can be adjusted. Specifically, the objects other than the part number and the part name that need to be adjusted include comments such as dimension lines, part prices, parts suppliers, and cautions when constructing parts.

[位置調整要プリミティブの色、フォント、線種等の属性の更新] 前記各実施形態では、位置調整要プリミティブの位置調整のみについて言及したが、既存図又はCADデータの部品の位置調整要プリミティブの色、フォント、線種等の属性についても値を座標と同様に取得し、新規図面又は対象CADデータの該当部品の位置調整要プリミティブの色、フォント、線種等の属性も相対位置の差分同様に取得した値に更新する構成にすることもできる。なお、位置調整要プリミティブとしているが、位置調整を伴わず、位置調整要プリミティブの色、フォント、線種等の属性の更新のみの構成であってもよい。   [Updating Attributes of Position Adjustment Primitive Color, Font, Line Type, etc.] In each of the above embodiments, only the position adjustment of the position adjustment primitive was mentioned. Values for attributes such as color, font, line type, etc. are acquired in the same way as coordinates, and attributes such as color, font, line type, etc. of the position adjustment primitive of the corresponding part of the new drawing or target CAD data are the same as the relative position difference. It can also be configured to update to the value acquired in the step. Although the position adjustment primitive is used, it may be configured to update only the attributes such as the color, font, and line type of the position adjustment primitive without the position adjustment.

[リンク] 前記各実施形態では、グループ中の位置調整を必要とするオブジェクトとして部品番号、部品名を一例として説明したが、グループ外のオブジェクトであっても、あるグループと例えばリンクの関係を有するプリミティブに対しても、かかるグループにおける位置調整として実行対象とすることができる。グループ内の部品ではないが、リンク関係を有する部品としては例えばコメントがある。   [Link] In each of the above embodiments, the part number and the part name are described as an example of an object that needs position adjustment in a group. However, even an object outside the group has a relationship with a certain group, for example, a link. Primitives can also be executed as position adjustments in such groups. For example, there is a comment as a component having a link relationship, although it is not a component in the group.

[部品の拡大又は縮小] 前記各実施形態では、同一種類又は類似の部品であるがサイズが異なる場合には、新規図面の部品に既存図の部品を合わせて拡大又は縮小して大きさを合わせた後に、部品の位置の差異分新規図面の部品を位置調整する構成にすることもできる。   [Expansion or reduction of parts] In the above-described embodiments, when the parts are of the same type or similar, but the sizes are different, the parts of the existing drawing are combined with the parts of the new drawing to enlarge or reduce the size. Thereafter, the position of the part of the new drawing can be adjusted by the difference in the position of the part.

[扉開き方向] 前記各実施形態では、扉開き方向を明示する一点鎖線のプリミティブにより位置調整要プリミティブは位置修正を余儀なくされる。これは、扉開き方向を明示するプリミティブが部品の中央に位置することから、位置調整要プリミティブの位置修正に大きな影響を与える場合が多いからである。したがって、部品識別情報又は部品種類識別情報の他に、扉開き方向を明示するプリミティブを識別する情報(左開き、右開き、観音開き、引き出し)もグループデータが保持することで、部品に修正が施された場合でも、扉開き方向が変更されていなければ既存図の部品と同様に位置調整要プリミティブの位置修正を行い、扉開き方向が変更されていれば位置調整要プリミティブの位置修正を行わない構成にすることもできる。   [Door Opening Direction] In each of the above embodiments, the position adjustment primitive is forced to be corrected by a one-dot chain line primitive that clearly indicates the door opening direction. This is because the primitive that clearly indicates the door opening direction is located at the center of the part, and thus the position correction of the position adjustment primitive is often greatly affected. Therefore, in addition to the part identification information or part type identification information, the group data also holds information for identifying primitives that clearly indicate the door opening direction (left opening, right opening, double door opening, drawer), so that the parts are corrected. Even if the door opening direction is not changed, the position of the position adjustment primitive is corrected in the same way as the parts in the existing figure, and if the door opening direction is changed, the position adjustment of the position adjustment primitive is not performed. It can also be configured.

以上の前記各実施形態により本発明を説明したが、本発明の技術的範囲は実施形態に記載の範囲には限定されず、これら各実施形態に多様な変更又は改良を加えることが可能である。そして、かような変更又は改良を加えた実施の形態も本発明の技術的範囲に含まれる。このことは、特許請求の範囲及び課題を解決する手段からも明らかなことである。   Although the present invention has been described with the above embodiments, the technical scope of the present invention is not limited to the scope described in the embodiments, and various modifications or improvements can be added to these embodiments. . And embodiment which added such a change or improvement is also contained in the technical scope of the present invention. This is apparent from the claims and the means for solving the problems.

[付記] 上記実施形態に関し、更に以下の付記を開示する。
(付記1) コンピュータに、修正前のCADデータ中の図面配置原点を求める手順、修正前のCADデータを構成する部品のグループデータから部品を識別する部品識別情報を取り出す手順、グループデータを構成するプリミティブデータの中から位置調整を必要とするプリミティブである位置調整要プリミティブの位置座標を取り出す手順、及び、部品の配置原点を求める手順からなる図面配置前の部品情報の取得大手順と、部品のシンボルデータ、部品の配置座標及び部品識別情報からなるレイアウトデータに基づき対応するCADデータ形式の部品データを読み出し、配置座標に基づき部品を配置する新規図面配置大手順と、前記取得大手順で取り出した部品識別情報と新規図面の部品識別情報とを比較し、部品識別情報が同一である場合に、新規図面においてグループデータを構成するプリミティブデータの中で位置調整要プリミティブの位置座標を取り出す手順、新規図面の配置原点を求める手順、及び、既存図の位置調整要プリミティブの部品の配置原点からの相対距離と新規図面の位置調整要プリミティブの部品の配置原点からの相対距離とを比較し、新規図面の位置調整要プリミティブを相対距離の差分分移動させる手順からなる位置調整要プリミティブの位置調整大手順とを実行させるための自動調整プログラム。
[Appendix] The following appendices are further disclosed with respect to the embodiment.
(Additional remark 1) The procedure which calculates | requires the drawing arrangement | positioning origin in CAD data before correction to a computer, the procedure which takes out the part identification information which identifies a part from the group data of the parts which comprise CAD data before correction, and group data are comprised. A large-scale procedure for acquiring component information before drawing placement, which includes a procedure for extracting the position coordinates of a primitive requiring positioning from primitive data, and a procedure for obtaining the placement origin of the component, The corresponding CAD data format part data is read based on the layout data including the symbol data, the part arrangement coordinates, and the part identification information, and the new drawing arrangement large procedure for arranging the parts based on the arrangement coordinates and the acquisition large procedure are taken out. Compare the part identification information with the part identification information of the new drawing, and the part identification information is the same. In this case, in the new drawing, the procedure for extracting the position coordinates of the primitive requiring alignment from the primitive data constituting the group data, the procedure for obtaining the arrangement origin of the new drawing, and the arrangement origin of the parts of the primitive requiring alignment in the existing figure The position of the position adjustment primitive consisting of the procedure of moving the position adjustment primitive of the new drawing by the difference of the relative distance by comparing the relative distance from the position of the part of the primitive of the position adjustment primitive of the new drawing with the origin An automatic adjustment program to execute the adjustment procedure.

(付記2) コンピュータに、修正前のCADデータ中の図面配置原点を求める手順、修正前のCADデータを構成する部品のグループデータから部品を識別する部品識別情報を取り出す手順、グループデータを構成するプリミティブデータの中から位置調整を必要とするプリミティブである位置調整要プリミティブの位置座標及び属性を取り出す手順、及び、部品の配置原点を求める手順からなる図面配置前の部品情報の取得大手順と、部品のシンボルデータ、部品の配置座標及び部品識別情報からなるレイアウトデータに基づき対応するCADデータ形式の部品データを読み出し、配置座標に基づき部品を配置する新規図面配置大手順と、前記取得大手順で取り出した部品識別情報と新規図面の部品識別情報とを比較し、部品識別情報が同一である場合に、新規図面においてグループデータを構成するプリミティブデータの中で位置調整要プリミティブの位置座標を取り出す手順、新規図面の配置原点を求める手順、既存図の位置調整要プリミティブの部品の配置原点からの相対距離と新規図面の位置調整要プリミティブの部品の配置原点からの相対距離とを比較し、新規図面の位置調整要プリミティブを相対距離の差分分移動させる手順、及び、新規図面の位置調整要プリミティブの属性を既存図の位置調整要プリミティブの属性に更新する手順からなる位置調整要プリミティブの位置調整大手順とを実行させるための自動調整プログラム。     (Additional remark 2) The procedure which calculates | requires the drawing arrangement | positioning origin in CAD data before correction in a computer, the procedure which extracts the component identification information which identifies a part from the group data of the components which comprise CAD data before correction, and group data are comprised. A large-scale procedure for acquiring component information before drawing placement, which includes a procedure for extracting the position coordinates and attributes of a primitive that requires positioning from primitive data, and a procedure for obtaining the placement origin of the component. Read out the corresponding CAD data format part data based on the layout data consisting of the part symbol data, the part placement coordinates, and the part identification information, and place the parts on the basis of the placement coordinates. Compare the extracted part identification information with the part identification information of the new drawing. If there is, the procedure to extract the position coordinates of the primitives that require positioning from the primitive data that constitutes the group data in the new drawing, the procedure for obtaining the placement origin of the new drawing, and the placement of the parts of the primitives that require positioning in the existing drawing Compare the relative distance from the origin and the placement of the parts of the new drawing position adjustment primitive, and move the new drawing position adjustment primitive by the relative distance difference, and the position of the new drawing An automatic adjustment program for executing a large position adjustment procedure for a position adjustment primitive including a procedure for updating the attribute of the adjustment necessity primitive to the attribute of the position adjustment primitive in the existing figure.

(付記3) 前記新規図面配置大手順が、部品外のオブジェクトを取り出す手順を含み、前記位置調整要プリミティブの位置調整大手順が、前記部品外のオブジェクトを追加する手順を含む前記付記1又は2に記載の自動調整プログラム。     (Supplementary note 3) The supplementary note 1 or 2, wherein the new drawing arrangement large procedure includes a procedure of taking out an object outside the part, and the position adjustment large procedure of the position adjustment primitive includes a procedure of adding an object outside the part. Automatic adjustment program described in 1.

(付記4) コンピュータに、CADデータ中の図面配置原点を求める手順、CADデータを構成する部品のグループデータから部品を識別する部品種類識別情報を取り出す手順、グループデータを構成するプリミティブデータの中から位置調整を必要とするプリミティブである位置調整要プリミティブの位置座標を取り出す手順、部品の配置原点を求める手順、及び、部品種類識別情報、位置調整要プリミティブの位置座標及び部品の配置原点を記憶手段に記録する手順からなる部品情報の取得大手順と、対象CADデータ中で記憶手段に記録した部品種類識別情報と同一の部品種類識別情報の部品を特定する手順、部品種類識別情報が同一である場合に、対象CADデータにおいてグループデータを構成するプリミティブデータの中で位置調整要プリミティブの位置座標を取り出す手順、対象CADデータの図面の配置原点を求める手順、及び、記憶手段に記録した位置調整要プリミティブの部品の配置原点からの相対距離と対象CADデータの図面の位置調整要プリミティブの部品の配置原点からの相対距離とを比較し、対象CADデータの位置調整要プリミティブを相対距離の差分分移動させる手順からなる位置調整要プリミティブの位置調整大手順とを実行させるための自動調整プログラム。     (Additional remark 4) From the procedure which calculates | requires the drawing arrangement | positioning origin in CAD data in a computer, the procedure which takes out the component kind identification information which identifies components from the group data of the components which comprise CAD data, and the primitive data which comprises group data A procedure for extracting position coordinates of primitives requiring position adjustment that are primitives that require position adjustment, a procedure for obtaining component placement origins, and part type identification information, position coordinates of primitives requiring position adjustment, and component placement origins The parts information acquisition large procedure consisting of the procedures recorded in the process, the procedure for identifying the parts having the same part type identification information as the part type identification information recorded in the storage means in the target CAD data, and the part type identification information are the same. In the primitive data constituting the group data in the target CAD data. A procedure for extracting the position coordinates of the primitives requiring adjustment, a procedure for obtaining the placement origin of the drawing of the target CAD data, and a relative distance from the placement origin of the parts of the primitives required for position adjustment recorded in the storage means and the position of the drawing of the target CAD data In order to compare the relative distance from the placement origin of the component of the adjustment-necessary primitive and execute the position adjustment large-position adjustment procedure of the position adjustment-necessary primitive including the procedure of moving the position adjustment primitive of the target CAD data by the difference of the relative distance. Automatic adjustment program.

(付記5) 部品を提示する手順、使用者に選択された部品を指定された位置に配置する手順、部品に対して部品識別情報を付与する手順、及び、指定された表示で描画する手順からなるレイアウト大手順をさらに含む前記付記1ないし4のいずれかに記載の自動調整プログラム。   (Supplementary Note 5) From the procedure of presenting the component, the procedure of placing the component selected by the user at the specified position, the procedure of assigning component identification information to the component, and the procedure of drawing with the specified display The automatic adjustment program according to any one of appendices 1 to 4, further including a large layout procedure.

(付記6) 修正前のCADデータ中の図面配置原点を求める手段、修正前のCADデータを構成する部品のグループデータから部品を識別する部品識別情報を取り出す手段、グループデータを構成するプリミティブデータの中から位置調整を必要とするプリミティブである位置調整要プリミティブの位置座標を取り出す手段、及び、部品の配置原点を求める手段からなる図面配置前の部品情報の取得大手段と、部品のシンボルデータ、部品の配置座標及び部品識別情報からなるレイアウトデータに基づき対応するCADデータ形式の部品データを読み出し、配置座標に基づき部品を配置する新規図面配置大手段と、前記取得大手順で取り出した部品識別情報と新規図面の部品識別情報とを比較し、部品識別情報が同一である場合に、新規図面においてグループデータを構成するプリミティブデータの中で位置調整要プリミティブの位置座標を取り出す手段、新規図面の配置原点を求める手段、及び、既存図の位置調整要プリミティブの部品の配置原点からの相対距離と新規図面の位置調整要プリミティブの部品の配置原点からの相対距離とを比較し、新規図面の位置調整要プリミティブを相対距離の差分分移動させる手段からなる位置調整要プリミティブの位置調整大手段とを備える自動調整システム。   (Appendix 6) Means for obtaining the drawing arrangement origin in CAD data before correction, means for extracting part identification information for identifying parts from group data of parts constituting CAD data before correction, and primitive data constituting group data A means for obtaining the position information of the pre-placement drawing comprising means for taking out the position coordinates of the position adjustment primitive, which is a primitive that requires position adjustment, and means for obtaining the placement origin of the part; symbol data of the part; New drawing arrangement large means for reading out the corresponding CAD data format part data based on the layout data composed of the arrangement coordinates of the parts and the part identification information, and arranging the parts based on the arrangement coordinates, and the part identification information extracted in the above acquisition large procedure Is compared with the part identification information of the new drawing, and if the part identification information is the same, Means for extracting the position coordinates of the primitives requiring position adjustment in the primitive data constituting the group data, means for obtaining the placement origin of the new drawing, and relative distance from the placement origin of the parts of the position-needed primitive of the existing figure Compare the relative distance from the origin of the part of the new drawing's position adjustment primitive to the placement origin, and move the position adjustment primitive of the new drawing by the relative distance difference. Automatic adjustment system with.

[付記の発明の効果]
前記付記3によれば、生成された後に従来図に追加したオブジェクトを、新規図面生成後に追加することなく、自動的に追加されるので、使用者の利便性は著しく向上する。例えば、説明用の文字を従来図に追加した場合に、新規図面では使用者が追加することなく生成時にかかる説明用の文字が追加される。
[Effect of the invention of the supplementary note]
According to the supplementary note 3, since the object added to the conventional drawing after being generated is automatically added without being added after the new drawing is generated, the convenience for the user is remarkably improved. For example, when explanatory characters are added to a conventional drawing, the explanatory characters are added at the time of generation without adding them by a user in a new drawing.

本発明の第1の実施形態でコンピュータのハードウェア構成図である。It is a hardware block diagram of a computer in the 1st embodiment of the present invention. 本発明の第1の実施形態に係るレイアウト装置の画面表示の一例である。It is an example of the screen display of the layout apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るCAD装置の画面表示(位置修正前)の一例である。It is an example of the screen display (before position correction) of the CAD apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るCAD装置の画面表示(位置修正後)の一例である。It is an example of the screen display (after position correction) of the CAD apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る図面配置原点、部品の配置原点の説明図である。It is explanatory drawing of the drawing arrangement | positioning origin based on the 1st Embodiment of this invention, and the arrangement | positioning origin of components. 本発明の第1の実施形態に係るレイアウト装置の画面表示(レイアウト変更)の一例である。It is an example of the screen display (layout change) of the layout apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るCAD装置の画面表示(自動的に位置調整後)の一例である。It is an example of the screen display (after automatic position adjustment) of the CAD device according to the first embodiment of the present invention. 本発明の第1の実施形態に係るCADデータ生成装置の図面配置処理のフローチャートである。It is a flowchart of the drawing arrangement | positioning process of the CAD data generation apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るCADデータ生成装置の部品情報の取得処理のフローチャートである。It is a flowchart of the acquisition process of the components information of the CAD data generation apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るCADデータ生成装置の部品番号・部品名の位置調整処理のフローチャートである。It is a flowchart of the position adjustment process of the part number and the part name of the CAD data generation device which concerns on the 1st Embodiment of this invention.

符号の説明Explanation of symbols

10 コンピュータ
11 CPU
12 DRAM
13 HD
14 ディスプレイ
15 キーボード
16 マウス
17 LANカード
18 CD−ROMドライブ

10 Computer 11 CPU
12 DRAM
13 HD
14 Display 15 Keyboard 16 Mouse 17 LAN card 18 CD-ROM drive

Claims (5)

コンピュータに、修正前のCADデータ中の図面配置原点を求める手順、修正前のCADデータを構成する部品のグループデータから部品を識別する部品識別情報を取り出す手順、グループデータを構成するプリミティブデータの中から位置調整を必要とするプリミティブである位置調整要プリミティブの位置座標を取り出す手順、及び、部品の配置原点を求める手順からなる図面配置前の部品情報の取得大手順と、
部品のシンボルデータ、部品の配置座標及び部品識別情報からなるレイアウトデータに基づき対応するCADデータ形式の部品データを読み出し、配置座標に基づき部品を配置する新規図面配置大手順と、
前記取得大手順で取り出した部品識別情報と新規図面の部品識別情報とを比較し、部品識別情報が同一である場合に、新規図面においてグループデータを構成するプリミティブデータの中で位置調整要プリミティブの位置座標を取り出す手順、新規図面の配置原点を求める手順、及び、既存図の位置調整要プリミティブの部品の配置原点からの相対距離と新規図面の位置調整要プリミティブの部品の配置原点からの相対距離とを比較し、新規図面の位置調整要プリミティブを相対距離の差分分移動させる手順からなる位置調整要プリミティブの位置調整大手順とを実行させるための自動調整プログラム。
The procedure for obtaining the drawing arrangement origin in the CAD data before correction to the computer, the procedure for extracting the part identification information for identifying the part from the group data of the parts constituting the CAD data before correction, and the primitive data constituting the group data A large-scale procedure for obtaining component information before drawing placement, which includes a procedure for extracting the position coordinates of a primitive that requires positioning from a position adjustment primitive, and a procedure for obtaining the placement origin of the component,
A new drawing layout large procedure for reading out the corresponding CAD data format part data based on the layout data consisting of the part symbol data, the part placement coordinates and the part identification information, and placing the parts based on the placement coordinates,
The part identification information extracted in the large acquisition procedure is compared with the part identification information of the new drawing, and when the part identification information is the same, the primitive of the position adjustment primitive of the primitive data constituting the group data in the new drawing Procedure for extracting position coordinates, procedure for obtaining the placement origin of the new drawing, and the relative distance from the placement origin of the component of the existing drawing position adjustment primitive and the relative distance from the placement origin of the component of the new drawing position adjustment primitive And an automatic adjustment program for executing a large position adjustment procedure for a position adjustment primitive that includes a procedure for moving a position adjustment primitive of a new drawing by a relative distance difference.
コンピュータに、修正前のCADデータ中の図面配置原点を求める手順、修正前のCADデータを構成する部品のグループデータから部品を識別する部品識別情報を取り出す手順、グループデータを構成するプリミティブデータの中から位置調整を必要とするプリミティブである位置調整要プリミティブの位置座標及び属性を取り出す手順、及び、部品の配置原点を求める手順からなる図面配置前の部品情報の取得大手順と、
部品のシンボルデータ、部品の配置座標及び部品識別情報からなるレイアウトデータに基づき対応するCADデータ形式の部品データを読み出し、配置座標に基づき部品を配置する新規図面配置大手順と、
前記取得大手順で取り出した部品識別情報と新規図面の部品識別情報とを比較し、部品識別情報が同一である場合に、新規図面においてグループデータを構成するプリミティブデータの中で位置調整要プリミティブの位置座標を取り出す手順、新規図面の配置原点を求める手順、既存図の位置調整要プリミティブの部品の配置原点からの相対距離と新規図面の位置調整要プリミティブの部品の配置原点からの相対距離とを比較し、新規図面の位置調整要プリミティブを相対距離の差分分移動させる手順、及び、新規図面の位置調整要プリミティブの属性を既存図の位置調整要プリミティブの属性に更新する手順からなる位置調整要プリミティブの位置調整大手順とを実行させるための自動調整プログラム。
The procedure for obtaining the drawing arrangement origin in the CAD data before correction to the computer, the procedure for extracting the part identification information for identifying the part from the group data of the parts constituting the CAD data before correction, and the primitive data constituting the group data A large-scale procedure for acquiring component information before layout of the drawing, which includes a procedure for extracting the position coordinates and attributes of the primitive requiring alignment from the primitive that requires position adjustment, and a procedure for obtaining the placement origin of the component;
A new drawing layout large procedure for reading out the corresponding CAD data format part data based on the layout data consisting of the part symbol data, the part placement coordinates and the part identification information, and placing the parts based on the placement coordinates,
The part identification information extracted in the large acquisition procedure is compared with the part identification information of the new drawing, and when the part identification information is the same, the primitive of the position adjustment primitive of the primitive data constituting the group data in the new drawing The procedure to extract the position coordinates, the procedure to obtain the placement origin of the new drawing, the relative distance from the placement origin of the part of the existing drawing position adjustment primitive and the relative distance from the placement origin of the part of the new drawing position adjustment primitive Compare and move the position adjustment primitive of the new drawing by the relative distance difference, and update the attribute of the position adjustment primitive of the new drawing to the attribute of the position adjustment primitive of the existing figure. An automatic adjustment program for executing a large position adjustment procedure for primitives.
コンピュータに、CADデータ中の図面配置原点を求める手順、CADデータを構成する部品のグループデータから部品を識別する部品種類識別情報を取り出す手順、グループデータを構成するプリミティブデータの中から位置調整を必要とするプリミティブである位置調整要プリミティブの位置座標を取り出す手順、部品の配置原点を求める手順、及び、部品種類識別情報、位置調整要プリミティブの位置座標及び部品の配置原点を記憶手段に記録する手順からなる部品情報の取得大手順と、
対象CADデータ中で記憶手段に記録した部品種類識別情報と同一の部品種類識別情報の部品を特定する手順、部品種類識別情報が同一である場合に、対象CADデータにおいてグループデータを構成するプリミティブデータの中で位置調整要プリミティブの位置座標を取り出す手順、対象CADデータの図面の配置原点を求める手順、及び、記憶手段に記録した位置調整要プリミティブの部品の配置原点からの相対距離と対象CADデータの図面の位置調整要プリミティブの部品の配置原点からの相対距離とを比較し、対象CADデータの位置調整要プリミティブを相対距離の差分分移動させる手順からなる位置調整要プリミティブの位置調整大手順とを実行させるための自動調整プログラム。
The procedure for obtaining the drawing arrangement origin in the CAD data, the procedure for extracting the part type identification information for identifying the part from the group data of the parts constituting the CAD data, and the position adjustment from the primitive data constituting the group data are required. The procedure for taking out the position coordinates of the primitives requiring position adjustment, which are the primitives, the procedure for obtaining the component placement origin, and the procedure for recording the component type identification information, the location coordinates of the primitives requiring position adjustment, and the component placement origin in the storage means The acquisition procedure of parts information consisting of
A procedure for identifying a component having the same component type identification information as the component type identification information recorded in the storage means in the target CAD data, and primitive data constituting group data in the target CAD data when the component type identification information is the same The procedure for extracting the position coordinates of the primitives requiring position adjustment, the procedure for obtaining the arrangement origin of the drawing of the target CAD data, and the relative distance from the arrangement origin of the parts of the primitives requiring position adjustment recorded in the storage means and the target CAD data A large position adjustment procedure for a position adjustment primitive including a procedure for comparing the position adjustment primitive of the target CAD data with the relative distance from the arrangement origin of the part of the drawing in FIG. Automatic adjustment program for running
部品を提示する手順、使用者に選択された部品を指定された位置に配置する手順、部品に対して部品識別情報を付与する手順、及び、指定された表示で描画する手順からなるレイアウト大手順をさらに含む
前記請求項1ないし3のいずれかに記載の自動調整プログラム。
Layout procedure consisting of a procedure for presenting a component, a procedure for placing a component selected by a user at a specified position, a procedure for giving component identification information to a component, and a procedure for drawing with a specified display The automatic adjustment program according to claim 1, further comprising:
修正前のCADデータ中の図面配置原点を求める手段、修正前のCADデータを構成する部品のグループデータから部品を識別する部品識別情報を取り出す手段、グループデータを構成するプリミティブデータの中から位置調整を必要とするプリミティブである位置調整要プリミティブの位置座標を取り出す手段、及び、部品の配置原点を求める手段からなる図面配置前の部品情報の取得大手段と、
部品のシンボルデータ、部品の配置座標及び部品識別情報からなるレイアウトデータに基づき対応するCADデータ形式の部品データを読み出し、配置座標に基づき部品を配置する新規図面配置大手段と、
前記取得大手順で取り出した部品識別情報と新規図面の部品識別情報とを比較し、部品識別情報が同一である場合に、新規図面においてグループデータを構成するプリミティブデータの中で位置調整要プリミティブの位置座標を取り出す手段、新規図面の配置原点を求める手段、及び、既存図の位置調整要プリミティブの部品の配置原点からの相対距離と新規図面の位置調整要プリミティブの部品の配置原点からの相対距離とを比較し、新規図面の位置調整要プリミティブを相対距離の差分分移動させる手段からなる位置調整要プリミティブの位置調整大手段とを備える自動調整システム。

Means for obtaining the drawing arrangement origin in CAD data before correction, means for extracting part identification information for identifying parts from group data of parts constituting CAD data before correction, and position adjustment from primitive data constituting group data A means for obtaining part information before drawing placement, comprising means for extracting position coordinates of primitives requiring position adjustment, and means for obtaining the placement origin of the parts,
A new drawing layout means for reading out the corresponding CAD data format part data based on the layout data including the part symbol data, the part placement coordinates and the part identification information, and placing the parts based on the placement coordinates;
The part identification information extracted in the large acquisition procedure is compared with the part identification information of the new drawing, and when the part identification information is the same, the primitive of the position adjustment primitive of the primitive data constituting the group data in the new drawing Means for extracting position coordinates, means for obtaining the placement origin of the new drawing, and relative distance from the placement origin of the component of the existing drawing position adjustment primitive and relative distance from the placement origin of the part of the new drawing position adjustment primitive And a large position adjustment means for position adjustment primitives comprising means for moving the position adjustment primitives of the new drawing by the relative distance difference.

JP2005250212A 2005-08-30 2005-08-30 Automatic adjustment program and system therefor Withdrawn JP2007065923A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005250212A JP2007065923A (en) 2005-08-30 2005-08-30 Automatic adjustment program and system therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005250212A JP2007065923A (en) 2005-08-30 2005-08-30 Automatic adjustment program and system therefor

Publications (1)

Publication Number Publication Date
JP2007065923A true JP2007065923A (en) 2007-03-15

Family

ID=37928071

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005250212A Withdrawn JP2007065923A (en) 2005-08-30 2005-08-30 Automatic adjustment program and system therefor

Country Status (1)

Country Link
JP (1) JP2007065923A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009237953A (en) * 2008-03-27 2009-10-15 Fujitsu Ltd Display position determination program, recording medium with the program recorded thereon, and display position determination apparatus and method
CN114925469A (en) * 2022-05-07 2022-08-19 江苏科技大学 Method for quickly drawing layout diagram of installation platform parts of LNG ship containment system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009237953A (en) * 2008-03-27 2009-10-15 Fujitsu Ltd Display position determination program, recording medium with the program recorded thereon, and display position determination apparatus and method
CN114925469A (en) * 2022-05-07 2022-08-19 江苏科技大学 Method for quickly drawing layout diagram of installation platform parts of LNG ship containment system

Similar Documents

Publication Publication Date Title
US11182513B2 (en) Generating technical drawings from building information models
KR20200017347A (en) Method and apparatus for generating knowledge graph, device and computer readable storage medium
US7603630B2 (en) Method, system, and program product for controlling a display on a data editing screen
US7594191B2 (en) Visually presenting information to a computer user
JP2000155859A (en) Method for preparing mesh for analyzing numerical value and its device
JP2019046457A (en) Method, apparatus, and device for generating visual model layout of space
US20230185984A1 (en) Generating Technical Drawings From Building Information Models
WO2013084628A1 (en) Manufacturing line simulation device, data input assistance device, and data input assistance method
WO2020167562A1 (en) Generating technical drawings from building information models
US10825214B2 (en) Priority based automatic placement of labels on charts
JP4478579B2 (en) System, method and computer program product for changing the graphical representation of data entities and relational database structures
JP2008217534A (en) Application screen preparation system and method, and application program
JP3369734B2 (en) Three-dimensional computer-aided design apparatus and method
JP2007065923A (en) Automatic adjustment program and system therefor
US20080086324A1 (en) Parts managing system, parts managing method, and computer program product
JP3199029B2 (en) Method and system for creating shape information with manufacturing information
JP7251329B2 (en) Control program, control method and control device
JP2006277155A (en) Model selection program for cad system
JP6264208B2 (en) Display program, display method, and display device
JP2012128609A (en) Drawing creation support method and apparatus
US11698719B2 (en) Systems and methods for automated derivation of interactive layers for fixed content
JP2013142971A (en) Device and method for processing program
JP2009157470A (en) Electronic document processor and program
JP2010157165A (en) Information processor, information processing method, and program
WO2018185915A1 (en) Program creation device and program creation method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20081104