JPH0736961A - Grid point generating system - Google Patents

Grid point generating system

Info

Publication number
JPH0736961A
JPH0736961A JP5178804A JP17880493A JPH0736961A JP H0736961 A JPH0736961 A JP H0736961A JP 5178804 A JP5178804 A JP 5178804A JP 17880493 A JP17880493 A JP 17880493A JP H0736961 A JPH0736961 A JP H0736961A
Authority
JP
Japan
Prior art keywords
line
rectangle
grid point
reference line
display position
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.)
Granted
Application number
JP5178804A
Other languages
Japanese (ja)
Other versions
JP2831911B2 (en
Inventor
Shinichi Egami
伸一 江上
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP5178804A priority Critical patent/JP2831911B2/en
Publication of JPH0736961A publication Critical patent/JPH0736961A/en
Application granted granted Critical
Publication of JP2831911B2 publication Critical patent/JP2831911B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To generate grid point in each rectangular area with less indication by reducing rectangles, which are formed in display positions calculated by plural reference lines and deviation widths from them, by the deviation widths to generate grid point at equal intervals. CONSTITUTION:With respect to design of a building or the like in CAD, pairs of plural horizontal and vertical reference lines, which are inputted from an input means 3 and indicate partitions, and deviation widths of walls or the like corresponding to respective reference lines are stored as line information in a storage part 2. A line display position calculating means 10 of a processing part 1 calculates actual display positions from this line information, and a rectangle generating means 11 generates rectangles formed by horizontal and vertical reference lines of line information in calculated display positions. A rectangle reduction means 12 uses corresponding deviation widths of line information of reference lines forming the rectangles to generate rectangles reduced by deviation widths, and a grid point generating means 13 generates grid point at equal intervals in these reduced rectangles, and lines and grid point generated by the line display position calculating means 10 and the grid point generating means 13 are displayed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はCADによる各種設計に
おける格子点発生装置に関する。近年,住宅等の建物
や,各種装置の設計を行うCAD(Computer Aided Des
ign)が知られている。このようなCADシステムでは図
形の内部に基準となる一定の長さや面積を表す格子点を
表示する場合がある。この格子点は,設計において物品
の配置等において配置位置や占有面積,相互の関係等を
知る上で有効に使用される。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a grid point generator for various CAD designs. In recent years, CAD (Computer Aided Des) that designs buildings such as houses and various devices
ign) is known. In such a CAD system, there are cases where grid points representing a fixed length or area serving as a reference are displayed inside the figure. These lattice points are effectively used in designing articles, etc. to know the placement position, occupied area, mutual relationship, etc.

【0002】[0002]

【従来の技術】図8は従来例の方式を説明する図であ
る。各種の建築物(鉄筋,木造)や,製品の設計をCA
Dにより行う場合に,ディスプレイ上に方眼紙のような
目盛りを表す格子点を表示する方法が用いられている。
設計の対象が建築物の場合,壁等の仕切りにより区切ら
れた部屋を表す矩形領域を設けて,その矩形領域内に一
定間隔毎(例えば,90センチ毎)に格子点を表示する
ようにしている。図8のA.に示す例は,建築物のある
階における壁80により仕切られた複数の部屋等を表す
矩形領域a〜dの平面を表す。このような,建物の各矩
形領域内に設備を設置する場合等にその位置や占有面積
等をこの格子点を目安として識別すると共に位置を入力
することができ,設備の配置等の設計を行うことができ
る。特に格子点を用いて入力を行う場合,表示された格
子点の近辺をカーソルを操作して指示すると,格子点の
正確な座標位置が入力される(これを吸い込みとい
う)。
2. Description of the Related Art FIG. 8 is a diagram for explaining a conventional method. CA for various buildings (reinforcing bar, wooden) and product design
In the case of D, a method of displaying grid points representing scales on a display is used.
If the object of the design is a building, a rectangular area representing a room partitioned by partitions such as walls is provided, and grid points are displayed at regular intervals (for example, every 90 cm) in the rectangular area. There is. 8A. The example shown in (1) represents the plane of rectangular areas a to d representing a plurality of rooms and the like partitioned by walls 80 on a floor of a building. When equipment is installed in each rectangular area of a building like this, its location and occupied area can be identified using this grid point as a guide, and the location can be entered. be able to. In particular, when inputting using grid points, operating the cursor to indicate the vicinity of the displayed grid point inputs the correct coordinate position of the grid point (this is called sucking).

【0003】この格子点は,矩形内では等間隔である
が,隣接する矩形領域の格子点とは等間隔を保っていな
い。例えば,矩形領域aの右端の格子点の列xと,矩形
領域bの左端の格子点の列yの間隔は,仕切りの壁があ
るため矩形領域内の格子点の間隔と等しくならない。ま
た,図8の矩形領域dのように,他の矩形領域cの内部
とは異なる間隔で格子点を発生する場合がある。
The grid points are equidistant within the rectangle, but are not equidistant from the grid points in the adjacent rectangular areas. For example, the interval between the rightmost grid point column x of the rectangular area a and the leftmost grid point column y of the rectangular area b is not equal to the grid point spacing in the rectangular area due to the partition wall. Further, like the rectangular area d in FIG. 8, grid points may be generated at intervals different from the inside of the other rectangular area c.

【0004】従来は,上記のように各矩形領域の格子点
を等間隔で発生するため,図8のB.に示す方法が用い
られている。最初に縦・横の線x1,y1が交わる点を
原点としてそれぞれ縦・横方向に決められた距離を持つ
線x2,y2により囲まれた矩形領域cを定義する。こ
の定義はディスプレイ上で矩形を表す対角点P(原点)
とQをマウスやタブレットにより座標指定してすること
により行われる。この定義された矩形領域cに対し,右
側に隣接する矩形領域dを壁の厚さLの距離だけ離れて
配置する場合は,矩形領域cの右端に沿った線を長さL
だけ右側にずらした線を横方向の線x3とし,縦方向は
線y2とする矩形領域dを定義する。同様に,矩形領域
a,bについてもそれぞれ縦方向または横方向にずれた
線を用いて表示画面への入力操作により定義することが
できる。
Conventionally, since the grid points of each rectangular area are generated at equal intervals as described above, B.B. The method shown in is used. First, a rectangular area c surrounded by lines x2 and y2 having a predetermined distance in the vertical and horizontal directions is defined with an origin being a point where the vertical and horizontal lines x1 and y1 intersect. This definition is the diagonal point P (origin) that represents a rectangle on the display.
This is done by designating the coordinates of Q and Q with a mouse or tablet. When arranging the adjacent rectangular area d on the right side by the distance of the wall thickness L with respect to the defined rectangular area c, the line along the right end of the rectangular area c is set to the length L.
A rectangular area d is defined in which a line shifted to the right by a line is a horizontal line x3 and a vertical line is a line y2. Similarly, the rectangular areas a and b can also be defined by an input operation on the display screen using lines shifted in the vertical direction or the horizontal direction.

【0005】各矩形領域内の格子点は,それぞれに定義
された矩形領域を形成する線の中で等間隔の点を求めて
順次発生することができる。
The grid points in each rectangular area can be sequentially generated by obtaining points at equal intervals in the lines forming the rectangular area defined in each rectangular area.

【0006】[0006]

【発明が解決しようとする課題】上記のように各矩形領
域に対してそれぞれで格子点を発生するには,縦と横に
基準線のずれる位置が縦と横に交差すると,多数の矩形
領域(縦の位置数×横の位置数)について個別に指定し
て定義した上で発生するため入力操作に手間と時間がか
かるという問題があった。
As described above, in order to generate grid points for each rectangular area, a large number of rectangular areas are generated when the positions where the reference lines deviate vertically and horizontally intersect vertically and horizontally. There is a problem that the input operation takes time and labor because it occurs after being defined by individually specifying (the number of vertical positions × the number of horizontal positions).

【0007】本発明は複数の矩形領域が任意のずれ幅を
持って配置された場合にも各矩形の格子点を少ない指示
により発生させることができる格子点発生装置を提供す
ることを目的とする。
It is an object of the present invention to provide a grid point generator which can generate grid points of each rectangle with a small number of instructions even when a plurality of rectangular areas are arranged with an arbitrary shift width. .

【0008】[0008]

【課題を解決するための手段】図1は本発明の基本構成
図,図2は本発明による複数の格子点発生方法の原理説
明図である。
FIG. 1 is a basic configuration diagram of the present invention, and FIG. 2 is an explanatory diagram of the principle of a method for generating a plurality of grid points according to the present invention.

【0009】図1において,1は処理部,2は記憶部,
3は入力手段,4は表示手段である。処理部1におい
て,10は線表示位置算出手段,11は矩形発生手段,
12は矩形縮小手段,13は格子点発生手段である。
In FIG. 1, 1 is a processing unit, 2 is a storage unit,
Reference numeral 3 is an input means, and 4 is a display means. In the processing unit 1, 10 is a line display position calculating means, 11 is a rectangle generating means,
Reference numeral 12 is a rectangle reducing means, and 13 is a grid point generating means.

【0010】本発明は基準となる位置を表す基準線に対
しその線からのずれ幅の情報を持たせ,基準線を縦や横
に複数の指示を可能とすることによりその交差によって
できた矩形に対し各線のずれる幅だけ矩形を縮小し,縮
小した矩形に対して格子点を発生することにより,少な
い指示で矩形領域ごとにそれぞれに格子点を発生するも
のである。
According to the present invention, a reference line representing a reference position is provided with information on the width of deviation from the reference line, and a plurality of directions can be given to the reference line in the vertical and horizontal directions to form a rectangle formed by the intersections thereof. On the other hand, by reducing the rectangle by the offset width of each line and generating grid points for the reduced rectangle, grid points are generated for each rectangular area with a small number of instructions.

【0011】[0011]

【作用】最初に図2により本発明による格子点発生方法
の3つの原理を説明する。この発明は,部屋等を表す矩
形領域の辺を表す直線に対して基準線(またはずれ線)
を設け,この基準線に対して矩形領域の辺までの距離を
ずれ幅情報として付加することを原理とする。
First, three principles of the grid point generating method according to the present invention will be described with reference to FIG. The present invention is a reference line (or a shift line) with respect to a straight line that represents a side of a rectangular area that represents a room or the like.
The principle is to add the distance to the side of the rectangular area to this reference line as deviation width information.

【0012】図2のA.に示す第1の方法では,各矩形
の座標原点から遠い方の水平及び垂直の辺上の線を基準
線として,その絶対位置(座標の原点からの位置)を設
定して,各矩形領域を規定する方法である。すなわち,
垂直方向の基準線x1,x2・・の位置(X座標値で表
す)と,水平方向の基準線y1,y2・・・の位置(Y
座標値で表す)を設定し,各基準線に対し隣接する矩形
(原点から離れる方向の矩形)の辺までのずれ幅(壁等
の厚さ)情報が付加される。
Referring to FIG. In the first method shown in, the absolute position (position from the origin of coordinates) is set by using the lines on the horizontal and vertical sides farther from the origin of coordinates of each rectangle as the reference line, and each rectangular area is set. This is the method to specify. That is,
The positions of the reference lines x1, x2, ... In the vertical direction (represented by X coordinate values) and the positions of the reference lines y1, y2, ... In the horizontal direction (Y
A coordinate width) is set, and the deviation width (thickness of wall, etc.) information to the side of the adjacent rectangle (rectangle away from the origin) is added to each reference line.

【0013】この場合,基準線x1を右端とする矩形領
域の右側に隣接する矩形領域の縦・横の長さがd1とd
2で,ずれ幅が垂直方向にc1,水平方向にc2とする
と,基準線x2の絶対位置は「x1+d1+c1」,基
準線y2は「y1+d2+c2」の値となり,他の各基
準線の値もそれぞれのずれ幅と矩形のサイズに応じて決
定される。決定された各基準線の値にそれぞれのずれ幅
を付加して設定し,この設定された値を用いて格子点を
発生させる。
In this case, the vertical and horizontal lengths of the rectangular areas adjacent to the right of the rectangular area having the reference line x1 as the right end are d1 and d.
2 and the shift width is c1 in the vertical direction and c2 in the horizontal direction, the absolute position of the reference line x2 is “x1 + d1 + c1”, and the reference line y2 is the value of “y1 + d2 + c2”. It is determined according to the shift width and the size of the rectangle. The deviation widths are added to the determined values of the respective reference lines to set, and the grid points are generated using the set values.

【0014】図2のB.に示す第2の方法は,隣接する
2つ(上・下または左・右)の矩形領域の間隔内に基準
線を設定し,その値を絶対位置(原点からの位置)で入
力すると共に各基準線の両側別にずれ幅情報を付加して
入力する方法である。
FIG. 2B. In the second method shown in, the reference line is set within the interval between two adjacent rectangular areas (top / bottom or left / right), and the value is entered as an absolute position (position from the origin) and This is a method in which deviation width information is added to each side of the reference line and input.

【0015】B.に示すように,垂直方向の基準線x
1’は右側の矩形の左辺に対しずれ幅b2を持ち,基準
線x2’は左側に隣接する矩形の右辺に対しずれ幅a2
の位置を持ち,且つ右側に隣接する矩形の左辺に対しず
れ幅b2の位置を持つ(矩形の水平方向の間隔はa2+
b2)。同様に水平方向の基準線y1’は上部の矩形の
下辺に対しずれ幅b1に位置し,基準線y2’は下側の
矩形の上辺に対しずれ幅a1を持つ(矩形の垂直方向の
間隔はa1+b1)。このように水平,垂直の各基準線
の絶対位置と隣接する両側(左・右及び上・下)のずれ
幅とを入力し,この設定された値を用いて格子点を発生
する。
B. As shown in, the vertical reference line x
1'has a shift width b2 with respect to the left side of the right rectangle, and the reference line x2 'has a shift width a2 with respect to the right side of the rectangle adjacent to the left side.
And a position having a shift width b2 with respect to the left side of the rectangle adjacent to the right side (the horizontal interval of the rectangle is a2 +
b2). Similarly, the horizontal reference line y1 ′ is located at a shift width b1 with respect to the lower side of the upper rectangle, and the reference line y2 ′ has a shift width a1 with respect to the upper side of the lower rectangle (the vertical spacing between the rectangles is a1 + b1). In this way, the absolute positions of the horizontal and vertical reference lines and the shift widths on both sides (left / right and top / bottom) adjacent to each other are input, and grid points are generated using the set values.

【0016】図2のC.に示す第3の方法は,ずれる線
の位置を直前の線からの距離により指定する方法であ
る。すなわち,C.に示すように原点に最も近い基準線
(x1”,y1”)が指定されると,これに隣接する基
準線(x2”,y2”)は,前記の基準線(x1”,y
1”)から矩形の原点側の辺までのずれ幅(C.に示す
b1またはb2),矩形の長さ(C.に示すs1または
s2),原点と反対側のずれ幅(C.に示すa1または
a2)を順次加算することにより求め,以後の各基準線
も同様の方法により算出することができる。
Referring to FIG. The third method shown in (1) is a method of designating the position of the displaced line by the distance from the immediately preceding line. That is, C.I. When the reference line (x1 ″, y1 ″) closest to the origin is designated as shown in, the reference lines (x2 ″, y2 ″) adjacent to the reference line are the above-mentioned reference lines (x1 ″, y).
1 ") to the side of the origin of the rectangle (b1 or b2 shown in C.), the length of the rectangle (s1 or s2 shown in C.), and the deviation width on the opposite side of the origin (shown in C.). a1 or a2) are sequentially added, and each subsequent reference line can be calculated by the same method.

【0017】上記のような各方法を用いて,図1の基本
構成により格子点を発生することができる。最初に,入
力手段3により,上記第1乃至第3の方法の中から採用
する一つの方法に対応して必要なデータを入力する。入
力されたデータは,記憶部2に格納される。
The grid points can be generated by the basic configuration of FIG. 1 by using each of the methods described above. First, the input means 3 inputs necessary data corresponding to one of the first to third methods. The input data is stored in the storage unit 2.

【0018】必要なデータが入力された状態で,線表示
位置計算手段10が動作すると,上記第1及び第2の方
法では,予め各基準線(ずれる線)の絶対位置が入力さ
れているので計算は行われないが,第3の方法の場合
は,記憶部2に設定された,先頭の基準線(水平の基準
線y1”及び垂直の基準線x1”)の位置に原点方向の
ずれ幅(b2またはb1),矩形の長さ(d1またはd
2)及び原点と反対方向のずれ幅(a2またはa1)を
順次加算することにより得られる。以下,順次得られた
基準線に対して同様に設定された各数値を加算して各基
準線の表示位置が算出されて記憶部2に格納される。
When the line display position calculating means 10 operates with necessary data input, the absolute positions of the reference lines (shifted lines) are input in advance in the first and second methods. Although the calculation is not performed, in the case of the third method, the deviation width in the origin direction is set at the position of the first reference line (horizontal reference line y1 ″ and vertical reference line x1 ″) set in the storage unit 2. (B2 or b1), the length of the rectangle (d1 or d
2) and the deviation width (a2 or a1) in the direction opposite to the origin are sequentially added. Thereafter, the numerical values set in the same manner are added to the sequentially obtained reference lines to calculate the display position of each reference line and store it in the storage unit 2.

【0019】次に矩形発生手段11は,記憶部2に格納
された各基準線に対し,それぞれに付加された,ずれ幅
情報を用いて矩形を発生する。図2のA.に示す第1の
方法の場合は,基準線x1と基準線x2を両側の辺と
し,基準線y1と基準y2を上下の辺とする矩形を発生
する。この矩形は対角点の座標により表される。すなわ
ち,基準線x1と基準線y1が交わる点と基準線x2と
基準y2が交わる点の座標を発生することにより実現さ
れる。他の各矩形も同様に,各基準線を用いて発生する
ことができる。
Next, the rectangle generating means 11 generates a rectangle for each reference line stored in the storage unit 2 by using the deviation width information added to each reference line. 2A. In the case of the first method shown in (1), a rectangle having the reference line x1 and the reference line x2 as both sides and the reference line y1 and the reference y2 as upper and lower sides is generated. This rectangle is represented by the coordinates of the diagonal points. That is, it is realized by generating coordinates of a point where the reference lines x1 and y1 intersect and a point where the reference lines x2 and y2 intersect. Each other rectangle can be generated using each reference line as well.

