Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2798365B2 - Part figure input device - Google Patents
[go: Go Back, main page]

JP2798365B2 - Part figure input device - Google Patents

Part figure input device

Info

Publication number
JP2798365B2
JP2798365B2 JP7132312A JP13231295A JP2798365B2 JP 2798365 B2 JP2798365 B2 JP 2798365B2 JP 7132312 A JP7132312 A JP 7132312A JP 13231295 A JP13231295 A JP 13231295A JP 2798365 B2 JP2798365 B2 JP 2798365B2
Authority
JP
Japan
Prior art keywords
line
standard
input
pair
graphic
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.)
Expired - Fee Related
Application number
JP7132312A
Other languages
Japanese (ja)
Other versions
JPH08329134A (en
Inventor
秀一 山田
淳 杉山
Original Assignee
テクノビジョン株式会社
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 テクノビジョン株式会社 filed Critical テクノビジョン株式会社
Priority to JP7132312A priority Critical patent/JP2798365B2/en
Publication of JPH08329134A publication Critical patent/JPH08329134A/en
Application granted granted Critical
Publication of JP2798365B2 publication Critical patent/JP2798365B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は部品図形の入力装置に関
し、CAD(コンピュータ・エイテッド・デザイン)で
標準部品図形を変形して入力する部品図形入力装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a component graphic input device , and more particularly to a component graphic input device for transforming and inputting a standard component graphic by CAD (Computer Aided Design). > Yes.

【0002】[0002]

【従来の技術】CADシステムにおいては、標準的な形
状の標準部品図形を各種用意しておき、この標準部品図
形の一部の寸法を変えることにより変形して所望の形状
とし、この所望の形状とした部品図形を入力して、図形
入力を簡易化することが従来から行われている。
2. Description of the Related Art In a CAD system, various standard part figures having a standard shape are prepared, and a part of the standard part figure is deformed by changing its dimensions to obtain a desired shape. 2. Description of the Related Art It has been conventionally performed to input a part figure described above to simplify the figure input.

【0003】従来から行われている標準部品図形の変形
方法の1つにパラメトリック変形という手法がある。パ
ラメトリック変形は、図11に示す如き標準部品図形を
予め作成してパラメトリック図形として登録し、例えば
寸法H、L1,L2,R,Cをパラメータとして決め、
その初期値を与えておく。また、パラメータの組み合わ
せが予め分っている場合はパラメータ表を作っておく。
図形入力時にはパラメトリック図形名を指定し、パラメ
ータH,L1,L2,R,Cを与えて所望の部品図形の
形状に変形させる。なお、パラメータH,L1,L2,
R,Cのうち数値を与えないパラメータは初期値を採用
する。
One of the conventional methods for deforming a standard part graphic is a parametric deformation method. In the parametric deformation, a standard part figure as shown in FIG. 11 is created in advance and registered as a parametric figure. For example, dimensions H, L1, L2, R, and C are determined as parameters.
Give its initial value. If a combination of parameters is known in advance, a parameter table is created.
At the time of inputting a figure, a parametric figure name is designated, and parameters H, L1, L2, R, and C are given to transform the figure into a desired part figure. Note that the parameters H, L1, L2,
For R and C, parameters for which a numerical value is not given adopt an initial value.

【0004】[0004]

【発明が解決しようとする課題】上記のパラメトリック
変形では、パラメータH,L1,L2,R,C夫々を入
力しなければならず、この入力が煩雑である。また、パ
ラメータを入力したときどのような形状になるかの予測
が直感的ではなく登録されているパラメトリック図形が
複雑な形状の場合は特に結果の予測が難かしくなるとい
う問題があった。
In the above-described parametric deformation, each of the parameters H, L1, L2, R, and C must be input, and this input is complicated. Further, there is a problem that it is not intuitive to predict the shape when parameters are input, and it is difficult to predict the result particularly when the registered parametric figure has a complicated shape.

【0005】本発明は上記の点に鑑みなされたもので、
パラメータを入力する必要がなく、入力が極めて簡単と
なり、変形後の形状を直感的に予測できる部品図形の入
装置を提供することを目的とする。
[0005] The present invention has been made in view of the above points,
It is an object of the present invention to provide a component graphic input device that does not need to input parameters, makes input extremely easy, and can intuitively predict the shape after deformation.

【0006】[0006]

【課題を解決するための手段】請求項1に記載の発明
は、一対の標準基準点を結ぶ標準基準線とこれに平行な
スナップ線を設定した標準部品図形を変形して入力する
部品図形の入力装置において、 前記一対の標準基準点の
配置を指示する一対の入力基準点を指定入力する指定入
力手段と、 前記一対の入力基準点を結ぶ入力基準線と平
行な既存の直線である被スナップ線に前記スナップ線を
一致させるよう前記標準基準線とスナップ線との間隔を
可変して前記標準部品図形を変形する第1の変形手段と
を有する。
According to the first aspect of the present invention, a standard reference line connecting a pair of standard reference points and a standard reference line parallel to the standard reference line are provided.
Transform and enter standard part figures with snap lines
In the part graphic input device, the pair of standard reference points
Designate input to designate a pair of input reference points to instruct placement
Force means, an input reference line connecting the pair of input reference points, and a flat.
The snap line to the existing straight line to be snapped
Adjust the distance between the standard reference line and the snap line so that they match.
First deforming means for variably deforming the standard part graphic;
Having.

【0007】請求項2に記載の発明は、請求項1記載の
部品図形の入力装置において、 前記標準部品には、前記
一対の標準基準点間の距離を拡大又は縮小する点又は線
又は面としての湧き出し口が設定されており、 前記指定
入力手段で指定入力された一対の入力基準点に前記一対
の標準基準点が一致するよう前記湧き出し口で拡大又は
縮小を行って前記標準部品図形を変形する第2の変形手
段を有する。
[0007] The invention according to claim 2 provides the invention according to claim 1.
In the input device for a part graphic, the standard part includes the
A point or line that increases or decreases the distance between a pair of standard reference points
Or a gush mouth is set as a surface, the designated
The pair of input reference points designated by the input means
Enlarged at the well so that the standard reference point of
A second deforming means for reducing the size of the standard part graphic by performing reduction;
It has a step.

【0008】請求項3に記載の発明は、請求項1又は2
記載の部品図形の入力装置において、前記標準部品図形
にリピート部品とピッチとリピート範囲とを設定し、前
記湧き出し口で拡大又は縮小されたリピート範囲に、上
記設定されたピッチと同程度の間隔でリピート部品を繰
り返し作成する繰り返し作成手段とを有する。
[0008] The invention according to claim 3 is the invention according to claim 1 or 2.
In the input device for a part figure described above, a repeat part, a pitch and a repeat range are set in the standard part figure, and the repeat range enlarged or reduced at the well is the same interval as the set pitch. And a repetition creating means for repeatedly creating a repeat part .

【0009】[0009]

【作用】請求項1に記載の発明おいては、標準基準線
とスナップ線との間隔を可変してスナップ線を被スナッ
プ線と一致するよう標準部品図形が変形して入力される
ため、標準部品図形を既存の図形と自動的に面合せする
ことができる。
[Action] Oite to the invention of claim 1, the standard reference line
The snap line by changing the distance between the
The standard part figure is transformed and input to match the
Automatically aligns standard part shapes with existing shapes
be able to.

【0010】請求項2に記載の発明においては、湧き出
し口によって標準基準点間の距離を拡大又は縮小するた
め、複数の入力基準点を指定入力するだけで、この入力
基準点に標準基準点を一致するよう標準部品図形が変形
して入力され、入力の操作が極めて簡単となる。
[0010] In the invention of claim 2, sprung
To increase or decrease the distance between standard reference points
Input only by specifying multiple input reference points.
The standard part figure is deformed so that the standard point matches the standard point
And the input operation becomes extremely simple.

【0011】[0011]

【実施例】図2は本発明装置であるコンピュータシステ
ムの一実施例の構成図を示す。同図中、20はコンピュ
ータ本体であり、CPU、RAM、ROM等を内蔵しア
プリケーションソフトウェアを実行する。21はメニュ
ー等の表示を行なうディスプレイ、22は入力装置とし
てのキーボード、23は入力装置としてのマウス、24
は外部記憶装置としてのハードディスク装置、25は出
力装置としてのプリンタであり、これらはコンピュータ
本体20に接続されている。
FIG. 2 is a block diagram showing one embodiment of a computer system which is the apparatus of the present invention. In FIG. 1, reference numeral 20 denotes a computer main body, which includes a CPU, a RAM, a ROM, and the like, and executes application software. 21 is a display for displaying menus and the like, 22 is a keyboard as an input device, 23 is a mouse as an input device, 24
Is a hard disk device as an external storage device, 25 is a printer as an output device, and these are connected to the computer main body 20.

【0012】本実施例は建築設計用CADシステムを例
にとって、外壁に窓を設ける場合について説明する。こ
こで、標準部品図形としての窓データは、図3(A)の
詳細平面図に示す窓詳細データと、図3(B)の詳細平
面図に示す窓納まりデータとより構成されている。図3
(A)の窓詳細データはガラス板30、ガラス枠31、
窓枠32夫々を構成するX,Y座標データを有してお
り、更にX軸方向の両端の座標を標準基準座標33a,
33bとし、湧き出し線34,35が定義されている。
In this embodiment, a case in which a window is provided on an outer wall will be described taking a CAD system for architectural design as an example. Here, the window data as the standard part graphic includes window detailed data shown in the detailed plan view of FIG. 3A and window fitting data shown in the detailed plan view of FIG. 3B. FIG.
The detailed window data of (A) includes a glass plate 30, a glass frame 31,
It has X and Y coordinate data constituting each of the window frames 32, and furthermore, coordinates of both ends in the X-axis direction are standard reference coordinates 33a,
33b, and source lines 34 and 35 are defined.

【0013】図3(B)の窓納まりデータは窓詳細デー
タを外壁に組み込んだときの屋外,屋内夫々の仕上げ線
40,41、及び外壁との標準境界線42,43等を有
しており、更に標準基準座標50a,50bで標準基準
線51を形成し、湧き出し線44,45及びスナップ線
46,47,48,49が定義されている。窓納まりデ
ータと窓詳細データとは図3(C)に示す如く重ね合わ
せて窓データとして使用され、基準座標33a,33b
と50a,50bとは夫々重なり、湧き出し線34,3
5と44,45とは夫々重なる。なお、湧き出し線は必
ずしも重なる必要はない。
The window fitting data shown in FIG. 3B has finishing lines 40 and 41 for outdoor and indoor when the detailed window data is incorporated into the outer wall, and standard boundary lines 42 and 43 with the outer wall. A standard reference line 51 is formed by the standard reference coordinates 50a and 50b, and source lines 44 and 45 and snap lines 46, 47, 48 and 49 are defined. The window fitting data and the window detail data are used as window data by being superimposed as shown in FIG. 3C, and the reference coordinates 33a and 33b are used.
And 50a, 50b overlap with each other,
5 overlaps with 44 and 45, respectively. Note that the spring lines do not necessarily have to overlap.

【0014】本実施例では上記の窓データを指定し、外
壁の平面図上で2つの入力基準点を指定すると、窓詳細
データの標準基準座標33a,33b及び窓納まりデー
タの標準基準座標50a,50bを上記入力基準点に合
わせるように変形され、図3(D)に示す如く外壁55
に変形された窓詳細データ及び窓納まりデータによる窓
が組み込まれる。
In this embodiment, when the above-mentioned window data is specified and two input reference points are specified on the plan view of the outer wall, the standard reference coordinates 33a and 33b of the window detailed data and the standard reference coordinates 50a and 50B is deformed to match the input reference point, and as shown in FIG.
The window based on the modified window detail data and window closing data is incorporated.

【0015】図1は本発明装置のメイン処理のフローチ
ャートを示す。この処理は標準部品図形が指定され、現
在表示されている詳細図、外観図上でこの標準部品図形
の入力位置及び大きさを指示する例えば2つの入力基準
点が指定されると開始される。
FIG. 1 shows a flowchart of the main processing of the apparatus of the present invention. This process is started when a standard part graphic is designated and, for example, two input reference points indicating the input position and the size of the standard part graphic are designated on the currently displayed detailed view and external view.

【0016】同図中、第2の変形手段としてのステップ
S2では窓詳細データ、窓納まりデータ等の標準部品図
形データの湧き出し線を用いた湧き出し処理を実行す
る。次に第1の変形手段としてのステップS4で窓納ま
りデータ等の標準部品図形データのステップ線を用いた
湧き出し処理を実行する。この後、ステップS6で標準
部品図形データのリピートデータを用いたリピート処理
を実行する。
In FIG. 2, in step S2 as a second deforming means, a springing process is performed using a spring line of standard part graphic data such as window detail data and window closing data. Next , in step S4 as first deformation means, a welling process using step lines of standard part graphic data such as windowing data is executed. Thereafter, in step S6, a repeat process using the repeat data of the standard part graphic data is executed.

【0017】ステップS8では標準部品図形を入力しよ
うとしている、ディスプレイ21に現在表示されている
図面が詳細図か否かを判別する。ここで詳細図の場合に
のみステップS10に進む。ステップS10では標準部
品図形を現在表示中の図面に入力したとき標準部品図形
で隠されることになる現在表示中の図面に対して隠線消
去処理を行う。この後、ステップS11で標準部品図形
を組み込んだ図面をディスプレイ21に表示して処理を
終了する。
In step S8, it is determined whether or not the drawing currently displayed on the display 21 for inputting a standard part graphic is a detailed drawing. Here, only in the case of the detailed diagram, the process proceeds to step S10. In step S10, hidden line erasure processing is performed on the currently displayed drawing, which is hidden by the standard part graphic when the standard part graphic is input to the currently displayed drawing. Thereafter, in step S11, the drawing incorporating the standard part graphic is displayed on the display 21, and the process is terminated.

【0018】図4は湧き出し処理のフローチャート、図
5は湧き出し処理を説明するための詳細図を示す。図4
において、ステップS12では指定された標準部品図形
である例えば図5(A)の窓詳細データの標準基準座標
33a,33b間の距離DISTを算出する。次にステ
ップS14で標準基準座標33a,33bを結ぶ直線と
交差する湧き出し線34,35の本数Nを求める。
FIG. 4 is a flow chart of the source processing, and FIG. 5 is a detailed view for explaining the source processing. FIG.
In step S12, a distance DIST between the standard reference coordinates 33a and 33b of the specified standard part graphic, for example, the window detail data in FIG. 5A is calculated. Next, in step S14, the number N of the source lines 34 and 35 intersecting with the straight line connecting the standard reference coordinates 33a and 33b is obtained.

【0019】次にステップS16で現在表示中の図面上
の例えば図5(B)の外壁55に指定された2つの入力
基準点56,57を結ぶ入力基準線58の長さDIST
2を求める。この後、ステップS18で標準基準座標3
3a,33bを入力基準点55,56夫々に重ねるため
に必要となる湧き出し線34,35夫々の1本当りの湧
き出し量Va(Va=DIST2−DIST1)/N)
を求める。
Next, in step S16, the length DIST of the input reference line 58 connecting the two input reference points 56 and 57 specified on the outer wall 55 shown in FIG.
Ask for 2. Thereafter, in step S18, the standard reference coordinates 3
Source amount Va (Va = DIST2-DIST1) / N of each source line 34, 35 required to superimpose 3a, 33b on input reference points 55, 56, respectively.
Ask for.

