TWI443540B - System and method for moving a close drawing automatically - Google Patents

System and method for moving a close drawing automatically Download PDF

Info

Publication number
TWI443540B
TWI443540B TW96141399A TW96141399A TWI443540B TW I443540 B TWI443540 B TW I443540B TW 96141399 A TW96141399 A TW 96141399A TW 96141399 A TW96141399 A TW 96141399A TW I443540 B TWI443540 B TW I443540B
Authority
TW
Taiwan
Prior art keywords
offset
closed
graphic
basic
graphics
Prior art date
Application number
TW96141399A
Other languages
Chinese (zh)
Other versions
TW200921437A (en
Inventor
Chun-Ming Chang
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 TW96141399A priority Critical patent/TWI443540B/en
Publication of TW200921437A publication Critical patent/TW200921437A/en
Application granted granted Critical
Publication of TWI443540B publication Critical patent/TWI443540B/en

Links

Landscapes

  • Processing Or Creating Images (AREA)

Description

封閉圖形自動偏移系統及方法 Closed graphic automatic offset system and method

本發明涉及一種封閉圖形自動偏移系統及方法。 The invention relates to a closed graphic automatic offset system and method.

在模具設計中,模具設計人員經常會遇到對各種封閉圖形進行偏移的操作來加快產品設計和縮短開發週期。所謂圖形偏移係指保證原封閉圖形不變的情況下,將原封閉圖形複製一份並將複製後的封閉圖形向偏移方向移動生成新的圖形。設計人員在進行封閉圖形偏移時,都會採用繪圖系統自帶的偏移功能,該功能存在一個嚴重的問題係對交叉圖形和存在連續圓弧的圖形偏移後,會出現偏移錯誤或者無法偏移的情況。而且,在圖形偏移後會出現許多多餘的相交線條,設計人員必須手動進行圖形修剪,造成了時間的浪費。 In mold design, mold designers often encounter shifting operations on various closed patterns to speed product design and shorten development cycles. The so-called graphic offset means that when the original closed figure is kept unchanged, the original closed figure is copied and the copied closed figure is moved in the offset direction to generate a new figure. When the designer performs the closed pattern offset, the offset function of the drawing system is adopted. This function has a serious problem. After the cross pattern and the pattern with the continuous arc are offset, the offset error or the The case of offset. Moreover, there are many extra intersecting lines after the graphics are offset, and the designer has to manually trim the graphics, which wastes time.

鑒於以上內容,有必要提出一種封閉圖形自動偏移系統,能夠快速、準確地完成對圖檔中封閉圖形的偏移操作。 In view of the above, it is necessary to propose a closed graphic automatic offset system, which can quickly and accurately complete the offset operation of the closed graphic in the image file.

鑒於以上內容,有必要提出一種封閉圖形自動偏移方法,能夠,快速、準確地完成對圖檔中封閉圖形的偏移操作。 In view of the above, it is necessary to propose a closed graphics automatic migration method, which can quickly and accurately complete the offset operation of the closed graphics in the image file.

一種封閉圖形自動偏移系統,包括電腦主機,該電腦主機包括:選取模組,用於在模具設計圖檔中選擇需要進行偏移操作的封閉圖形;設置模組,用於設置該封閉圖形的偏移方向和偏移量;獲取模組,用於獲取該封閉圖形的所有特徵點;拆分模組,用於根據所獲取的特徵點將該封閉圖形拆分成基本圖形,並複製所有基本圖形;分析模組,用於根據所設置的該封閉圖形的偏移方向和偏移量分析複製後各個基本圖形的偏移方向和偏移量;移動模組,用於將所複製的基本圖形根據所分析得到的相應的偏移方向和偏移量進行移動;修整模組,用於將偏移後的各個基本圖形進行修整;及串接模組,用於將修整後的所有基本圖形串接成一個封閉的圖形。 A closed graphic automatic offset system, comprising a computer host, the computer host comprising: a selection module, configured to select a closed graphic in the mold design file to perform an offset operation; and a setting module, configured to set the closed graphic Offset direction and offset; acquiring module for acquiring all feature points of the closed graphic; splitting module for splitting the closed graphic into basic graphics according to the acquired feature points, and copying all basic graphics An analysis module, configured to analyze an offset direction and an offset of each of the basic graphics after the copy according to the offset direction and the offset of the closed graphic; and the moving module is configured to: The corresponding offset direction and offset obtained by the analysis are moved; the trimming module is used for trimming each of the offset basic graphics; and the serial module is used for concatenating all the basic graphics after trimming Into a closed graphic.

一種封閉圖形自動偏移方法,該方法包括如下步驟:在模具設計圖檔中選擇需要進行偏移操作的封閉圖形;設置該封閉圖形的偏移方向和偏移量;獲取該封閉圖形的所有特徵點;根據所獲取的特徵點將該封閉圖形拆分成基本圖形,並複製所有基本圖形;根據所設置的該封閉圖形的偏移方向和偏移量分析複製後各個基本圖形的偏移方向和偏移量;將所複製的基本圖形根據所分析得到的相應的偏移方向和偏移量進行移動;將偏移後的各個基本圖形進行修整;及將修整後的所有基本圖形串接成一個封閉的圖形。 A closed graphic automatic offset method, the method comprising the steps of: selecting a closed graphic that needs to be offset in a mold design file; setting an offset direction and an offset of the closed graphic; acquiring all features of the closed graphic Point; split the closed graphic into basic graphics according to the acquired feature points, and copy all the basic graphics; analyze the offset direction and partiality of each basic graphic after copying according to the offset direction and offset of the closed graphic Transmitting; moving the copied basic graphics according to the corresponding offset directions and offsets obtained by the analysis; trimming the offset basic graphics; and concatenating all the modified basic graphics into one closed Graphics.

相較于習知技術,本發明所提供的封閉圖形自動偏移系統及方法可將複雜的封閉圖形拆分成多個基本圖形,將所述基本圖形按照分析得到的偏移方向和設置的偏移量進行移動,並將移動後的基本圖形進行修整和串接,快速、準確地完成複雜的封閉圖形偏移 操作,提高了設計者的工作效率。 Compared with the prior art, the closed graphic automatic offset system and method provided by the present invention can split a complex closed graphic into a plurality of basic graphics, and the offset directions and the set biases of the basic graphics according to the analysis. Move and move, and trim and concatenate the moving basic graphics to complete complex closed graphics offsets quickly and accurately Operation improves the designer's work efficiency.

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

10‧‧‧選取模組 10‧‧‧Selection module

12‧‧‧設置模組 12‧‧‧Setup module

14‧‧‧獲取模組 14‧‧‧Getting module

16‧‧‧拆分模組 16‧‧‧ Split Module

18‧‧‧分析模組 18‧‧‧Analysis module

20‧‧‧移動模組 20‧‧‧Mobile Module

22‧‧‧修整模組 22‧‧‧Finishing module

24‧‧‧串接模組 24‧‧‧Serial module

S10‧‧‧在模具圖檔中選取需要進行偏移操作的封閉圖形 S10‧‧‧Select the closed graphic that needs to be offset in the mold image

S12‧‧‧設置該封閉圖形的偏移方向和偏移量 S12‧‧‧Set the offset direction and offset of the closed figure

S14‧‧‧獲取該封閉圖形的所有特徵點 S14‧‧‧Get all the feature points of the closed figure

S16‧‧‧根據所有獲取的特徵點將該封閉圖形拆分成基本圖形,並複製拆分後的基本圖形 S16‧‧‧ Split the closed graphic into basic graphics based on all acquired feature points and copy the split basic graphics

S18‧‧‧根據所設置的偏移方向和偏移量分析複製的各個基本圖形的偏移方向和偏移量 S18‧‧‧Analysis of the offset direction and offset of each of the copied basic patterns according to the set offset direction and offset

S20‧‧‧將複製後的各個基本圖形根據所分析的偏移方向和偏移量進行移動 S20‧‧‧ Move the copied basic graphics according to the analyzed offset direction and offset

S22‧‧‧對偏移後的基本圖形進行修整 S22‧‧‧Making the basic pattern after offset

S24‧‧‧將修整後的基本圖形串接成一個封閉圖形 S24‧‧‧Connect the finished basic graphics into a closed graphic

圖1係本發明封閉圖形自動偏移系統較佳實施例的硬體架構圖。 1 is a hardware architecture diagram of a preferred embodiment of the closed graphics automatic offset system of the present invention.

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

圖3係本發明封閉圖形自動偏移方法較佳實施例的流程圖。 3 is a flow chart of a preferred embodiment of the closed pattern automatic offset method of the present invention.

圖4係封閉圖形的偏移方向為向外偏移的示意圖。 Figure 4 is a schematic illustration of the offset direction of the closed pattern being offset outward.

圖5係封閉圖形的偏移方向為向內偏移的示意圖。 Figure 5 is a schematic illustration of the offset direction of the closed pattern being offset inward.

如圖1所示,係本發明封閉圖形自動偏移系統較佳實施例的系統架構圖。該系統主要包括電腦主機1、資料庫2、顯示器3、鍵盤4及滑鼠5。該電腦主機1用於將所選取的封閉圖形根據特徵點拆分成基本圖形,並將拆分後的基本圖形根據所設置的偏移方向和偏移量進行移動。該資料庫2與該電腦主機1相連,用於存儲在圖形偏移操作過程中的相關資料。所述主機1連接有顯示器3、鍵盤4及滑鼠5,用於圖形偏移過程中相關資料的輸入及輸出。 As shown in FIG. 1, it is a system architecture diagram of a preferred embodiment of the closed graphics automatic offset system of the present invention. The system mainly includes a computer host 1, a database 2, a display 3, a keyboard 4, and a mouse 5. The computer host 1 is configured to split the selected closed graphic into basic graphics according to feature points, and move the split basic graphics according to the set offset direction and offset. The database 2 is connected to the computer host 1 for storing related materials during the graphics shift operation. The host 1 is connected with a display 3, a keyboard 4 and a mouse 5 for inputting and outputting related data during the graphic shifting process.

如圖2所示,係圖1中電腦主機1的功能模組圖。所述電腦主機1包括選取模組10、設置模組12、獲取模組14、拆分模組16、分析模組18、移動模組20、修整模組22及串接模組24。 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, a setting module 12, an acquisition module 14, a split module 16, an analysis module 18, a mobile module 20, a trim module 22, and a serial module 24.

所述選取模組10用於在模具設計圖檔中選擇需要進行偏移操作的封閉圖形。 The selection module 10 is configured to select a closed graphic that needs to be offset in the mold design file.

所述設置模組12用於設置該封閉圖形的偏移方向和偏移量。所述 封閉圖形的偏移方向包括向該封閉圖形內部偏移或向該封閉圖形外部偏移。當所設置的偏移點在封閉圖形內部時,該封閉圖形的偏移方向為向內偏移;當所設置的偏移點在封閉圖形外部時,該封閉圖形的偏移方向為向外偏移。如圖4所示,圖形a向外偏移後生成圖形a’;如圖5所示,圖形b向內偏移後生成圖形b’。 The setting module 12 is configured to set an offset direction and an offset of the closed figure. Said The offset direction of the closed graphic includes an offset to or from the outside of the closed graphic. When the set offset point is inside the closed figure, the offset direction of the closed figure is offset inward; when the set offset point is outside the closed figure, the offset direction of the closed figure is outwardly biased shift. As shown in Fig. 4, the pattern a is shifted outward to generate a pattern a'; as shown in Fig. 5, the pattern b is shifted inward to generate a pattern b'.

所述獲取模組14用於獲取該封閉圖形的所有特徵點。所述特徵點係指該封閉圖形上所有基本圖形的相交點。所述基本圖形包括線段和圓弧。 The obtaining module 14 is configured to acquire all feature points of the closed graphic. The feature point refers to the intersection of all the basic graphics on the closed graphic. The basic graphic includes line segments and arcs.

所述拆分模組16用於根據所獲取的特徵點將該封閉圖形拆分成基本圖形,並複製所有基本圖形。拆分後的基本圖形為單獨的個體,各個基本圖形之間沒有連接關係。因此,在拆分模組16將封閉圖形拆分成基本圖形並複製所有基本圖形後,串接模組24將拆分後的原基本圖形串接成一個封閉圖形。所述串接係指將拆分後的各個基本圖形連接成一個封閉的圖形,串接後的封閉圖形為一個整體。 The splitting module 16 is configured to split the closed graphic into basic graphics according to the acquired feature points, and copy all the basic graphics. The basic graphics after splitting are individual individuals, and there is no connection between the basic graphics. Therefore, after the split module 16 splits the closed graphic into basic graphics and copies all the basic graphics, the serial module 24 concatenates the split original basic graphics into a closed graphic. The concatenation refers to connecting the split basic patterns into a closed figure, and the concatenated closed figure is a whole.

所述分析模組18用於根據所設置的該封閉圖形的偏移方向和偏移量分析複製的各個基本圖形的偏移方向和偏移量。當封閉圖形的偏移方向為向該封閉圖形外部偏移時,該封閉圖形拆分後的基本圖形的偏移方向為將各個基本圖形向封閉圖形的外部區域移動的方向;當封閉圖形的偏移方向為向該封閉圖形內部偏移時,該封閉圖形拆分後的基本圖形的偏移方向為將各個基本圖形向封閉圖形的內部區域移動的方向。 The analysis module 18 is configured to analyze the offset direction and the offset of each of the copied basic graphics according to the offset direction and the offset of the closed graphic that are set. When the offset direction of the closed graphic is offset to the outside of the closed graphic, the offset direction of the basic graphic after the closed graphic is the direction of moving the basic graphic to the outer region of the closed graphic; when the closed graphic is biased When the moving direction is offset to the inside of the closed figure, the offset direction of the basic figure after the closed figure is split is a direction in which each basic figure is moved to the inner area of the closed figure.

所述移動模組20用於將所複製的各個基本圖形根據所分析得到的相應的偏移方向和偏移量進行移動。 The mobile module 20 is configured to move the copied basic graphics according to the analyzed offset directions and offsets.

所述修整模組22用於將偏移後的各個基本圖形進行修整。當封閉圖形的偏移方向為向該封閉圖形外部偏移時,修整模組22將該封閉圖形拆分後的各基本圖形的兩端延長到與其他基本圖形相交,如圖4所示,虛線部分為各基本圖形延長的線段;當封閉圖形的偏移方向為向該封閉圖形內部偏移時,修整模組22獲取該封閉圖形拆分後的各基本圖形的交點,在各交點處剪去多餘的線段,如圖5所示,虛線部分為需剪去的多餘線段。 The trimming module 22 is configured to trim each of the offset basic graphics. When the offset direction of the closed figure is offset to the outside of the closed figure, the trimming module 22 extends the two ends of the basic figure after the closed figure is split to intersect with other basic patterns, as shown in FIG. The portion is an extended line segment of each basic graphic; when the offset direction of the closed graphic is offset to the inside of the closed graphic, the trimming module 22 acquires the intersection of the basic graphics after the closed graphic is split, and cuts at each intersection The extra line segments, as shown in Figure 5, are the extra line segments that need to be cut.

所述串接模組24還用於將修整後的所有基本圖形串接成一個封閉的圖形。 The serial module 24 is also used to connect all the modified basic graphics into a closed graphic.

如圖3所示,係本發明封閉圖形自動偏移方法較佳實施例的流程圖。首先,步驟S10,選取模組10在模具設計圖檔中選擇需要進行偏移操作的封閉圖形。 As shown in FIG. 3, it is a flow chart of a preferred embodiment of the closed pattern automatic offset method of the present invention. First, in step S10, the selection module 10 selects a closed graphic that needs to be subjected to an offset operation in the mold design image file.

步驟S12,設置模組12設置該封閉圖形的偏移方向和偏移量。當所設置的偏移點在圖形區域內時,該圖形的偏移方向為向內偏移;當所設置的偏移點在圖形區域外時,該圖形的偏移方向為向外偏移。 In step S12, the setting module 12 sets the offset direction and the offset of the closed figure. When the set offset point is within the graphics area, the offset direction of the graphic is offset inward; when the set offset point is outside the graphics area, the offset direction of the graphic is outwardly offset.

步驟S14,獲取模組14獲取該封閉圖形的所有特徵點。 In step S14, the acquisition module 14 acquires all feature points of the closed graphic.

步驟S16,拆分模組16根據所獲取的特徵點將該封閉圖形拆分成基本圖形,並複製所有基本圖形。串接模組24在拆分模組16將封閉圖形拆分成基本圖形並複製所有基本圖形後,將拆分後的原基 本圖形串接成一個封閉圖形。 In step S16, the splitting module 16 splits the closed graphic into basic graphics according to the acquired feature points, and copies all the basic graphics. The tandem module 24 splits the closed image into the basic graphics and copies all the basic graphics after the splitting module 16 The graphic is concatenated into a closed graphic.

步驟S18,分析模組18根據所設置的該封閉圖形的偏移方向和偏移量分析複製的各個基本圖形的偏移方向和偏移量。所述分析的步驟為:當封閉圖形的偏移方向為向該封閉圖形外部偏移時,該封閉圖形拆分後的基本圖形的偏移方向為將各個基本圖形向封閉圖形的外部區域移動的方向;當封閉圖形的偏移方向為向該封閉圖形內部偏移時,該封閉圖形拆分後的基本圖形的偏移方向為將各個基本圖形向封閉圖形的內部區域移動的方向。 In step S18, the analysis module 18 analyzes the offset directions and offsets of the copied basic patterns according to the set offset direction and the offset amount of the closed figure. The step of analyzing is: when the offset direction of the closed graphic is offset to the outside of the closed graphic, the offset direction of the basic graphic after the closed graphic is split is to move each basic graphic to the outer region of the closed graphic. Direction; when the offset direction of the closed figure is offset to the inside of the closed figure, the offset direction of the basic figure after the closed figure is split is a direction in which each basic figure moves toward the inner area of the closed figure.

步驟S20,移動模組20將所複製的各個基本圖形根據所分析得到的相應的偏移方向和偏移量進行移動。 In step S20, the mobile module 20 moves the copied basic graphics according to the analyzed offset directions and offsets.

步驟S22,修整模組22將偏移後的各個基本圖形進行修整。所述修整的步驟為:當封閉圖形的偏移方向為向該封閉圖形外部偏移時,修整模組22將該封閉圖形拆分後的各基本圖形的兩端延長到與其他基本圖形相交;當封閉圖形的偏移方向為向該封閉圖形內部偏移時,修整模組22獲取該封閉圖形拆分後的各基本圖形的交點,在各交點處剪去多餘的線條。 In step S22, the trimming module 22 trims each of the offset basic patterns. The step of trimming is: when the offset direction of the closed graphic is offset to the outside of the closed graphic, the trimming module 22 extends the two ends of the basic graphic after the closed graphic is split to intersect with other basic patterns; When the offset direction of the closed graphic is offset to the inside of the closed graphic, the trimming module 22 acquires the intersection of the basic graphics after the closed graphic is split, and cuts the extra lines at the intersections.

步驟S24,串接模組24將修整後的所有基本圖形串接成一個封閉的圖形。 In step S24, the serial module 24 concatenates all the modified basic graphics into a closed graphic.

S10‧‧‧在模具圖檔中選取需要進行偏移操作的封閉圖形 S10‧‧‧Select the closed graphic that needs to be offset in the mold image

S12‧‧‧設置該封閉圖形的偏移方向和偏移量 S12‧‧‧Set the offset direction and offset of the closed figure

S14‧‧‧獲取該封閉圖形的所有特徵點 S14‧‧‧Get all the feature points of the closed figure

S16‧‧‧根據所有獲取的特徵點將該封閉圖形拆分成基本圖形,並複製拆分後的基本圖形 S16‧‧‧ Split the closed graphic into basic graphics based on all acquired feature points and copy the split basic graphics

S18‧‧‧根據所設置的偏移方向和偏移量分析複製的各個基本圖形的偏移方向和偏移量 S18‧‧‧Analysis of the offset direction and offset of each of the copied basic patterns according to the set offset direction and offset

S20‧‧‧將複製後的各個基本圖形根據所分析的偏移方向和偏移量進行移動 S20‧‧‧ Move the copied basic graphics according to the analyzed offset direction and offset

S22‧‧‧對偏移後的基本圖形進行修整 S22‧‧‧Making the basic pattern after offset

S24‧‧‧將修整後的基本圖形串接成一個封閉圖形 S24‧‧‧Connect the finished basic graphics into a closed graphic

Claims (7)

一種封閉圖形自動偏移系統,包括電腦主機,該電腦主機包括:選取模組,用於在模具設計圖檔中選擇需要進行偏移操作的封閉圖形;設置模組,用於設置該封閉圖形的偏移方向和偏移量,所述封閉圖形的偏移方向包括向該封閉圖形的內部偏移或向該封閉圖形的外部偏移;獲取模組,用於獲取該封閉圖形的所有特徵點;拆分模組,用於根據所獲取的特徵點將該封閉圖形拆分成基本圖形,並複製所有基本圖形;分析模組,用於根據所設置的該封閉圖形的偏移方向和偏移量分析複製的各個基本圖形的偏移方向和偏移量;移動模組,用於將所複製的各個基本圖形根據所分析得到的相應的偏移方向和偏移量進行移動;修整模組,用於將偏移後的各個基本圖形進行修整,包括:當封閉圖形的偏移方向為向該封閉圖形外部偏移時,將各基本圖形的兩端延長到與其他基本圖形相交;當封閉圖形的偏移方向為向該封閉圖形內部偏移時,獲取各基本圖形的交點,在各交點處剪去多餘的線條;及串接模組,用於將修整後的所有基本圖形串接成一個封閉的圖形。 A closed graphic automatic offset system, comprising a computer host, the computer host comprising: a selection module, configured to select a closed graphic in the mold design file to perform an offset operation; and a setting module, configured to set the closed graphic An offset direction and an offset, the offset direction of the closed graphic includes an internal offset to the closed graphic or an external offset to the closed graphic; and an acquisition module configured to acquire all feature points of the closed graphic; a splitting module, configured to split the closed graphic into a basic graphic according to the acquired feature points, and copy all the basic graphics; and an analysis module, configured to analyze an offset direction and an offset of the closed graphic according to the set The offset direction and offset of each of the copied basic graphics; the mobile module is configured to move the copied basic graphics according to the corresponding offset directions and offsets obtained; the trimming module is used for The basic graphics after the offset are trimmed, including: when the offset direction of the closed graphic is offset to the outside of the closed graphic, the two ends of each basic graphic are extended to The basic graphics intersect; when the offset direction of the closed graphic is offset to the inside of the closed graphic, the intersection of each basic graphic is obtained, and the extra lines are cut at each intersection; and the serial module is used for trimming All the basic graphics are concatenated into a closed graphic. 如申請專利範圍第1項所述的封閉圖形自動偏移系統,所述串接 模組還用於在拆分模組根據所獲取的特徵點將該封閉圖形拆分成基本圖形,並複製所有基本圖形後,將拆分後的原基本圖形串接成一個封閉圖形。 The closed graphic automatic offset system according to claim 1, wherein the serial connection The module is further configured to split the closed graphic into basic graphics according to the acquired feature points, and copy all the basic graphics, and then connect the split original basic graphics into a closed graphic. 如申請專利範圍第1項所述的封閉圖形自動偏移系統,所述特徵點係指封閉圖形上所有基本圖形的相交點,所述基本圖形包括線段和圓弧。 The closed pattern automatic offset system according to claim 1, wherein the feature point refers to an intersection point of all basic patterns on the closed figure, and the basic figure includes a line segment and an arc. 如申請專利範圍第1項所述的封閉圖形自動偏移系統,所述各基本圖形的偏移方向係指當封閉圖形的偏移方向為向該封閉圖形外部偏移時,該封閉圖形拆分後的基本圖形的偏移方向為將各個基本圖形向封閉圖形的外部區域移動的方向;當封閉圖形的偏移方向為向該封閉圖形內部偏移時,該封閉圖形拆分後的基本圖形的偏移方向為將各個基本圖形向封閉圖形的內部區域移動的方向。 The closed pattern automatic offset system according to claim 1, wherein the offset direction of each of the basic patterns refers to splitting the closed figure when the offset direction of the closed figure is offset to the outside of the closed figure. The offset direction of the following basic graphics is the direction in which the respective basic graphics are moved to the outer region of the closed graphics; when the offset direction of the closed graphics is offset to the interior of the closed graphics, the basic graphics after the closed graphics are split The offset direction is a direction in which each basic pattern is moved toward the inner region of the closed figure. 一種封閉圖形自動偏移方法,該方法包括如下步驟:在模具設計圖檔中選擇需要進行偏移操作的封閉圖形;設置該封閉圖形的偏移方向和偏移量,所述封閉圖形的偏移方向包括向該封閉圖形的內部偏移或向該封閉圖形的外部偏移;獲取該封閉圖形的所有特徵點;根據所獲取的特徵點將該封閉圖形拆分成基本圖形,並複製所有基本圖形;根據所設置的該封閉圖形的偏移方向和偏移量分析複製的各個基本圖形的偏移方向和偏移量;將所複製的各個基本圖形根據所分析得到的相應的偏移方向和偏移量進行移動;將偏移後的各個基本圖形進行修整,包括:當封閉圖形的偏移方 向為向該封閉圖形外部偏移時,將該封閉圖形拆分後的各基本圖形的兩端延長到與其他基本圖形相交;當封閉圖形的偏移方向為向該封閉圖形內部偏移時,獲取該封閉圖形拆分後的各基本圖形的交點,在各交點處剪去多餘的線條;及將修整後的所有基本圖形串接成一個封閉的圖形。 A closed graphic automatic offset method, the method comprising the steps of: selecting a closed graphic in an artwork design file to perform an offset operation; setting an offset direction and an offset of the closed graphic, the offset of the closed graphic The direction includes an internal offset to the closed graphic or an external offset to the closed graphic; acquiring all feature points of the closed graphic; splitting the closed graphic into a basic graphic according to the acquired feature points, and copying all the basic graphics; And analyzing an offset direction and an offset of each of the copied basic patterns according to the set offset direction and the offset amount of the closed figure; and respectively copying the respective basic patterns according to the analyzed corresponding offset directions and offsets The quantity is moved; the basic graphics after the offset are trimmed, including: when the offset of the closed graphic When offsetting to the outside of the closed figure, the two ends of the basic figure after splitting the closed figure are extended to intersect with other basic patterns; when the offset direction of the closed figure is offset to the inside of the closed figure, Obtaining intersections of the basic graphics after the closed graphics are split, cutting off excess lines at each intersection; and concatenating all the modified basic graphics into a closed graphic. 如申請專利範圍第5項所述的封閉圖形自動偏移方法,在步驟根據所獲取的特徵點將該封閉圖形拆分成基本圖形,並複製所有基本圖形之後,還包括步驟:將拆分後的原基本圖形串接成一個封閉圖形。 The closed graphic automatic offset method according to claim 5, in the step of splitting the closed graphic into basic graphics according to the acquired feature points, and copying all the basic graphics, further comprising the step of: splitting The original basic graphics are concatenated into a closed graphic. 如申請專利範圍第5項所述的封閉圖形自動偏移方法,所述分析各個基本圖形的偏移方向的步驟包括:當封閉圖形的偏移方向為向該封閉圖形外部偏移時,該封閉圖形拆分後的基本圖形的偏移方向為將各個基本圖形向封閉圖形的外部區域移動的方向;當封閉圖形的偏移方向為向該封閉圖形內部偏移時,該封閉圖形拆分後的基本圖形的偏移方向為將各個基本圖形向封閉圖形的內部區域移動的方向。 The closed graphic automatic offset method according to claim 5, wherein the step of analyzing the offset direction of each of the basic patterns comprises: closing the offset direction of the closed graphic when the offset direction is external to the closed graphic The offset direction of the basic graphics after the graphics split is the direction in which the basic graphics are moved to the outer region of the closed graphics; when the offset direction of the closed graphics is offset to the interior of the closed graphics, the closed graphics are split. The offset direction of the basic graphic is the direction in which each basic graphic is moved toward the inner region of the closed graphic.
TW96141399A 2007-11-02 2007-11-02 System and method for moving a close drawing automatically TWI443540B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW96141399A TWI443540B (en) 2007-11-02 2007-11-02 System and method for moving a close drawing automatically

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW96141399A TWI443540B (en) 2007-11-02 2007-11-02 System and method for moving a close drawing automatically

Publications (2)

Publication Number Publication Date
TW200921437A TW200921437A (en) 2009-05-16
TWI443540B true TWI443540B (en) 2014-07-01

Family

ID=44727861

Family Applications (1)

Application Number Title Priority Date Filing Date
TW96141399A TWI443540B (en) 2007-11-02 2007-11-02 System and method for moving a close drawing automatically

Country Status (1)

Country Link
TW (1) TWI443540B (en)

Also Published As

Publication number Publication date
TW200921437A (en) 2009-05-16

Similar Documents

Publication Publication Date Title
Zhou et al. Parametric process optimization to improve the accuracy of rapid prototyped stereolithography parts
KR100898138B1 (en) System and method for mesh and body hybrid modeling using ?d scan data
EP1821229B1 (en) Sheet material patterning device, method, and program
Chen et al. Synthesis of filigrees for digital fabrication
JP2018106713A (en) B-rep of result of two-axis 3d printing process
CN110853132A (en) Three-dimensional modeling method for complex curved surface part for 3D printing
US6735489B1 (en) Horizontally structured manufacturing process modeling
TWI443540B (en) System and method for moving a close drawing automatically
CN114254413A (en) Tire mold drawing parameterization system based on contour data and design method
JP2004220081A (en) Shape model simplifying device
JP2008052336A (en) Analytic model creation system
JP2006240183A (en) Method and apparatus for fabricating mold
JP4783145B2 (en) How to create a 3D tire model
Ismail et al. Tool path generation for linear cutting using step file (ISO 10303) data structure
Jana et al. Surface interpolation and procedure used in the generative engineering design of surface-based automotive components
JP2009193559A (en) Element breakdown method and element breakdown system
JP4311841B2 (en) Stereoscopic image forming apparatus and stereoscopic image forming method
EP3291528A1 (en) Three-dimensional shape color adjustment method, three-dimensional object shaping method, and three-dimensional shape color adjustment apparatus
JP2005018457A (en) Machining process model generating system and machining process model generating program
CN101414316B (en) Closed graphical automatic offset system and method
Bodkin et al. Towards additive manufacture of next-generation prosthetics, assessing emerging CAD strategies for improving the existing CAD process
CN113239425B (en) Digital precision manufacturing method and system for surgical instrument
Junk et al. Using voxel-based CAD-systems for additive manufacturing with 3D multi material printing
Athanasiadis Reverse Engineering and Manufacture of Moulds using additive and subtractive 3D Technologies for the Replication of Great Alexander’s silver Tetradrachm
JP5036633B2 (en) Drawing creation apparatus and drawing creation program

Legal Events

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