JPH09319783A - Hidden line processing method for parametric graphic - Google Patents

Hidden line processing method for parametric graphic

Info

Publication number
JPH09319783A
JPH09319783A JP8136254A JP13625496A JPH09319783A JP H09319783 A JPH09319783 A JP H09319783A JP 8136254 A JP8136254 A JP 8136254A JP 13625496 A JP13625496 A JP 13625496A JP H09319783 A JPH09319783 A JP H09319783A
Authority
JP
Japan
Prior art keywords
display
line
types
pattern
parametric
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
JP8136254A
Other languages
Japanese (ja)
Inventor
Hiroshi Ogasa
普 織笠
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP8136254A priority Critical patent/JPH09319783A/en
Publication of JPH09319783A publication Critical patent/JPH09319783A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the shape defining manhour in a line width processing mode where a thick line is changed to a medium or thin line, etc., by turning data made into the variable into an integrated variable in every shape that undergoes the collective hidden line processing for the parts, areas, etc. SOLUTION: When a designer selects a standard/broken line display pattern out of a display pattern menu, the hidden line processing is carried out to turn a head part A, a shaft part B and a screw part C into broken lines. When a head part/solid line display pattern is selected, the hidden line processing is carried out to display only the part A and not to display other parts B and C. In screw part/broken line display pattern, the hidden line processing is carried out to show the part A in a solid line and the parts B and C in broken lines respectively. Thus, the line type of a certain part can be changed for the hidden line processing of only the part just by selecting the no display, the broken line, etc., as the display form of the part. As a result, the change processing jobs can be omitted in such cases where plural entire graphics having the same shape and partly different line types are sequentially defined or a graphic once defined is partly deleted, etc.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、コンピュータ支
援設計(CAD)システムに用いて好適な、図形の各部
寸法を変数化したパラメトリック図形についての陰線処
理方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a hidden line processing method suitable for a computer aided design (CAD) system for parametric figures in which the dimensions of each figure are made variable.

【0002】[0002]

【従来の技術】従来のパラメトリック図形の処理方法と
しては、図6に示す如きものが知られており、この方法
では、図中右側に示すように一つの部品(この例ではボ
ルト)に対応したデータファイルを設ける一方で、図中
左側に示すようにその部品についてのパラメトリック化
する図形、すなわち各部寸法等を変数化する図形を作成
して、その図形の形状の各寸法変数とデータファイルの
各変数とを、図中中央に示すようにインターフェースプ
ログラムでリンクさせることにより、そのデータファイ
ルに保存された各変数に対応する寸法への形状変更を実
施している。
2. Description of the Related Art As a conventional parametric figure processing method, one shown in FIG. 6 is known, and in this method, one component (bolt in this example) is dealt with as shown on the right side of the figure. While providing a data file, create a figure to parametricize the part as shown on the left side of the figure, that is, a figure to make the dimensions of each part variable etc., and set each dimension variable of the shape of the figure and each of the data file. By linking variables with an interface program as shown in the center of the figure, the shape is changed to the dimensions corresponding to the variables stored in the data file.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、かかる
従来のパラメトリック図形の処理方法では、一つの形状
に対して複数のデータファイルを対応させることは可能
であったが、一つのデータファイルに対して複数の形状
や複数の線種を対応させることはできず、それゆえ、陰
線処理のために部分的に表示の有無や線種等を変えたい
場合には、図7にボルトについて三種類例示しているよ
うに、同一形状で部分的に線種が異なる図形の全体を逐
次定義したり、一旦定義した図形の一部の削除や線種の
破線化、細線化等の変更処理を行ったりする必要があっ
て、形状定義の工数が嵩むという問題があった。
However, in the conventional parametric figure processing method described above, although it is possible to make a plurality of data files correspond to one shape, a plurality of data files can be made to correspond to one data file. It is not possible to correspond the shape and multiple line types. Therefore, if you want to partially change the presence or absence of the display and the line type for hidden line processing, exemplify three types of bolts in Fig. 7. As shown in the above, it is necessary to successively define the entire figure with the same shape and partially different line types, or to delete part of the figure once defined and change the line type to broken lines or thin lines. Therefore, there is a problem that the number of man-hours for defining the shape increases.

【0004】ところで、形状データの定義フォーマット
は、例えばn/2本の3次元直線で描かれた図形の場
合、一般に以下の如くになる。
By the way, the definition format of shape data is generally as follows in the case of a figure drawn by n / 2 three-dimensional straight lines.

【数1】 x1 ,y1 ,z1 ,1 x2 ,y2 ,z2 ,0,線種, 線幅, 表示有無, その他 ・ ・ ・ xn-1,yn-1,zn-1,1 xn ,yn ,zn ,0,線種, 線幅, 表示有無, その他X 1 , y 1 , z 1 , 1 x 2 , y 2 , z 2 , 0, line type, line width, presence / absence of display, etc .... x n-1 , y n-1 , z n -1 , 1,1 x n , y n , z n , 0, line type, line width, display presence, other

【0005】ここで、x1 〜xn , y1 〜yn ,z1
n は直線の端点の座標値、1, 0はその端点が始点, 終
点の何れであるかをそれぞれ表しており、従来のパラメ
トリック図形の処理方法では、これらのデータのうちの
座標値を変数化することで寸法を変数化していたが、本
願発明者が検討した処では、その座標値の他、線種、線
幅、表示有無等も変数化することが可能である。
[0005] In this case, x 1 ~x n, y 1 ~y n, z 1 ~
z n is the coordinate value of the end point of the straight line, and 1, 0 indicates whether the end point is the start point or the end point, respectively. In the conventional parametric figure processing method, the coordinate value of these data is changed to a variable. Although the dimension was made variable by making it into a variable, it was possible to make the line type, the line width, the presence or absence of display, etc. variable in addition to the coordinate value in a place studied by the inventor of the present application.

【0006】本願発明は上述の点に鑑みて、変数化し得
るデータを、部品や部位等の一括して陰線処理する形状
毎に統一した変数とすることで、前述した従来技術の問
題点を解決することを目的とするものである。
In view of the above points, the present invention solves the above-mentioned problems of the prior art by making variable data into unified variables for each shape such as parts and parts to be hidden line processed collectively. The purpose is to do.

【0007】[0007]

【課題を解決するための手段】上記目的の達成のため、
この発明のパラメトリック図形の陰線処理方法は、CA
Dシステムにより、所定物を表すパラメトリック図形を
陰線処理するに際し、前記所定物を表すパラメトリック
図形を、一括して陰線処理する形状を表す部分図形単位
にて複数に分解し、前記部分図形毎に、少なくとも表示
有無および複数種類の線種を含む複数種類の表示形態を
定め、前記所定物を表すパラメトリック図形を前記CA
Dシステムにより表示する時に、前記部分図形毎の表示
形態を前記複数種類の表示形態中から選択し、それら選
択した表示形態での前記複数の部分図形を組み合わせて
表示することを特徴としている。
[Means for Solving the Problems] To achieve the above object,
The hidden line processing method for parametric figures according to the present invention is
When performing the hidden line processing on the parametric figure representing the predetermined object by the D system, the parametric figure representing the predetermined object is decomposed into a plurality of partial figure units representing the shape to be subjected to the hidden line processing collectively, and for each partial figure, A plurality of types of display forms including at least presence / absence of display and a plurality of types of line types are determined, and the parametric figure representing the predetermined object is defined by the CA.
When displaying by the D system, a display form for each of the partial graphics is selected from the plurality of types of display forms, and the plurality of partial graphics in the selected display form are combined and displayed.

【0008】上述したこの発明の陰線処理方法によれ
ば、所定物を表すパラメトリック図形を、一括して陰線
処理する形状を表す部分図形単位に複数に分解し、その
部分図形毎に少なくとも表示有無および複数種類の線種
を含む複数種類の表示形態を定めておいて、パラメトリ
ック図形の表示の時に、複数種類の表示形態中から選択
した表示形態での複数の部分図形を組み合わせて表示す
るので、ある部位のみの陰線処理のためにその部位の線
種を変えたい場合に、その部位の表示形態として表示な
しや破線等を選択するのみで済み、従って、同一形状で
部分的に線種が異なる図形の全体を逐次定義したり、一
旦定義した図形の一部削除や一部の線種の破線化等の変
更処理を行ったりする作業を不要にすることができ、そ
れゆえ形状定義の工数を削減することができる。
According to the hidden line processing method of the present invention described above, a parametric figure representing a predetermined object is decomposed into a plurality of partial figure units each representing a shape to be subjected to the hidden line processing in batch, and at least display presence / absence of each partial figure and Since a plurality of types of display forms including a plurality of types of lines are defined, and when displaying a parametric figure, a plurality of partial figures in a display form selected from the plurality of types of display forms are combined and displayed. When you want to change the line type of the part for hidden line processing only for the part, you only have to select no display or broken line etc. as the display mode of the part. Therefore, the figure with the same shape but partially different line type It is possible to eliminate the work of sequentially defining the whole of the shape, changing part of the shape once defined, and changing the part of the line type such as broken lines. It can be reduced.

【0009】なお、この発明の方法では、前記所定物を
表すパラメトリック図形を、一括して陰線処理する形状
を表す部分図形単位に複数に分解し、前記部分図形毎に
複数種類の表示形態を定める時に、設計者が、前記パラ
メトリック図形を前記部分図形単位に分解するととも
に、前記所定物に対応する複数種類の表示パターンを定
め、それらの表示パターンの各々につき、前記複数の部
分図形の各々についての表示形態を示すパターンフラグ
を定めて、それら部分図形、表示パターンおよびパター
ンフラグを前記CADシステムに登録しておき、前記所
定物を表すパラメトリック図形を前記CADシステムに
より表示する時に、先ず前記複数種類の表示パターンを
示すメニューから設計者が一つの表示パターンを選択
し、次いで前記CADシステムが、前記登録されたパタ
ーンフラグ中からその選択された表示パターンに対応す
る前記複数の部分図形の各々についてのパターンフラグ
を選択して発生させ、それらのパターンフラグを、各パ
ターンフラグとそれが示す表示形態とを対応させて保存
しているパターンフラグ解析ファイルを用いてそれぞれ
表示形態のデータに戻し、それらのデータに基づく表示
形態での前記複数の部分図形を組み合わせて表示するよ
うにしても良い。
In the method of the present invention, the parametric figure representing the predetermined object is divided into a plurality of partial figure units each representing a shape to be subjected to hidden line processing, and a plurality of types of display forms are determined for each partial figure. At the same time, the designer decomposes the parametric figure into the partial figure units, determines a plurality of types of display patterns corresponding to the predetermined object, and for each of these display patterns, When a pattern flag indicating a display form is determined, the partial figure, the display pattern and the pattern flag are registered in the CAD system, and when the parametric figure representing the predetermined object is displayed by the CAD system, first, the plurality of types of the plurality of types are displayed. The designer selects one display pattern from the menu showing the display pattern, and then the CAD The stem selects and generates a pattern flag for each of the plurality of partial graphics corresponding to the selected display pattern from the registered pattern flags, and these pattern flags are generated with each pattern flag. Using the pattern flag analysis file stored in association with the display forms shown, the display form data is returned to the respective display forms, and the plurality of partial figures in the display forms based on the data are combined and displayed. good.

【0010】このようにすれば、パラメトリック図形を
CADシステムにより表示する時に設計者が、複数種類
の表示パターンを示すメニューから一つの表示パターン
を選択するだけで、CADシステムにその表示パターン
に対応する陰線処理を行わせることができるので、形状
定義の工数をさらに削減することができる。
With this configuration, when the parametric figure is displayed by the CAD system, the designer can select one display pattern from a menu showing a plurality of types of display patterns, and the CAD system can correspond to the display pattern. Since the hidden line processing can be performed, the number of steps for defining the shape can be further reduced.

【0011】また、この発明の方法では、前記所定物を
表すパラメトリック図形の各部寸法の組み合わせについ
ての複数種類の寸法パターンを設計者が定めて前記CA
Dシステムに登録しておき、前記複数種類の表示パター
ンを示すメニューから設計者が一つの表示パターンを選
択する際に、併せて前記複数種類の寸法パターンを示す
メニューから設計者が一つの寸法パターンを選択し、前
記CADシステムが前記複数の部分図形を組み合わせて
表示する際に、その選択された寸法パターンに対応する
組み合わせの各部寸法で表示することとしても良い。
Further, in the method of the present invention, the designer defines a plurality of types of dimensional patterns for the combination of the respective dimensions of the parametric figure representing the predetermined object, and the CA is set.
When the designer selects one display pattern from the menu showing the plurality of types of display patterns, the designer also selects one size pattern from the menu showing the plurality of types of dimension patterns. When the CAD system selects and displays the plurality of partial graphics in combination, the respective dimensions of the combination of the combinations corresponding to the selected dimension pattern may be displayed.

【0012】このようにすれば、形状定義の工数と併せ
て寸法定義の工数も削減することができる。
By doing so, it is possible to reduce the man-hours for defining the dimensions as well as the man-hours for defining the shapes.

【0013】さらに、この発明の方法では、前記複数種
類の表示形態に、複数種類の線幅を含めることとしても
良い。
Further, in the method of the present invention, the plural types of display forms may include plural types of line widths.

【0014】このようにすれば、パラメトリック図形の
一部あるいは全部についての太線から中線や細線等への
線幅の変更処理を行う際の形状定義の工数も削減するこ
とができる。
By doing so, it is possible to reduce the man-hours for defining the shape when changing the line width of a part or all of the parametric figure from a thick line to a medium line or a thin line.

【0015】[0015]

【発明の実施の形態】以下に、この発明の実施の形態を
実施例によって、図面に基づき詳細に説明する。ここ
に、図1は、この発明のパラメトリック図形の陰線処理
方法の一実施例の実施手順を示すフローチャートであ
り、この実施例は、通常のCADシステムにおいてその
中央処理装置に実行させるプログラムの一部を改造する
ことにより実施するもので、ここでは先ずステップ1
で、所定物としてのボルトの形状を表す図形を、設計者
が上記CADシステムを用いて図2に示す如く定義す
る。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings. FIG. 1 is a flow chart showing an implementation procedure of an embodiment of a parametric figure hidden line processing method of the present invention. This embodiment is a part of a program executed by the central processing unit in a normal CAD system. It is carried out by modifying the
Then, the designer defines a figure representing the shape of the bolt as the predetermined object as shown in FIG. 2 using the CAD system.

【0016】このボルト図形の定義の内容をテキスト化
すると、以下の如くになる。
The contents of the definition of this bolt graphic are converted into text as follows.

【数2】 1.形状 x1 ,y1 ,z1 ,1 x2 ,y2 ,z2 ,0,線種, 線幅, 表示有無, その他 x9 ,y9 ,z9 ,1 x10 ,y10 ,z10 ,0,線種, 線幅, 表示有無, その他 ・ ・ ・ x9 ,y9 ,z9 ,1 x1 ,y1 ,z1 ,0,線種, 線幅, 表示有無, その他 2.寸法線 3.マークその他## EQU00002 ## 1. Shape x 1 , y 1 , z 1 , 1 x 2 , y 2 , z 2 , 0, line type, line width, presence / absence of display, and others x 9 , y 9 , z 9 , 1 x 10 , y 10 , z 10 , 0, line type, line width, display presence, other ・ ・ ・ x 9 , y 9 , z 9 , 1 x 1 , y 1 , z 1 , 0, line type, line width, display Existence, other 2. Dimension line 3. Mark other

【0017】次にここでは図1のステップ2で、その定
義した図形を図3に示すように、一括して陰線処理する
部品や部位等の部分図形単位で複数に、すなわちこの実
施例では頭部Aと軸部Bとネジ部Cとに分解する。この
分解は、例えばマスク等を用いて、各部分図形の範囲を
設計者がCADシステムに指示して行う。そして分解し
た各部分図形には、上述した頭部、軸部、ネジ部のよう
に、設計者が部位名称をつけてCADシステムに登録す
る。
Next, in step 2 of FIG. 1, the defined figure is divided into a plurality of sub-figure units such as parts and parts to be hidden line processed collectively, that is, the head in this embodiment, as shown in FIG. The part A, the shaft part B, and the screw part C are disassembled. This decomposition is performed by the designer instructing the range of each partial figure to the CAD system using, for example, a mask. Then, like the above-mentioned head, shaft, and screw, the designer assigns a part name to each decomposed partial figure and registers it in the CAD system.

【0018】これによりCADシステムは、先のテキス
ト化データ中の形状データを自動的に以下のように分解
して部分図形毎に整列させ再記述する。
As a result, the CAD system automatically decomposes the shape data in the previous text-converted data as follows and aligns and re-describes for each partial figure.

【数3】 1.形状 頭部 x1 ,y1 ,z1 ,1 x2 ,y2 ,z2 ,0, S1, T1, U1, その他 x2 ,y2 ,z2 ,1 x10 ,y10 ,z10 ,0, S1, T1, U1, その他 x9 ,y9 ,z9 ,1 x10 ,y10 ,z10 ,0, S1, T1, U1, その他 x9 ,y9 ,z9 ,1 x1 ,y1 ,z1 ,0, S1, T1, U1, その他 軸部 x3 ,y3 ,z3 ,1 x4 ,y4 ,z4 ,0, S2, T2, U2, その他 ・ ・ ・ ネジ部 x4 ,y4 ,z4 ,1 x5 ,y5 ,z5 ,0, S3, T3, U3, その他 ・ ・ ・Equation 3] 1. shape head x 1, y 1, z 1 , 1 x 2, y 2, z 2, 0, S1, T1, U1, other x 2, y 2, z 2 , 1 x 10, y 10, z 10, 0, S1, T1, U1, other x 9, y 9, z 9 , 1 x 10, y 10, z 10, 0, S1, T1, U1, other x 9, y 9, z 9 , 1 x 1 , y 1 , z 1 , 0, S1, T1, U1, other shafts x 3 , y 3 , z 3 , 1 x 4 , y 4 , z 4 , 0, S2, T2, U2, Others ・ ・ ・ Screw parts x 4 , y 4 , z 4 , 1 x 5 , y 5 , z 5 , 0, S3, T3, U3, etc.

【0019】ここで、S1、T1、U1は頭部Aを構成する複
数本の直線の線種、線幅、表示有無をそれぞれ統一して
示す変数、またS2、T2、U2は軸部Bを構成する複数本の
直線の線種、線幅、表示有無をそれぞれ統一して示す変
数、そしてS3、T3、U3はネジ部Cを構成する複数本の直
線の線種、線幅、表示有無をそれぞれ統一して示す変数
を表しており、このようにこの実施例では、線種、線幅
および非表示という表示形態を表す変数をそれぞれ部位
名称ひいては部分図形単位で統一し、部分図形単位での
表示形態の変更を容易にしている。
Here, S1, T1, and U1 are variables that uniformly indicate the line type, line width, and presence / absence of display of a plurality of straight lines forming the head A, and S2, T2, and U2 are axes B. Variables that uniformly indicate the line types, line widths, and presence / absence of the multiple straight lines that make up, and S3, T3, and U3 are the line types, line widths, and presence / absence of lines of the multiple straight lines that make up the screw part C. In this embodiment, variables that represent the display styles of line type, line width, and non-display are unified for each part name and, thus, for each partial figure. This makes it easy to change the display format.