【0020】更に、各湧き出し線は左右両側に湧き出し
を行い、奇数回目の湧き出しは左側、偶数回目の湧き出
しは右側であるため、1回の湧き出しにおける湧き出し
量Vb(Vb=Va/2)をステップS20で求める。
次にステップS22で回数iに1をセットしてステップ
S24に進む。ステップS24では回数iが湧き出し回
数2N以上か否かを判別する。i<2Nの場合はステッ
プS26に進んで、iが偶数か否かを判別する。iが奇
数の場合はステップS28で左側の基準座標から数えて
(i+1)/2番目の湧き出し線から左方にある窓詳細
データの各端点をX軸左方向にVbだけ移動し、この湧
き出し線位置で交差する各線分の湧き出し延長を行う。
これにより、i=1のときは図5(C)に示す如く湧き
出し線34より左方の黒丸で示す各端点が左方向にVb
だけ移動され、i=3のときは図5(E)に示す如く湧
き出し線35より左方の黒丸で示す各端点が左方向にV
bだけ移動される。
Furthermore, since each source line is sourced on both the left and right sides, the odd-numbered source is on the left and the even-numbered source is on the right, so the source amount Vb (Vb = Vb = Va / 2) is obtained in step S20.
Next, in step S22, the number i is set to 1 and the process proceeds to step S24. In step S24, it is determined whether or not the number i is 2N or more. If i <2N, the process proceeds to step S26 to determine whether i is an even number. If i is an odd number, in step S28, each end point of the window detailed data located to the left from the (i + 1) / 2-th source line counted from the reference coordinates on the left is moved by Vb to the left on the X-axis, and this source The extension of the source of each line that intersects at the line position is performed.
As a result, when i = 1, each end point indicated by a black circle to the left of the spring line 34 is shifted to the left by Vb as shown in FIG.
When i = 3, as shown in FIG. 5E, each end point indicated by a black circle to the left of the
b is moved.

