TW200821785A - System and method for creating abnormity accessories - Google Patents

System and method for creating abnormity accessories Download PDF

Info

Publication number
TW200821785A
TW200821785A TW95140773A TW95140773A TW200821785A TW 200821785 A TW200821785 A TW 200821785A TW 95140773 A TW95140773 A TW 95140773A TW 95140773 A TW95140773 A TW 95140773A TW 200821785 A TW200821785 A TW 200821785A
Authority
TW
Taiwan
Prior art keywords
view
lines
attribute
graphic
module
Prior art date
Application number
TW95140773A
Other languages
Chinese (zh)
Other versions
TWI420269B (en
Inventor
Wen-Bo He
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 TW95140773A priority Critical patent/TWI420269B/en
Publication of TW200821785A publication Critical patent/TW200821785A/en
Application granted granted Critical
Publication of TWI420269B publication Critical patent/TWI420269B/en

Links

Abstract

A method for creating abnormity accessories is provided. The method includes steps of: creating a viewgraph frame, and allocating same memory spaces to each viewgraph in the viewgraph frame; selecting a mold-assembly figure including a figure needed to be created an abnormity accessory; selecting and sketching an area where the figure is in, and filtering the area to acquire the figure; determining whether the figure is close; disassembling the figure and creating one or more lines if the figure is close; assembling the lines to be one or more multilines; writing identifications of the multilines into the memory spaces corresponding to the viewgraphs; writing attributes of the viewgraphs into the identifications of the multilines; setting accessory attributes of the abnormity accessory; and writing the accessory attributes into the identifications of the multilines so as to create the abnormity accessory. A related system is also provided.

Description

200821785 九、發明說明: 【發明所屬之技術領域】 本發明涉及一種零件生成系統及方法,尤其涉及一種 異型零件生成系統及方法。 【先前技術】 通常,設計人員在繪製一個模具組立圖(又稱爲模具 結構圖)時,可利用繪圖軟體提供之一些快捷方式快速繪 , 製標準的、規則的零件,例如:矩形、圓形、菱形、立方 體等。此外,設計人員還需要繪製一些外形輪廓不規則之 零件,即異型零件。異型零件之形狀可以是任意的、無規 律可循的,多數的電腦繪圖軟體無法實現異型零件之自動 繪製,因此,設計人員往往只能手動繪製該異型零件之圖 形。 然而,多數模具設計軟體無法識別設計人員所手動繪 製之異型零件之圖形,更不易向該圖形添加相應之零件屬 ί 性,且不能將該圖形與其視圖進行關聯,給異型零件之生 成帶來極大的不便。 【發明内容】 鑒於以上内容,有必要提供一種異型零件生成系統及 方法,其可以識別異型零件之圖形,並添加相應之零件屬 性至該圖形’且將該圖形與相應之視圖進行關聯。 一種異型零件生成系統,該系統包括應用伺服器。該 應用伺服器包括:創建模組,用於創建一個視圖框架,該 6 200821785 視圖框架用於存放至少一個視圖,並分配相同之記憶體空 間至每個視圖;過濾模組,用於選擇一個模具組立圖,該 模具麵立圖包括需生成爲異型零件之圖形,還用於勾選該 圖形所在之區域,並過濾該勾選區域内具備屬性之圖元以 得到該圖形;判斷模組,用於判斷該圖形是否爲封閉的圖 形;分解/組合模組,用於當該圖形爲封閉的圖形時,將該 圖形分解成若干條單獨的、不相連接的線條,並將分解後 之線條組合成若干條複綫;及寫入模組,用於將該等複綫 / 之識別碼寫入至對應視圖之記憶體空間中,將視圖屬性寫 入至該等複綫之識別碼中,設置需生成之異型零件之零件 屬性,並將該零件屬性寫入至該等複綫之識別碼中以生成 一個異型零件。 一種異型零件生成方法,該方法包括如下步驟:創建 一個視圖框架,該視圖框架用於存放至少一個視圖,並分 配相同之記憶體空間至每個視圖;選擇一個模具組立圖, i 該模具組立圖包括需生成爲異型零件之圖形;勾選該圖形 所在之區域,並過濾該勾選區域内具備屬性之其他圖元以 得到該圖形;判斷該圖形是否爲封閉的圖形;若該圖形是 封閉的圖形,則將該圖形分解成若干條單獨的、不相連接 的線條;將分解後之線條組合成若干條複綫;將該等複綫 之識別碼寫入至對應視圖之記憶體空間中;將視圖屬性寫 入至該等複綫之識別碼中;設置需生成之異型零件之零件 屬性;及將該零件屬性寫入至該等複綫之識別碼中,並生 7 200821785 成一個異型零件。 相較于習知技術,所述之異型零件生成系統及方法, 其可.以識別各種利用電腦繪圖軟體或者設計人員手動繪製 之異型零件之圖形,並添加相應之零件屬性至該圖形,且 將該圖形與相應之視圖進行關聯,從而準確、快速生成異 型零件。 【實施方式】 ^ 爲方便理解,對說明書中出現之部分術語作以下定 義·· 異型零件:外形輪廓不規則之零件。 三視圖:是將物體向三個相互垂直之投影面作正投影 所得到之一組圖形,能較完整的表達物體之結構,設計人 員可以把自己構思之物體用三視圖表示出來。 主視圖:物體在正投影面上之投影,也就是從物體正 前方往後看所得到之視圖,也稱作正視圖。 i 俯視圖:從物體正上方往下看所得到之物體在水平面 上之投影。 右視圖:從物體正右方往左看所得到之物體在侧立投 影面上之投影。 模具組立圖:又稱爲模具結構圖,是零件裝配之示意 圖。 如圖1所示,係本發明異型零件生成系統之較佳實施 方式之硬體架構圖。該系統包括一台應用伺服器1、至少 一個用戶端2、一個資料庫3、網路4及連接5。其中分散 8 200821785 式分佈之用戶端2藉由網路4與應用伺服器1相連,該網 路4可以爲企業内部網路(Intranet)、網際網路(Internet) 或其俾類型網路。 該應用伺服器1用於對用戶所繪製之異型零件之圖形 進行相應的編輯,進行屬性之添加及視圖之關聯,並生成 異型零件。此外,該應用伺服器丄爲所述之用戶端2提供 一個互動式介面,用戶可藉由所述之用戶端2之介面登錄 , 至系統。 Μ \ ^、 貢料庫3利用連接5與應用伺服器1相連,連接5是一種 資料庫連接’如開放式資料庫連接(〇pen Database Connectivity,ODBC),或者 java資料庫連接(Java Database Connectivity ’ JDBC)。所述之資料庫3用於存儲各類資料, 包括模具組立圖、用戶所緣製之異型零件之圖形、各個視 圖、以及該異型零件生成過程中産生之各類資料,該資料 庫3可獨立于應用伺服器1,也可位於應用伺服器1内,儲存 ^ 在應用伺服器1之硬碟(未示出)上。 如圖2所示,係本發明異型零件生成系統之應用伺服 器之功能模組圖。該應用伺服器1包括創建模組H、過濾模 組12、判斷模組13、分解/組合模組14、寫入模組15、以及 存儲模組16。 所述之創建模組11用於創建一個内容爲空之視圖框 木’該視圖框架用於存放至少一個視圖,分配相同之記憶 體空間至每個視圖,並將該記憶體空間對應之記憶體位址 9 200821785 與該視圖框架中的視圖進行關聯。在本實施例中,創建模 、、且11所創建之視圖框架S指三視圖之視圖框架,其用於放 置異型零件之主視圖、俯視圖以及右視圖,而在其他實施 例中,用戶可根據實際需求藉由創建模組工創建不同視圖 之視圖框架,例如剖視圖等。 因此’在本實施例中,創建模組11創建-個如圖7所示 之可放置異型零件之三視圖之視圖框架7,分配相同之記憶 Γ體空間至其中之每個視圖,其中,每個記憶體位址與每個 視圖具備關聯關係。記憶體位址係根據電腦之處理器一次 處理之位7G數(8位元抑位元之倍數)來表示的,例如:8 位元電腦使用8位元來表示記憶體位址,16位元電腦使用16 位元來表示記憶體位址,其中8位元、16位元等術語在作業 系,理論中主要是指記憶體定址之寬度。如果記憶體之定 址寬度是16位元,那麼每個記憶體位址可以用“個二進位 位元來表示。將記憶體位址與視圖進行關聯便於藉由該記 憶體位址尋找、獲得相應之視圖。 所述之過濾模組12用於從資料庫3中選擇一個模具組 立圖,該模具組立圖包括需生成爲異型零件之圖形,且該 圖形不具備任何屬性。所述之過遽模組12還用於勾選該圖 形所在之區域,過濾該勾選區域内具備屬性之其他圖元(如 零件、孔等),從而得到該圖形。通常情況下,異型零件之 圖形不是在-個空白的圖檑中單獨緣製的,而是在一個模 具組立圖中與其他零件、孔等一起緣製的,而緣製時難免 200821785 與模具組立圖中其他的零件或孔發生重疊,因此,在勾選 出該異型零件之圖形後先進行過濾,可避免其他零件或孔 與該異型零件之圖形產生混淆,而導致生成不準確之異型 零件/該異型零件之圖形可以是基於電腦輔助設計(CAD, Compute!· Aided Design)系統或其他繪圖軟體所繪製而成 的圖形。 例如’圖4所示是一個模具組立圖8,該模具組立圖8 。 包括一個圖形80、一個零件81、一個孔82以及其他零件(未 標示)’其中,該圖形8〇用於生成爲一個異型零件,且與零 件81以及孔82發生重疊或相交。過濾模組12勾選出之該圖 形80所在之區域如模具組立圖8中虛線框所示,過濾模組12 對該勾選區域進行零件81及孔82的過濾後,得到一個如圖5 所示之圖形80。 所述之判斷模組13用於判斷所得到的需生成爲異型 、零件之圖形80 (如圖5所示)是否爲封閉的圖形。 ,所述之分解/組合模組14用於當判斷模組13判斷該圖 形8〇爲封閉的圖形後’將該圖形分解成若干條單獨的、不 相連接的線條。分解後之線條可以爲直線或者曲線。 在利用cad!會製異型零件之圖形時,用戶首先需要選 擇所緣製線條之類型,而線條包括複殘(又稱多異線)、普 通線條等類型。其中,複錢是一條連續的線條,可以由若 干條普通線條不間斷的連接組成,而利用一條複殘所繪製 之圖形是-個整體。-偏型零件之圖形可由若干條複 11 200821785 綫、若干條普通線條、或者若干條賴及普通線條所 利用該分解/組合模組14將該圖脚進行分解則是將 形_包括之複殘分解成不連續的普通線條。如圖5中= 形8〇進行分解後可得到如圖6所示之4條不連續的普通二 條0 所述之分解/組合模組14還用於將分解後之線條组人 成若干條複綫。該組合之依據包括:比對每個線條之端: #座標,當端點座標相同時,將該端點座標所對應之線條連 接起來,從而形成-條或多條連續的線條,即複綫。 在賦予屬性至零件時,需要將屬性寫入組成該零件之 多個普通線條或者複綫中,所以上述之對圖形⑽先分解再 重新組合,是爲了使該圖形8〇由盡可能少的複綫組成,以 便於在賦予屬性至該圖形8〇時,可減少重復寫入屬性之操 作。例如,若圖5中的圖形8〇原來是由兩條複綫組成,在進 i 行分解、組合後,該圖形8〇則是由一條複綫組成。 所述之寫入模組15用於將組合所得之複綫之識別碼 (ID,Identification)寫入至對應視圖之記憶體空間中。利用 CAD或者其他緣圖軟體所緣製之圖元都具備唯一的,藉 由該ID可直接獲得其所對應之圖元。如圖7所示,寫入模 組15將組合所得之複綫之ID74分別寫入至創建之視圖框 架7中的主視圖71、俯視圖72、及右視圖73所對應之三個記 憶體空間中,在其他實施例中,若分解、組合圖形時得到 多條複綫,則將該多條複綫對應之ID皆寫入對應視圖之記 12 200821785 憶體空間中,並可由IDl、ID2等形式加以區別。 所述之寫入模組15還用於將視圖屬性寫入至組合所 得之·複綫之ID中。如圖8所示,寫入模組15將視圖屬性740 寫入至組合所得之複綫之ID74中。該視圖屬性740包括視 圖之ID、記憶體位址、長、寬、高等資訊。 所述之寫入模組15進一步用於設置需生成之異塑零 件之各種屬性,並將該零件屬性寫入至組合所得之複錢之 ID74中(如圖8所示之零件屬性742),該複綫在賦予屬性 後即生成爲一個異型零件。該寫入模組15可在屬性設置前 彈出一對話方塊,提示用戶在對應之欄位元輸入零件屬 性,其中,該零件屬性包括:零件名稱、零件編號、零件 厚度、零件尺寸、加工材料及熱處理類型等。200821785 IX. Description of the Invention: [Technical Field] The present invention relates to a part generation system and method, and more particularly to a profiled part generation system and method. [Prior Art] Usually, when drawing a mold assembly drawing (also called a mold structure drawing), the designer can quickly draw standard and regular parts by using some shortcuts provided by the drawing software, for example: rectangle, circle , diamonds, cubes, etc. In addition, designers need to draw some parts with irregular contours, ie shaped parts. The shape of the shaped part can be arbitrary and irregular. Most computer drawing software can't realize the automatic drawing of the special part. Therefore, the designer can only manually draw the shape of the shaped part. However, most mold design software does not recognize the shape of the profiled part manually drawn by the designer, and it is more difficult to add the corresponding part to the graphic, and the graphic cannot be associated with its view, which greatly affects the generation of the shaped part. Inconvenience. SUMMARY OF THE INVENTION In view of the above, it is desirable to provide a profiled part generation system and method that can identify a profile of a profiled part and add corresponding component attributes to the figure' and associate the figure with a corresponding view. A profiled part generation system that includes an application server. The application server includes: a creation module for creating a view frame, the 6 200821785 view frame for storing at least one view and allocating the same memory space to each view; and a filtering module for selecting a mold Forming a picture, the mold face diagram includes a graphic to be generated as a shaped part, and is also used to check the area where the graphic is located, and filter the element having the attribute in the selected area to obtain the graphic; the determining module is used for Determining whether the graphic is a closed graphic; the decomposition/combining module is configured to, when the graphic is a closed graphic, decompose the graphic into a plurality of separate, non-connected lines, and combine the decomposed lines into a plurality of double lines; and a writing module for writing the identification code of the multiple lines/writing into the memory space of the corresponding view, and writing the view attribute to the identification code of the multiple lines, and setting Generates the part attribute of the shaped part and writes the part attribute to the identification code of the multiple lines to generate a shaped part. A method for generating a shaped part, the method comprising the steps of: creating a view frame for storing at least one view and allocating the same memory space to each view; selecting a mold set image, i the mold set image Include the graphic to be generated as a special-shaped part; check the area where the graphic is located, and filter other elements with attributes in the selected area to obtain the graphic; determine whether the graphic is a closed graphic; if the graphic is a closed graphic , the figure is decomposed into a plurality of separate, non-connected lines; the decomposed lines are combined into a plurality of complex lines; the identification codes of the multiple lines are written into the memory space of the corresponding view; The view attribute is written into the identification code of the multi-line; the part attribute of the special-shaped part to be generated is set; and the part attribute is written into the identification code of the multi-line, and a special-shaped part is formed in 200821785. Compared with the prior art, the special-shaped part generating system and method can identify various graphics of a special-shaped part manually drawn by a computer drawing software or a designer, and add corresponding part attributes to the graphic, and The graphic is associated with the corresponding view to accurately and quickly generate a profiled part. [Embodiment] ^ For the sake of easy understanding, some of the terms appearing in the manual are defined as follows: • Shaped parts: Parts with irregular outlines. Three-view: It is a group of graphics obtained by orthographically projecting objects to three mutually perpendicular projection surfaces. It can express the structure of the object more completely. The designer can express the object he conceived in three views. Main view: The projection of an object on the orthographic projection surface, that is, the view taken from the front of the object and looking back, also called the front view. i Top view: The projection of the resulting object on the horizontal plane as viewed from directly above the object. Right view: Projection of the object obtained from the right side of the object to the left on the side projection surface. The mold assembly diagram: also known as the mold structure diagram, is a schematic diagram of the assembly of the parts. As shown in Fig. 1, a hardware architecture diagram of a preferred embodiment of the profiled part generation system of the present invention is shown. The system includes an application server 1, at least one client 2, a database 3, a network 4, and a connection 5. The client 2, which is distributed in the 200821785 type, is connected to the application server 1 through the network 4, and the network 4 can be an intranet, an Internet, or a network thereof. The application server 1 is used for editing the graphics of the shaped parts drawn by the user, adding attributes and associating views, and generating special-shaped parts. In addition, the application server provides an interactive interface for the client 2, and the user can log in to the system through the interface of the client 2. Μ \ ^, tributary library 3 is connected to application server 1 by means of connection 5, which is a database connection 'such as open database connection (ODBC), or java database connection (Java Database Connectivity) 'JDBC'. The database 3 is used for storing various types of materials, including a mold set image, a graphic of a shaped part of the user, each view, and various types of data generated during the generation process of the shaped part, and the database 3 can be independent. The application server 1 can also be located in the application server 1 and stored on a hard disk (not shown) of the application server 1. As shown in Fig. 2, it is a functional module diagram of an application server of the profiled part generation system of the present invention. The application server 1 includes a creation module H, a filter module 12, a determination module 13, a decomposition/combination module 14, a write module 15, and a storage module 16. The creating module 11 is configured to create a view box whose content is empty. The view frame is used to store at least one view, allocate the same memory space to each view, and store the memory space corresponding to the memory space. Address 9 200821785 is associated with the view in the view frame. In this embodiment, the view frame created by the model, and 11 is referred to as a three-view view frame for placing the front view, the top view, and the right view of the profiled part, while in other embodiments, the user may Create a view frame of different views, such as a section view, by creating a module worker according to actual needs. Therefore, in the present embodiment, the creation module 11 creates a view frame 7 of three views into which the profiled parts can be placed as shown in FIG. 7, and allocates the same memory carcass space to each of the views, wherein each The memory address is associated with each view. The memory address is represented by the number of 7G bits processed by the processor of the computer (a multiple of 8-bit suppressor). For example, an 8-bit computer uses 8-bit memory to represent the memory address, and the 16-bit computer uses The 16-bit representation of the memory address, in which the terms 8-bit, 16-bit, etc. are in the operating system, the theory mainly refers to the width of the memory address. If the address width of the memory is 16 bits, then each memory address can be represented by a binary bit. Associating the memory address with the view facilitates finding and obtaining a corresponding view by the memory address. The filtering module 12 is configured to select a mold assembly map from the database 3, the mold assembly diagram includes a graphic to be generated as a special-shaped component, and the graphic does not have any attributes. It is used to check the area where the graphic is located, and filter other elements (such as parts, holes, etc.) with attributes in the selected area to obtain the graphic. Usually, the graphic of the special-shaped part is not in a blank picture. In the case of a separate system, it is formed in a mold assembly diagram together with other parts, holes, etc., and it is inevitable that 200821785 overlaps with other parts or holes in the mold set diagram. Therefore, check the The pattern of the profiled part is filtered first to avoid confusion between other parts or holes and the figure of the profiled part, resulting in inaccurate shaped parts/this type The graphic of the piece may be a drawing based on a computer-aided design (CAD, Compute!· Aided Design) system or other drawing software. For example, 'Fig. 4 is a mold assembly diagram 8, and the mold assembly is shown in Fig. 8. A graphic 80, a part 81, a hole 82, and other parts (not labeled) wherein the graphic 8 is used to generate a shaped part and overlaps or intersects the part 81 and the hole 82. The filter module 12 is hooked. The selected area of the figure 80 is as shown by the dashed box in the mold set diagram 8. The filter module 12 filters the part 81 and the hole 82 in the selected area to obtain a figure 80 as shown in FIG. The determining module 13 is configured to determine whether the obtained graphic 80 (shown in FIG. 5) that needs to be generated as a special shape is a closed graphic. The decomposition/combining module 14 is used to determine the module. 13 After judging that the graphic 8 is a closed graphic, the image is decomposed into a plurality of separate, non-connected lines. The decomposed line can be a straight line or a curved line. When using cad! to make a graphic of a shaped part The user first needs to select the type of the line to be formed, and the line includes the type of complex (also known as multi-shaped line), ordinary line, etc. Among them, the complex money is a continuous line, which can be composed of uninterrupted connections of several ordinary lines. The figure drawn by using a complex residue is a whole. The pattern of the partial part can be utilized by a plurality of layers 11 200821785 lines, a plurality of ordinary lines, or a plurality of lines and ordinary lines. Decomposing the figure foot is to decompose the shape _ including the complex residue into discontinuous ordinary lines. As shown in Fig. 5, the shape 8 〇 is decomposed to obtain 4 discontinuous ordinary two lines as shown in Fig. 6. The decomposition/combination module 14 is further configured to group the decomposed lines into a plurality of double lines. The basis of the combination includes: comparing the ends of each line: # coordinates, when the endpoint coordinates are the same, the lines corresponding to the endpoint coordinates are connected to form - or more consecutive lines, ie, double lines . When assigning an attribute to a part, it is necessary to write the attribute into a plurality of ordinary lines or complex lines constituting the part, so the above-mentioned pair of graphics (10) is first decomposed and recombined, so that the figure 8 is reduced by as few as possible. The line is composed so that the operation of repeating the write attribute can be reduced when the attribute is assigned to the pattern. For example, if the figure 8 in Fig. 5 is originally composed of two double lines, after the line is decomposed and combined, the figure 8〇 is composed of a double line. The writing module 15 is configured to write the ID (Identification) of the combined double line into the memory space of the corresponding view. The primitives that are made by using CAD or other edge graphics software are unique. The ID can directly obtain the corresponding primitives. As shown in FIG. 7, the write module 15 writes the combined IDs 74 of the complex lines into the three memory spaces corresponding to the main view 71, the top view 72, and the right view 73 in the created view frame 7, respectively. In other embodiments, if multiple complex lines are obtained when the graphics are decomposed and combined, the IDs corresponding to the multiple complex lines are written into the corresponding view 12 200821785, and may be in the form of ID1, ID2, etc. Make a distinction. The write module 15 is further configured to write the view attribute into the ID of the combined multi-line. As shown in FIG. 8, the write module 15 writes the view attribute 740 to the ID 74 of the combined double line. The view attribute 740 includes information such as the ID of the view, the memory address, the length, the width, and the height. The writing module 15 is further configured to set various attributes of the plastic part to be generated, and write the part attribute into the ID 74 of the combined money (such as the part attribute 742 shown in FIG. 8). The complex line is generated as a profiled part after the attribute is assigned. The writing module 15 may pop up a dialog box before the attribute setting, prompting the user to input the part attribute in the corresponding field element, wherein the part attribute includes: part name, part number, part thickness, part size, processed material and Type of heat treatment, etc.

在本實施例中,所繪製之異型零件之圖形是一個二維 圖形,而在創建模組11所創建之視圖框架並不直接顯示 個視圖之圖形,而是藉由在各個視圖對應之記憶體 入組成異型零件@形之複綫之腦,並將視圖屬性: 零件屬性742寫人至複綫之ID7钟,從而在各個視圖: 生成之異型零件之間建立關聯關係,則關 =,直接從料料件獲得職各個類之屬性=聯 貝戒’也可直接藉由視圖對應之記憶體空間所在之吃恃: 位址獲取異型零件之相關屬性或其他資訊。 思體 所述之存簡祕心將生成異鮮件過程 之各類資料保存至—個圖财,並將該圖财人資料生庫3 13 200821785 中。所述之各類資料包括圖形8〇、複,綫、複綫之1〇74、零 件屬性742、視圖屬性·、各視圖之記憶體位址等資料。 •如圖3所示,係本發明異型零件生成方法之較佳實施 例的流程圖。首先,步驟S2,創建模組⑽建一個内容爲 空之視圖框架’該視圖框架用於存放至少―個視圖,並分 配相同之記憶體空間至每個視圖,其中,每個記憶體位址 與每個視圖具備關聯關係。 步驟S4,過濾模組12從資料庫3中選擇一個模具組立 圖,該模频立圖包括需生成爲異型零件之圖細,且該 圖形80不具備任何屬性。 步娜,過據模組12勾選該圖形80所在之區域,過遽 該勾k區域内具備屬性之其他圖元(如零件8卜孔82等), 從而得到該圖形8〇。 /一驟S8 ’判斷模組13判斷過濾後所得到的圖形80 (如 圖5所示)是否爲封閉的圖形。 二驟S10 ’若判斷模組13判斷該圖_是封閉的圖 不㈣:的將該圖形80分解成若干條單獨的、 ,二=:_職_ 干條複:==::14將分解後之線 當端點座桿相⑽、 比對母個線條之端點座標,· 來,從而㈣端點㈣所對紅線條連接起 条或多條連續的線條,即複綫。 14 200821785 步驟S14,寫入模組15將組合所得之複綫之ID74寫入 至對應視圖之記憶體空間中。 步驟S16,寫入模組15將視圖屬性寫入至組合所得之 複綫之ID74中。如圖8所示,寫入模組15將視圖屬性740寫 入至組合所得之複綫之ID74中。該視圖屬性740包括視圖 之ID、記憶體位址、長、寬、高等資訊。 步驟S18,寫入模組15設置需生成之異型零件之各種 , 屬性。 步驟S20,寫入模組15將該零件屬性寫入至組合所得 之複綫之ID74中(如圖8所示之零件屬性742),該複綫在 賦予屬性後即生成爲一個異型零件。 步驟S22,存儲模組16將生成異型零件過程中産生之 各類資料保存至一個圖檔中,將該圖檔存入資料庫3中,並 結束本流程。所述之各類資料包括圖形80、複綫、複綫之 , ID74、零件屬性742、視圖屬性740、各視圖之記憶體位址 % 等資料。 本發明雖以較佳實施例揭露如上,然其並非用以限定 本發明。任何熟悉此項技藝者,在不脫離本發明之精神和 範圍内,當可做更動與潤飾,因此本發明之保護範圍當視 後附之申請專利範圍所界定者為準。 【圖式簡單說明】 圖1係本發明異型零件生成系統之較佳實施方式之硬 體架構圖。 ^ 15 200821785 圖2係本發明異型零件生成系統之應用伺服器之功能 模組圖。 .圖3係本發明異型零件生成方法之較佳實施例之流程 圖。, 圖4係本發明異型零件生成系統之模具組立圖。 圖5係本發明異型零件生成系統之需生成爲異型零件 之圖形。 , 圖6係本發明異型零件生成系統之圖形分解示意圖。 圖7係本發明異型零件生成系統之視圖架構圖。 圖8係本發明異型零件生成系統之複綫ID示意圖。 【主要元件符號說明】 應用伺服器 1 創建模組 11 過濾模組 12 判斷模組 13 分解/組合模組 14 寫入模組 15 存儲模組 16 用戶端 2 資料庫 3 網路 4 連接 5 視圖框架 7 16 200821785 主視圖 71 俯視圖 72 右視圖 73 識別碼 74 視圖屬性 740 零件屬性 742 模具組立圖 8 圖形 80 零件 81 82 i 17In this embodiment, the graphic of the shaped part is a two-dimensional figure, and the view frame created by the creating module 11 does not directly display the graphic of the view, but by the memory corresponding to each view. Enter the brain of the complex-shaped part @形之线, and write the view attribute: part attribute 742 to the ID7 of the double line, so as to establish the relationship between the various views: the generated shaped parts, then off =, directly from The material of each item can be obtained from the attributes of the class = 联贝戒', or the relevant attribute or other information of the shaped part can be obtained directly by the memory space corresponding to the view: The constituency described in the body and mind will save all kinds of data for the process of generating the different fresh parts to a picture, and the figure will be in the database of 3 13 200821785. The various types of materials include data such as graphic 8〇, complex, line, complex line 1〇74, part attribute 742, view attribute·, memory address of each view, and the like. As shown in Fig. 3, it is a flow chart of a preferred embodiment of the method of generating a profiled part of the present invention. First, in step S2, the creating module (10) constructs a view frame with empty content. The view frame is used to store at least one view and allocate the same memory space to each view, wherein each memory address and each memory address Views have relationships. In step S4, the filter module 12 selects a mold set image from the database 3, the analog frequency map includes a detail to be generated as a shaped part, and the graphic 80 does not have any attributes. Step by step, the module 12 selects the area where the graphic 80 is located, and the other elements (such as the part 8 hole 82) of the attribute in the hook k area are obtained, thereby obtaining the figure 8〇. /Step S8' The judgment module 13 judges whether or not the filtered image 80 (shown in Fig. 5) is a closed figure. Step S10 'If the judgment module 13 judges that the figure _ is a closed picture (4): the picture 80 is decomposed into a plurality of separate pieces, and the second =: _ job _ dry s complex: ==:: 14 will be decomposed The rear line is the end seatpost phase (10), the end point coordinates of the parent line, and so that (4) the end point (four) is connected to the red line or a plurality of continuous lines, that is, double lines. 14 200821785 Step S14, the write module 15 writes the ID 74 of the combined double line into the memory space of the corresponding view. In step S16, the write module 15 writes the view attribute to the ID 74 of the combined double line. As shown in Figure 8, the write module 15 writes the view attribute 740 into the ID 74 of the combined double line. The view attribute 740 includes view ID, memory address, length, width, height, and the like. In step S18, the writing module 15 sets various types and attributes of the shaped parts to be generated. In step S20, the writing module 15 writes the part attribute into the ID 74 of the combined multi-line (such as the part attribute 742 shown in Fig. 8), and the complex line is generated as a special-shaped part after the attribute is assigned. In step S22, the storage module 16 saves various types of data generated during the process of generating the special-shaped parts into an image file, stores the image file in the data base 3, and ends the process. The various types of materials include graphic 80, double line, double line, ID74, part attribute 742, view attribute 740, memory address % of each view, and the like. The present invention has been described above by way of a preferred embodiment, and is not intended to limit the invention. The scope of the present invention is defined by the scope of the appended claims, unless otherwise claimed. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram showing a preferred embodiment of a profiled part generating system of the present invention. ^ 15 200821785 Figure 2 is a functional block diagram of the application server of the profiled part generation system of the present invention. Fig. 3 is a flow chart showing a preferred embodiment of the method for producing a profiled part of the present invention. 4 is a schematic diagram of a mold set of the profiled part generation system of the present invention. Fig. 5 is a diagram of a profiled part generation system of the present invention which is required to be generated as a profiled part. Figure 6 is a schematic exploded view of the profiled part generation system of the present invention. Figure 7 is a view of a view of the profiled part generation system of the present invention. Fig. 8 is a schematic diagram showing the double line ID of the profiled part generating system of the present invention. [Main component symbol description] Application server 1 Create module 11 Filter module 12 Judgment module 13 Decomposition/combination module 14 Write module 15 Storage module 16 Client 2 Database 3 Network 4 Connection 5 View frame 7 16 200821785 Main view 71 Top view 72 Right side 73 Identification code 74 View properties 740 Part properties 742 Mold assembly Figure 8 Figure 80 Part 81 82 i 17

Claims (1)

200821785 十、申請專利範圍 1、-種異型零件生成系統,該系統包括—應用健器,其 中.該應用伺服器包括: 創建模組,祕舰—個視圖框架,該視圖框架用於存 放至/個視圖’並分配相同之記憶體空間至每個視 圖; 過濾模組,用於選擇-個模具組立圖,該模具組立圖包 括需生成爲異型零件之圖形’及用於勾賴圖形所在之 區域’亚過濾該勾選區域内具備屬性之圖元以得到該圖 判斷模組’用於判斷該圖形是否爲封閉的圖形; =解/組合模組,用於#該_爲封_圖形時,將該圖 料解成若干條單獨的、不相連接的線條,並將分解後 之線條組合成若干條複綫;及 寫入模組,用於將該等複錢之朗碼寫人至對應視圖之 1 己憶體空間中’將視圖屬性寫入至該等複綫之識別碼 =設置需生叙異型零件之零件祕,絲屬 性寫入至該等複綫之識別碼中以生成-個显型交件 2、 如申請專利範圍第巧所述之異型零件生成系統, 該應用伺服器還包括·· /、T 存儲模組,用於將生成異型零件過程中產 至一個圖檔中。 貝科保存 3、 如申請專利範圍第2項所述之異型零件生成系統,其中 18 200821785 該分解/組合模組將分解後之線條組合成若干條複綫係 根據如下依據:比對每個線條之端點座標;當端點座標 相.同時,將該端點座標所對應之線條連接起來,從而形 成一條或多條連續的複綫。 4、如申請專利範圍第1項所述之異型零件生成系統,其中 該視圖屬性包括視圖之長、寬、高、視圖之識別碼、視 圖所分配之記憶體空間對應之記憶體位址。 / 5、如申請專利範圍第1項所述之異型零件生成系統,其中 該零件屬性包括:零件名稱、零件編號、零件厚度、零 件尺寸、加工材料及熱處理類型。 6、一種異型零件生成方法,該方法包括如下步驟: 創建一個視圖框架,該視圖框架用於存放至少一個視 圖,並分配相同之記憶體空間至每個視圖; 選擇一個模具組立圖,該模具組立圖包括需生成爲異型 零件之圖形; 勾選該圖形所在之區域,並過濾該勾選區域内具備屬性 之其他圖元以得到該圖形; 判斷該圖形是否爲封閉的圖形; 若該圖形是封閉的圖形,則將該圖形分解成若干條單獨 的、不相連接的線條; 將分解後之線條組合成若干條複綫; 將該等複綫之識別碼寫入至對應視圖之記憶體空間中; 將視圖屬性寫入至該等複綫之識別碼中; 19 200821785 設置需生成之異型零件之零件屬性;及 將該零件屬性寫入至該等複綫之識別碼中,並生成一個 晃型零件。 7、 卸申請專利範圍第6項所述之異型零件生成方法,其中 將分解後之線條組合成若干條複綫係根據如下依據:比 對每個線條之端點座標;當端點座標相同時,將該端點 座標所對應之線條連接起來,從而形成一條或多條連續 ' 的複綫。 8、 如申請專利範圍第6項所述之異型零件生成方法,其中 該視圖屬性包括視圖之長、寬、南、視圖之識別碼、視 圖所分配之記憶體空間對應之記憶體位址。 9、 如申請專利範圍第6項所述之異型零件生成方法,其中 該方法還包括如下步驟: 將生成異型零件過程中産生之資料保存至一個圖檔中。 / 10、如申請專利範圍第6項所述之異型零件生成方法,其中 I, 該零件屬性包括:零件名稱、零件編號、零件厚度、零 件尺寸、加工材料及熱處理類型。 20200821785 X. Patent application scope 1. A special-shaped part generation system, the system includes an application health device, wherein the application server comprises: a creation module, a secret ship-a view frame, and the view frame is used for storing to / Views 'and allocate the same memory space to each view; filter module for selecting - a set of mold sets, the set of drawings includes the graphics to be generated as shaped parts and the area where the graphics are located 'Sub-filtering the element with attribute in the check area to get the figure judgment module' is used to judge whether the figure is a closed figure; = solution/combination module, for #该_封封_图, The image is decomposed into a plurality of separate, non-connected lines, and the decomposed lines are combined into a plurality of double lines; and the writing module is used to write the remake of the recurring money to the corresponding view 1 In the memory space, 'write the view attribute to the identification code of the complex line=Set the part of the part that needs to be described, and write the silk attribute to the identification code of the complex line to generate - display Type 2, such as Applying the special-shaped part generation system described in the patent scope, the application server further includes a ···, T storage module for generating the profiled part into a picture file. Becco preservation 3, such as the special-shaped part generation system described in claim 2, wherein 18 200821785 The decomposition/combination module combines the decomposed lines into a plurality of complex lines according to the following basis: comparing each line The endpoint coordinate; when the endpoint coordinate phase. At the same time, the lines corresponding to the endpoint coordinates are connected to form one or more consecutive double lines. 4. The profiled part generation system according to claim 1, wherein the view attribute includes a length, a width, a height, a view identification code, and a memory address corresponding to the memory space allocated by the view. / 5. The special-shaped part generation system described in claim 1, wherein the part attributes include: part name, part number, part thickness, part size, processing material, and heat treatment type. 6. A method for generating a shaped part, the method comprising the steps of: creating a view frame for storing at least one view and allocating the same memory space to each view; selecting a mold set image, the mold assembly The figure includes a graphic to be generated as a shaped part; tick the area where the graphic is located, and filter other elements having attributes in the selected area to obtain the graphic; determine whether the graphic is a closed graphic; if the graphic is closed Graphic, the figure is decomposed into a plurality of separate, non-connected lines; the decomposed lines are combined into a plurality of complex lines; the identification codes of the multiple lines are written into the memory space of the corresponding view; Write the view attribute to the identification code of the complex line; 19 200821785 Set the part attribute of the shaped part to be generated; and write the part attribute into the identification code of the multiple line, and generate a sway part . 7. Unloading the special-shaped part generation method described in Item 6 of the patent application, wherein the decomposed lines are combined into a plurality of complex lines according to the following basis: comparing the endpoint coordinates of each line; when the endpoint coordinates are the same , connecting the lines corresponding to the endpoint coordinates to form one or more consecutive 'double lines. 8. The method for generating a profiled part according to claim 6, wherein the view attribute comprises a length, a width, a south, a view identifier of the view, and a memory address corresponding to the memory space allocated by the view. 9. The method for generating a profiled part according to claim 6, wherein the method further comprises the steps of: saving the data generated during the process of generating the profiled part into an image file. / 10. The method for generating a special-shaped part according to claim 6 of the patent application, wherein I, the part attributes include: part name, part number, part thickness, part size, processing material and heat treatment type. 20
TW95140773A 2006-11-03 2006-11-03 System and method for creating abnormity accessories TWI420269B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW95140773A TWI420269B (en) 2006-11-03 2006-11-03 System and method for creating abnormity accessories

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW95140773A TWI420269B (en) 2006-11-03 2006-11-03 System and method for creating abnormity accessories

Publications (2)

Publication Number Publication Date
TW200821785A true TW200821785A (en) 2008-05-16
TWI420269B TWI420269B (en) 2013-12-21

Family

ID=44770608

Family Applications (1)

Application Number Title Priority Date Filing Date
TW95140773A TWI420269B (en) 2006-11-03 2006-11-03 System and method for creating abnormity accessories

Country Status (1)

Country Link
TW (1) TWI420269B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113111458A (en) * 2021-04-13 2021-07-13 合肥工业大学 DXF-based sheet metal part automatic identification and positioning method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5425036A (en) * 1992-09-18 1995-06-13 Quickturn Design Systems, Inc. Method and apparatus for debugging reconfigurable emulation systems
US6804656B1 (en) * 1999-06-23 2004-10-12 Visicu, Inc. System and method for providing continuous, expert network critical care services from a remote location(s)
JP3709769B2 (en) * 2000-07-27 2005-10-26 株式会社デンソー Anomaly detection system
JP4661512B2 (en) * 2004-11-05 2011-03-30 株式会社日立製作所 Remote maintenance system, monitoring center computer and maintenance instruction method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113111458A (en) * 2021-04-13 2021-07-13 合肥工业大学 DXF-based sheet metal part automatic identification and positioning method
CN113111458B (en) * 2021-04-13 2022-10-21 合肥工业大学 DXF-based sheet metal part automatic identification and positioning method

Also Published As

Publication number Publication date
TWI420269B (en) 2013-12-21

Similar Documents

Publication Publication Date Title
EP2889844B1 (en) Diminished reality
US10121286B2 (en) CAD synchronization system and method
WO2018205869A1 (en) Form self-defined method and device
EP3416103A1 (en) Dataset for learning a function taking images as inputs
WO2006033191A1 (en) Automatic drawing creation system
JP4342193B2 (en) Three-dimensional CAD system, partial reprojection method, and computer program
JPH11306224A (en) Three-dimensional model production device, its method and medium for recording three-dimensional model production program
TWI415027B (en) 2d/3d combined rendering
JP2007172433A (en) Device, method, and program for generating data for generating simulation model
TW200821785A (en) System and method for creating abnormity accessories
JP2003187263A (en) Projection control processor and computer program
CN114722441A (en) Product design system, method, apparatus, storage medium, and program product
JP2017134825A5 (en)
JP2006318057A (en) Cad model information management device
JP2007249561A (en) Display system and program of screen transition diagram
JP2008072446A (en) Document editing device, program, and storage medium
JP7484411B2 (en) Information processing device and information processing program
CN101174277B (en) Special-shaped part generating system and method thereof
CN103745480A (en) Picture rendering method and device
JP4415378B2 (en) Image composition system, image composition program, and image composition method
JP3801792B2 (en) 3D-shaped cutting device, cutting method, and storage medium storing cutting processing program
JP4687209B2 (en) Product data management apparatus, product data management method and program
JP2009075890A (en) Design support device for generating three-dimensional model for analysis
TWI317079B (en) A drawing hiding system and method
JP6689226B2 (en) Feature impression axis determination system, feature impression axis determination method and program thereof

Legal Events

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