【0020】次いでここでは図1のステップ3で、複数
の線種、複数の線幅および非表示の表示形態のそれぞれ
についてパターンフラグを定めて、図4に示すように、
それらの表示形態とパターンフラグとを対応させたパタ
ーンフラグ解析ファイルを上記CADシステム上に作成
する。
Then, in step 3 of FIG. 1, pattern flags are set for each of the plurality of line types, the plurality of line widths, and the non-display display form, and as shown in FIG.
A pattern flag analysis file that associates the display forms with the pattern flags is created on the CAD system.

【0021】さらにここでは図1のステップ4で、図5
に示すように、ボルトのタイプを複数種類列挙したボル
トメニューと、ボルトのサイズ(呼び径)を複数種類列
挙したサイズメニューと、ボルトの表示パターンを複数
種類列挙した表示パターンメニューとを上記CADシス
テム上で作成して、各メニューのそれぞれの種類の内容
を定め、それらを上記CADシステムに登録しておく。
ここで、サイズメニューに対しては、図6の右側に示す
ように各サイズに対応する各部寸法を登録し、また表示
パターンメニューに対しては、図5の右側に示すよう
に、各表示パターンに対応する各部位のパターンフラグ
を定めて登録しておく。
Further, here, in step 4 of FIG.
As described above, the CAD system includes a bolt menu listing a plurality of bolt types, a size menu listing a plurality of bolt sizes (nominal diameters), and a display pattern menu listing a plurality of bolt display patterns. Created above, the contents of each type of each menu are defined, and they are registered in the CAD system.
Here, for the size menu, each part size corresponding to each size is registered as shown on the right side of FIG. 6, and for the display pattern menu, each display pattern is shown as shown on the right side of FIG. The pattern flag of each part corresponding to is determined and registered.

【0022】すなわち例えば、標準・実線という表示パ
ターンに対するパターンフラグは、頭部A、軸部B、ネ
ジ部Cとも全て1(線種が実線)F(線幅が太線)と
し、また標準・破線という表示パターンに対するパター
ンフラグは、図示しないが、頭部A、軸部B、ネジ部C
とも全て−1(線種が破線)F(線幅が太線)とし、さ
らに頭部・実線という表示パターンに対するパターンフ
ラグは、図示しないが、頭部Aを1(線種が実線)F
(線幅が太線)とするとともに軸部Bおよびネジ部Cを
0(非表示)とし、そしてネジ部・破線という表示パタ
ーンに対するパターンフラグは、図示しないが、頭部A
を1(線種が実線)F(線幅が太線)とするとともに軸
部Bおよびネジ部Cを−1(線種が破線)F(線幅が太
線)として登録すれば良い。
That is, for example, the pattern flags for the standard / solid line display patterns are all 1 (line type is solid line) F (line width is thick line) for the head A, shaft part B, and screw part C, and standard / broken line. Although not shown, the pattern flag corresponding to the display pattern is head A, shaft B, screw C
All are set to -1 (line type is a broken line) F (line width is a thick line), and a pattern flag for a display pattern of head / solid line is not shown, but the head A is set to 1 (line type is a solid line) F.
(The line width is a thick line), the shaft portion B and the screw portion C are set to 0 (not shown), and the pattern flag for the display pattern of the screw portion / broken line is not shown, but the head A
Is 1 (line type is a solid line) F (line width is a thick line), and the shaft portion B and the screw portion C are -1 (line type is a broken line) F (line width is a thick line).

【0023】なお、この実施例では処理の単純化のため
サイズメニュー中の各サイズに対応する各部寸法を一種
類のみとしているが、各サイズ毎に、例えば軸部の長さ
を複数種類定めたりネジ部の長さを複数種類定めたりす
る等、複数種類の寸法を設定してそれらをメニュー上で
選択し得るようにしても良い。このようにすれば、形状
定義の工数と併せて寸法定義の工数も削減することがで
きる。
In this embodiment, for simplification of the processing, each size in the size menu corresponds to only one kind of part size, but for each size, for example, a plurality of types of shaft lengths may be set. It is also possible to set a plurality of types of dimensions such as determining a plurality of types of screw lengths so that they can be selected on the menu. By doing so, it is possible to reduce the man-hours for defining the dimensions as well as the man-hours for defining the shapes.

【0024】上記の作業を済ませた後、パラメトリック
図形としてのボルトの図形を上記CADシステムに表示
させる際には、ここでは図1のステップ5で、上記CA
Dシステムに上記各メニューを画面表示させておいて、
設計者が各メニューから内容を選択し、それら選択した
内容を、例えばマウスを用いてのピック操作等によって
CADシステムに指示する。
After the above work is completed, when displaying the bolt figure as a parametric figure on the CAD system, here, in step 5 of FIG. 1, the CA is displayed.
Display each of the above menus on the D system,
The designer selects contents from each menu and instructs the selected contents to the CAD system by, for example, a pick operation using a mouse.

【0025】このメニューからの選択指示によりここで
は図1のステップ6で、上記CADシステムが、各メニ
ューについて選択された内容に基づいて上記ボルトの図
形を画面表示し、その際、表示パターンメニューについ
て選択された内容に対応する線種、線幅および表示有無
を示すパターンフラグを上記表示パターンメニューの定
義に基づいて発生させ、それらのパターンフラグを上記
パターンフラグ解析ファイルを用いて線種等の表示形態
のデータに変換し、それらのデータに基づいて上記ボル
トの図形を、その選択された内容によっては陰線処理し
て表示する。
In response to the selection instruction from this menu, the CAD system displays the bolt graphic on the screen based on the contents selected for each menu in step 6 of FIG. 1, and at this time, for the display pattern menu. A pattern flag indicating the line type, line width, and presence / absence of display corresponding to the selected content is generated based on the definition of the above display pattern menu, and those pattern flags are displayed using the pattern flag analysis file. It is converted into form data, and the figure of the bolt is displayed with hidden line processing depending on the selected content based on the data.

【0026】すなわち上記CADシステムは、設計者が
表示パターンメニューで標準・破線という表示パターン
を選択した場合には、頭部と軸部とネジ部との全てを破
線化するという陰線処理を施し、また設計者が表示パタ
ーンメニューで頭部・実線という表示パターンを選択し
た場合には、ボルト頭部のみを表示して軸部およびネジ
部は非表示とするという陰線処理を施し、さらに設計者
が表示パターンメニューでネジ部・破線という表示パタ
ーンを選択した場合には、ボルト頭部を実線で表示する
とともに軸部およびネジ部を破線で表示するという陰線
処理を施す。
That is, in the CAD system, when the designer selects the standard / broken line display pattern from the display pattern menu, the head, the shaft and the screw part are all made into a broken line process, If the designer selects the head / solid line display pattern from the display pattern menu, the hidden line processing is performed so that only the bolt head is displayed and the shaft and screw are hidden. When the screw pattern / broken line display pattern is selected in the display pattern menu, a hidden line process is performed in which the bolt head is displayed as a solid line and the shaft portion and the screw portion are displayed as dashed lines.

【0027】従ってこの実施例の方法によれば、ある部
位のみの陰線処理のためにその部位の線種を変えたい場
合に、その部位の表示形態として表示なしや破線等を選
択するのみで済み、従って、同一形状で部分的に線種が
異なる図形の全体を逐次定義したり、一旦定義した図形
の一部削除や一部の線種の破線化等の変更処理を行った
りする作業を不要にすることができ、それゆえ形状定義
の工数を削減することができる。
Therefore, according to the method of this embodiment, when it is desired to change the line type of a part for hidden line processing of only a part, it suffices to select no display or a broken line as the display mode of the part. Therefore, it is not necessary to successively define the whole figure with the same shape but partially different line types, or to perform a modification process such as deleting a part of the figure once defined or making some line types dashed. Therefore, the number of man-hours for shape definition can be reduced.

【0028】しかもこの実施例の方法では、設計者が、
ボルトに対応する複数種類の表示パターンを定め、それ
らの表示パターンの各々につき、頭部と軸部とネジ部と
の部分図形の各々についての表示形態を示すパターンフ
ラグを定めて、それら部分図形、表示パターンおよびパ
ターンフラグをCADシステムに登録しておき、ボルト
を表すパラメトリック図形をCADシステムにより表示
する時に、それら複数種類の表示パターンを示すメニュ
ーから設計者が一つの表示パターンを選択することで、
CADシステムがその選択された表示パターンに対応す
る、頭部と軸部とネジ部との部分図形の各々についての
パターンフラグを選択的に発生させ、それらのパターン
フラグをパターンフラグ解析ファイルを用いてそれぞれ
表示形態のデータに戻し、それらのデータに基づく表示
形態での頭部と軸部とネジ部との部分図形を組み合わせ
て表示するので、ボルトの図形をCADシステムにより
表示する時に、設計者が、複数種類の表示パターンを示
すメニューから一つの表示パターンを選択するだけで、
CADシステムにその表示パターンに対応する陰線処理
を行わせることができ、それゆえ形状定義の工数をさら
に削減することができる。
Moreover, in the method of this embodiment, the designer
A plurality of types of display patterns corresponding to the bolts are defined, and for each of those display patterns, a pattern flag indicating the display form of each of the partial figures of the head, the shaft and the screw is defined, and the partial figures are The display pattern and the pattern flag are registered in the CAD system, and when the parametric figure representing the bolt is displayed by the CAD system, the designer selects one display pattern from the menu showing the plurality of types of display patterns.
The CAD system selectively generates pattern flags corresponding to the selected display pattern for each of the partial figures of the head, shaft, and screw, and uses the pattern flags analysis file to generate these pattern flags. It returns to the data of each display form, and the partial graphic of the head, the shaft, and the screw part in the display form based on the data is combined and displayed. Therefore, when the bolt graphic is displayed by the CAD system, the designer , By selecting one display pattern from the menu showing multiple types of display patterns,
The CAD system can be made to perform hidden line processing corresponding to the display pattern, and therefore the number of man-hours for shape definition can be further reduced.

【0029】さらにこの実施例の方法では、複数種類の
表示形態のなかに複数種類の線幅も含めているので、ボ
ルトの図形の一部あるいは全部についての太線から中線
や細線等への線幅の変更処理を行う際の形状定義の工数
も削減することができる。
Further, in the method of this embodiment, since a plurality of types of line widths are included in a plurality of types of display forms, a line from a thick line to a middle line, a thin line or the like for a part or all of the bolt graphic is displayed. It is also possible to reduce the man-hours for defining the shape when performing the width changing process.

【0030】以上、図示例に基づき説明したが、この発
明は上述の例に限定されるものでなく、例えば、上記の
例では所定物としてのボルトの複数の部位を部分図形と
して分割したが、複数の部品が組み合わされてなる装置
のそれら複数の部品を部分図形として分割しても良い。
Although the present invention has been described above based on the illustrated example, the present invention is not limited to the above example. For example, in the above example, a plurality of parts of bolts as predetermined objects are divided into partial figures, A plurality of parts of an apparatus formed by combining a plurality of parts may be divided as a partial graphic.

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

【図1】この発明のパラメトリック図形の陰線処理方法
の一実施例の実施手順を示すフローチャートである。
FIG. 1 is a flowchart showing an implementation procedure of an embodiment of a hidden line processing method for a parametric figure according to the present invention.

【図2】上記実施例におけるボルトの図形の定義方法を
示す説明図である。
FIG. 2 is an explanatory diagram showing a method of defining a bolt figure in the above embodiment.

【図3】上記実施例におけるボルトの図形の分割方法を
示す説明図である。
FIG. 3 is an explanatory diagram showing a method of dividing a bolt figure in the above embodiment.

【図4】上記実施例におけるパターンフラグ解析ファイ
ルの例を示す説明図である。
FIG. 4 is an explanatory diagram showing an example of a pattern flag analysis file in the above embodiment.

【図5】上記実施例における各種メニューの例を示す説
明図である。
FIG. 5 is an explanatory diagram showing an example of various menus in the above embodiment.

【図6】従来のパラメトリック図形の処理方法を示す説
明図である。
FIG. 6 is an explanatory diagram showing a conventional parametric figure processing method.

【図7】上記従来の処理方法における陰線処理方法を示
す説明図である。
FIG. 7 is an explanatory diagram showing a hidden line processing method in the conventional processing method.

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

A 頭部 B 軸部 C ネジ部 A head part B shaft part C screw part

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 CADシステムにより、所定物を表すパ
ラメトリック図形を陰線処理するに際し、 前記所定物を表すパラメトリック図形を、一括して陰線
処理する形状を表す部分図形単位にて複数に分解し、 前記部分図形毎に、少なくとも表示有無および複数種類
の線種を含む複数種類の表示形態を定め、 前記所定物を表すパラメトリック図形を前記CADシス
テムにより表示する時に、前記部分図形毎の表示形態を
前記複数種類の表示形態中から選択し、それら選択した
表示形態での前記複数の部分図形を組み合わせて表示す
ることを特徴とする、パラメトリック図形の陰線処理方
法。
1. When performing a hidden line processing on a parametric figure representing a predetermined object by a CAD system, the parametric figure representing the predetermined object is decomposed into a plurality of partial figure units each representing a shape to be hidden line processed collectively, For each partial figure, a plurality of types of display forms including at least the presence / absence of display and a plurality of types of line types are determined, and when the parametric figure representing the predetermined object is displayed by the CAD system, the plurality of display forms for each partial figure are displayed. A hidden line processing method for a parametric figure, characterized by selecting from a variety of display modes and displaying the plurality of partial graphics in the selected display mode in combination.
【請求項2】 前記所定物を表すパラメトリック図形
を、一括して陰線処理する形状を表す部分図形単位に複
数に分解し、前記部分図形毎に複数種類の表示形態を定
める時に、設計者が、前記パラメトリック図形を前記部
分図形単位に分解するとともに、前記所定物に対応する
複数種類の表示パターンを定め、それらの表示パターン
の各々につき、前記複数の部分図形の各々についての表
示形態を示すパターンフラグを定めて、それら部分図
形、表示パターンおよびパターンフラグを前記CADシ
ステムに登録しておき、 前記所定物を表すパラメトリック図形を前記CADシス
テムにより表示する時に、先ず前記複数種類の表示パタ
ーンを示すメニューから設計者が一つの表示パターンを
選択し、次いで前記CADシステムが、前記登録された
パターンフラグ中からその選択された表示パターンに対
応する、前記複数の部分図形の各々についてのパターン
フラグを選択して発生させ、それらのパターンフラグ
を、各パターンフラグとそれが示す表示形態とを対応さ
せて保存しているパターンフラグ解析ファイルを用いて
それぞれ表示形態のデータに戻し、それらのデータに基
づく表示形態での前記複数の部分図形を組み合わせて表
示することを特徴とする、請求項1記載のパラメトリッ
ク図形の陰線処理方法。
2. A parametric figure representing the predetermined object is decomposed into a plurality of partial figure units each representing a shape to be subjected to hidden line processing collectively, and when a plurality of types of display forms are defined for each of the partial figures, the designer: A pattern flag that decomposes the parametric figure into the partial figure units, determines a plurality of types of display patterns corresponding to the predetermined object, and indicates the display form of each of the plurality of partial figures for each of the display patterns. , The partial figure, the display pattern and the pattern flag are registered in the CAD system, and when a parametric figure representing the predetermined object is displayed by the CAD system, first, from the menu showing the plurality of types of display patterns. The designer selects one display pattern and then the CAD system is registered A pattern flag corresponding to the selected display pattern among the pattern flags is selected and generated for each of the plurality of partial graphics, and these pattern flags correspond to each pattern flag and the display form indicated by the pattern flag. 2. The pattern flag analysis file which is stored by being restored to each of the display form data, and the plurality of partial figures in the display form based on the data are displayed in combination. Method for Hidden Lines of Parametric Shapes of the.
【請求項3】 前記所定物を表すパラメトリック図形の
各部寸法の組み合わせについての複数種類の寸法パター
ンを設計者が定めて前記CADシステムに登録してお
き、 前記複数種類の表示パターンを示すメニューから設計者
が一つの表示パターンを選択する際に、併せて前記複数
種類の寸法パターンを示すメニューから設計者が一つの
寸法パターンを選択し、 前記CADシステムが前記複数の部分図形を組み合わせ
て表示する際に、その選択された寸法パターンに対応す
る組み合わせの各部寸法で表示することを特徴とする、
請求項2記載のパラメトリック図形の陰線処理方法。
3. A designer defines a plurality of types of dimension patterns for combinations of dimensions of respective parts of a parametric figure representing the predetermined object, registers them in the CAD system, and designs from a menu showing the plurality of types of display patterns. When the designer selects one display pattern, the designer also selects one size pattern from the menu indicating the plurality of types of size patterns, and the CAD system displays the plurality of partial figures in combination. In addition, it is characterized in that it is displayed with each part size of the combination corresponding to the selected size pattern,
The method for processing hidden lines of a parametric figure according to claim 2.
【請求項4】 前記複数種類の表示形態には複数種類の
線幅を含めることを特徴とする、請求項1から3までの
いずれか記載のパラメトリック図形の陰線処理方法。
4. The hidden line processing method for a parametric figure according to claim 1, wherein the plurality of types of display forms include a plurality of types of line widths.
JP8136254A 1996-05-30 1996-05-30 Hidden line processing method for parametric graphic Pending JPH09319783A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8136254A JPH09319783A (en) 1996-05-30 1996-05-30 Hidden line processing method for parametric graphic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8136254A JPH09319783A (en) 1996-05-30 1996-05-30 Hidden line processing method for parametric graphic

Publications (1)

Publication Number Publication Date
JPH09319783A true JPH09319783A (en) 1997-12-12

Family

ID=15170892

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8136254A Pending JPH09319783A (en) 1996-05-30 1996-05-30 Hidden line processing method for parametric graphic

Country Status (1)

Country Link
JP (1) JPH09319783A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006255528A (en) * 2005-03-15 2006-09-28 Toyota Motor Corp Part arrangement design apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006255528A (en) * 2005-03-15 2006-09-28 Toyota Motor Corp Part arrangement design apparatus
JP4513611B2 (en) * 2005-03-15 2010-07-28 トヨタ自動車株式会社 Parts placement design device

Similar Documents

Publication Publication Date Title
JPH10207523A (en) Automatic programming device and method therefor
JPH04312186A (en) System for generating graph
JP3038521B2 (en) Product drawing creation device
JPH09319783A (en) Hidden line processing method for parametric graphic
JPH07220115A (en) Three-dimensional cad system
JP3658027B2 (en) Graphic editing apparatus and graphic editing method
US20020051000A1 (en) Design support system facilitating process modification
US6243726B1 (en) Electronic calculating apparatus utilizing input and display of expressions in textbook and single line formats
JPH03149678A (en) Method for forming composite graphic
JPH03219305A (en) Multi-piece layout specification system
JPH07129630A (en) Method for drawing cad drawing for similar parts
JPH08166973A (en) Image data managing system
JP3696909B2 (en) Graphic processing method and apparatus
JP3153481B2 (en) Circuit diagram management system
JPH08221588A (en) Illustration preparing method
JPH08194831A (en) Method and device for processing picture
JPH07121735A (en) Method and device for processing graphic
JPH07182390A (en) Exclusively using method for general-purpose cad system
JPH10111957A (en) System and method for mesh generation and recording medium
JPH11195080A (en) Method for editing tabular form information editing body, its device and recording medium for storing method
JPH08320943A (en) Control device for scale graphic display
KR20200055212A (en) System and method based on lisp for editing map
JP2004362456A (en) Cad device
JPH1185830A (en) Method for generating two-dimensional cross sectional shape data from three-dimensional data
JPH039482A (en) Parametric graphic processor and its data input and control method