【0021】一方、iが偶数の場合はステップS30で
左側の基準座標から数えてi/2番目の湧き出し線から
右方にある窓詳細データの各端点をX軸右方向にVbだ
け移動し、この湧き出し線位置で交差する各線分の湧き
出し延長を行う。これにより、i=2のときは図5
(D)に示す如く湧き出し線34より左方の黒丸で示す
各端点が左方向にVbだけ移動され、i=4のときは図
5(F)に示す如く湧き出し線35より左方の黒丸で示
す各端点が右方向にVbだけ移動され、この結果図5
(G)に示すように変形された標準部品図形としての窓
詳細データが得られる。
On the other hand, if i is an even number, in step S30 each end point of the window detail data on the right from the i / 2th source line counted from the reference coordinates on the left is moved by Vb to the right on the X-axis. Then, the source of each line intersecting at this source line position is extended. Thus, when i = 2, FIG.
As shown in (D), each end point indicated by a black circle to the left of the spring line 34 is moved to the left by Vb. When i = 4, as shown in FIG. Each end point indicated by a black circle is moved rightward by Vb, and as a result, FIG.
Window detailed data as a standard part graphic transformed as shown in (G) is obtained.

【0022】この湧き出し処理では湧き出し線において
各線分が左右方向に均一に湧き出し延長されるため標準
部品図形は全体の形状を保ちつつ変形され、複数の湧き
出し線を設定することにより、隣接する湧き出し線3
4,35間にある例えばガラス枠31の形状(幅)を保
存することがてきる。
In this source processing, each line segment is sourced and extended uniformly in the horizontal direction in the source line, so that the standard part figure is deformed while maintaining the entire shape, and by setting a plurality of source lines, Adjacent spring line 3
For example, the shape (width) of the glass frame 31 between 4 and 35 can be preserved.

【0023】なお、窓納まりデータについても同様に湧
き出し処理が施される。図6はスナップ処理のフローチ
ャート、図7はスナップ処理を説明するための詳細図を
示す。図6において、ステップS40では指定された標
準部品図形である例えば図7(A)に示す窓納まりデー
タの湧き出し処理後のデータについて、スナップ線46
〜49を検索する。次に、ステップS42で検索したス
テップ線46〜49夫々を標準基準線51を境界として
Y方向上側のA領域と、Y方向下側のB領域とのいずれ
にあるかを分類し、A領域のスナップ線の本数COUN
T(1)と、B領域のスナップ線の本数COUNT
(2)とをカウントする。
Note that the windowing data is also subjected to the well-out process. FIG. 6 is a flowchart of the snap process, and FIG. 7 is a detailed diagram for explaining the snap process. In FIG. 6, in step S40, a snap line 46 is created for the specified standard part graphic data, for example, the windowed data shown in FIG.
Search for ~ 49. Next, each of the step lines 46 to 49 searched in step S42 is classified into an A region on the upper side in the Y direction and a B region on the lower side in the Y direction with the standard reference line 51 as a boundary. Number of snap lines COUN
T (1) and the number COUNT of snap lines in the B area
(2) is counted.

【0024】次に、ステップS44でA,B領域夫々
で、各スナップ線を標準基準線51に近い順にソート
し、ステップS46で変数Iに1をセットしてステップ
S48に進む。変数Iは1のときA領域を示し、2のと
きB領域を示す。ステップS48ではI≦2か否かを判
別する。I≦2の場合はステップS50に進み、部品の
図形を配置入力する配置データとしての図7(B)に示
す外壁55について、I=1のときは入力基準線58よ
りY方向上側のA領域で、I=2のときはY方向下側の
B領域で、入力基準線58に平行な線分を検索して被ス
ナップ線とし、その本数KBをカウントする。次にステ
ップS52では被スナップ線を入力基準線58に近い順
にソートする。
Next, in step S44, the snap lines are sorted in the A and B regions, respectively, in the order closest to the standard reference line 51. In step S46, the variable I is set to 1, and the flow advances to step S48. When the variable I is 1, the area A is shown, and when it is 2, the area B is shown. In step S48, it is determined whether I ≦ 2. If I ≦ 2, the process proceeds to step S50, and for the outer wall 55 shown in FIG. 7B as arrangement data for arranging and inputting the figure of the part, when I = 1, the A area above the input reference line 58 in the Y direction When I = 2, a line segment parallel to the input reference line 58 is searched for in the B region on the lower side in the Y direction to be a snapped line, and the number KB of the line is counted. Next, in step S52, the snapped lines are sorted in the order close to the input reference line 58.

【0025】この後、ステップS54でソートされたス
ナップ線の番号を表わす変数Nに1をセットし、かつ、
ソートされた被スナップ線の番号を表わす変数Jに1を
セットして、ステップS56で変数Nが変数Iを添字と
して用いたスナップ線の本数CONUT(I)以下か、
又は、変数Jが被スナップ線の本数KB以下であるか否
かを判別する。
Thereafter, 1 is set to a variable N representing the number of the snap line sorted in step S54, and
The variable J indicating the number of the snapped line that has been sorted is set to 1, and in step S56, whether the variable N is equal to or less than the number of snap lines CONUT (I) using the variable I as a subscript,
Alternatively, it is determined whether or not the variable J is equal to or less than the number KB of snapped lines.

【0026】この条件を満足すればステップS58に進
み、N番のスナップ線とJ番の被スナップ線との距離M
を求める。そしてステップS60で標準部品図形である
窓納まりデータのN番のスナップ線より外側(入力基準
線51より離れる側)にある全ての線分をMだけY方向
に移動してN番のスナップ線をJ番の被スナップ線に一
致させる。次にステップS62で変数N,J夫々を1だ
けインクリメントしてステップS56に進む。
If this condition is satisfied, the process proceeds to step S58, where the distance M between the Nth snap line and the Jth snapped line is set.
Ask for. Then, in step S60, all the segments outside the N-th snap line of the window fitting data, which is the standard part graphic (the side farther from the input reference line 51), are moved by M in the Y direction to change the N-th snap line. Align with the J-th snapped line. Next, in step S62, each of the variables N and J is incremented by 1, and the process proceeds to step S56.

【0027】これによって、I=1,N=1,J=1の
状態で図7(C)に示す窓納まりデータのスナップ線4
6より上側の各線分は上方向に移動され、スナップ線4
6は被スナップ線60に一致させられる。次のI=1,
N=2,J=2の状態で、図7(D)に示す窓納まりデ
ータのスナップ線47より上側の各線分は上方向に移動
され、スナップ線47はスナップ線61に一致させられ
る。
As a result, in the state where I = 1, N = 1 and J = 1, the snap line 4 of the windowed data shown in FIG.
Each line segment above 6 is moved upward and snap lines 4
6 is matched with the snapped line 60. The next I = 1,
In the state of N = 2 and J = 2, each line segment above the snap line 47 of the windowed data shown in FIG. 7D is moved upward, and the snap line 47 is made to coincide with the snap line 61.

【0028】ところで、ステップS56の条件が不満足
となると、ステップS64に進み、変数Iを1だけイン
クリメントしてステップS48に進む。これにより、窓
納まりデータのB領域についての処理が開始される。こ
れによって、I=2,N=1,J=1の状態で、図7
(E)に示す窓納まりデータのスナップ線48より下側
の各線分は下方向に移動され、スナップ線48は、被ス
ナップ線62に一致させられる。次のI=2,N=2,
J=2の状態で、図7(F)に示す窓納まりデータのス
ナップ線49により下側の各線分は下方向に移動され、
スナップ線49はスナップ線63に一致させられる。
If the condition in step S56 is not satisfied, the process proceeds to step S64, in which the variable I is incremented by 1, and the process proceeds to step S48. As a result, the processing for the B area of the windowing data is started. As a result, in the state where I = 2, N = 1 and J = 1, FIG.
Each line segment below the snap line 48 of the windowing data shown in (E) is moved downward, and the snap line 48 is made to coincide with the snapped line 62. Next I = 2, N = 2
In the state of J = 2, each lower line segment is moved downward by the snap line 49 of the windowed data shown in FIG.
The snap line 49 is made to coincide with the snap line 63.

【0029】従って、I=3となり、ステップS48の
判別でスナップ処理を終了するときには窓納まりデータ
は図7(G)に示す如くY方向に変形され、外壁との面
合せがなされる。なお、スナップ線46〜47を定義す
ることは標準基準線51と各スナップ線46〜47との
間に湧き出し線を設けることと略等価である。
Therefore, when I = 3, and the snapping process is terminated in the determination of step S48, the windowed data is deformed in the Y direction as shown in FIG. 7 (G), and the surface is aligned with the outer wall. Defining the snap lines 46 to 47 is substantially equivalent to providing a spring line between the standard reference line 51 and each of the snap lines 46 to 47.

【0030】図8はリピート処理のフローチャート、図
9はリピート処理を説明するための外観斜視図を示す。
図9(A)に示す標準部品図形としての窓格子データは
基準座標70,71による入力基準線72を有し、湧き
出し面75が設定されており、更にリピートデータとし
て格子76とピッチ及びリピート範囲を示すリピート基
準座標77,78が設定されている。なお、外観斜視図
であるために湧き出し面75と表現されるが、この窓格
子データを平面図で表わせば、これが湧き出し線として
表現される。同様にして湧き出し線は図面によっては湧
き出し点として表現される場合もあり、これらを湧き出
し口と総称する。
FIG. 8 is a flowchart of the repeat processing, and FIG. 9 is an external perspective view for explaining the repeat processing.
The window grid data as the standard part graphic shown in FIG. 9A has an input reference line 72 based on reference coordinates 70 and 71, a source surface 75 is set, and a grid 76, a pitch and a repeat are set as repeat data. Repeat reference coordinates 77 and 78 indicating the range are set. Note that, since this is an external perspective view, it is expressed as a well-exited surface 75. If this window grid data is represented in a plan view, this is expressed as a well-exited line. Similarly, a source line may be expressed as a source point in some drawings, and these are collectively referred to as a source.