【0020】第2の方法では矩形発生手段11は,記憶
部2に入力された各基準線(x1’,x2’・・・及び
y1’,y2’・・・)の絶対位置を用いて同様に,左
右,上下の基準線により囲まれた各矩形の対角点を発生
する。上記第3の方法でも,線表示算出手段10により
求められて記憶部2に格納された各基準線(x1”,x
2”・・・及びy1”,y2”・・・)の値を用いて前
記第2の方法の場合と同様に左右,上下の基準線により
囲まれた各矩形の対角点を発生することができる。
In the second method, the rectangle generating means 11 is similar using the absolute positions of the reference lines (x1 ', x2' ... And y1 ', y2' ...) Input to the storage unit 2. Then, the diagonal points of each rectangle surrounded by the left, right, top and bottom reference lines are generated. Also in the third method, the reference lines (x1 ″, x) obtained by the line display calculation means 10 and stored in the storage unit 2 are also used.
2 "... and y1", y2 "...) are used to generate diagonal points of each rectangle surrounded by left, right, upper and lower reference lines as in the case of the second method. You can

【0021】次に矩形縮小手段12は,上記矩形発生手
段11により発生した各矩形を縮小して,実際に格子点
を発生させる領域である矩形領域(部屋等のスペースを
表す)を発生する。すなわち,上記第1の方法の場合
は,矩形発生手段11で発生した矩形に対し,図2の
A.に示すように原点から遠ざかる方向にずれ幅(c
1,c2)の長さだけ移動したずれ線と右辺と上辺の基
準線とで囲まれる縮小した矩形領域(図2のA.中に斜
線で示す)を発生する。
Next, the rectangle reduction means 12 reduces each rectangle generated by the rectangle generation means 11 to generate a rectangular area (representing a space such as a room) which is an area in which grid points are actually generated. That is, in the case of the above-mentioned first method, for the rectangle generated by the rectangle generating means 11, the A.D. As shown in, the deviation width (c
, C2), and a reduced rectangular area (shown by diagonal lines in A. of FIG. 2) surrounded by the shift line and the reference line on the right side and the upper side is generated.

【0022】第2の方法及び第3の方法の場合,矩形縮
小手段12は,上記の矩形発生手段11で発生した矩形
に対し,上下,左右の両側のずれ幅だけ縮小させて,斜
線で示す矩形領域を発生させる。図2のB.の場合,基
準線x1’,x2’とy1’,y2’で形成する矩形の
場合,垂直方向に対し左辺は右側のずれ幅b2だけ縮小
し,右辺は左側のずれ幅a2だけ縮小し,水平方向に対
し下辺が上側にずれ幅b1だけ縮小し,上辺が下側にず
れ幅a1だけ縮小して,斜線で示す矩形領域が発生す
る。この矩形領域も対角点により表される。
In the case of the second method and the third method, the rectangle reduction means 12 reduces the vertical and horizontal displacements of the rectangle generated by the rectangle generation means 11 by the diagonal lines. Generate a rectangular area. B. of FIG. In the case of, in the case of a rectangle formed by the reference lines x1 ′, x2 ′ and y1 ′, y2 ′, the left side is reduced by the right side shift width b2 and the right side is reduced by the left side shift width a2 in the vertical direction. With respect to the direction, the lower side is shrunk upward by a shift width b1 and the upper side is shrunk downward by a shift width a1 to generate a rectangular area indicated by diagonal lines. This rectangular area is also represented by diagonal points.

【0023】上記の矩形縮小手段12により得られた矩
形領域(縮小矩形)に対し,次に格子点発生手段13に
より,等間隔の格子点の座標を発生する。この格子点座
標の発生は矩形領域が特定されているので,従来の技術
を用いることにより矩形領域全体をカバーする等間隔の
格子点を発生することができる。
With respect to the rectangular area (reduced rectangle) obtained by the rectangle reducing means 12, the grid point generating means 13 then generates the coordinates of grid points at equal intervals. Since the rectangular area is specified for the generation of the grid point coordinates, it is possible to generate grid points at equal intervals covering the entire rectangular area by using the conventional technique.

【0024】この格子点発生手段13で発生した各格子
点と,記憶部2に格納された各基準線(第1,第2の場
合は入力手段3により入力,第3の方法では入力値に基
づいて線表示位置計算手段10により算出)とが表示手
段4に表示される。
Each grid point generated by this grid point generating means 13 and each reference line stored in the storage unit 2 (input by the input means 3 in the first and second cases, input value by the third method) Based on the line display position calculation means 10) is displayed on the display means 4.

【0025】[0025]

【実施例】図3は本発明が実施されるハードウェア構成
図である。図3において,20は中央処理装置(CP
U),21は記憶装置,22はディスプレイ(表示装
置),23はキーボード,マウス等で構成する入力装置
である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT FIG. 3 is a hardware block diagram for implementing the present invention. In FIG. 3, 20 is a central processing unit (CP
U) and 21 are storage devices, 22 is a display (display device), and 23 is an input device composed of a keyboard, a mouse and the like.

【0026】図4は実施例の処理フローであり,図5は
矩形の計算の説明図である。以下に図4について説明す
ると,最初に入力装置23から記憶装置21へ線の情報
が入力する(図4のS1)。この時に入力される線の情
報の形式は,上記図2に示す各方法に対応して次のよう
な線の情報が入力される。
FIG. 4 is a processing flow of the embodiment, and FIG. 5 is an explanatory diagram of rectangle calculation. Referring to FIG. 4 below, first, line information is input from the input device 23 to the storage device 21 (S1 in FIG. 4). The format of the line information input at this time is the following line information corresponding to each method shown in FIG.

【0027】第1の方法の場合 線形式は,水平,垂直を示すデータであり,原点からの
絶対位置(Pとする)とし,線形式が水平ならY座標
値,垂直ならX座標値で,ずれ幅をc(図2のA.の例
では垂直方向c1,水平方向c2)は,その線の位置で
ずれる幅とする。
In the case of the first method The line format is data indicating horizontal and vertical, and is an absolute position (P) from the origin. If the line format is horizontal, it is a Y coordinate value, and if it is vertical, it is an X coordinate value. The shift width c (vertical direction c1, horizontal direction c2 in the example of A. of FIG. 2) is a width displaced at the position of the line.

【0028】第2の方法の場合 この方法は,絶対値で各基準線を絶対値で入力すると共
に両側別のずれ幅を入力する。この場合の線形式は,水
平,垂直を示すデータであり,原点からの絶対位置を
(P)とし,線形式が水平ならY座標値,垂直ならX座
標値とする。また,原点側のずれ幅をb(図2のB.及
びC.の例ではb1,b2)とし,原点と反対側のずれ
幅をa(図2のB.及びC.の例ではa1,a2)とす
る。
In the case of the second method In this method, each reference line is input as an absolute value by an absolute value, and at the same time, a deviation width for each side is input. The line format in this case is data indicating horizontal and vertical, and the absolute position from the origin is (P). If the line format is horizontal, the Y coordinate value is used, and if it is vertical, the X coordinate value is used. Further, the deviation width on the origin side is b (b1, b2 in the example of B. and C. in FIG. 2), and the deviation width on the side opposite to the origin is a (a1, b1 in the example of B. and C. in FIG. 2). a2).

【0029】第3の方法の場合 この方法はずれる線の位置指定を,直前の線からの距離
にするもので,線形式は,水平,垂直を示すデータであ
る。また,直前の基準線からの距離をsとする。この距
離sは,ずれ幅を除いた内法寸法である。図2のC.に
示す例の場合,基準線x2”の線の情報は,距離s2と
原点側のずれ幅a2と反対側のずれ幅b2であり,ずれ
幅b2は基準線x1”の線の情報に含まれる。
In the case of the third method In this method, the position of a line that deviates is designated by the distance from the immediately preceding line, and the line format is data indicating horizontal and vertical. The distance from the immediately preceding reference line is s. This distance s is an inner dimension excluding the deviation width. C. of FIG. In the case of the example shown in FIG. 3, the information of the line of the reference line x2 ″ is the distance s2 and the deviation width a2 on the origin side and the deviation width b2 of the opposite side, and the deviation width b2 is included in the information of the reference line x1 ″. .

【0030】上記のように線の情報の入力が,必要な個
数だけ繰り返し入力されると記憶装置21に格納され
る。入力が終了すると,線の情報から実際の表示位置を
計算する(図4のS2)。
As described above, when the required number of input line information is repeatedly input, the line information is stored in the storage device 21. When the input is completed, the actual display position is calculated from the line information (S2 in FIG. 4).

【0031】この線表示位置の計算は,上記の図2に示
す各方法に応じて次のように行う。 第1の方法及び第2の方法の場合,入力されて記憶装
置21に入力された線の情報が原点からの絶対値の座標
であるから,基準線の表示位置は,記憶装置内の各線の
絶対値と一致する(但し,通常は実際の絶対値で表す座
標に対し表示のために必要な縮小が施される)。
The calculation of the line display position is performed as follows according to each method shown in FIG. In the case of the first method and the second method, since the information of the line input and input to the storage device 21 is the coordinates of the absolute value from the origin, the display position of the reference line is the position of each line in the storage device. Matches the absolute value (however, the coordinates represented by the actual absolute value are usually reduced for display).

【0032】第3の方法の場合は次の計算が行われ
る。 線の表示位置=原点側にある全ての線情報のsの合計+
原点側にある全ての線情報(a)の合計(原点上を除
く)+原点側にある全ての線情報(b)の合計+自情報
のs+自情報のa 上記の式の内,3つの合計値(原点側にある全てのs,
a及びb)を求める計算は,自情報(位置を求めたい対
象となる基準線)の直前の基準線までの長さ(距離)を
求めるものであり,各基準線(図2のC.のx1”,x
2”・・,y1”,y2”・・)の表示位置がこの計算
により順番に求めることができる。
In the case of the third method, the following calculation is performed. Line display position = sum of s of all line information on the origin side +
Sum of all line information (a) on the origin side (excluding on the origin) + Sum of all line information (b) on the origin side + Own information s + Own information a Total value (all s on the origin side,
The calculation for obtaining a and b) is to obtain the length (distance) to the reference line immediately before the own information (the reference line for which the position is to be obtained), and each reference line (C. in FIG. 2). x1 ", x
The display positions of 2 "..., y1", y2 "...) can be sequentially obtained by this calculation.

【0033】次に線の表示位置の交点から矩形の対角点
を求める(図4のS3)。この矩形の対角点は,上記S
2で求めた各垂直,水平の基準線の交点を求めて,線で
囲まれた矩形の対角点(2つの交点)を選択(計算)す
ることにより得られる。
Next, the diagonal points of the rectangle are obtained from the intersections of the display positions of the lines (S3 in FIG. 4). The diagonal point of this rectangle is S
It is obtained by obtaining the intersection of each vertical and horizontal reference line obtained in 2 and selecting (calculating) the diagonal points (two intersections) of the rectangle surrounded by the line.

【0034】基準線による矩形の対角点が得られると,
ずれ幅だけ矩形の対角点を矩形中心へ向けて縮小する
(図4のS4)。この処理は,上記図2の各方法に応じ
て次のように行い,図5を参照して説明する。なお,図
5に示す各符号は上記図2の同じ各符号に対応する。
When the diagonal points of the rectangle based on the reference line are obtained,
The diagonal points of the rectangle are reduced by the shift width toward the center of the rectangle (S4 in FIG. 4). This processing is performed as follows according to each method of FIG. 2 and will be described with reference to FIG. The reference numerals shown in FIG. 5 correspond to the same reference numerals in FIG.

【0035】第1の方法の場合 矩形を囲む原点側の線(水平と垂直)の情報にあるずれ
幅(c)を記憶装置21から取り出し,矩形の原点側の
対角点(上記S3で求めた点)をずれ幅だけ原点と反対
方向へ移動して矩形を縮小して実際の空間(部屋等)を
表す矩形領域(その対角点)が得られる。
In the case of the first method The deviation width (c) in the information on the origin side line (horizontal and vertical) surrounding the rectangle is retrieved from the storage device 21, and the diagonal point on the origin side of the rectangle (obtained in S3 above) is obtained. Point) is moved in the direction opposite to the origin by the shift width, and the rectangle is reduced to obtain a rectangular area (its diagonal point) representing the actual space (room, etc.).

【0036】この様子は図5に示され,線x1,y1の
交点と線x2,y2の交点を対角点とする矩形が,それ
ぞれずれ幅c1(垂直方向)とc2(水平方向)だけ縮
小して,斜線で示す矩形領域が得られる。この矩形領域
の原点側の対角点は(x1+c2,y1+c1)で,原
点と反対側の対角点は(x2,y2)となる。
This state is shown in FIG. 5, and a rectangle whose diagonal points are the intersections of the lines x1 and y1 and the intersections of the lines x2 and y2 is reduced by the shift widths c1 (vertical direction) and c2 (horizontal direction), respectively. As a result, a rectangular area indicated by diagonal lines is obtained. The diagonal point on the origin side of this rectangular area is (x1 + c2, y1 + c1), and the diagonal point on the opposite side of the origin is (x2, y2).

【0037】第2及び第3の方法の場合 矩形を囲む原点側の基準線(水平と垂直)の情報に付加
されたずれ幅(b1,b2)と,矩形を囲む原点側と反
対側の基準線の情報にあるずれ幅(a1,a2)とを記
憶装置21から取り出す。続いて,矩形の原点側の対角
点をずれ幅(b1,b2)だけ原点と反対方向へ移動し
て,矩形を縮小し,矩形の原点と反対側の対角点を,ず
れ幅(a1,a2)だけ原点方向へ移動して矩形を縮小
して実際の矩形領域(その対角点)が得られる。
In the case of the second and third methods, the deviation widths (b1, b2) added to the information of the reference line (horizontal and vertical) on the origin side surrounding the rectangle and the reference on the side opposite to the origin side surrounding the rectangle The shift width (a1, a2) in the line information is retrieved from the storage device 21. Then, the diagonal point on the origin side of the rectangle is moved in the direction opposite to the origin by the shift width (b1, b2) to reduce the rectangle, and the diagonal point on the side opposite to the origin of the rectangle is shifted by the shift width (a1 , A2) in the direction of the origin to reduce the rectangle and obtain the actual rectangular area (its diagonal point).

【0038】この様子は図5のB.に示される。なお,
この図では各基準線x1’,x2’・・,y1’,y
2’・・は第2の方法の基準線として表示しているが,
それぞれ第3の方法の場合の各基準線(x1”,x2”
・・,y1”,y2”・・)と一致する。この場合,線
x1’,y1’の交点と線x2’,y2’の交点を対角
点とする矩形が,原点側で幅b1(垂直方向),b2
(水平方向)だけ縮小し,原点と反対側で幅a1(垂直
方向),a2(水平方向)だけ縮小して斜線で示す矩形
が得られる。この縮小された矩形の対角点は図に示すよ
うに,原点側が(x1’+b2,y1’+b1),原点
と反対側が(x2’−a2,y2’−a1)となる。
This state is shown in FIG. Shown in. In addition,
In this figure, each reference line x1 ', x2' ..., y1 ', y
2 '... is displayed as the reference line for the second method,
Each reference line (x1 ", x2" in the case of the third method)
···, y1 ″, y2 ”··) In this case, a rectangle whose diagonal points are the intersections of the lines x1 ′ and y1 ′ and the lines x2 ′ and y2 ′ has widths b1 (vertical direction) and b2 on the origin side.
It is reduced by (horizontal direction) and reduced by widths a1 (vertical direction) and a2 (horizontal direction) on the side opposite to the origin to obtain a rectangle indicated by diagonal lines. As shown in the figure, the diagonal points of the reduced rectangle are (x1 '+ b2, y1' + b1) on the origin side and (x2'-a2, y2'-a1) on the opposite side to the origin.

【0039】上記のようにして縮小された矩形(対角
点)が得られると,次に矩形ごとに,等間隔の格子点の
位置を計算する(図4のS5)。この格子点の位置は,
対角点によって矩形の位置及び領域が決定されるので,
その領域内に等間隔(間隔は予め設定される)の格子点
を従来と同様の方法により発生させる。
When the reduced rectangles (diagonal points) are obtained as described above, the positions of grid points at equal intervals are calculated for each rectangle (S5 in FIG. 4). The position of this grid point is
Since the position and area of the rectangle are determined by the diagonal points,
Lattice points at equal intervals (intervals are set in advance) are generated in the area by a method similar to the conventional method.

【0040】最後に,上記図4のS2において得られた
線の表示位置及びS5において得られた格子点を表示装
置(図3のディスプレイ(表示装置)22)に出力する
(図4のS6)。
Finally, the display position of the line obtained in S2 of FIG. 4 and the grid point obtained in S5 are output to the display device (display (display device) 22 of FIG. 3) (S6 of FIG. 4). .

【0041】本発明の上記第2の方法及び第3の方法の
ように,基準線に対し両側のずれ幅を指定できるように
することで,基準線自体が入力の目安や入力した座標の
吸い込みに利用することが容易になる。また,第3の方
法のように,線の位置指定を絶対座標でなく原点方向に
ある直前の線からの距離(ずれ幅を除いた距離s)にす
ることで,ずれ幅を変更したり,新たな線の挿入や削除
を行う場合に,原点から見てその線より遠い線の表示位
置を矛盾しないように表示し直せる。
As in the second and third methods of the present invention, by allowing the deviation widths on both sides of the reference line to be designated, the reference line itself can be used as a guideline for inputting and sucking input coordinates. It is easy to use. In addition, like the third method, by specifying the position of the line not by absolute coordinates but by the distance (the distance s excluding the deviation width) from the immediately preceding line in the origin direction, the deviation width can be changed, When inserting or deleting a new line, the display position of the line farther from the origin than the original line can be redisplayed so that it does not conflict.

【0042】図6に第3の方法による垂直の線の変更例
を示す。A.の状態は垂直の基準線である線0,線1,
線2が示され,特に線1に対し距離1,両側のずれ幅
a,bが付与されている。この状態で,線1を削除する
場合,線1の情報に含まれる距離1,ずれ幅a,bが削
除されることにより,図6のB.に示すように線0の直
後に距離2と両側のずれ幅を持つ線2が配置されて,新
たな矩形(水平の線は図示省略されている)を形成し,
これに対し格子点を発生することができる。
FIG. 6 shows an example of changing a vertical line according to the third method. A. State is the vertical reference line 0, 1,
Line 2 is shown, and in particular with respect to line 1, a distance 1 and offset widths a and b on both sides are given. In this state, when the line 1 is deleted, the distance 1 and the shift widths a and b included in the information of the line 1 are deleted, so that B.B. As shown in, a line 2 having a distance 2 and a shift width on both sides is arranged immediately after the line 0 to form a new rectangle (horizontal line is not shown),
On the other hand, grid points can be generated.

【0043】また,図6のA.の状態で,線1の一方の
ずれ幅aを,ずれ幅a+αに変更する場合にも,線1の
情報に含まれるずれ幅を変更することにより,図6の
C.に示すように新たな矩形(水平の線は図示省略)を
形成し,これに対し格子点を発生することができる。
Further, in FIG. In the above state, even when the displacement width a of one of the lines 1 is changed to the displacement width a + α, by changing the displacement width included in the information of the line 1, the C.I. It is possible to form a new rectangle (horizontal lines are not shown) as shown in FIG.

【0044】図7は本発明による住宅設計における設計
例を示す図である。壁の中心線とその延長線が基準線で
あり,その両側にずれ幅が設けられている。壁の辺は格
子点をずらす位置を指定した線上に入力される。椅子,
机等の家具類を配置する時にずらされた格子点が利用で
きる。なお,この図には壁のずれ幅を変更する様子は示
されない。
FIG. 7 is a diagram showing a design example in the housing design according to the present invention. The center line of the wall and its extension are the reference lines, and the offset width is provided on both sides. The side of the wall is input on the line that specifies the position to shift the grid point. Chair,
Lattice points that are shifted can be used when arranging furniture such as desks. It should be noted that this figure does not show how the wall offset width is changed.

【0045】[0045]

【発明の効果】本発明によれば次のような効果を奏する
ことができる。 壁等があるとずれを生じるような建築画面において,
等間隔の格子点を簡便に入力することができ,更に壁等
の位置がずれの線によって示すことができる。
According to the present invention, the following effects can be obtained. In the architectural screen that will be displaced if there is a wall,
Grid points at equal intervals can be easily input, and the positions of walls and the like can be indicated by lines with deviations.

【0046】CADシステムで図面の矩形の区画毎に
基準となる間隔が異なる場合,それぞれ間隔の異なる基
準位置を示す格子点と,矩形の区画線を表示できる。 住宅設計において,壁によりモジュールがずれる図面
を容易に作成することができ,発生した格子点や線は,
壁の入力等の入力座標位置の吸い込み補正に利用するこ
とができる。
In the CAD system, when the reference intervals are different for each rectangular section of the drawing, it is possible to display the grid points indicating the reference positions with different intervals and the rectangular section line. In housing design, it is possible to easily create a drawing in which modules are displaced due to walls, and the generated grid points and lines are
It can be used for suction correction of the input coordinate position such as wall input.

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

【図1】本発明の基本構成図である。FIG. 1 is a basic configuration diagram of the present invention.

【図2】本発明による複数の格子点発生方法の原理説明
図である。
FIG. 2 is a diagram illustrating the principle of a method for generating a plurality of grid points according to the present invention.

【図3】実施例のハードウェア構成図である。FIG. 3 is a hardware configuration diagram of the embodiment.

【図4】実施例の処理フロー図である。FIG. 4 is a processing flow chart of the embodiment.

【図5】矩形の計算の説明図である。FIG. 5 is an explanatory diagram of rectangle calculation.

【図6】第3の方法による垂直の線の変更例を示す図で
ある。
FIG. 6 is a diagram showing an example of changing a vertical line according to a third method.

【図7】本発明による住宅設計における設計例を示す図
である。
FIG. 7 is a diagram showing a design example in a house design according to the present invention.

【図8】従来例の方式を説明する図である。FIG. 8 is a diagram illustrating a method of a conventional example.

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

1 処理部 10 線表示位置算出手段 11 矩形発生手段 12 矩形縮小手段 13 格子点発生手段 2 記憶部 3 入力手段 4 表示手段 1 Processing Unit 10 Line Display Position Calculation Means 11 Rectangular Generation Means 12 Rectangular Reduction Means 13 Lattice Point Generating Means 2 Storage Units 3 Input Means 4 Display Means

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 CADによる建築物等の設計のための格
子点発生方式において,入力手段から入力された仕切り
を表す複数の水平・垂直の基準線と各基準線に対応する
壁等のずれ幅とを対にして線情報として記憶する記憶部
と,前記線情報から実際の表示位置を算出する線表示位
置算出手段と,前記算出された表示位置に対し前記線情
報の水平・垂直の基準線により形成される矩形を発生す
る矩形発生手段と,前記発生した矩形を形成する基準線
の線情報から対応するずれ幅を用いてずれ幅だけ縮小さ
れた矩形を発生する矩形縮小手段と,前記縮小された矩
形に対し等間隔の格子点を発生する格子点発生手段と,
前記線表示位置算出手段と格子点発生手段により発生し
た線及び格子点を表示する表示手段とを備えることを特
徴とする格子点発生方式。
1. In a grid point generation method for designing a building or the like by CAD, a plurality of horizontal / vertical reference lines representing partitions input from an input means and a deviation width of a wall or the like corresponding to each reference line. And a line storage position calculating means for calculating an actual display position from the line information, and a horizontal / vertical reference line of the line information with respect to the calculated display position. A rectangle generating means for generating a rectangle formed by the above, a rectangle reducing means for generating a rectangle reduced by a shift width using a corresponding shift width from the line information of a reference line forming the generated rectangle, and the reduction Grid point generating means for generating grid points at equal intervals for the created rectangle,
A grid point generation method comprising: the line display position calculation means and a display means for displaying the lines and grid points generated by the grid point generation means.
【請求項2】 請求項1において,前記入力手段から入
力する線情報は,部屋等を表す矩形の一辺に沿った線を
基準線としてその絶対位置と,該基準線に対して隣接す
る矩形の辺までの長さであるずれ幅とで構成され,各線
情報を前記記憶部に格納し,前記線表示位置算出手段
は,前記各基準線の絶対位置を線表示位置として取り出
し,前記矩形縮小手段は,前記各基準線の絶対位置に対
応するずれ幅を加算した位置の線により縮小した矩形の
一辺とすることを特徴とする格子点発生方式。
2. The line information input from the input means according to claim 1, wherein a line along one side of a rectangle representing a room or the like is used as a reference line, its absolute position, and a rectangle adjacent to the reference line. The line display position calculation means extracts the absolute position of each reference line as a line display position, and the rectangle reduction means. Is a one side of a rectangle reduced by a line at a position where a shift width corresponding to the absolute position of each of the reference lines is added.
【請求項3】 請求項1において,前記入力手段から入
力する線情報は,部屋等を表す矩形の辺と隣接する矩形
の辺の間に設けた線を基準線としてその絶対位置と,該
基準線の両隣に隣接する2つの矩形の辺までの各々の長
さを表す2つのずれ幅とで構成され,各線情報を前記記
憶部に格納し,前記線表示位置算出手段は,前記各基準
線の絶対位置を線表示位置として取り出し,前記矩形縮
小手段は,前記各基準線の絶対位置に対応する両側のず
れ幅を加算または減算した位置の線により縮小した矩形
の2辺とすることを特徴とする格子点発生方式。
3. The line information input from the input means according to claim 1, wherein a line provided between a side of a rectangle representing a room or the like and a side of a rectangle adjacent to the side is its absolute position and the reference. The line display position calculation means stores the line information in the storage unit, and the two shift widths represent the lengths of the sides of two rectangles adjacent to both sides of the line. Is extracted as a line display position, and the rectangle reduction means sets the two sides of the rectangle reduced by the line at the position where the deviation width on both sides corresponding to the absolute position of each reference line is added or subtracted. The grid point generation method.
【請求項4】 請求項1において,前記入力手段から入
力する線情報は,部屋等を表す矩形の辺と隣接矩形の辺
の間に設けた線を基準線として該基準線の両隣に隣接す
る2つの矩形の辺までの各々の長さを表す2つのずれ幅
と,各部屋等を表す矩形の長さとで構成され,先頭の基
準線に対してだけその絶対位置が付加されて,各線情報
を前記記憶部に格納し,前記線表示位置算出手段は,前
記先頭の基準線の絶対位置に対しそのずれ幅を加算し,
以後の各基準線の表示位置は順次隣接する基準線が持つ
矩形の長さ及びずれ幅を順次加算することにより算出す
ることを特徴とする格子点発生方式。
4. The line information input from the input unit according to claim 1, is adjacent to both sides of the reference line with a line provided between a side of a rectangle representing a room etc. and a side of an adjacent rectangle as a reference line. Each line information is composed of two shift widths that represent the lengths of the two rectangles and the length of the rectangle that represents each room. The absolute position is added only to the first reference line. Is stored in the storage unit, and the line display position calculation means adds the deviation width to the absolute position of the first reference line,
The grid point generating method is characterized in that the display position of each reference line thereafter is calculated by sequentially adding the lengths and shift widths of the rectangles of the adjacent reference lines.
JP5178804A 1993-07-20 1993-07-20 Grid point generation method Expired - Fee Related JP2831911B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5178804A JP2831911B2 (en) 1993-07-20 1993-07-20 Grid point generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5178804A JP2831911B2 (en) 1993-07-20 1993-07-20 Grid point generation method

Publications (2)

Publication Number Publication Date
JPH0736961A true JPH0736961A (en) 1995-02-07
JP2831911B2 JP2831911B2 (en) 1998-12-02

Family

ID=16054948

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5178804A Expired - Fee Related JP2831911B2 (en) 1993-07-20 1993-07-20 Grid point generation method

Country Status (1)

Country Link
JP (1) JP2831911B2 (en)

Also Published As

Publication number Publication date
JP2831911B2 (en) 1998-12-02

Similar Documents

Publication Publication Date Title
WO2024001303A1 (en) Column-beam generation method and device for prefabricated steel structure modular building, and apparatus
CN111695171B (en) Support and hanger BIM model creation method based on reconstruction technology
JP2831911B2 (en) Grid point generation method
JP3165780B2 (en) 3D model information retrieval system
JPH10269269A (en) Plant design system
JP3371353B2 (en) Graphic information screen display editing method and graphic processing device
JP4648547B2 (en) CAD system for unit building
JP3284367B2 (en) Configuration data extraction system
JPS63155260A (en) Editing method for table by computer
JPH09297778A (en) Input method fro building data
JPH0944555A (en) Scaffolding planning system
JPH09297779A (en) Plan preparing method for building
CN115048691A (en) Indoor design automatic auxiliary layout system and method based on scanning lines
JPH09297780A (en) Structure analysis method for building
JP2000235591A (en) Method and device for designing arrangement of wall panel
JPH0711803B2 (en) Computer aided design equipment
JPH09114872A (en) Temporary scaffolding elevation preparing device
JPH07334543A (en) Solid ceiling surface design support device
JPH01232465A (en) Numerical formula input editing system
JP2902856B2 (en) Data entry editing device
JPH0463432B2 (en)
JPH11212448A (en) Method and device for generating plot plan and storage medium
JP2004199355A (en) Cad system for isolated room
JPH04361384A (en) Graphic processor
JPH07282105A (en) Finite element dividing method

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees