JPH01292577A - Generating system for intersecting point in cad system - Google Patents

Generating system for intersecting point in cad system

Info

Publication number
JPH01292577A
JPH01292577A JP63123184A JP12318488A JPH01292577A JP H01292577 A JPH01292577 A JP H01292577A JP 63123184 A JP63123184 A JP 63123184A JP 12318488 A JP12318488 A JP 12318488A JP H01292577 A JPH01292577 A JP H01292577A
Authority
JP
Japan
Prior art keywords
intersection
data
intersecting point
characteristic
coordinate data
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.)
Pending
Application number
JP63123184A
Other languages
Japanese (ja)
Inventor
Yasushi Uraki
靖司 浦木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63123184A priority Critical patent/JPH01292577A/en
Publication of JPH01292577A publication Critical patent/JPH01292577A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the production efficiency of the analysis data with an intersecting point generating means by selecting the coordinate data at a coordinate data selecting part, producing the characteristic formulas of each element at a characteristic formula production part, and generating en bloc the intersecting point coordinates at an intersecting point calculating part respectively. CONSTITUTION:When a command is given to a processor 10 from an input device 13 for generation of intersecting point, an intersecting point generating means 11 is actuated and an area designating part 110 holds a designated area. A coordinate data selecting part 111 takes the graphic data out of a graphic data file 14. These graphic data are selected by the part 110 and stored in a coordinate data store part 121. When all coordinate data are selected, a characteristic formula production part 112 is started and produces the characteristic formulas of each line, the circles, etc., from the data stored in the part 121 to store these formulas into a characteristic data store part 122. Then an intersecting point calculating part 113 is started to carry out the arithmetic for acquisition of intersecting points and stores the result of said arithmetic into an intersecting point data store part 123. These intersecting point data can be displayed on a display device 15.

Description

【発明の詳細な説明】 [概要] 機械設計用のCADシステムにおいて設計の構造の解析
等に利用するための線分の交点発生方式多数のラインや
サークル等を含む図形の一定領域内に発生する多数の交
点座標を一括して求めて表示できるCADシステムにお
ける交点発生方式を提供することを目的とし、 機械設計用の図形データを処理するCADシステムにお
ける交点発生方式において、入力装置からの領域を指定
した交点発生指令により起動する交点発生手段は、図形
データファイルから指定領域に含まれる図形要素の座標
データを座標データ選択部により選択し、該選択された
座標データに基づいて特性式作成部において要素毎の特
性式を作成し、交点算出部において前記複数の特性式を
組み合わせることにより要素間の交点座標の算出を、全
ての特性式の組み合わせについて行うことにより、一括
して交点座標を発生するよう構成する。
[Detailed Description of the Invention] [Summary] A method for generating intersections of line segments for use in analysis of design structures in CAD systems for mechanical design. The purpose of this project is to provide an intersection generation method in a CAD system that can obtain and display the coordinates of a large number of intersection points at once. The intersection generation means activated by the intersection generation command selects the coordinate data of the graphic element included in the specified area from the graphic data file by the coordinate data selection section, and then uses the characteristic expression creation section to generate the element based on the selected coordinate data. By creating characteristic expressions for each element, and by combining the plurality of characteristic expressions in the intersection calculation section, the intersection coordinates between elements are calculated for all combinations of characteristic expressions, thereby generating intersection coordinates at once. Configure.

[産業上の利用分野] 本発明は機械設計用のCADシステムにおいて設計の構
造の解析等に利用するための線分の交点発生方式に関す
る。
[Industrial Application Field] The present invention relates to a line segment intersection generation method for use in analyzing a design structure in a CAD system for mechanical design.

近年、CAD (コンピュータによる設計支援システム
)の技術が広く利用されるようになり、機械設計におい
ても、各種の処理に用いられつつある。その中で、機械
設計の解析(例えば強度解析)等において、複数のライ
ンや円等により形成される領域(エリア)について座標
を検出することが必要な場合があり、従来は交点毎に関
係するラインや円を指定して交点座標を求めていた。と
ころが、多数のラインや円を含む図形を対象にして一定
の領域内の交点を求めるには従来の方法では手間と時間
を要するのでその改善が望まれてい[従来の技術] 従来の機械設計用CADには、基本的機能として点(ポ
イント)の発生機能が備えられている。
In recent years, CAD (computer-aided design support system) technology has become widely used, and is also being used for various processes in mechanical design. Among them, in mechanical design analysis (for example, strength analysis), it is sometimes necessary to detect the coordinates of an area formed by multiple lines, circles, etc. I specified a line or circle and found the intersection coordinates. However, conventional methods require time and effort to find intersections within a certain area for figures that include many lines and circles, so improvements are desired [Conventional technology] Conventional mechanical design methods CAD has a point generation function as a basic function.

機械設計用CADシステムにより扱う図形には各種の要
素(直線、円等をいう)が含まれ、それらの要素の間の
交点を求めることが設計上、または機械的な性質を解析
する上で必要となる。
The figures handled by mechanical design CAD systems include various elements (straight lines, circles, etc.), and finding the intersections between these elements is necessary for design or for analyzing mechanical properties. becomes.

このような図形要素の交点データは、具体的には機械設
計において、構成部品の機械的な強度等を分析するため
に有限要素法を用いる場合に必要なデータである。その
有限要素法では、一定の大きさの物品にかかる負荷に対
する反応を、全体を微小領域(四角形、三角形等)に分
割して各微小領域の状態を集めることにより全体が受け
る影響を把握するものである。その場合に微小領域の各
座標値はラインの交点を求めて得られる。
Specifically, such intersection point data of graphical elements is necessary data when using the finite element method to analyze the mechanical strength of component parts in mechanical design. In the finite element method, the reaction to a load applied to an object of a certain size is divided into minute regions (squares, triangles, etc.) and the state of each minute region is collected to understand the effect on the whole. It is. In this case, each coordinate value of the minute area is obtained by finding the intersection of the lines.

これらの線または円は「要素」と称され、要素と要素の
交点を求める場合、従来の方式では、求めようとする2
つの要素を表す座標値(X軸5Y軸の座標値)を選択し
て入力することにより、2つの要素の交点を発生する。
These lines or circles are called "elements", and when finding the intersection of two elements, in the conventional method, the two
By selecting and inputting coordinate values representing two elements (coordinate values of X and Y axes), an intersection point between two elements is generated.

具体的に説明すると、第4図のイ、に示す図形例はライ
ン11とI!2および円Cにより構成され、CADシス
テムの表示装置に表示される。今ライン11と12の交
点を求めたい場合、ライン11とライン12を選択(ラ
イトペン等により)して交点を求める指示を与えると、
点Aの座標データを求めて表示する。同様にライン11
とサークル1を選択して指示すると交点Bが求められ表
示する。
To explain specifically, the example of the figure shown in FIG. 4 is line 11 and I! 2 and circle C, and is displayed on the display device of the CAD system. Now, if you want to find the intersection of lines 11 and 12, select lines 11 and 12 (using a light pen, etc.) and give the instruction to find the intersection.
Find and display the coordinate data of point A. Similarly line 11
When circle 1 is selected and specified, intersection B is found and displayed.

[発明が解決しようとする課題] 上記の従来技術によれば、交点に関係する2つの要素を
選択することにより交点の座標を求めるため、少ない数
の要素の場合は問題が少ないが、例えば、第4図の口、
に示すように多数のY軸方向(縦方向)のラインI11
〜1mとX軸方向(横方向)のラインL1〜Lnにより
発生する交点および所定のエリア内(第4図口、の円)
の交点を求める場合は、2つの要素を選択して交点を求
めるという単純動作を繰り返し行う必要があり、手間と
時間がかかるという問題があった。
[Problems to be Solved by the Invention] According to the above-mentioned prior art, the coordinates of the intersection point are determined by selecting two elements related to the intersection point, so there are few problems when the number of elements is small, but for example, Mouth in Figure 4,
A large number of lines I11 in the Y-axis direction (vertical direction) as shown in
~1m and the intersections generated by lines L1 to Ln in the X-axis direction (horizontal direction) and within the specified area (circle at the end of Figure 4)
When finding the intersection, it is necessary to repeat the simple operation of selecting two elements and finding the intersection, which is a problem in that it takes time and effort.

本発明は、多数のラインやサークル等を含む図形の一定
領域内に発生する多数の交点座標を一括して求めて表示
できるCADシステムにおける交点発生方式を提供する
ことを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide an intersection point generation method in a CAD system that can collectively determine and display the coordinates of a large number of intersection points occurring within a certain area of a figure including a large number of lines, circles, etc.

[課題を解決するための手段] 第1図に本発明の原理的構成図を示す。[Means to solve the problem] FIG. 1 shows a basic configuration diagram of the present invention.

第1図の10は処理装置、11は交点発生手段、12は
メモリ、13は入力装置、14は図形データファイル、
15は表示装置を表し、交点発生手段11は領域指定部
110、座標データ選択部111、特性式作成部112
および交点算出部113により構成される。
In FIG. 1, 10 is a processing device, 11 is an intersection generating means, 12 is a memory, 13 is an input device, 14 is a graphic data file,
Reference numeral 15 represents a display device, and the intersection generating means 11 includes an area specifying section 110, a coordinate data selecting section 111, and a characteristic expression creating section 112.
and an intersection calculation unit 113.

本発明は、指定された図形中の指定領域の要素のデータ
を選択して、その座標データに基づいて各直線や円等を
表す特性式を作成し、その特性式を組み合わせて解(交
点)を求める演算を、組み合わせを変えて順次行って、
全ての組み合わせについて演算を実行することにより全
部の交点が得られ、それを出力するものである。
The present invention selects element data of a specified area in a specified figure, creates characteristic expressions representing each straight line, circle, etc. based on the coordinate data, and then combines the characteristic expressions to find a solution (intersection point). Sequentially perform the calculations to find
By performing calculations on all combinations, all intersection points are obtained and output.

[作用] 第1図の入力装置13から交点を求める対象領域(図形
の範囲)の指定と共に交点発生の指令を入力すると、処
理装置10に与えると、処理装置10内の交点発生手段
11が起動する。交点発生手段11の領域指定部110
は入力された指定領域を保持する。座標データ選択部1
11は交点発生手段11の起動により動作し、図形デー
タファイル14から図形データを取り出し、領域指定部
110で指定する領域内の図形データ(座標データ)を
選択して、メモリ12の座標データ格納部121に格納
する。座標データが全て選択されると、特性式作成部1
12が起動し、メモリ12の座標データ格納部121の
データから各ラインや円等の特性式(方程式)を作成す
る。これにより、得られた各特性式はメモリ12内の特
性式データ格納部122に格納される。
[Operation] When a command to generate an intersection point is inputted from the input device 13 in FIG. 1 along with designation of a target region (range of figures) for which an intersection point is to be found, the intersection generation means 11 in the processing device 10 is activated. do. Area specifying unit 110 of intersection generating means 11
holds the input specified area. Coordinate data selection section 1
11 is activated by activation of the intersection generating means 11, extracts graphic data from the graphic data file 14, selects graphic data (coordinate data) within the area specified by the area specifying unit 110, and stores the data in the coordinate data storage unit of the memory 12. 121. When all the coordinate data is selected, characteristic equation creation section 1
12 is activated and creates characteristic expressions (equations) for each line, circle, etc. from the data in the coordinate data storage section 121 of the memory 12. As a result, each obtained characteristic expression is stored in the characteristic expression data storage section 122 in the memory 12.

次に交点算出部113が起動され、メモリ12内の前記
特性式データ格納部122から各ラインまたは円の特性
式を組み合わせて、交点を求める演算を実行して演算結
果をメモリ12内の交点データ格納部123に格納する
。このような演算を全ての特性式の組み合わせについて
実行して、終了すると対象とする領域の交点がメモリ1
2の交点データ格納部123に得られる。その交点デー
タは表示装置15に出力されて表示することが可能であ
り、必要に応じて利用できる。
Next, the intersection calculation unit 113 is activated, combines the characteristic equations of each line or circle from the characteristic equation data storage unit 122 in the memory 12, performs calculations to find intersections, and transfers the calculation results to the intersection data in the memory 12. It is stored in the storage unit 123. After performing such calculations for all combinations of characteristic expressions, the intersection of the target areas is located in memory 1.
2 is obtained in the intersection data storage unit 123. The intersection data can be output to the display device 15 and displayed, and can be used as needed.

[実施例] 第2図18+に本発明の実施例の処理フロー図を、第2
図(blに実施例のハードウェア構成図を示す。
[Example] Fig. 2 18+ shows a processing flow diagram of an example of the present invention.
Figure (bl) shows a hardware configuration diagram of the embodiment.

第2図(blにおいて、20は中央処理装置(CPUで
表示)、21はメモリ、22は磁気ディスク装置、23
は表示装置付キーボード、24はプリンタを表す。
FIG. 2 (in BL, 20 is a central processing unit (indicated by CPU), 21 is a memory, 22 is a magnetic disk device, 23 is
2 represents a keyboard with a display device, and 24 represents a printer.

第2図18+の処理は、表示装置付キーボード23から
交点発生の指令(コマンド)が領域の指示とともに入力
されるとスタートし、最初に磁気ディスク装置22の機
械設計ファイルから処理の対象となる図形データが取り
出されてメモリ21に格納され、指示された領域に含ま
れる要素の座標が抽出されて、メモリ21内の座標用エ
リアに格納される(第2図+81200)。次にその座
標用エリアに格納された各要素(直線や円)の座標点に
基づいて直線または円の方程式を求め、メモリ21の方
程式用のエリアに格納する処理を行う(同210)。全
部の要素についてそれぞれの方程式が求められたら次に
、各要素に対応する方程式を組み合わせてX、Yの座標
の解を求める計算を実行することにより交点座標を得、
結果をメモリ21の交点座標用エリアに格納する。全部
の方程式の組み合わせについて交点座標が求められると
(同230)、次に求められた交点座標値をメモリ21
から読み出して表示装置付キーボード23に出力して表
示することにより処理を終了する。
The process shown in FIG. 2 18+ starts when a command to generate an intersection is input from the keyboard 23 with a display device together with an area instruction. The data is taken out and stored in the memory 21, and the coordinates of the elements included in the designated area are extracted and stored in the coordinate area in the memory 21 (+81200 in FIG. 2). Next, an equation of a straight line or circle is obtained based on the coordinate points of each element (straight line or circle) stored in the coordinate area, and processing is performed to store it in the equation area of the memory 21 (step 210). Once each equation has been found for all elements, the intersection coordinates are obtained by combining the equations corresponding to each element and performing calculations to find the solution to the X and Y coordinates.
The results are stored in the area for intersection coordinates in the memory 21. When the intersection coordinates are determined for all combinations of equations (230), the determined intersection coordinate values are stored in the memory 21.
The process is completed by reading out the information from the file and outputting it to the keyboard with display device 23 for display.

交点発生の処理を具体例により示す図を第3図に示す。FIG. 3 is a diagram showing a concrete example of the process of generating an intersection point.

第3図の処理は第2図18+に示す内容に対応し、第2
図18+のステップ200により機械設計ファイルから
B、の表示画像に示すようなライン1〜4の4本のライ
ンが抽出されたものとする。抽出された4本のラインの
座標データ(この場合直線の始点と終点の座標)はA、
に示す内容であり、メモリに格納される。この座標デー
タについて、各ライン1〜4の方程式を作成すると、第
3図C0に示すような式となる(数学の原理による)。
The processing in Figure 3 corresponds to the content shown in Figure 2 18+, and
It is assumed that four lines, lines 1 to 4, as shown in the display image B, are extracted from the mechanical design file in step 200 of FIG. 18+. The coordinate data of the four extracted lines (in this case, the coordinates of the starting and ending points of the straight line) is A,
The contents are shown in and stored in memory. When equations for each line 1 to 4 are created using this coordinate data, the equation shown in FIG. 3 C0 is obtained (based on mathematical principles).

次にこれらのライン1〜4の間で交点を求めるための計
算を行うが、その中でライン1とライン3の交点を算出
する例を挙げると、ライン1とライン3を対象にして連
立−次方程式の解を求めると、交点の座標x、yは第3
図り、に示すような値となる。この計算をライン1と4
の間、ライン2とライン3の間、ライン2とライン4の
間で求める処理が順次行われると、第3図のE、に示す
ように4つの交点 Xa YA”Xn YDがメモリ2
1に求められる。その4つの交点を4つのラインの図形
と共に表示すると第3図F、のように交点を強調した表
示となり、その交点の座標データは必要によりメモリ2
1から取り出すことができる。
Next, calculations are performed to find the intersection between these lines 1 to 4. To give an example of calculating the intersection between lines 1 and 3, the simultaneous - When solving the following equation, the coordinates x and y of the intersection point are the third
The values are as shown in the diagram. Do this calculation on lines 1 and 4
, between line 2 and line 3, and between line 2 and line 4, four intersection points Xa YA"
1 is required. When the four intersection points are displayed together with the figures of the four lines, the intersection points are highlighted as shown in Figure 3F, and the coordinate data of the intersection points can be stored in the memory if necessary.
It can be taken out from 1.

[発明の効果コ 本発明によれば、CADシステムで作図された図形情報
の中で点情報を利用する解析データの作成処理を効率化
することができる。また、CADシステムにおいては、
交点等の点を一括して削除できる機能を持っているもの
があり、その機能を誤って使用した場合に要素データに
基づいて交点を復旧する場合に有効である。
[Effects of the Invention] According to the present invention, it is possible to streamline the process of creating analysis data using point information in graphic information drawn with a CAD system. In addition, in the CAD system,
Some tools have a function that allows you to delete points such as intersections all at once, which is effective when restoring intersections based on element data if you use this function incorrectly.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の原理的構成図、第2図t8+は実施例
の処理フロー図、第2図(b)は実施例のハードウェア
構成図、第3図は交点発生の処理フローを具体例1:よ
り示す図、第4図は従来例の交点発生方式の説明図であ
る。 第1図中 10:処理装置 11:交点発生手段 12:メモリ 13:入力装置 14:図形データファイル 15:表示装置 110:領域指定部 111:座標データ選択部 112=特性式作成部 113:交点算出部
Fig. 1 is a diagram showing the basic configuration of the present invention, Fig. 2 t8+ is a processing flow diagram of the embodiment, Fig. 2(b) is a hardware configuration diagram of the embodiment, and Fig. 3 is a detailed processing flow of intersection generation. Example 1: FIG. 4 is an explanatory diagram of a conventional intersection generation method. 10 in FIG. 1: Processing device 11: Intersection generating means 12: Memory 13: Input device 14: Graphic data file 15: Display device 110: Area specification section 111: Coordinate data selection section 112 = Characteristic expression creation section 113: Intersection calculation Department

Claims (1)

【特許請求の範囲】  機械設計用の図形データを処理するCADシステムに
おける交点発生方式において、 入力装置からの領域を指定した交点発生指令により起動
する交点発生手段(11)は、 図形データファイル(14)から指定領域に含まれる図
形要素の座標データを座標データ選択部(111)によ
り選択し、 該選択された座標データに基づいて特性式作成部(11
2)において要素毎の特性式を作成し、交点算出部(1
13)において前記複数の特性式を組み合わせることに
より要素間の交点座標の算出を、全ての特性式の組み合
わせについて行うことにより、一括して交点座標を発生
することを特徴とするCADシステムにおける交点発生
方式。
[Claims] In an intersection generation method in a CAD system that processes graphic data for mechanical design, an intersection generation means (11) activated by an intersection generation command specifying an area from an input device is configured to generate a graphic data file (14). ), the coordinate data of the graphic element included in the specified area is selected by the coordinate data selection unit (111), and based on the selected coordinate data, the characteristic expression creation unit (11
In 2), a characteristic equation for each element is created, and the intersection calculation section (1
In 13), the intersection coordinates between elements are calculated by combining the plurality of characteristic expressions, and the intersection coordinates are generated at once by calculating the intersection coordinates for all combinations of characteristic expressions. method.
JP63123184A 1988-05-20 1988-05-20 Generating system for intersecting point in cad system Pending JPH01292577A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63123184A JPH01292577A (en) 1988-05-20 1988-05-20 Generating system for intersecting point in cad system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63123184A JPH01292577A (en) 1988-05-20 1988-05-20 Generating system for intersecting point in cad system

Publications (1)

Publication Number Publication Date
JPH01292577A true JPH01292577A (en) 1989-11-24

Family

ID=14854269

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63123184A Pending JPH01292577A (en) 1988-05-20 1988-05-20 Generating system for intersecting point in cad system

Country Status (1)

Country Link
JP (1) JPH01292577A (en)

Similar Documents

Publication Publication Date Title
US5617520A (en) Three-dimensional pattern editing apparatus having moving distance calculator and/or a dragging pattern holding unit
JPH01292577A (en) Generating system for intersecting point in cad system
JP3337608B2 (en) Analysis simulation device
JPH07200843A (en) Method and device for forming visualized data
JPH02197965A (en) Method for displaying three-dimensional analysis data as pattern
JP3559913B2 (en) Three-dimensional shape model deformation method and apparatus
Haber et al. A generalized graphic preprocessor for two-dimensional finite element analysis
JPS60163162A (en) Definition method of shape of three-dimensional connecting body
JP2575803B2 (en) Three-dimensional object interference check method and apparatus
JP3353212B2 (en) Leader automatic creation method and leader automatic creation system
JP2662540B2 (en) 3D distance measuring device
JP2777628B2 (en) Graphic processing method and apparatus
JPS61286976A (en) Design data input system
JP2993288B2 (en) Machining program creation device
JPH06259507A (en) Graphic dividing device
JP2000222605A (en) Finite element generating device and finite element generating method
JPH0749965A (en) Shape production supporting method and device therefor
JPS60201473A (en) Trihedral drawing input device
JPH0262677A (en) Producing device for curved surface mesh
JPH0447463A (en) Numerical data editing method and information processor
Hulbert et al. Structural Analysis via Generalized Interactive Graphics-STAGING. Volume I.
PYKHTEEV et al. Visualization of level sets and singular surfaces in differential games
Berger et al. Graphical representation of models and results in the finite element system COSAR
JPH0687252B2 (en) Three-dimensional figure data calculation method
JPS63163676A (en) Inputting device for linear coordinate