【0031】この標準部品図形を指定して外壁等に図9
(B)に示す如き入力基準線58を指定するとステップ
S2の湧き出し処理によって図9(C)に示すように窓
格子データが変形され、これと共にリピート基準座標7
7,78も移動する。この状態においてリピート処理が
開始される。
By designating this standard part figure, the figure shown in FIG.
When the input reference line 58 as shown in FIG. 9B is designated, the window grid data is deformed as shown in FIG.
7, 78 also move. In this state, the repeat processing is started.

【0032】図8において、ステップS70では湧き出
し処理後のリピート座標77,78間の距離PDIST
を求める。次にステップS72で、距離PDISTとピ
ッチPからリピート回数N〔N=(PDIST/P)−
1〕を求める。次にステップS74でリピート回数Nが
整数か否かを判別し、整数でない場合はステップS76
に進む。
In FIG. 8, in step S70, the distance PIST between the repeat coordinates 77 and 78 after the spring-out processing is performed.
Ask for. Next, in step S72, the number of repeats N [N = (PLIST / P)-
1]. Next, in step S74, it is determined whether or not the number of repeats N is an integer.
Proceed to.

【0033】ステップS76ではリピート回数Nで距離
PDISTを割算してAを求めると共に、リピート回数
N+1で距離PDISTを割算してBを求める。次にス
テップS78でピッチPとA,B夫々の差の整数部P
A,PB〔PA=ABS(P−A)、PB=ABS(P
−B)〕を求める。更にステップS80でPA<PBか
否かを判別し、PA<PBの場合はAの方がピッチPに
近いため、ステップS82でピッチPにAをセットして
更新する。また、PA≧PBの場合はBの方がピッチP
に近いため、ステップS84でピッチPにBをセットし
て更新し、かつ、リピート回数NにN+1をセットして
更新する。
In step S76, A is obtained by dividing distance PIST by the number of repeats N, and B is obtained by dividing distance PIST by the number of repeats N + 1. Next, at step S78, the pitch P and the integer part P of the difference between A and B
A, PB [PA = ABS (PA), PB = ABS (P
-B)]. Further, it is determined whether or not PA <PB in step S80. If PA <PB, A is closer to the pitch P, so A is set to the pitch P in step S82 to update. If PA ≧ PB, B is the pitch P
In step S84, the pitch P is set and updated in B, and the number of repeats N is set and updated in N + 1.

【0034】このステップS82,又はS84の後ステ
ップS86に進む。またステップS74でリピート回数
Nが整数の場合もステップS86に進む。ステップS8
6ではリピートデータである格子76をリピート基準座
標77からリピート基準座標78に向けてピッチPずつ
繰り返し作成し、処理を終了する。
After step S82 or S84, the process proceeds to step S86. When the number of repeats N is an integer in step S74, the process also proceeds to step S86. Step S8
In step 6, a grid 76, which is repeat data, is repeatedly created at intervals of the pitch P from the repeat reference coordinates 77 to the repeat reference coordinates 78, and the process ends.

【0035】これによって図9(D)に示す如く格子7
6がピッチPで等間隔に作成されて表示される。湧き出
しによる拡大率が異なっても上記ピッチPは略同一であ
る。隠線消去処理S10では図7(A)に示す窓納まり
データを図7(B)に示す詳細図の外壁55に重ねた場
合、このままでは図7(G)に示す如く窓納まりデータ
と外壁55の線とが重ねて表示され見づらくなる。この
ため、窓納まりデータの外周の隣隔線の内部を隠線処理
領域として予め指定しておく。これによって外壁55を
構成する線のうち、配置入力された窓納まりデータと重
なる部分が消去され図7(H)に示す如き表示となる。
As a result, as shown in FIG.
6 are created and displayed at equal intervals at the pitch P. The pitch P is substantially the same even if the enlargement ratio due to the spring is different. In the hidden line elimination process S10, when the window filling data shown in FIG. 7A is superimposed on the outer wall 55 of the detailed view shown in FIG. 7B, the window filling data and the outer wall 55 as shown in FIG. Line is superimposed on it and it is hard to see. For this reason, the inside of the neighboring line on the outer periphery of the windowing data is designated in advance as a hidden line processing area. As a result, of the lines constituting the outer wall 55, the portion overlapping with the window input data arranged and input is deleted, and the display as shown in FIG.

【0036】例えば、標準部品図形として図10(A)
の平面図に示すガラス戸データがある。このガラス戸デ
ータはガラス板80,81、ガラス枠83,84、中桟
85,86、戸枠87、戸袋88を構成するデータであ
り、X軸方向の湧き出し線90,91と、Y軸方向の湧
き出し線92,93,94と、戸袋88を表わすリピー
ト線95及びピッチPが定義され、入力基準座標96,
97,98及びリピート基準座標99a,99bが定義
されている。
For example, as a standard part figure, FIG.
There is glass door data shown in the plan view of FIG. The glass door data is data constituting the glass plates 80 and 81, the glass frames 83 and 84, the middle rails 85 and 86, the door frame 87 and the door pocket 88, and the spring lines 90 and 91 in the X-axis direction and the Y-axis. Direction spring lines 92, 93, and 94, a repeat line 95 representing the door pocket 88, and a pitch P are defined.
97, 98 and repeat reference coordinates 99a, 99b are defined.

【0037】平面図の外壁上にX方向及びY方向の入力
基準線を入力することにより、図10(B)に示す如き
ガラス戸が配置入力される。このように、標準部品図形
を指定し、現在表示されている図面上で入力基準線を指
定入力するだけで、標準部品図形が全体の形状を損なう
ことなく変形されて入力され、従来の如くパラメータ入
力の手間をかける必要がなく、操作が簡単である。
By inputting input reference lines in the X and Y directions on the outer wall of the plan view, a glass door as shown in FIG. 10B is arranged and input. In this way, by simply specifying the standard part figure and specifying and inputting the input reference line on the currently displayed drawing, the standard part figure is deformed and input without losing the entire shape, and the parameter is set as in the past. There is no need for inputting and the operation is simple.

【0038】なお、上記実施例では湧き出し線、スナッ
プ線を用いた拡大について説明しているが、これは縮小
であっても良く、この場合は湧き出し線で吸い込みを行
う。なお、本発明は建物用のCADに限らず機械等の他
の分野にも適用して好適であり、上記実施例に限定され
るものではない。
In the above embodiment, the enlargement using the source line and the snap line has been described. However, the enlargement using the source line and the snap line may be reduced. In this case, the suction is performed using the source line. The present invention is not limited to CAD for buildings, but is suitably applied to other fields such as machines, and is not limited to the above-described embodiment.

【0039】[0039]

【発明の効果】請求項1に記載の発明によれば、標準基
準線とスナップ線との間隔を可変してスナップ線を被ス
ナップ線と一致するよう標準部品図形が変形して入力さ
れるため、標準部品図形を既存の図形と自動的に面合せ
することができ、入力の操作が極めて簡単となる。
According to the first aspect of the present invention, the standard base
The distance between the reference line and the snap line is
The standard part figure is deformed and entered to match the nap line.
Automatically aligns standard part shapes with existing shapes
Input operation becomes extremely simple.

【0040】請求項2に記載の発明によれば、湧き出し
口によって標準基準点間の距離を拡大又は縮小するた
め、複数の入力基準点を指定入力するだけで、この入力
基準点に標準基準点を一致するよう標準部品図形が変形
して入力され、入力の操作が極めて簡単となる。また、
請求項3に記載の発明によれば、拡大又は縮小された標
準部品図形上でリピート部品が所定ピッチで繰り返し作
成されるため、拡大又は縮小によって繰り返しのピッチ
がほとんど変わらず、実用上きわめて有用である。
According to the invention described in claim 2, out springing
Mouth to increase or decrease the distance between standard reference points
Input only by specifying multiple input reference points.
The standard part figure is deformed so that the standard point matches the standard point
And the input operation becomes extremely simple. Also,
According to the third aspect of the present invention, since the repeated parts are repeatedly created at a predetermined pitch on the enlarged or reduced standard part graphic, the pitch of the repetition hardly changes due to the enlargement or reduction, and is extremely useful in practice. is there.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明のメイン処理のフローチャートである。FIG. 1 is a flowchart of a main process of the present invention.

【図2】本発明を実施するコンピュータシステムの構成
図である。
FIG. 2 is a configuration diagram of a computer system that implements the present invention.

【図3】本発明を説明するための図である。FIG. 3 is a diagram for explaining the present invention.

【図4】湧き出し処理のフローチャートである。FIG. 4 is a flowchart of a source process.

【図5】湧き出し処理を説明するための図である。FIG. 5 is a diagram for explaining a source process;

【図6】スナップ処理のフローチャートである。FIG. 6 is a flowchart of a snap process.

【図7】スナップ処理を説明するための図である。FIG. 7 is a diagram illustrating a snap process.

【図8】リピート処理のフローチャートである。FIG. 8 is a flowchart of a repeat process.

【図9】リピート処理を説明するための図である。FIG. 9 is a diagram illustrating a repeat process.

【図10】本発明を説明するための図である。FIG. 10 is a diagram for explaining the present invention.

【図11】パラメトリック変形を説明するめの図であ
る。
FIG. 11 is a diagram for explaining parametric deformation.

【符号の説明】[Explanation of symbols]

20 コンピュータ本体 21 ディスプレイ 22 キーボード 23 マウス 24 ハードディスク装置 25 プリンタ 30 ガラス板 31 ガラス枠 32 窓枠 33a,33b,50a,50b 標準基準座標 34,35,44,45 湧き出し線 46〜48 スナップ線 51 標準基準線 55 外壁 56,57 入力基準座標 58 入力基準線 60〜63 被スナップ線 Reference Signs List 20 computer main body 21 display 22 keyboard 23 mouse 24 hard disk drive 25 printer 30 glass plate 31 glass frame 32 window frame 33a, 33b, 50a, 50b standard reference coordinates 34, 35, 44, 45 spring line 46-48 snap line 51 standard Reference line 55 Outer wall 56, 57 Input reference coordinates 58 Input reference line 60 to 63 Snapped line

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平1−216481(JP,A) 特開 平2−71370(JP,A) 特開 平4−369082(JP,A) 特開 平7−49889(JP,A) 特開 昭61−128375(JP,A) 特開 平1−195579(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06F 17/50 G06T 11/80──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-1-216481 (JP, A) JP-A-2-71370 (JP, A) JP-A-4-369082 (JP, A) JP-A-7- 49889 (JP, A) JP-A-61-128375 (JP, A) JP-A-1-195579 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) G06F 17/50 G06T 11 / 80

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 一対の標準基準点を結ぶ標準基準線とこ
れに平行なスナップ線を設定した標準部品図形を変形し
て入力する部品図形の入力装置において、前記一対の標準基準点の配置を指示する一対の入力基準
点を指定入力する指定入力手段と、 前記一対の入力基準点を結ぶ入力基準線と平行な既存の
直線である被スナップ線に前記スナップ線を一致させる
よう前記標準基準線とスナップ線との間隔を可変して前
記標準部品図形を変形する第1の変形手段とを 有する
とを特徴とする部品図形の入力装置
1. A standard reference line connecting a pair of standard reference points.
In a part graphic input device for deforming and inputting a standard part graphic in which a snap line parallel to the standard part is set, a pair of input references for designating the arrangement of the pair of standard reference points is provided.
A designation input means for designating and inputting a point; and an existing input parallel to an input reference line connecting the pair of input reference points.
Align the snap line with the snapped line that is a straight line
Adjust the distance between the standard reference line and the snap line
Serial input device component figures characterized by having a first deforming means for deforming the standard parts shapes.
【請求項2】 請求項1記載の部品図形の入力装置にお
いて、前記標準部品には、前記一対の標準基準点間の距離を拡
大又は縮小する点又は線又は面としての湧き出し口が設
定されており、 前記指定入力手段で指定入力された一対の入力基準点に
前記一対の標準基準点が一致するよう前記湧き出し口で
拡大又は縮小を行って前記標準部品図形を変形する第2
の変形手段を有する ことを特徴とする部品図形の入力
2. The input device for a part graphic according to claim 1 , wherein the distance between the pair of standard reference points is enlarged for the standard part.
A large or shrinking point or line or surface
And a pair of input reference points designated and inputted by the designated input means.
At the well so that the pair of standard reference points match
2nd transforming the standard part figure by enlarging or reducing
Input instrumentation of component figures, characterized in that it comprises a deformation means
Place .
【請求項3】 請求項1又は2記載の部品図形の入力
において、 前記標準部品図形にリピート部品とピッチとリピート範
囲とを設定し、 前記湧き出し口で拡大又は縮小されたリピート範囲に、
上記設定されたピッチと同程度の間隔でリピート部品を
繰り返し作成する繰り返し作成手段を 有することを特徴
とする部品図形の入力装置
3. A component graphic input device according to claim 1 or 2.
In the arrangement , a repeat part, a pitch, and a repeat range are set in the standard part graphic, and a repeat range enlarged or reduced at the well is provided.
An input device for a part graphic, comprising : a repetitive creation means for repeatedly creating a repeat part at an interval substantially equal to the set pitch.
JP7132312A 1995-05-30 1995-05-30 Part figure input device Expired - Fee Related JP2798365B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7132312A JP2798365B2 (en) 1995-05-30 1995-05-30 Part figure input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7132312A JP2798365B2 (en) 1995-05-30 1995-05-30 Part figure input device

Publications (2)

Publication Number Publication Date
JPH08329134A JPH08329134A (en) 1996-12-13
JP2798365B2 true JP2798365B2 (en) 1998-09-17

Family

ID=15078377

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7132312A Expired - Fee Related JP2798365B2 (en) 1995-05-30 1995-05-30 Part figure input device

Country Status (1)

Country Link
JP (1) JP2798365B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4523873B2 (en) * 2005-05-30 2010-08-11 メガソフト株式会社 Layout simulation program
JP5003761B2 (en) * 2007-06-29 2012-08-15 富士通株式会社 Design support device, design support program, and design support method
CN113821855B (en) * 2021-09-17 2024-04-30 中铁六局集团有限公司 Portal crane construction simulation method, device and medium based on BIM

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61128375A (en) * 1984-11-27 1986-06-16 Kawamura Sangyo Kk Designing device of fruit rack
JP2729230B2 (en) * 1988-01-29 1998-03-18 清水建設株式会社 Structural information processing system
JP2788730B2 (en) * 1988-02-24 1998-08-20 日本電気ソフトウェア株式会社 CAD system
JPH0271370A (en) * 1988-09-06 1990-03-09 Hitachi Ltd Shape display/edit method
JPH04369082A (en) * 1991-06-18 1992-12-21 Nec Software Ltd Parametric processing system
JPH0749889A (en) * 1993-08-06 1995-02-21 Tetsuya Udagawa Cad device for construction

Also Published As

Publication number Publication date
JPH08329134A (en) 1996-12-13

Similar Documents

Publication Publication Date Title
US5999186A (en) Reference based parametric dimensioning method and system
US7969440B1 (en) Method and system for curve fitting using digital filtering
CN113721872A (en) Method and system for display screen with relative coordinate system
CN112837328B (en) Rectangular window clipping and drawing method for two-dimensional polygonal primitive
JPH0854998A (en) Computer controlled display system
US5818460A (en) Method for performing polygon set operations on polygonal regions
US6492993B1 (en) Method and system for generating railing objects
JP2798365B2 (en) Part figure input device
CN115618454A (en) Method, system, device and storage medium for generating three-dimensional model of exterior wall coating deepening design
JP2904673B2 (en) Image creation device
JP4610873B2 (en) Method, computer storage medium and system for generating a numerical control tool path on a solid model
Ramadan et al. Advancing architecture: Form-finding of architectural forms using comprehensive multi-objective optimization
JPH0721224A (en) Figure correction method
US6346943B1 (en) Method, apparatus, and article of manufacture for defining a relative polar angle snap CAD tool
JP3394024B2 (en) Device placement device and device placement design method
JP2001229407A (en) Model creation device for numerical analysis, model creation method for numerical analysis, and storage medium
JP2000285247A (en) Method and system for plotting sectorial figure
JP2025149995A (en) Design exploration method, design exploration program, and design exploration device
JPH07134779A (en) Sweep body figure generator
JP3303402B2 (en) Graphic display device and graphic display method
JP2000235591A (en) Method and device for designing arrangement of wall panel
JP2958417B2 (en) String output device
JP3425771B2 (en) Figure creation method and apparatus
JP3177359B2 (en) Graphic drawing device
JP3968583B2 (en) Range determination program generator

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees