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
JP2854859B2 - Shape mounting method - Google Patents
[go: Go Back, main page]

JP2854859B2 - Shape mounting method - Google Patents

Shape mounting method

Info

Publication number
JP2854859B2
JP2854859B2 JP62238269A JP23826987A JP2854859B2 JP 2854859 B2 JP2854859 B2 JP 2854859B2 JP 62238269 A JP62238269 A JP 62238269A JP 23826987 A JP23826987 A JP 23826987A JP 2854859 B2 JP2854859 B2 JP 2854859B2
Authority
JP
Japan
Prior art keywords
shape
linear elements
linear element
linear
mounting method
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
JP62238269A
Other languages
Japanese (ja)
Other versions
JPS6481074A (en
Inventor
真樹 関
正敏 吉崎
猛嗣 細野
静秋 葉柳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FUANATSUKU KK
Original Assignee
FUANATSUKU KK
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 FUANATSUKU KK filed Critical FUANATSUKU KK
Priority to JP62238269A priority Critical patent/JP2854859B2/en
Priority to PCT/JP1988/000961 priority patent/WO1989003093A1/en
Publication of JPS6481074A publication Critical patent/JPS6481074A/en
Application granted granted Critical
Publication of JP2854859B2 publication Critical patent/JP2854859B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three-dimensional [3D] modelling for computer graphics
    • G06T17/10Constructive solid geometry [CSG] using solid primitives, e.g. cylinders, cubes

Landscapes

  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Description

【発明の詳細な説明】 <産業上の利用分野> 本発明は形状取り付け方法に係り、特に第1の形状を
第2の形状に取り付ける形状取り付け方法に関する。 <従来の技術> CAD/CAMシステムを用いて設計作業(たとえばモール
ド金型設計)や図面作成作業を行う場合、部品(モール
ド金型設計の場合)または形状(図面作成の場合)を他
の部品あるいは形状に取付けることがしばしば行われ
る。 <発明が解決しようとしている問題点> ところで、第3図に示すように位置決めの対象となる
第1の形状1を第2の形状2に1点鎖線で示すように
(ポイントP2〜P5参照)取付けるに際しては、従来オペ
レータは、第1の基準ポイントP1と第2の形状2の基準
ポイントP2を特定し、ついで第1の形状1の基準ポイン
トP1と第2の形状2の基準ポイントが重なることを特
定し(位置の指定)、しかる後、第1の形状1の回転角
度θを指定する(向きの指定)。これにより、システム
は上記オペレータの指示に基づいて第1の形状1の平行
移動量及び回転角度を求め、該平行移動量及び回転角度
を用いて第1の形状データに対して平行、回転の座標変
換を施し、第1の形状1(第3図実線)を1点鎖線に示
すように第2の形状2に取付ける。 しかし、かかる従来の方法では位置を指定する時に各
形状の基準ポイントの正確な座標値が簡単にはわからな
かったり、また、位置を指定した後に形状の向き(回転
角度θ)を別途指定しなければならず面倒であった。 以上から本発明の目的は、簡単かつ、正確に第1形状
を他の第2形状に取り付けることができる形状取り付け
方法を提供することである。 <問題点を解決するための手段> 第1図は本発明の形状取り付け方法を実現するCAD/CA
Mシステムのブロック図である。 11aはプロセッサ、12はグラフィックディスプレイ装
置、14aはキーボードであり、グラフィックディスプレ
イ装置12において、CRTはディスプレイ画面、1は第1
の形状、1a,1bは第1の形状1の直線要素、P1は第1の
形状1の代表ポイント、2は第2の形状、2a,2bは第2
の形状2の直線要素、P2は第2の形状2の位置決めポイ
ントである。 <作用> 第1の形状1における隣合った2つの直線要素1a,1b
を指定すると共に第2の形状2における隣合った2つの
直線要素2a,2bを指定する。これにより、プロセッサ11a
は第1の形状1における前記2つの直線要素1a,1bの交
点P1を第2の形状2における前記2つの直線要素2a,2b
の交点P2に重ね合せ、かつ、第1の形状1における指定
された第1、第2の直線要素1a,1bをそれぞれ第2の形
状2における指定された第1、第2の直線要素2a,2bに
重ね合せて第1の形状1を第2の形状2に取付ける。 <実施例> 第1図は本発明の形状取り付け方法を実現するCAD/CA
Mシステムのブロック図である。 11aはプロセッサ、11bはROM、11cはRAM、12はグラフ
ィックディスプレイ装置、13はタブレット装置、13aは
タブレット面、13bはメニュー表、13cはマウス、14aは
キーボード、14bはX−Yプロッタ、14cはディスクコン
トローラ、15は各種データファイルや自動作成された設
計データ、図面データ等を蓄積する大容量記憶装置であ
る。グラフィックディスプレイ装置12において、CRTは
ディスプレイ画面、1は位置決めの対象となる第1の形
状、1a,1bは第1の形状1の直線要素、P1は第1の形状
1の代表ポイント、2は第1の形状1が取付けられる第
2の形状、2a、2bは第2の形状2の直線要素、P2は第2
の形状2の位置決めポイントである。 第2図は本発明方法の形状取り付け処理の流れ図であ
る。以下第2図の流れ図に沿って形状取り付け処理を説
明する。尚、第1図の形状1及び第2の形状2は、図形
定義されて既にディスプレイ画面CRTに表示されている
ものとする。 オペレータは所定の操作により「形状の移動」をタブ
レットより指定すると共に、ディスプレイ画面CRT上の
第1の形状1及び第2の形状2(第1図)をピックし、
位置決め形状及び位置決めされる形状を指定する(ステ
ップ101)。 次に、第1の形状1の直線要素1aをピックすると直線
要素1aに重なる位置決め先の直線要素を問いかけてくる
から第2の形状2の直線要素2aをピックする。ついで、
第1の形状1の直線要素1bをピックすると直線要素1bに
重なる位置決め先の直線要素を問いかけてくるから第2
の形状2の直線要素2bをピックし、2組の直線要素を指
定する(ステップ102)。 プロセッサ11aはピックされた直線要素1a,1bの交差角
度θと直線要素2a,2bの交差角度θが等しいか等の
入力データチェックを行い(ステップ103)、入力デー
タについてエラーが存在すれば(θ≠θ等)、ステ
ップ102の直線要素指定の処理からやり直す(ステップ1
04)。一方、入力データについてエラーが存在しなけれ
ば、第1の形状1の直線要素1a,1bの交点P1が第2の形
状2の直線要素2a,2bの交点P2に重なり、かつ直線要素1
a,1bがそれぞれ直線要素2a,2bに重なるようにする(第
1図点線参照)為の第1の形状1の平行移動量及び回転
角度を求め(ステップ105)、該平行移動量及び回転角
度を用いて第1の形状データに平行移動及び回転のマト
リクス変換処理を施し、(ステップ106)、実行結果を
ディスプレイ画面CRTに描画し(ステップ107)、取り付
け処理を終了する。 <発明の効果> 以上本発明によれば、第1の形状における隣合った2
つの直線要素を指定すると共に第2の形状における隣合
った2つの直線要素を指定し、処理部は第1の形状にお
ける前記2つの直線要素の交点を第2の形状における前
記2つの直線要素の交点に重ね合せ、かつ、第1の形状
における指定された第1、第2の直線要素をそれぞれ第
2の形状における指定された第1、第2の直線要素に重
ね合せて第1の形状を第2の形状に取付けるように構成
したから、位置決め形状の位置と方向を簡単に指定でき
ると共に、正確に第1形状を他の第2形状に取り付ける
ことができる。
Description: TECHNICAL FIELD The present invention relates to a shape attachment method, and more particularly to a shape attachment method for attaching a first shape to a second shape. <Conventional technology> When a CAD / CAM system is used for design work (for example, mold mold design) or drawing work, a part (for mold mold design) or a shape (for drawing creation) is converted to another part. Alternatively, it is often attached to a shape. <Problems invention is trying to solve> Meanwhile, the first shape 1 to be positioned as shown in Figure 3 as indicated by the second shape 2 in a dashed line (point P 2 to P 5 upon mounting reference), conventionally an operator, the first reference point P 1 and the second identify reference points P 2 of the shape 2, then the first and the reference point P 1 of the shape 1 second shape 2 It specifies that the reference points 2 overlap (designation of the position), and then designates the rotation angle θ of the first shape 1 (designation of the direction). Thereby, the system obtains the translation amount and the rotation angle of the first shape 1 based on the instruction of the operator, and uses the translation amount and the rotation angle to execute the parallel / rotation coordinates with respect to the first shape data. Conversion is performed, and the first shape 1 (solid line in FIG. 3) is attached to the second shape 2 as shown by a dashed line. However, in such a conventional method, when specifying a position, the exact coordinate value of the reference point of each shape cannot be easily known, or the direction of the shape (rotation angle θ) must be separately specified after specifying the position. It had to be troublesome. Accordingly, an object of the present invention is to provide a shape mounting method that can easily and accurately mount a first shape on another second shape. <Means for Solving the Problems> FIG. 1 shows a CAD / CA for realizing the shape mounting method of the present invention.
It is a block diagram of M system. 11a is a processor, 12 is a graphic display device, 14a is a keyboard, and in the graphic display device 12, a CRT is a display screen, and 1 is a first
Shape, 1a, 1b first linear element shape 1, P 1 is the first representative point shape 1, 2 second shape, 2a, 2b is second
The linear element P 2 of the second shape 2 is a positioning point of the second shape 2. <Operation> Two adjacent linear elements 1a and 1b in the first shape 1
And two adjacent linear elements 2a and 2b in the second shape 2 are specified. Thereby, the processor 11a
Represents the intersection P1 of the two linear elements 1a, 1b in the first shape 1 with the two linear elements 2a, 2b in the second shape 2.
And overlapping, the intersection P 2 of the first, first, second linear element 2a to the second linear element 1a, 1b a specified in the second shape 2, respectively designated in the first shape 1 , 2b and the first shape 1 is attached to the second shape 2. <Embodiment> FIG. 1 shows a CAD / CA for realizing the shape mounting method of the present invention.
It is a block diagram of M system. 11a is a processor, 11b is a ROM, 11c is a RAM, 12 is a graphic display device, 13 is a tablet device, 13a is a tablet surface, 13b is a menu table, 13c is a mouse, 14a is a keyboard, 14b is an XY plotter, 14c is The disk controller 15 is a large-capacity storage device that stores various data files, automatically created design data, drawing data, and the like. In the graphic display device 12, CRT is a display screen, a first shape 1 is to be positioned, 1a, 1b first linear element shape 1, P 1 is the first representative point shape 1, 2 A second shape to which the first shape 1 is attached, 2a and 2b are linear elements of the second shape 2, and P2 is a second element.
Is a positioning point of the shape 2 of FIG. FIG. 2 is a flow chart of the shape attaching process of the method of the present invention. Hereinafter, the shape attaching process will be described with reference to the flowchart of FIG. It is assumed that the shape 1 and the second shape 2 in FIG. 1 have been defined as graphics and have already been displayed on the display screen CRT. The operator designates “movement of shape” by a predetermined operation from the tablet, and picks the first shape 1 and the second shape 2 (FIG. 1) on the display screen CRT,
A positioning shape and a shape to be positioned are designated (step 101). Next, when the linear element 1a of the first shape 1 is picked, a linear element of the positioning destination overlapping the linear element 1a is queried, so that the linear element 2a of the second shape 2 is picked. Then
Picking the linear element 1b of the first shape 1 asks for the linear element of the positioning destination that overlaps the linear element 1b.
Pick a straight line element 2b of shape 2 and specify two sets of straight line elements (step 102). Processor 11a linear element 1a which is picked, 1b of the intersection angle theta 1 and the straight line element 2a, 2b of the crossing angle theta 2 performs input data check equal or the like (step 103), if there is an error on the input data (Θ 1 ≠ θ 2 etc.) and start over from the process of specifying the linear element in step 102 (step 1
04). On the other hand, if there is an error on the input data, the first shape first linear element 1a, the intersection P 1 of the 1b second shape second linear element 2a, overlaps the intersection P 2 of 2b, and linear element 1
The translation amount and the rotation angle of the first shape 1 are determined (step 105) so that a and 1b respectively overlap the linear elements 2a and 2b (see the dotted line in FIG. 1), and the translation amount and the rotation angle Then, the first shape data is subjected to a parallel transformation and rotation matrix conversion process (step 106), the execution result is drawn on the display screen CRT (step 107), and the attachment process is terminated. <Effects of the Invention> As described above, according to the present invention, two adjacent shapes in the first shape are used.
Two linear elements adjacent to each other in the second shape are specified, and the processing unit determines the intersection of the two linear elements in the first shape by the two linear elements in the second shape. The first shape is superimposed on the intersection, and the specified first and second linear elements in the first shape are superimposed on the specified first and second linear elements in the second shape, respectively. Since it is configured to be attached to the second shape, the position and direction of the positioning shape can be easily specified, and the first shape can be accurately attached to the other second shape.

【図面の簡単な説明】 第1図は本発明の形状取り付け方式を実現するCAD/CAM
システムのブロック図、 第2図は本発明の処理の流れ図、 第3図は従来方法の説明図である。 11a……プロセッサ、 11b……ROM、11c……RAM、 12……グラフィックディスプレイ装置、 13……タブレット装置、 14a……キーボード、 CRT……ディスプレイ画面、 1……第1の形状、 1a,1b……第1の形状1の直線要素、 P1……第1の形状1の代表ポイント、 2……第2の形状、 2a,2b……第2の形状2の直線要素、 P2……第2の形状2の位置決めポイント
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a CAD / CAM for realizing the shape mounting method of the present invention.
FIG. 2 is a block diagram of the system, FIG. 2 is a flowchart of the process of the present invention, and FIG. 3 is an explanatory diagram of a conventional method. 11a: Processor, 11b: ROM, 11c: RAM, 12: Graphic display device, 13: Tablet device, 14a: Keyboard, CRT: Display screen, 1: First shape, 1a, 1b ... linear element of the first shape 1, P 1 ... representative point of the first shape 1, 2 ... second shape, 2a, 2b ... linear element of the second shape 2, P 2 ... Positioning point of second shape 2

───────────────────────────────────────────────────── フロントページの続き (72)発明者 葉柳 静秋 東京都日野市旭が丘3丁目5番地1 フ ァナック株式会社商品開発研究所内 (56)参考文献 特開 昭61−84780(JP,A) 特開 昭60−163162(JP,A) 特開 昭61−169966(JP,A) 特開 昭62−115591(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06F 17/50──────────────────────────────────────────────────続 き Continuation of front page (72) Shizuaki Hayanagi 3-5-1 Asahigaoka, Hino-shi, Tokyo Inside FANUC CORPORATION Product Development Laboratory (56) References JP-A-61-84780 (JP, A) JP-A-60-163162 (JP, A) JP-A-61-169966 (JP, A) JP-A-62-115591 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) G06F 17/50

Claims (1)

(57)【特許請求の範囲】 1.第1の形状を第2の形状に取り付ける形状取り付け
方法において、 第1の形状における隣合った2つの直線要素を指定する
と共に第2の形状における隣合った2つの直線要素を指
定し、 処理部は第1の形状における前記2つの直線要素の交点
を第2の形状における前記2つの直線要素の交点に重ね
合せ、かつ、第1の形状における指定された第1、第2
の直線要素をそれぞれ第2の形状における指定された第
1、第2の直線要素に重ね合せて第1の形状を第2の形
状に取付けることを特徴とする形状取り付け方法。
(57) [Claims] In a shape attachment method for attaching a first shape to a second shape, a processing unit specifies two adjacent linear elements in the first shape and two adjacent linear elements in the second shape. Superimposes the intersection of the two linear elements in the first shape on the intersection of the two linear elements in the second shape, and specifies the specified first and second points in the first shape.
A shape mounting method, wherein the first shape is mounted on the second shape by superimposing the linear elements on the designated first and second linear elements respectively in the second shape.
JP62238269A 1987-09-22 1987-09-22 Shape mounting method Expired - Fee Related JP2854859B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP62238269A JP2854859B2 (en) 1987-09-22 1987-09-22 Shape mounting method
PCT/JP1988/000961 WO1989003093A1 (en) 1987-09-22 1988-09-22 Method of superposing figures

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62238269A JP2854859B2 (en) 1987-09-22 1987-09-22 Shape mounting method

Publications (2)

Publication Number Publication Date
JPS6481074A JPS6481074A (en) 1989-03-27
JP2854859B2 true JP2854859B2 (en) 1999-02-10

Family

ID=17027670

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62238269A Expired - Fee Related JP2854859B2 (en) 1987-09-22 1987-09-22 Shape mounting method

Country Status (2)

Country Link
JP (1) JP2854859B2 (en)
WO (1) WO1989003093A1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0616290B2 (en) * 1984-02-03 1994-03-02 株式会社日立製作所 Method for defining shape of three-dimensional connected body
JPS6184780A (en) * 1984-10-02 1986-04-30 Mitsubishi Electric Corp Picture composer
JPS61169966A (en) * 1985-01-24 1986-07-31 Mitsubishi Electric Corp Graphic input device
JPS62115591A (en) * 1985-11-15 1987-05-27 Fujitsu Ltd Recognition method for pattern position

Also Published As

Publication number Publication date
JPS6481074A (en) 1989-03-27
WO1989003093A1 (en) 1989-04-06

Similar Documents

Publication Publication Date Title
JP2000322172A (en) Three-dimensional display of two-dimensional window on computer screen
JPWO1994001829A1 (en) Three-dimensional graphic editing device
JP2854859B2 (en) Shape mounting method
JP3599198B2 (en) Figure editing device
JP2854860B2 (en) Shape mounting method
JP2892360B2 (en) 3D cursor control device
JPH0616290B2 (en) Method for defining shape of three-dimensional connected body
JP3661224B2 (en) Scale graphic display controller
JPH04137108A (en) Robot offline teaching method
JPS61190668A (en) 3-d object drawing apparatus
JP3221513B2 (en) Graphic display method and apparatus
JP2696006B2 (en) Graphic processing apparatus and graphic processing method
US5444831A (en) Developed product shape deciding method for a computer-aided design system
JPH0488561A (en) Connection processing method and device for building frame configuration figures
JP2925092B2 (en) Grid setting method in image processing device
JPH0488560A (en) Angle correction processing method and device for drawing leader lines
JPH02143900A (en) Method for setting drawing output to x-y plotter
JP2582298B2 (en) Graphic information creation method in graphic processing device
JPH06202304A (en) Layout processor
JPH04247581A (en) How to arrange shapes in computer graphics
JPH07200854A (en) Graphic transformation device
JPH0158552B2 (en)
JPS63229568A (en) How to move the display screen
JPH0237414A (en) Three-dimensional coordinate input system
JPH04311281A (en) Method for processing plotting

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees