TWI468960B - System and method for dynamically drawing a part - Google Patents

System and method for dynamically drawing a part Download PDF

Info

Publication number
TWI468960B
TWI468960B TW97114176A TW97114176A TWI468960B TW I468960 B TWI468960 B TW I468960B TW 97114176 A TW97114176 A TW 97114176A TW 97114176 A TW97114176 A TW 97114176A TW I468960 B TWI468960 B TW I468960B
Authority
TW
Taiwan
Prior art keywords
information
graphic
module
graphic information
database
Prior art date
Application number
TW97114176A
Other languages
Chinese (zh)
Other versions
TW200945080A (en
Inventor
Yu-Quan Xie
Original Assignee
Hon Hai Prec Ind 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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW97114176A priority Critical patent/TWI468960B/en
Publication of TW200945080A publication Critical patent/TW200945080A/en
Application granted granted Critical
Publication of TWI468960B publication Critical patent/TWI468960B/en

Links

Landscapes

  • Processing Or Creating Images (AREA)

Description

零件動態生成系統及方法Part dynamic generation system and method

本發明涉及一種零件動態生成系統及方法。The invention relates to a part dynamic generation system and method.

在衝壓模具領域中,模具的種類非常多,主要分為厚才和薄才。其中,每種材料的模具又分為一般連續模、大型連續模、沖孔模、複合模、折彎模和用戶自定義模等種類,每一種模具在不同的設計要求中又有很多不同的形態劃分,由此便導致了模具行業中產生了數以千計的五金零件。In the field of stamping dies, there are many types of molds, which are mainly divided into thick and thin. Among them, the mold of each material is divided into general continuous mold, large continuous mold, punching mold, composite mold, bending mold and user-defined mold, etc. Each mold has many different in different design requirements. The morphological division has led to the creation of thousands of hardware parts in the mold industry.

對於模具軟體發展人員來說,數量如此巨大的模具零件意味著他們需要開發數以千計的程式類,並且要雇傭大量的程式設計人員來維護這些程式類。如果模具的形態發生了變化,程式設計人員必須再開發一批能夠滿足新模具形態要求的程式來滿足需要。對於模具設計人員來說,每次模具形態發生變化之後他們要學習程式開發人員新開發出來的功能,為此,模具設計人員不但要記憶大量的程式功能,還要不斷接受新的功能。如此繁瑣的工作,使模具開發程式人員和程式設計人員的工作量都大大增加,同時也容易出現錯誤。For mold software developers, the sheer number of mold parts means they need to develop thousands of programs and employ a large number of programmers to maintain them. If the shape of the mold changes, the programmer must develop a program that meets the requirements of the new mold form to meet the needs. For the mold designer, each time the mold shape changes, they need to learn the newly developed functions of the program developers. To this end, the mold designer not only has to memorize a large number of program functions, but also constantly accept new functions. Such tedious work has greatly increased the workload of mold developers and programmers, and is also prone to errors.

鑒於以上內容,有必要提供一種零件動態生成系統,能夠將當前零件的必要資訊及圖形資訊的關聯關係儲存至零件資料庫中,以供設計人員在需要時直接調用該零件資 料庫中的資訊,並根據所調用的資訊動態繪製零件。In view of the above, it is necessary to provide a part dynamic generation system, which can store the necessary information of the current part and the relationship of the graphic information into the parts database, so that the designer can directly call the part when needed. Information in the library and dynamically drawing parts based on the information being called.

鑒於以上內容,有必要提供一種零件動態生成方法,能夠將當前零件的必要資訊及圖形資訊的關聯關係儲存至零件資料庫中,以供設計人員在需要時直接調用該零件資料庫中的資訊,並根據所調用的資訊動態繪製零件。In view of the above, it is necessary to provide a method for dynamically generating parts, which can store the necessary information of the current parts and the relationship of the graphic information into the parts database, so that the designer can directly call the information in the part database when needed. The part is dynamically drawn based on the information that is called.

一種零件動態生成系統,包括電腦主機及與該電腦主機相連的零件資料庫,該電腦主機包括:選取模組,用於在零件圖檔中選取各個零件所包括的圖形;獲取模組,用於對所選取的圖形進行分析,獲取每一個零件對應的圖形資訊;刪除模組,用於當所獲取的每一個零件的圖形資訊不全部為該零件的必要圖形資訊時,刪除該零件多餘的圖形資訊;關聯模組,用於在每一個零件的必要圖形資訊之間建立關聯關係;保存模組,用於將每一個零件建立關聯關係後的圖形資訊保存至該零件資料庫中;讀取模組,用於讀取需繪製零件在該零件資料庫中的有關聯關係的圖形資訊;生成模組,用於根據讀取的有關聯關係的圖形資訊生成需繪製零件的原始零件資訊;設置模組,用於將所生成的原始零件資訊設置為所需繪製零件的實際零件資訊;及繪製模組,用於根據所述設置的實際零件資訊繪製零件。A component dynamic generation system includes a computer host and a parts database connected to the computer host, the computer host includes: a selection module for selecting a graphic included in each part in the part drawing file; acquiring a module for The selected graphic is analyzed to obtain graphic information corresponding to each part; and the deleting module is used to delete the redundant graphic of the part when the obtained graphic information of each part is not all necessary graphic information of the part. Information; an association module for establishing an association relationship between necessary graphic information of each part; a saving module for saving graphic information of each part to be associated with the part database; reading the module a group for reading graphical information of an associated relationship of the part to be drawn in the part database; generating a module for generating original part information of the part to be drawn according to the read graphical information of the associated relationship; setting the mode a group for setting the generated original part information to the actual part information of the part to be drawn; and drawing a module for The actual information part of said set of drawing part.

一種零件動態生成方法,該方法包括如下步驟:在零件圖檔中選取各個零件所包括的圖形;對所選取的圖形進行分析,獲取每一個零件對應的圖形資訊;當所獲取的每一個零件的圖形資訊全部為該零件的必要圖形資訊時,直接轉入下一步驟,否則,當所獲取的每一個零件的圖形資 訊不全部為該零件的必要圖形資訊時,刪除該零件多餘的圖形資訊;將每一個零件的圖形資訊之間建立關聯關係;在每一個零件建立關聯關係後的圖形資訊保存至零件資料庫中;讀取需繪製零件在該零件資料庫中的有關聯關係的圖形資訊;根據讀取的有關聯關係的圖形資訊生成需繪製零件的原始零件資訊;將所生成的原始零件資訊設置為所需繪製零件的實際零件資訊;及根據所述設置的實際零件資訊繪製零件。A method for dynamically generating a part, the method comprising the steps of: selecting a graphic included in each part in a part drawing file; analyzing the selected graphic to obtain graphic information corresponding to each part; when acquiring each part When the graphic information is all the necessary graphic information of the part, go directly to the next step, otherwise, when the acquired part of the graphic information When not all the necessary graphic information of the part is deleted, the redundant graphic information of the part is deleted; the graphic information of each part is associated with each other; and the graphic information after the relationship is established in each part is saved to the parts database. Reading the graphical information of the associated relationship of the part to be drawn in the part database; generating the original part information of the part to be drawn according to the read graphical information of the associated relationship; setting the generated original part information to the required Draw the actual part information of the part; and draw the part based on the actual part information set.

相較於習知技術,本發明所提供的零件動態生成系統及方法,能夠將當前零件的必要資訊及圖形資訊的關聯關係儲存至零件資料庫中,以供設計人員在需要時直接調用該零件資料庫中的資訊,並根據所調用的資訊動態繪製零件,提高了相關工作人員的工作效率。Compared with the prior art, the part dynamic generation system and method provided by the present invention can store the necessary information of the current part and the relationship of the graphic information into the parts database, so that the designer can directly call the part when needed. The information in the database and the dynamic drawing of parts based on the information called, improve the efficiency of the relevant staff.

如圖1所示,係本發明零件動態生成系統較佳實施例的系統架構圖。該系統主要包括電腦主機1、零件資料庫2、顯示器3、鍵盤4及滑鼠5。該電腦主機1用於將一零件所包括圖形的資訊及圖形資訊的關聯關係保存至零件資料庫2中以備下次直接調用。當該零件發生變更時,該電腦主機1用於直接從零件資料庫2中調用該零件的圖形資訊及圖形資訊的關聯關係,以動態的繪製該零件變更後零件。該零件資料庫2與該電腦主機1相連,用於存儲零件的圖形資訊及圖形資訊的關聯關係。所述顯示器3、鍵盤4及滑鼠5分別與電腦主機1相連,用於在零件動態生成過程中相關資訊的 輸出和輸入。As shown in FIG. 1, it is a system architecture diagram of a preferred embodiment of the component dynamic generation system of the present invention. The system mainly includes a computer host 1, a parts database 2, a display 3, a keyboard 4, and a mouse 5. The computer host 1 is configured to save the relationship between the information of the graphic included in a part and the graphic information to the part database 2 for the next direct call. When the part is changed, the host computer 1 is used to directly call the relationship between the graphic information and the graphic information of the part from the part database 2 to dynamically draw the changed part of the part. The part database 2 is connected to the computer host 1 for storing the relationship between the graphic information of the parts and the graphic information. The display 3, the keyboard 4 and the mouse 5 are respectively connected to the computer host 1 for relevant information during the dynamic generation of the parts. Output and input.

如圖2所示,係圖1中電腦主機1的功能模組圖。所述電腦主機1包括選取模組10、獲取模組12、判斷模組14、刪除模組16、關聯模組18、保存模組20、讀取模組22、生成模組24、設置模組26及繪製模組28。As shown in FIG. 2, it is a functional module diagram of the computer host 1 in FIG. The computer host 1 includes a selection module 10, an acquisition module 12, a determination module 14, a deletion module 16, an association module 18, a storage module 20, a reading module 22, a generation module 24, and a setting module. 26 and drawing module 28.

所述選取模組10用於在零件圖檔中選取各個零件所包括的圖形。所述選取的圖形均為封閉圖形。The selection module 10 is configured to select a graphic included in each part in the part image file. The selected graphics are all closed graphics.

所述獲取模組12用於對所選取的圖形進行分析,獲取選取的每一個零件的圖形的資訊。所述圖形的資訊包括組成該圖形的線段、圓及/或圓弧的資訊。其中,線段的資訊包括,但不限於,起始點座標、結束點座標及顏色;圓的資訊包括,但不限於,半徑、中心座標及顏色;圓弧的資訊包括,但不限於,半徑、中心座標及顏色。所述獲取的各個零件的圖形的線段、圓及/或圓弧的資訊可顯示於所對應的資訊對話方塊中。The obtaining module 12 is configured to analyze the selected graphic to obtain information of a graphic of each selected part. The information of the graphic includes information of line segments, circles, and/or arcs that make up the graphic. The information of the line segment includes, but is not limited to, a starting point coordinate, an ending point coordinate, and a color; the information of the circle includes, but is not limited to, a radius, a center coordinate, and a color; the information of the arc includes, but is not limited to, a radius, Center coordinates and color. The information of the line segments, circles and/or arcs of the acquired graphics of the various parts may be displayed in the corresponding information dialog box.

所述判斷模組14用於判斷所獲取的各個零件的圖形資訊是否全部為該零件的圖形資訊。例如:若所需繪製的零件為一個螺絲,則該螺絲在主視圖中的圖形必要資訊包括一個由多條線段組成的封閉圖形和一個圓。若資訊對話方塊中的資訊包括除了所述一個由多條線段組成的封閉圖形和一個圓以外,還包括其他的圖形資訊,則判斷模組14判斷該資訊對話方塊中的圖形資訊不全部為需繪製零件的圖形資訊;若資訊對話方塊的資訊只包括所述一個由多條線段組成的封閉圖形和一個圓,則判斷模組14判斷該資訊對 話方塊中的圖形全部為需繪製零件的圖形資訊。The determining module 14 is configured to determine whether the acquired graphic information of each part is all the graphic information of the part. For example, if the part to be drawn is a screw, the necessary information for the graphic in the main view includes a closed figure consisting of multiple line segments and a circle. If the information in the information dialog box includes other graphic information in addition to the closed figure and a circle composed of a plurality of line segments, the determining module 14 determines that the graphic information in the information dialog box is not all needed. Drawing graphic information of the part; if the information of the information dialog box only includes the closed figure and a circle composed of a plurality of line segments, the determining module 14 determines the information pair The graphics in the block are all graphical information about the part to be drawn.

所述刪除模組16用於當所獲取的零件的圖形資訊不全部為該零件的圖形資訊時,刪除該零件多餘的圖形資訊。The deleting module 16 is configured to delete redundant graphic information of the part when the graphic information of the acquired part is not all the graphic information of the part.

所述關聯模組18用於在各個零件所包括的圖形資訊建立關聯關係。例如:若有一螺絲零件的資訊對話方塊中的資訊包括一個由多條線段組成的封閉圖形和一個圓,該由多條線段組成的封閉圖形的序號為1,該圓的序號為2,則將該圓的序號2寫在該由多條線段組成的封閉圖形的關聯屬性欄位上。The association module 18 is configured to establish an association relationship between graphic information included in each part. For example, if the information in the information dialog box of a screw part includes a closed figure composed of a plurality of line segments and a circle, the closed figure composed of the plurality of line segments has a serial number of 1, and the serial number of the circle is 2, The sequence number 2 of the circle is written on the associated attribute field of the closed graphic composed of a plurality of line segments.

所述保存模組20用於將各個零件建立關聯關係後的圖形資訊保存至零件資料庫2中。例如:在衝壓模具領域中,模具的種類非常多,如果某一類模具零件的形態發生了變化,模具設人員根據該模具零件在零件資料庫2中所保存的名字,可以直接從零件資料庫2中調用該零件的原始圖形資訊,再根據變化後的參數對原始圖形資訊進行修改。The save module 20 is configured to save the graphic information after the association of each part to the part database 2 . For example, in the field of stamping dies, there are many types of molds. If the shape of a certain type of mold parts changes, the mold set personnel can directly save the name from the parts database according to the name of the mold parts stored in the parts database 2. The original graphic information of the part is called, and the original graphic information is modified according to the changed parameters.

所述讀取模組22用於讀取需繪製零件在零件資料庫2中的有關聯關係的圖形資訊。The reading module 22 is configured to read the graphical information of the associated relationship of the parts to be drawn in the part database 2.

所述生成模組24用於根據所述讀取的有關聯關係的圖形資訊生成需繪製零件的原始零件資訊。例如:若需繪製的零件為螺絲,則該需繪製零件的原始零件資訊包括,但不限於,螺絲螺紋的長度、螺絲頭的規格及孔的類型。The generating module 24 is configured to generate original part information of the part to be drawn according to the read graphical information of the associated relationship. For example, if the part to be drawn is a screw, the original part information of the part to be drawn includes, but is not limited to, the length of the screw thread, the size of the screw head, and the type of the hole.

所述設置模組26用於將所生成的原始零件資訊設置為所需繪製零件的實際零件資訊。The setting module 26 is configured to set the generated original part information to the actual part information of the required drawing part.

所述繪製模組28用於根據所述設置的實際零件資訊繪 製零件。The drawing module 28 is configured to draw according to the actual part information of the setting Parts.

如圖3所示,係本發明零件動態生成方法較佳實施例的流程圖。首先,步驟S10,選取模組10在零件圖檔中選取各個零件所包括的圖形。As shown in FIG. 3, it is a flow chart of a preferred embodiment of the method for dynamically generating a part of the present invention. First, in step S10, the selection module 10 selects the graphics included in each part in the part drawing file.

步驟S12,獲取模組12對所選取的圖形進行分析,獲取選取的每一個零件的圖形的資訊。所述圖形的資訊包括組成該圖形的線段、圓及/或圓弧的資訊。其中,線段的資訊包括,但不限於,起始點座標、結束點座標及顏色;圓的資訊包括,但不限於,半徑、中心座標及顏色;圓弧的資訊包括,但不限於,半徑、中心座標及顏色。所述獲取的各個零件的圖形的線段、圓及/或圓弧的資訊可顯示於所對應的資訊對話方塊中。In step S12, the acquisition module 12 analyzes the selected graphics to obtain information about the graphics of each of the selected components. The information of the graphic includes information of line segments, circles, and/or arcs that make up the graphic. The information of the line segment includes, but is not limited to, a starting point coordinate, an ending point coordinate, and a color; the information of the circle includes, but is not limited to, a radius, a center coordinate, and a color; the information of the arc includes, but is not limited to, a radius, Center coordinates and color. The information of the line segments, circles and/or arcs of the acquired graphics of the various parts may be displayed in the corresponding information dialog box.

步驟S14,判斷模組14判斷所獲取的各個零件的圖形資訊是否全部為該零件的圖形資訊。例如:若所需繪製的零件為一個螺絲,則該螺絲在主視圖中的圖形必要資訊包括一個由多條線段組成的封閉圖形和一個圓。若資訊對話方塊中的資訊包括除了所述一個由多條線段組成的封閉圖形和一個圓以外,還包括其他的圖形資訊,則判斷模組14判斷該資訊對話方塊中的圖形資訊不全部為需繪製零件的圖形資訊;若資訊對話方塊的資訊只包括所述一個由多條線段組成的封閉圖形和一個圓,則判斷模組14判斷該資訊對話方塊中的圖形全部為需繪製零件的圖形資訊。In step S14, the determining module 14 determines whether the acquired graphic information of each part is all the graphic information of the part. For example, if the part to be drawn is a screw, the necessary information for the graphic in the main view includes a closed figure consisting of multiple line segments and a circle. If the information in the information dialog box includes other graphic information in addition to the closed figure and a circle composed of a plurality of line segments, the determining module 14 determines that the graphic information in the information dialog box is not all needed. Drawing the graphic information of the part; if the information of the information dialog box only includes the closed figure and a circle composed of a plurality of line segments, the determining module 14 determines that the graphic in the information dialog box is all the graphic information of the part to be drawn. .

步驟S16,當所獲取的零件的圖形資訊不全部為該零件的圖形資訊時,刪除模組16刪除該該零件多餘的圖形資 訊。Step S16, when the graphic information of the acquired part is not all the graphic information of the part, the deleting module 16 deletes the excess graphic material of the part. News.

步驟S18,關聯模組18在各個零件所包括的圖形資訊建立關聯關係。例如:若有一螺絲零件的資訊對話方塊中的資訊包括一個由多條線段組成的封閉圖形和一個圓,該由多條線段組成的封閉圖形的序號為1,該圓的序號為2,則將該圓的序號2寫在該由多條線段組成的封閉圖形的關聯屬性欄位上。In step S18, the association module 18 establishes an association relationship between the graphic information included in each part. For example, if the information in the information dialog box of a screw part includes a closed figure composed of a plurality of line segments and a circle, the closed figure composed of the plurality of line segments has a serial number of 1, and the serial number of the circle is 2, The sequence number 2 of the circle is written on the associated attribute field of the closed graphic composed of a plurality of line segments.

步驟S20,保存模組20將各個零件建立關聯關係後的圖形資訊保存至零件資料庫2中。例如:在衝壓模具領域中,模具的種類非常多,如果某一類模具零件的形態發生了變化,模具設計人員根據該模具零件在零件資料庫2中所保存的名字,可以直接從零件資料庫2中調用該零件的原始圖形資訊,再根據變化後的參數對原始圖形資訊進行修改。In step S20, the saving module 20 saves the graphic information after the association of each part to the part database 2. For example, in the field of stamping dies, there are many types of molds. If the shape of a certain type of mold parts changes, the mold designer can directly save the name from the part database according to the name of the mold part. The original graphic information of the part is called, and the original graphic information is modified according to the changed parameters.

步驟S22,讀取模組22讀取需繪製零件在零件資料庫2中的圖形資訊及關聯關係。In step S22, the reading module 22 reads the graphic information and the associated relationship of the parts to be drawn in the part database 2.

步驟S24,生成模組24根據所述讀取的有關聯關係的圖形資訊生成需繪製零件的原始零件資訊。例如:若需繪製的零件為螺絲,則該需繪製零件的原始零件資訊包括,但不限於,螺絲螺紋的長度、螺絲頭的規格及孔的類型。In step S24, the generating module 24 generates the original part information of the part to be drawn according to the read graphical information of the associated relationship. For example, if the part to be drawn is a screw, the original part information of the part to be drawn includes, but is not limited to, the length of the screw thread, the size of the screw head, and the type of the hole.

步驟S26,設置模組26將所生成的原始零件資訊設置為所需繪製零件的實際零件資訊。In step S26, the setting module 26 sets the generated original part information to the actual part information of the required drawing part.

步驟S28,繪製模組28根據所述設置的實際零件資訊繪製零件。In step S28, the drawing module 28 draws the part according to the set actual part information.

電腦主機‧‧‧1Computer host ‧‧1

選取模組‧‧‧10Select module ‧‧10

獲取模組‧‧‧12Get the module ‧‧12

判斷模組‧‧‧14Judgment module ‧‧14

刪除模組‧‧‧16Delete module ‧‧16

關聯模組‧‧‧18Linkage module ‧‧18

保存模組‧‧‧20Saving module ‧‧20

讀取模組‧‧‧22Reading module ‧‧22

生成模組‧‧‧24Generating module ‧‧24

設置模組‧‧‧26Setting up the module ‧‧26

繪制模組‧‧‧28Drawing module ‧‧28

在零件圖檔中選取各個零件所包括的圖形‧‧‧S10Select the graphics included in each part in the part drawing file.‧‧S10

對所選取的圖形進行分析,獲取每一個零件對應的圖形資訊‧‧‧S12Analyze the selected graphics to obtain the graphic information corresponding to each part. ‧‧S12

所獲取的每一個零件的圖形資訊是否全部為該零件的必要圖形資訊‧‧‧S14Whether the graphic information of each part obtained is all necessary graphic information of the part ‧‧S14

當所獲取的每一個零件的圖形資訊不全部為該零件的必要圖形資訊時,刪除該零件多餘的圖形資訊‧‧‧S16When the graphic information of each part acquired is not all necessary graphic information of the part, the redundant graphic information of the part is deleted. ‧‧S16

在每一個零件的圖形資訊之間建立關聯關係‧‧‧S18Establish a relationship between the graphical information of each part ‧‧‧S18

將每一個零件建立關聯關係後的圖形資訊保存至零件資料庫中‧‧‧S20Save the graphical information after each part is associated to the parts database.‧‧S20

讀取需繪製零件在該零件資料庫中的有關聯關係的圖形資訊‧‧‧S22Read the graphical information of the associated relationship of the part to be drawn in the part database.‧‧S22

根據讀取的有關聯關係的圖形資訊生成需繪製零件的原始零件資訊‧‧‧S24Generate original part information of the part to be drawn based on the read graphical information of the relationship ‧‧S24

將所生成的原始零件資訊設置為所需繪製零件的實際零件資訊‧‧‧S26Set the generated original part information to the actual part information of the part you want to draw.‧‧S26

根據所述設置的實際零件資訊繪製零件‧‧‧S28Drawing parts based on the actual part information of the settings ‧‧‧S28

圖1係本發明零件動態生成系統較佳實施例的硬體架構圖。1 is a hardware architecture diagram of a preferred embodiment of a part dynamic generation system of the present invention.

圖2係圖1中電腦主機的功能模組圖。FIG. 2 is a functional module diagram of the computer host in FIG. 1.

圖3係本發明零件動態生成方法較佳實施例的流程圖。3 is a flow chart of a preferred embodiment of a method for dynamically generating a part of the present invention.

在零件圖檔中選取各個零件所包括的圖形‧‧‧S10Select the graphics included in each part in the part drawing file.‧‧S10

對所選取的圖形進行分析,獲取每一個零件對應的圖形資訊‧‧‧S12Analyze the selected graphics to obtain the graphic information corresponding to each part. ‧‧S12

所獲取的每一個零件的圖形資訊是否全部為該零件的必要圖形資訊‧‧‧S14Whether the graphic information of each part obtained is all necessary graphic information of the part ‧‧S14

當所獲取的每一個零件的圖形資訊不全部為該零件的必要圖形資訊時,刪除該零件多餘的圖形資訊‧‧‧S16When the graphic information of each part acquired is not all necessary graphic information of the part, the redundant graphic information of the part is deleted. ‧‧S16

在每一個零件的圖形資訊之間建立關聯關係‧‧‧S18Establish a relationship between the graphical information of each part ‧‧‧S18

將每一個零件建立關聯關係後的圖形資訊保存至零件資料庫中‧‧‧S20Save the graphical information after each part is associated to the parts database.‧‧S20

讀取需繪製零件在該零件資料庫中的有關聯關係的圖形資訊‧‧‧S22Read the graphical information of the associated relationship of the part to be drawn in the part database.‧‧S22

根據讀取的有關聯關係的圖形資訊生成需繪製零件的原始零件資訊‧‧‧S24Generate original part information of the part to be drawn based on the read graphical information of the relationship ‧‧S24

將所生成的原始零件資訊設置為所需繪製零件的實際零件資訊‧‧‧S26Set the generated original part information to the actual part information of the part you want to draw.‧‧S26

根據所述設置的實際零件資訊繪製零件‧‧‧S28Drawing parts based on the actual part information of the settings ‧‧‧S28

Claims (4)

一種零件動態生成系統,包括電腦主機及與該電腦主機相連的零件資料庫,該電腦主機包括:選取模組,用於在零件圖檔中選取各個零件所包括的圖形;獲取模組,用於對所選取的圖形進行分析,獲取每一個零件對應的圖形資訊;刪除模組,用於當所獲取的每一個零件的圖形資訊不全部為該零件的必要圖形資訊時,刪除該零件多餘的圖形資訊;關聯模組,用於在每一個零件的必要圖形資訊之間建立關聯關係;保存模組,用於將每一個零件建立關聯關係後的圖形資訊保存至該零件資料庫中;讀取模組,用於讀取需繪製零件在該零件資料庫中的有關聯關係的圖形資訊;生成模組,用於根據讀取的有關聯關係的圖形資訊生成需繪製零件的原始零件資訊;設置模組,用於將所生成的原始零件資訊設置為所需繪製零件的實際零件資訊;及繪製模組,用於根據所述設置的實際零件資訊繪製零件。A component dynamic generation system includes a computer host and a parts database connected to the computer host, the computer host includes: a selection module for selecting a graphic included in each part in the part drawing file; acquiring a module for The selected graphic is analyzed to obtain graphic information corresponding to each part; and the deleting module is used to delete the redundant graphic of the part when the obtained graphic information of each part is not all necessary graphic information of the part. Information; an association module for establishing an association relationship between necessary graphic information of each part; a saving module for saving graphic information of each part to be associated with the part database; reading the module a group for reading graphical information of an associated relationship of the part to be drawn in the part database; generating a module for generating original part information of the part to be drawn according to the read graphical information of the associated relationship; setting the mode a group for setting the generated original part information to the actual part information of the part to be drawn; and drawing a module for The actual information part of said set of drawing part. 如申請專利範圍第1項所述的零件動態生成系統,其中所述圖形資訊包括組成圖形的線段、圓及/或圓弧的 資訊。The part dynamic generation system according to claim 1, wherein the graphic information includes a line segment, a circle, and/or an arc of a graphic composition. News. 一種零件動態生成方法,該方法包括如下步驟:在零件圖檔中選取各個零件所包括的圖形;對所選取的圖形進行分析,獲取每一個零件對應的圖形資訊;當所獲取的每一個零件的圖形資訊全部為該零件的必要圖形資訊時,直接轉入下一步驟,否則,當所獲取的每一個零件的圖形資訊不全部為該零件的必要圖形資訊時,刪除該零件多餘的圖形資訊;將每一個零件的圖形資訊之間建立關聯關係;在每一個零件建立關聯關係後的圖形資訊保存至零件資料庫中;讀取需繪製零件在該零件資料庫中的有關聯關係的圖形資訊;根據讀取的有關聯關係的圖形資訊生成需繪製零件的原始零件資訊;將所生成的原始零件資訊設置為所需繪製零件的實際零件資訊;及根據所述設置的實際零件資訊繪製零件。A method for dynamically generating a part, the method comprising the steps of: selecting a graphic included in each part in a part drawing file; analyzing the selected graphic to obtain graphic information corresponding to each part; when acquiring each part When the graphic information is all the necessary graphic information of the part, the process proceeds directly to the next step. Otherwise, when the graphic information of each part acquired is not all the necessary graphic information of the part, the redundant graphic information of the part is deleted; Correlate the graphical information of each part; save the graphical information after each part is associated with the part database; and read the graphical information of the associated relationship of the parts in the part database; Generating the original part information of the part to be drawn according to the read graphical information of the associated relationship; setting the generated original part information to the actual part information of the required drawing part; and drawing the part according to the actual part information of the setting. 如申請專利範圍第3項所述的零件動態生成方法,其中所述圖形資訊包括組成圖形的線段、圓及/或圓弧的資訊。The method for dynamically generating a part according to claim 3, wherein the graphic information includes information of a line segment, a circle, and/or an arc that constitute the graphic.
TW97114176A 2008-04-18 2008-04-18 System and method for dynamically drawing a part TWI468960B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97114176A TWI468960B (en) 2008-04-18 2008-04-18 System and method for dynamically drawing a part

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97114176A TWI468960B (en) 2008-04-18 2008-04-18 System and method for dynamically drawing a part

Publications (2)

Publication Number Publication Date
TW200945080A TW200945080A (en) 2009-11-01
TWI468960B true TWI468960B (en) 2015-01-11

Family

ID=44869609

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97114176A TWI468960B (en) 2008-04-18 2008-04-18 System and method for dynamically drawing a part

Country Status (1)

Country Link
TW (1) TWI468960B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1501026A1 (en) * 2003-07-25 2005-01-26 Dassault Systèmes CAD system using a context-free grammar
TW200717274A (en) * 2005-10-21 2007-05-01 Hon Hai Prec Ind Co Ltd System and method for defining templates of a punching die carrier automatically

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1501026A1 (en) * 2003-07-25 2005-01-26 Dassault Systèmes CAD system using a context-free grammar
TW200717274A (en) * 2005-10-21 2007-05-01 Hon Hai Prec Ind Co Ltd System and method for defining templates of a punching die carrier automatically

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Linda G. Shapiro and Robert M. Haralick. 1981. Structural Descriptions and Inexact Matching. IEEE Trans. Pattern Anal. Mach. Intell. 3, 5 (SEPTEMBER 1981), 504-519. *
國立成功大學機械工程學系博士研究生(Author):黃欽足 HuangChin-Tzwu,指導教授 (Advisor):賴新一 Hsin-Yi Lai,論文名稱(Title):序列聯結產品整合式組裝規劃系統之研發,中華民國九十三年元月 *

Also Published As

Publication number Publication date
TW200945080A (en) 2009-11-01

Similar Documents

Publication Publication Date Title
US10896112B2 (en) Visualization tool for parallel dependency graph evaluation
CN112036736A (en) Workflow creating method and device
US20120229468A1 (en) Integration of sketch-based interaction and computer data analysis
KR102082541B1 (en) Selecting and editing visual elements with attribute groups
US20080120543A1 (en) Visual resource profiler for graphical applications
CN110968294B (en) Business domain model establishing system and method
CN101246471A (en) Irregular complex report forms creating method
CN106407172B (en) A kind of report form generation method based on XML
CN112182236A (en) Knowledge graph construction method and system and electronic equipment
CN109376153A (en) System and method for writing data into graph database based on NiFi
CN113436298B (en) Method and device for automatically generating Chinese character stroke order animation and related components thereof
JP5747698B2 (en) Requirements management support device
CN116204184B (en) UI editing method, system and storage medium for improving page style adaptation
TWI468960B (en) System and method for dynamically drawing a part
CN108920367B (en) Visual debugging method for data structure
CN115249303A (en) Layout drawing method, device, equipment and storage medium based on drawing segmentation
JP2012128609A (en) Drawing creation support method and apparatus
CN114139266A (en) Wall body node full-page proof automatic design method based on dynamic combination and storage medium
CN114116686A (en) Data visualization method for realizing data large screen
JP2016081126A (en) Job control language automatic generation program
CN111767412B (en) Data mapping method and system for knowledge graph construction and electronic equipment
CN112597156B (en) Programming-free dynamic data storage and form drawing method and device
JP2007286822A (en) Gui specification creation method and gui specification creation system
CN101556624B (en) Part dynamic generating system and method
JP7061015B2 (en) Data transition visualization device, data transition visualization method, and data transition visualization program

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees