【0001】[0001]
【発明の属する技術分野】本発明は、広くはコンピュー
タ支援図形処理システムにおける図形生成及び図形の編
集に関し、特に、CAD(コンピュータ支援製図、設
計)システムなどの設計システムにおける図形生成及び
編集方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates generally to graphic generation and graphic editing in a computer-aided graphic processing system, and more particularly to a graphic generation and editing method in a design system such as a CAD (computer-aided drawing, design) system.
【0002】[0002]
【従来の技術】従来、設計システムとしては、まず線分
や円弧、自由曲線等を図形生成コマンドで生成した後、
トリミング/フィレット/面取りといった図形の編集コ
マンドで図形を整え、形状の変形が必要な場合は、生成
した図形をいったん削除し、再作成するといったスクラ
ップアンドビルド型の設計システムが主流であった。2. Description of the Related Art Conventionally, as a design system, a line segment, an arc, a free curve, etc. are first generated by a figure generation command, and then,
A scrap-and-build type design system in which a figure is trimmed by a figure editing command such as trimming / fillet / chamfering, and when the shape needs to be deformed, the generated figure is once deleted and recreated is the mainstream.
【0003】これに対し、少し形状が異なるような図形
に対しては、元の図形を利用した流用設計を行いたいと
いう利用者の要望により、パラメトリックに形状を変更
できるシステムが提唱されてきている。このパラメトリ
ックに形状を変更するシステムは、図形間に幾何拘束
(接する、平行等の幾何拘束)や寸法を付加し、その寸
法値を変更すると、変更された寸法に基づき、付加され
ている拘束を満たすように、幾何拘束で関連づけられて
いる図形の形状を変更するといった図形の形状を行うも
のである。On the other hand, for a figure having a slightly different shape, a system capable of parametrically changing the shape has been proposed in response to a user's request to make a diversion design using the original figure. . This parametric shape changing system adds geometric constraints (geometric constraints such as contact, parallel, etc.) and dimensions between figures, and when the dimension value is changed, the added constraints are based on the changed dimensions. The shape of the figure is changed by changing the shape of the figure associated with the geometric constraint so as to satisfy the condition.
【0004】このようなパラメトリックに形状を変更す
るシステムに関しては、以下に示すような機能が提供さ
れている。 (1)図形から必要な幾何拘束を読みとり、自動的に幾
何拘束を付加する。 (2)利用者が直接、幾何拘束を追加・削除する。 (3)ユーザが形状を生成した際、生成された形状から
自動的に拘束を付加する。The following functions are provided for such a parametric shape changing system. (1) Read necessary geometric constraints from the figure and add geometric constraints automatically. (2) The user directly adds / deletes geometric constraints. (3) When the user generates a shape, the constraint is automatically added from the generated shape.
【0005】さらに、形状モデルを生成、修正する際、
入力順序などの操作に付いての制約が無く、設計者の意
図を忠実に反映した形状モデルを簡単に構築する方法
が、特公平7ー89382で提唱されており、形状を生
成する際に実行した作図操作と作成される形状を規定す
る幾何拘束とをそれぞれ対応付けることを可能にする方
法が、特開平3ー206564で提唱されており、ま
た、図面の変更に対して、寸法・幾何拘束管理テーブル
を用いることにより、システムが寸法・拘束の継承/削
除を自動的に行う手法が、特開平6ー102915で提
唱されている。Furthermore, when generating and modifying the shape model,
Japanese Patent Publication No. 7-89382 proposes a method for easily constructing a shape model that faithfully reflects the designer's intention without restrictions on operations such as input order. It is executed when generating a shape. Japanese Patent Laid-Open No. 3-206564 proposes a method that makes it possible to associate the created drawing operation with the geometric constraint that defines the shape to be created, and to manage the dimension / geometric constraint against changes in the drawing. JP-A-6-102915 proposes a method in which a system automatically inherits / deletes dimensions and constraints by using a table.
【0006】[0006]
【発明が解決しようとする課題】従来の設計システム
は、あくまでも図形生成時の拘束の付加のしかたや、図
形編集の拘束の維持/削除の仕方、あるいは形状の変形
方法といった設計時の図形生成/編集/修正の個々のフ
ェーズの提案であり、利用者の形状の再作成という手間
は省き形状変更を簡単にできるものの、逆に利用者に対
し拘束の取り扱いという新たな負担が発生するという問
題点があった。本発明は、図形生成/図形編集/図形変
形の各フェーズにおいて、形状変形のための拘束を切れ
目無くシステム側で管理することにより、柔軟で利用者
に負担をかけない設計システムを提供することを目的と
する。In the conventional design system, the method of adding a constraint at the time of generating a figure, the method of maintaining / deleting a constraint for editing a figure, or the method of generating a figure at the time of design such as a method of deforming a shape is used. Although it is a proposal for each phase of editing / correction, it is possible to simplify the shape change without recreating the shape of the user, but on the contrary, a new burden of handling the constraint is generated for the user. was there. The present invention provides a design system that is flexible and does not burden the user by managing the constraint for shape deformation seamlessly in each phase of figure generation / figure editing / figure deformation. To aim.
【0007】[0007]
【課題を解決するための手段】第1の発明に係る設計シ
ステムは、利用者により入力されたコマンドからコマン
ドの種類を解析する入力解析手段と、入力解析手段によ
り解析されたコマンドの種類に基づいた図形処理を行う
図形処理手段と、図形処理手段による図形処理後、コマ
ンドの内容及び図形処理手段での処理情報に基づいて、
図形全体の拘束情報を一括して更新する拘束管理手段と
を備え、図形処理の際に、システムが利用者の意図をく
み取り、自動的に拘束の継承/追加/削除などの更新を
行う。A design system according to a first aspect of the present invention is based on an input analysis means for analyzing a command type from a command input by a user, and a command type analyzed by the input analysis means. Based on the content of the command and the processing information in the graphic processing means after the graphic processing by the graphic processing means for performing the graphic processing
A constraint management unit that collectively updates constraint information of the entire figure is provided, and when processing the figure, the system takes in the user's intention and automatically updates / adds / deletes constraints.
【0008】第2の発明に係る設計システムは、利用者
により入力されたコマンドからコマンドの種類を解析
し、コマンドの内容に対応したパラメータテーブルを作
成する入力解析手段と、入力解析手段により作成された
パラメータテーブルのデータに基づいて、処理内容に対
応した図形テーブルを作成し、図形処理を行う図形処理
手段と、図形処理手段による図形処理後、パラメータテ
ーブル及び図形テーブルのデータに基づいて、拘束テー
ブルを作成し、その拘束テーブルのデータに基づいて、
図形全体の拘束情報を一括して更新する拘束管理手段と
を備え、図形処理の際に、システムが、パラメータテー
ブル及び図形テーブルのデータから、利用者の意図をく
み取り、拘束テーブルのデータから、自動的に拘束の継
承/追加/削除などの更新を行う。The design system according to the second invention is constructed by the input analysis means for analyzing the command type from the command input by the user and creating the parameter table corresponding to the contents of the command, and the input analysis means. A graphic table corresponding to the processing content is created based on the data of the parameter table, and graphic processing means for performing graphic processing, and after the graphic processing by the graphic processing means, a constraint table based on the data of the parameter table and the graphic table And based on that constraint table data,
It is equipped with a constraint management unit that updates constraint information for the entire figure at once, and the system automatically captures the user's intention from the data in the parameter table and figure table during the figure processing, and automatically Inheritance / addition / deletion of constraints is updated.
【0009】第3の発明に係る設計システムにおける拘
束管理手段は、更に、入力解析手段により作成されたパ
ラメータテーブルのデータが、拘束の付加、削除、又は
更新のとき、パラメータテーブルのデータに基づいて、
拘束テーブルを作成し、その拘束テーブルのデータに基
づいて、図形全体の拘束情報を一括して更新するもので
ある。第4の発明に係る設計システムにおける拘束管理
手段は、更に、拘束に基づく形状変更を伴う拘束情報の
更新の際、寸法拘束の寸法値を変数として解を求め、変
更するものである。The constraint management means in the design system according to the third aspect of the invention is further based on the data of the parameter table when the data of the parameter table created by the input analysis means is the addition, deletion, or update of a constraint. ,
A constraint table is created, and the constraint information of the entire figure is collectively updated based on the data in the constraint table. The constraint management means in the design system according to the fourth aspect of the present invention further determines and changes a solution using the dimension value of the dimension constraint as a variable when updating the constraint information accompanied by the shape change based on the constraint.
【0010】[0010]
【発明の実施の形態】図1は本発明の一実施形態に係る
設計システムの構成を示すブロック図である。図におい
て、10は利用者の入力を解析する入力解析部、11は
ラフスケッチなどの図形生成処理を行う図形生成機能
部、12はトリミング、フィレット、面取り、移動など
の図形編集処理を行う図形編集機能部、13は利用者が
直接図形に拘束を付加/削除するなどの拘束編集処理を
行う拘束編集機能部、14は寸法拘束値、図形の拘束付
き移動、図形の構成点移動等を用いた拘束に基づく形状
変更処理を行う図形形状変形機能部であり、図形生成機
能部11、図形編集機能部12、拘束編集機能部13及
び図形形状変形機能部14で図形処理部15を構成して
いる。1 is a block diagram showing the configuration of a design system according to an embodiment of the present invention. In the figure, 10 is an input analysis unit that analyzes the user's input, 11 is a graphic generation function unit that performs graphic generation processing such as rough sketch, and 12 is graphic editing that performs graphic editing processing such as trimming, fillet, chamfering, and moving. A functional unit, 13 is a constraint editing function unit in which a user directly performs constraint editing processing such as adding / removing constraints to / from a figure, and 14 is a dimension constraint value, a figure-constrained movement, a movement of a constituent point of the figure, or the like. This is a figure shape modification function section that performs shape modification processing based on constraints, and the figure generation function section 11, the figure editing function section 12, the constraint editing function section 13, and the figure shape modification function section 14 constitute a figure processing section 15. .
【0011】20は図形生成機能部11、図形編集機能
部12、拘束編集機能部13及び図形形状変形機能部1
4の処理後、必ず経由される拘束管理部であり、拘束管
理部20は拘束を解析する拘束解析部21を有し、その
解析結果に基づいて、拘束追加22、拘束削除23、拘
束検証24及び拘束に基づく形状変更の処理が行われ
る。Reference numeral 20 is a figure generation function section 11, a figure editing function section 12, a constraint editing function section 13, and a figure shape transforming function section 1.
After the processing of 4, the constraint management unit is always passed through, and the constraint management unit 20 has a constraint analysis unit 21 that analyzes the constraint, and based on the analysis result, constraint addition 22, constraint deletion 23, and constraint verification 24. And the process of changing the shape based on the constraint is performed.
【0012】次に、この実施形態の動作について説明す
る。図2〜図7は、操作例を示したものであり、図2は
始点と終点を指定して線分1を生成する操作、図3は中
心点と半径10を指定して円1を生成する操作、図4は
線分1の始点を通り円1に接する線分2を生成する操
作、図5は線分1と線分2の間に半径10のフィレット
をかける操作、図6は線分2に水平拘束を追加する形状
変更の操作、図7は線分1の始点を移動する形状変更の
操作を示している。Next, the operation of this embodiment will be described. 2 to 7 show an operation example, FIG. 2 is an operation for generating a line segment 1 by designating a start point and an end point, and FIG. 3 is a procedure for generating a circle 1 by designating a center point and a radius 10. 4 is an operation for generating a line segment 2 that passes through the start point of the line segment 1 and is tangent to the circle 1, FIG. 5 is an operation for applying a fillet with a radius of 10 between the line segment 1 and the line segment 2, and FIG. 6 is a line FIG. 7 shows a shape change operation for adding a horizontal constraint to the segment 2, and FIG. 7 shows a shape change operation for moving the start point of the line segment 1.
【0013】まず、入力解析部10は、利用者の入力を
解析し、入力パラメータテーブルを作成する。例えば、
図8に示すように、利用者が線分1と線分2に接する半
径10の円を生成しようとした場合、図9に示すような
入力パラメータテーブルが作成される。この入力パラメ
ータテーブルは、コマンド分類とパラメータから構成さ
れるテーブルであり、コマンド分類には、利用者が指定
したコマンド(生成/線分、生成/円、編集/トリミン
グ等)が、パラメータには、利用者がコマンド実行のた
めに選択したパラメータ(図形、座標値、数値)等が格
納される。このように、入力解析部10は、利用者の指
示をシステムにわかりやすいように翻訳する役割を持っ
ている。First, the input analysis unit 10 analyzes a user's input and creates an input parameter table. For example,
As shown in FIG. 8, when the user tries to generate a circle with a radius of 10 that is in contact with line segment 1 and line segment 2, an input parameter table as shown in FIG. 9 is created. This input parameter table is a table composed of command classifications and parameters. The command classifications include commands specified by the user (generation / line segment, generation / circle, edit / trimming, etc.), and the parameters include The parameters (graphics, coordinate values, numerical values) selected by the user for command execution are stored. In this way, the input analysis unit 10 has a role of translating the user's instruction so that the system can easily understand the instruction.
【0014】そして、入力解析部10で解析された利用
者が指定したコマンドに基づいて、図形生成機能部1
1、図形編集機能部12、拘束編集機能部13及び図形
形状変形機能部14での処理が行われる。Then, based on the command designated by the user analyzed by the input analysis unit 10, the figure generation function unit 1
1. The processes in the figure editing function section 12, the constraint editing function section 13, and the figure shape modifying function section 14 are performed.
【0015】まず、利用者が図形生成コマンドを実行し
た時は、図形生成機能部11での処理となる。図10
は、図2〜図3に示す操作を行った後、図4に示す生成
/線分コマンドを実行した時の動作を示すフローチャー
トである。First, when the user executes the figure generation command, the processing is performed by the figure generation function section 11. FIG.
4 is a flowchart showing an operation when the generation / line segment command shown in FIG. 4 is executed after performing the operations shown in FIGS.
【0016】まず、利用者は、生成/線分コマンドを実
行し、線分生成のパラメータとして、線分1の始点と円
1に接するという情報を入力する(S100)。そし
て、入力解析部10において、利用者の入力から、入力
パラメータテーブルを作成する(S101)。First, the user executes the generation / line segment command, and inputs information that the start point of the line segment 1 and the circle 1 are in contact with each other as a parameter of the line segment generation (S100). Then, the input analysis unit 10 creates an input parameter table from the user's input (S101).
【0017】そして、システムは入力パラメータから、
実行されたコマンドを解釈し(S102)、この場合、
生成/線分コマンドであるので、図形生成機能部11に
おいて(S103)、線分生成コマンドを実行する(S
104)。線分生成コマンドでは、入力パラメータを利
用しての線分(線分2)の生成を行い、メモリ上のデー
タベースに図形の形状情報を登録した後、生成された図
形に基づき、図形テーブルを作成する(S105)。The system then uses the input parameters to
Interpret the executed command (S102), and in this case,
Since it is a generation / line segment command, the figure generation function unit 11 executes the line segment generation command (S103) (S103).
104). In the line segment generation command, a line segment (line segment 2) is generated using the input parameters, shape information of the figure is registered in the database on the memory, and then a figure table is created based on the generated figure. Yes (S105).
【0018】図形テーブルは、図9に示すように、タイ
プと図形及び元図形からなるテーブルであり、タイプ
は、”生成”、”編集”、”コピー”のいずれかが、図
形には編集された図形が、元図形には、コピーが行われ
た際のコピー元の図形が格納されるようになっている。As shown in FIG. 9, the graphic table is a table composed of types, graphics, and original graphics. The type is either "create", "edit", or "copy", and the graphic is edited. The original figure stores the original figure of the copy source when the copy is performed.
【0019】そして、この図形テーブルを作成するまで
が、図形生成機能部11の役割であり、この後、いまま
でに作られた入力パラメータテーブルと図形テーブル
が、拘束管理部20に渡されて拘束が付加されることと
なる。Until the creation of this graphic table, the role of the graphic generation function unit 11 is performed. After that, the input parameter table and the graphic table created so far are passed to the constraint management unit 20 and the constraint management unit 20 binds them. Will be added.
【0020】そして、拘束管理部20において、入力テ
ーブル中のパラメータを解析し、付加すべき拘束テーブ
ルを作成する(S106)。拘束テーブルは図10に示
すように、拘束の種類と3つのパラメータからなるテー
ブルである。拘束の種類には、幾何拘束のタイプ(同一
点、接する、水平等)が、パラメータに関しては、各拘
束において定義される最大3つまでの図形もしくは図形
構成点情報が格納されるようになっている。拘束テーブ
ルを作成した後は、その拘束テーブル中の拘束情報をメ
モリ上のデータベースに格納する(S107)。Then, the constraint management unit 20 analyzes the parameters in the input table and creates a constraint table to be added (S106). As shown in FIG. 10, the constraint table is a table including the type of constraint and three parameters. The type of constraint stores the type of geometric constraint (same point, tangent, horizontal, etc.), and the parameters store up to 3 figures or figure configuration point information defined in each constraint. There is. After creating the constraint table, the constraint information in the constraint table is stored in the database on the memory (S107).
【0021】以上の動作により、利用者が生成/線分コ
マンドで線分を生成した場合、線分を生成し、それに付
随すべき利用者の意図する拘束を生成することが可能と
なる。なお、ここでの例は、線分の例であったが、他の
生成コマンド(円、円弧、点、曲線の生成)においても
同様の処理が行われる。By the above operation, when the user creates a line segment by the create / line segment command, the line segment can be created and the constraint intended by the user that accompanies it can be created. Although the example here is an example of a line segment, similar processing is performed in other generation commands (generation of circles, arcs, points, and curves).
【0022】また、利用者が移動/コピー/フィレット
/トリミング/面取り等の図形編集コマンドを実行した
時は、図形編集機能部12での処理となる。図11は、
図2〜図4に示す操作を行った後、図5に示す編集/フ
ィレットコマンドを実行した時の動作を示すフローチャ
ートである。移動/コピー/フィレット/トリミング/
面取り等の図形編集コマンドを実行することにより、既
存の図形に付加されている拘束を必要に応じて保持/削
除し、その利用者入力から意図をくみ取り必要な拘束を
付加することができるものである。When the user executes a figure editing command such as move / copy / fillet / trimming / chamfering, the figure editing function unit 12 performs the processing. FIG.
6 is a flowchart showing an operation when the edit / fillet command shown in FIG. 5 is executed after performing the operation shown in FIGS. Move / Copy / Fillet / Trimming /
By executing a figure editing command such as chamfering, it is possible to retain / delete the constraint added to the existing figure as necessary, and take intent from the user input and add the necessary constraint. is there.
【0023】まず、利用者は、線分1と線分2の間に半
径10のフィレット行うためにフィレットコマンドを実
行し、線分1と線分2を選択し、半径値10を代入する
(S110)。そして、入力解析部10において、利用
者の入力から、入力パラメータテーブルが作成される
(S111)。First, the user executes a fillet command to fillet a radius of 10 between line segment 1 and line segment 2, selects line segment 1 and line segment 2 and substitutes a radius value of 10 ( S110). Then, the input analysis unit 10 creates an input parameter table from the user's input (S111).
【0024】そして、システムは入力パラメータテーブ
ルのコマンド分類フィールドから、実行されたコマンド
を解釈し(S112)、この場合、編集/フィレットコ
マンドであるので、図形編集機能部12において(S1
13)、編集/フィレットコマンドを実行する(S11
4)。編集/フィレットコマンドでは、入力パラメータ
を利用して線分1、線分2に接する半径10の線分1と
線分2をなめらかにつなぐ円弧(円弧2)の生成を行
い、また、円弧2に端点でつながるように線分1と線分
2を短く編集し、円弧の形状データをメモリ上のデータ
ベースに格納し、メモリ上に格納されている線分1、線
分2の形状データを更新した後、生成/編集された図形
に基づき、図形テーブルを作成する(S115)。Then, the system interprets the executed command from the command classification field of the input parameter table (S112). In this case, since it is the edit / fillet command, the graphic editing function unit 12 (S1).
13), execute the edit / fillet command (S11)
4). The edit / fillet command uses the input parameters to generate an arc (arc 2) that smoothly connects line segment 1 and line segment 2 with a radius of 10 that are in contact with line segment 1 and line segment 2. Shortly edit line segment 1 and line segment 2 so that they are connected at the end points, store the arc shape data in the memory database, and update the shape data of line segment 1 and line segment 2 stored in memory. After that, a graphic table is created based on the created / edited graphic (S115).
【0025】そして、この図形を編集し図形テーブルを
作成するまでが、図形編集機能部12の役割であり、こ
の後、いままでに作られた入力パラメータテーブルと図
形テーブルが拘束管理部20に渡されて拘束のメンテナ
ンスが行われる。The function of the graphic editing function unit 12 is until the graphic is edited to create the graphic table. After that, the input parameter table and the graphic table created so far are passed to the constraint management unit 20. The restraint maintenance is performed.
【0026】そして、拘束管理部20において、入力テ
ーブルのパラメータに関する拘束をメモリ上のデータベ
ースから取り出し、拘束テーブル1を作成する(S11
6)。次に、拘束テーブルのパラメータに図形テーブル
のパラメータが含まれているかどうか判定する(S11
7)。もし、パラメータが含まれていれば拘束テーブル
1からその拘束を取り出し、それらの拘束が削除される
べきかどうか判定する(S118)。削除すべきかどう
かの判定は、その拘束タイプと編集された図形の編集後
の形状データから判定される。もし、削除されるべきと
判定された拘束はメモリ上のデータベースから削除され
る(S119)。Then, the constraint management unit 20 takes out the constraint relating to the parameters of the input table from the database on the memory and creates the constraint table 1 (S11).
6). Next, it is determined whether the parameters of the constraint table include the parameters of the graphic table (S11).
7). If the parameters are included, the constraints are retrieved from the constraint table 1 and it is determined whether or not those constraints should be deleted (S118). Whether or not to delete should be determined from the constraint type and the shape data after editing of the edited figure. If the constraint determined to be deleted is deleted from the database on the memory (S119).
【0027】そして、S117、S118、S119の
処理が終了すると、図形テーブル及び入力テーブルから
付加すべき拘束テーブル2を作成する(S120)。拘
束を拘束テーブル2から取り出し、オンメモリ上のデー
タベースに拘束を登録する(S121)。When the processes of S117, S118, and S119 are completed, the constraint table 2 to be added is created from the graphic table and the input table (S120). The constraint is fetched from the constraint table 2 and registered in the on-memory database (S121).
【0028】以上の動作により、利用者が編集/フィレ
ットコマンドを実行した場合、必要な図形の編集とユー
ザの意図する拘束を追加/継承/削除することが可能と
なる。なお、ここでの例は、”編集/フィレット”コマ
ンドであったが、他の編集コマンド(トリミング、移
動、コピー、面取り)においても同様の処理が行われ
る。By the above operation, when the user executes the edit / fillet command, it becomes possible to edit the necessary figure and add / inherit / delete the constraint intended by the user. Note that the example here is the "edit / fillet" command, but the same processing is performed for other edit commands (trimming, moving, copying, chamfering).
【0029】また、利用者が拘束編集コマンドを実行し
た時は、拘束編集機能部13での処理となる。図12
は、図5に示すフィレットコマンドを実行した後に、図
6に示す線分2に拘束編集/水平追加コマンドを実行し
た時の動作を示すフローチャートである。拘束編集コマ
ンドを実行することにより、利用者がより細かい形状変
更を行いたい場合、システムの自動付加では足りない拘
束を利用者が付加したり、必要ない拘束を利用者が削除
したりできる。Further, when the user executes the constraint editing command, the processing is performed by the constraint editing function unit 13. FIG.
6 is a flowchart showing an operation when a constraint edit / horizontal addition command is executed on the line segment 2 shown in FIG. 6 after the fillet command shown in FIG. 5 is executed. By executing the constraint edit command, when the user wants to make a finer shape change, the user can add a constraint that is not sufficient for automatic addition of the system, or the user can delete an unnecessary constraint.
【0030】まず、利用者は、水平拘束を付加するため
に、拘束編集/水平追加コマンドを実行し、線分2を選
択する(S130)。入力解析部10において、利用者
の入力から、入力パラメータテーブルが作成される(S
131)。First, the user executes a constraint edit / horizontal addition command to add a horizontal constraint and selects line segment 2 (S130). In the input analysis unit 10, an input parameter table is created from the user's input (S
131).
【0031】そして、システムは入力パラメータテーブ
ルのコマンド分類フィールドから、実行されたコマンド
を解釈し(S132)、この場合、拘束編集/水平追加
コマンドであるので、拘束編集機能部13において(S
133)、拘束追加(S134)の水平コマンドを実行
する(S135)。Then, the system interprets the executed command from the command classification field of the input parameter table (S132). In this case, since it is the constraint edit / horizontal addition command, the constraint edit function unit 13 (S).
133), the horizontal command of constraint addition (S134) is executed (S135).
【0032】拘束編集コマンドは、直接利用者が拘束を
追加/削除する機能であるため、拘束編集機能部13か
ら入力パラメータテーブルが拘束管理部20に渡されて
拘束のメンテナンスが行われる。Since the constraint edit command is a function for the user to directly add / delete a constraint, the constraint editing function unit 13 transfers the input parameter table to the constraint management unit 20 for maintenance of the constraint.
【0033】そして、拘束管理部20では、入力パラメ
ータテーブルを元に拘束のメンテナンスを行う。まず、
入力テーブル中のパラメータ中にある図形に関連する拘
束をメモリ上のデータベースから検索し、拘束テーブル
1を作成する(S136)。Then, the constraint management unit 20 performs constraint maintenance based on the input parameter table. First,
The constraint related to the figure in the parameters in the input table is searched from the database on the memory to create the constraint table 1 (S136).
【0034】そして、入力テーブル中のコマンド分類と
パラメータから追加すべき拘束テーブル2を作成する
(S137)。拘束テーブル2中の拘束が、拘束テーブ
ル1中にあるかか判定し(S138)、もしあれば何も
せず、なければ拘束テーブル2中の拘束をメモリ上のデ
ータベースに登録する(S139)。Then, the constraint table 2 to be added is created from the command classification and the parameters in the input table (S137). It is determined whether or not the constraint in the constraint table 2 is in the constraint table 1 (S138). If it is determined, nothing is done. If not, the constraint in the constraint table 2 is registered in the database on the memory (S139).
【0035】なお、ここでの例は、”拘束編集/水平追
加”コマンドであったが、他の拘束編集コマンドも同様
の処理が行われる。Although the example here is the "constraint edit / horizontal addition" command, the same processing is performed for other constraint edit commands.
【0036】また、利用者が図形形状変更コマンドを実
行した時は、図形形状変形機能部14での処理となる。
図13は、図2〜図5に示す操作で生成/編集した形状
を、図7に示す線分1の始点を構成点移動コマンドを実
行した時の動作を示すフローチャートである。図形形状
変更コマンドを実行することにより、寸法値変更、図形
の拘束付き移動、図形の構成点移動等によって、形状を
変更する事ができ、また、現在の図形に付いている拘束
の状態を検証することもできるものである。When the user executes the figure shape changing command, the figure shape changing function section 14 performs the processing.
FIG. 13 is a flow chart showing the operation when the constituent point move command is executed on the shape generated / edited by the operation shown in FIGS. 2 to 5 from the starting point of the line segment 1 shown in FIG. By executing the figure shape change command, it is possible to change the shape by changing the dimension value, moving the figure with constraints, moving the figure configuration points, etc. Also, verify the state of the constraints attached to the current figure. It can also be done.
【0037】まず、利用者は、線分1の始点を動かした
い場合には、構成点移動コマンドを実行し、線分1の始
点を指定座標値まで動かす(S140)。そして、入力
解析部10において、利用者の入力から、入力パラメー
タテーブルが作成される(S141)。First, when the user wants to move the start point of the line segment 1, the user executes the constituent point move command to move the start point of the line segment 1 to the designated coordinate value (S140). Then, the input analysis unit 10 creates an input parameter table from the user's input (S141).
【0038】そして、システムは入力パラメータテーブ
ルのコマンド分類フィールドから、実行されたコマンド
を解釈し(S142)、この場合、図形形状変更コマン
ドの構成点移動コマンドであるので、図形形状変形機能
部14において(S143)、構成点移動コマンドを実
行する(S144)。Then, the system interprets the executed command from the command classification field of the input parameter table (S142). In this case, since it is the constituent point movement command of the figure shape change command, the figure shape deformation function unit 14 (S143), the constituent point move command is executed (S144).
【0039】図形形状変更のコマンドは、直接利用者が
拘束を元に形状を変更するため、図形変形機能部14か
ら入力パラメータテーブルが拘束管理部20に渡されて
拘束のメンテナンスが行われる。As for the command for changing the figure shape, the user directly changes the shape based on the constraint, so the input parameter table is passed from the figure transforming function section 14 to the constraint management section 20 to perform the constraint maintenance.
【0040】そして、拘束管理部20では、入力テーブ
ル中の図形に関連する拘束及び拘束で関連づけられてい
る図形、その図形に関連する拘束すべてをメモリ上のデ
ータベースから検索し、拘束テーブルを作成する(S1
45)。Then, the constraint management unit 20 retrieves from the database on the memory all the constraints related to the figure in the input table and the figures associated with the figure and the constraints related to the figure, and creates the constraint table. (S1
45).
【0041】そして、拘束テーブル中の拘束と、拘束テ
ーブル中に含まれる全ての図形の形状データを拘束ソル
バに登録し(S146)、構成点の新しい位置を拘束ソ
ルバに登録し(S147)、拘束ソルバを実行すること
により、利用者指定の構成点を利用者指定位置に、既存
の拘束を満たすように動かした場合の解が求められる
(S148)。その解から、形状の変更された図形を取
り出し、それらの図形のメモリ上の形状データを更新し
(S149)、拘束を維持した形状変更を行う。Then, the constraint in the constraint table and the shape data of all figures included in the constraint table are registered in the constraint solver (S146), and the new position of the constituent point is registered in the constraint solver (S147). By executing the solver, a solution is obtained when the user-specified component point is moved to the user-specified position so as to satisfy the existing constraint (S148). From the solution, figures whose shapes have been changed are taken out, the shape data on the memory of those figures is updated (S149), and the shape is changed while maintaining the constraint.
【0042】なお、ここでの例は、”図形形状変更/構
成点移動”コマンドであったが、他の図形形状変更コマ
ンドでも同様の処理が行われる。Although the example here is the "figure shape change / composition point move" command, the same processing is performed with other figure shape change commands.
【0043】なお、従来は、ソルバで連立方程式を解く
際、寸法拘束の寸法値を式の中の定数として取り扱って
いたため、寸法拘束を付加した形状に対しては、寸法値
を変更することで形状を変更することしかできなかった
が、この実施形態では、寸法拘束の寸法値を式の中の定
数ではなく変数として取り扱うようにしており、利用者
が望むならば形状変更により寸法拘束の寸法値を変更で
きるようになっている。In the past, when solving simultaneous equations with a solver, the dimension value of the dimensional constraint was treated as a constant in the equation. Therefore, for a shape to which the dimensional constraint is added, the dimensional value can be changed. Although it was only possible to change the shape, in this embodiment, the dimension value of the dimension constraint is treated as a variable instead of a constant in the formula, and if the user desires, the dimension constraint dimension can be changed by changing the shape. The value can be changed.
【0044】なお、拘束条件を満たして形状を変更する
手法(拘束ソルバ)そのものについては、Light, R,A,.
"Symbolic Dimensioning in Computer Aided Design"
,M.S., Department of Mechanical Engineering, Mass
acheusetts Institute of Technology, February, 198
0.Gossard, D.C., "Reparesentation of Part Families
Though Variational Geometry", ADVANCES IN CAD/CA
M, 1983 P47-53等、多数の論文が提出されている。Regarding the method (constraint solver) itself for changing the shape satisfying the constraint conditions, Light, R, A ,.
"Symbolic Dimensioning in Computer Aided Design"
, MS, Department of Mechanical Engineering, Mass
acheusetts Institute of Technology, February, 198
0.Gossard, DC, "Reparesentation of Part Families
Though Variational Geometry ", ADVANCES IN CAD / CA
Many papers have been submitted, including M, 1983 P47-53.
【0045】以上のように、この実施形態では、拘束管
理部20は、図形の生成/編集/形状変更、拘束編集の
すべての利用者が実行するコマンドにおいて、必ず経由
されシステム全体の拘束の追加/削除/継承の自動的メ
ンテナンスを行うものであり、その基本機能として、入
力パラメータテーブル解析、図形テーブル解析、メモリ
上の拘束検索、拘束テーブルの作成、拘束テーブル同士
の比較、メモリ上のデータベースの拘束情報の更新等を
持ち、それらの機能が、入力パラメータテーブルと図形
テーブルの解析結果に基づいた組み合わせで駆動される
ことにより、拘束の自動メンテナンスを行うようになっ
ている。As described above, in this embodiment, the constraint management unit 20 is always passed through in the commands executed by all the users who generate / edit / change the shape of the figure and edit the constraint, and add the constraint of the entire system. It performs automatic maintenance of delete / delete / inherit, and its basic functions are input parameter table analysis, graphic table analysis, constraint search on memory, constraint table creation, constraint table comparison, database on memory. The automatic maintenance of the constraint is performed by updating the constraint information and driving those functions by a combination based on the analysis result of the input parameter table and the graphic table.
【0046】このため、図形生成、図形編集、拘束編集
等全機能において、システムが図形間の拘束管理するこ
とになり、図形変更作業が簡易化され、類似図形の作成
工程を大幅に削減することが可能となる。Therefore, in all the functions such as figure generation, figure editing, constraint editing, the system manages the constraint between the figures, simplifies the figure changing work, and greatly reduces the step of creating similar figures. Is possible.
【0047】また、従来は寸法拘束中の値を定数として
取り扱っていたものを、座標値と同様に変数として取り
扱うことにより、寸法値を変更して形状を変更するのみ
でなく、図形の構成点を移動することにより、寸法値を
変更することができ、形状変更の柔軟性を増すことが可
能となる。Further, by treating the value during dimension constraint as a constant in the past as a variable like the coordinate value, not only the dimension value is changed to change the shape, but also the configuration point of the figure is changed. By moving the, the dimensional value can be changed, and the flexibility of changing the shape can be increased.
【0048】また、図形生成/図形編集/拘束編集の際
に、システムが利用者の意図をくみ取り、自動的に拘束
の継承/追加/削除が行われるため、利用者が特に拘束
を意識することなく図形の生成/編集を行った後、少な
い手間で簡単に形状変更を行うことが可能となる。In addition, at the time of generating a figure / editing a figure / editing a constraint, the system takes in the user's intention and automatically inherits / adds / deletes the constraint, so that the user is particularly aware of the constraint. It is possible to easily change the shape after generating / editing a graphic without using the graphic.
【図1】本発明の一実施形態に係る設計システムの構成
を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a design system according to an embodiment of the present invention.
【図2】始点と終点を指定して線分1を生成する操作を
説明するための説明図である。FIG. 2 is an explanatory diagram for explaining an operation of generating a line segment 1 by designating a start point and an end point.
【図3】中心点と半径10を指定して円1を生成する操
作を説明するための説明図である。FIG. 3 is an explanatory diagram for explaining an operation of generating a circle 1 by designating a center point and a radius 10.
【図4】線分1の始点を通り円1に接する線分2を生成
する操作を説明するための説明図である。FIG. 4 is an explanatory diagram for explaining an operation of generating a line segment 2 that passes through a start point of the line segment 1 and is tangent to a circle 1.
【図5】線分1と線分2の間に半径10のフィレットを
かける操作を説明するための説明図である。FIG. 5 is an explanatory diagram for explaining an operation of applying a fillet having a radius of 10 between the line segment 1 and the line segment 2.
【図6】線分2に水平拘束を追加する形状変更の操作を
説明するための説明図である。FIG. 6 is an explanatory diagram for explaining an operation of changing the shape of adding a horizontal constraint to the line segment 2;
【図7】線分1の始点を移動する形状変更の操作を説明
するための説明図である。FIG. 7 is an explanatory diagram for explaining an operation of changing the shape of moving the start point of the line segment 1.
【図8】線分1と線分2に接する半径10の円の生成を
説明するための説明図である。FIG. 8 is an explanatory diagram for explaining generation of a circle having a radius of 10 and tangent to the line segment 1 and the line segment 2;
【図9】テーブルを説明するための説明図である。FIG. 9 is an explanatory diagram illustrating a table.
【図10】生成/線分コマンドを実行した時の動作を示
すフローチャートである。FIG. 10 is a flowchart showing an operation when a generation / line segment command is executed.
【図11】編集/フィレットコマンドを実行した時の動
作を示すフローチャートである。FIG. 11 is a flowchart showing an operation when an edit / fillet command is executed.
【図12】拘束編集/水平追加コマンドを実行した時の
動作を示すフローチャートである。FIG. 12 is a flowchart showing an operation when a constraint edit / horizontal addition command is executed.
【図13】構成点移動コマンドを実行した時の動作を示
すフローチャートである。FIG. 13 is a flowchart showing an operation when a constituent point move command is executed.
10 入力解析部 11 図形生成機能部 12 図形編集機能部 13 拘束編集機能部 14 図形形状変形機能部 15 図形処理部 20 拘束管理部 10 Input Analysis Section 11 Graphic Generation Function Section 12 Graphic Editing Function Section 13 Constraint Editing Function Section 14 Graphic Shape Deformation Functional Section 15 Graphic Processing Section 20 Constraint Management Section
───────────────────────────────────────────────────── フロントページの続き (72)発明者 堀田 邦彦 東京都港区港南一丁目8番27号 株式会社 エヌ・ケー・エクサ内 (72)発明者 井上 和重 東京都港区港南一丁目8番27号 株式会社 エヌ・ケー・エクサ内 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Kunihiko Hotta 1-8-27 Konan, Minato-ku, Tokyo NK Exa Co., Ltd. (72) Inventor Kazushige Inoue 8--8 Konan, Minato-ku, Tokyo No.27 NK Exa Co., Ltd.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7339097AJPH09179994A (en) | 1995-12-26 | 1995-12-26 | Design system |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7339097AJPH09179994A (en) | 1995-12-26 | 1995-12-26 | Design system |
| Publication Number | Publication Date |
|---|---|
| JPH09179994Atrue JPH09179994A (en) | 1997-07-11 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7339097APendingJPH09179994A (en) | 1995-12-26 | 1995-12-26 | Design system |
| Country | Link |
|---|---|
| JP (1) | JPH09179994A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007207192A (en)* | 2006-02-06 | 2007-08-16 | Fujitsu Ltd | Graphic processing apparatus and graphic processing method |
| JP2016522500A (en)* | 2013-05-22 | 2016-07-28 | シーメンス プロダクト ライフサイクル マネージメント ソフトウェアー インコーポレイテッドSiemens Product Lifecycle Management Software Inc. | Rule-based constraint interaction in geometric models |
| JP2022040738A (en)* | 2020-08-31 | 2022-03-11 | 株式会社日立製作所 | Coil mesh making device and making method |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007207192A (en)* | 2006-02-06 | 2007-08-16 | Fujitsu Ltd | Graphic processing apparatus and graphic processing method |
| JP2016522500A (en)* | 2013-05-22 | 2016-07-28 | シーメンス プロダクト ライフサイクル マネージメント ソフトウェアー インコーポレイテッドSiemens Product Lifecycle Management Software Inc. | Rule-based constraint interaction in geometric models |
| US9697303B2 (en) | 2013-05-22 | 2017-07-04 | Siemens Product Lifecycle Management Software Inc. | Rule-based constraint interaction in geometric models |
| JP2022040738A (en)* | 2020-08-31 | 2022-03-11 | 株式会社日立製作所 | Coil mesh making device and making method |
| Publication | Publication Date | Title |
|---|---|---|
| JP5508860B2 (en) | Reusable data structures for modeling systems | |
| US5847956A (en) | Automatic trimming of geometric objects in CAD/CAM systems | |
| JP4737914B2 (en) | Document revision support program, computer-readable medium storing the support program, and document revision support apparatus | |
| US6898560B1 (en) | Maintaining a computer-generated design model | |
| US6407753B1 (en) | System and method for integrating entities via user-interactive rule-based matching and difference reconciliation | |
| JPH0883296A (en) | Method and apparatus for creating three-dimensional shape | |
| US20030085889A1 (en) | Model management technology using feature chains | |
| JP3574202B2 (en) | Graphics Input/Output Device | |
| JP2003527712A (en) | Electronics assembly engineer system that uses user defined data structure naming and manipulation functions in a data system using transaction services | |
| JPH09179994A (en) | Design system | |
| JPH04105164A (en) | Sentence controller | |
| JP2003187263A (en) | Projection control processing device and computer program | |
| JPH0695861A (en) | Program parts reuse managing device | |
| JP2661554B2 (en) | Correction method of plate material processing figure data | |
| JPH05128179A (en) | Graphic file management device | |
| JP2005208705A (en) | Business process design support apparatus, method and program | |
| JP2572441B2 (en) | Form-specific figure creation device | |
| JPH08147333A (en) | Drawing preparing system | |
| KR100307316B1 (en) | Method for editing graphic and nongraphic drawing database using user interface | |
| JP2005208855A (en) | Business process design support apparatus, method and program | |
| CN115185492A (en) | Multi-user collaborative graphical design method for spacecraft control system | |
| FI124506B (en) | Computer-aided model design | |
| JPH07271588A (en) | Knowledge input method for case-based reasoning | |
| JPH0442337A (en) | Link production method | |
| JP3421425B2 (en) | Document creation support device |
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval | Effective date:20040308 Free format text:JAPANESE INTERMEDIATE CODE: A971007 | |
| A131 | Notification of reasons for refusal | Free format text:JAPANESE INTERMEDIATE CODE: A131 Effective date:20040406 | |
| A521 | Written amendment | Effective date:20040514 Free format text:JAPANESE INTERMEDIATE CODE: A523 | |
| A131 | Notification of reasons for refusal | Free format text:JAPANESE INTERMEDIATE CODE: A131 Effective date:20040810 | |
| A02 | Decision of refusal | Free format text:JAPANESE INTERMEDIATE CODE: A02 Effective date:20051025 |