[go: up one dir, main page]

TWI288363B - System and method for labeling measurement numbers automatically - Google Patents

System and method for labeling measurement numbers automatically Download PDF

Info

Publication number
TWI288363B
TWI288363B TW94146325A TW94146325A TWI288363B TW I288363 B TWI288363 B TW I288363B TW 94146325 A TW94146325 A TW 94146325A TW 94146325 A TW94146325 A TW 94146325A TW I288363 B TWI288363 B TW I288363B
Authority
TW
Taiwan
Prior art keywords
size
dimension
labeling
module
size number
Prior art date
Application number
TW94146325A
Other languages
Chinese (zh)
Other versions
TW200725477A (en
Inventor
Chih-Kuang Chang
Xin-Yuan Wu
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 TW94146325A priority Critical patent/TWI288363B/en
Publication of TW200725477A publication Critical patent/TW200725477A/en
Application granted granted Critical
Publication of TWI288363B publication Critical patent/TWI288363B/en

Links

Landscapes

  • Labeling Devices (AREA)
  • Image Analysis (AREA)

Abstract

The present invention relates to a system for labeling measurement numbers automatically. The system includes: a setting module for setting parameters; an input/output module for reading the parameters, checking a format of a drawing document to be labeled with measurement numbers, and obtaining a mode of labeling the measurement numbers; a selecting module for selecting objects to be labeled from the drawing document; a labeling module for labeling the objects with corresponding measurement numbers. A method for labeling measurement numbers automatically is also provided. Utilizing the system and the method can avoid working errors and save working time.

Description

1288363 九、發明說明: 【發明所屬之技術領域】 本發明涉及一種尺寸號碼自動標注系統及方法。 【先前技術】 對於精密量測業而言,人們在進行産品尺寸檢驗前,需要將每個 量測尺寸的位置處按照自己習慣的順序進行序號的標注,從而能夠將 量測的報告和産品的圖檔相對應起來,即將量測的尺寸、位置及尺寸 的標注號碼相結合起來,以利於後續量測結果的分析。 、 目两,傳統的標注尺寸號碼的方式是:於産品賴的相應尺寸旁 邊’人工寫人-文本數位作爲該相應尺寸的標注號碼,歸製一個圖 形框框住寫人的文核位,鱗製的圖雜結合寫人的文本數位組合 成尺寸號碼的標注實體。然而,手工方式進行尺寸號碼的標注作業時, 沒有辦法精確控制標注的順序,不僅非常容f出現混淆以至於出現誤 差,而且耗時。 、 避免不能自動進行尺寸號碼的標注,有助於避免人工標注尺寸號 碼帶來的誤差和作業時間的浪費。 化 【發明内容】 — 鑒=以上内容,有必要提供—種尺寸號碼自動標㈣統及方法以 ^動進行尺寸號碼的標注,避免人玉標注尺寸號碼帶來的誤差和作業 日才間的浪費。 <種尺寸號碼自動標注系統,其運行於一電腦中。該系統包括: 二置模、^'用於進行標注參數的設置;—輸人/輸&模組,用於讀取 斤又置的參數’;^查待標尺寸號碼的圖谢各式,獲取或新增尺寸號 碼的標注赋;―查賴組,在檢錄的待標注尺指碼的圖槽 中找出待標注的尺寸號碼的物件;—標注模組,麟對找出的待標注 尺寸號碼的物件進行尺寸號碼的標注。 進步地’所述的待標注尺寸號碼的物件都與一屬性陣列(N,X, 一^^對應’所述的表待標注尺寸號碼的物件標示,X代表待標 ’主尺寸號碼的物件於X麵錄座標,y代表待標注尺寸號碼的物件 6 1288363 於Y軸的位置座標。 進一步地,該標注槿紐请4权· 、、、且m包括·一排序子模組,用於將屬性陣 (N,X,y)按Y軸進行排序;—劃分子模組,用於將按γ轴排序的】 屬性P歹| N X ’ y)按γ轴劃分爲n等份;一更改子模組,用於更 改尺寸號^注樣式敎摘示雜,錢行尺寸標注躺的累加 遞減;-判斷莫組,用於判斷屬性陣列(Ν,χ,y)對應的待標注尺 寸號碼的物件是否都已標注完畢。 進一步地,所述的排料模域胁對按Y _分後的屬性陣列 (N,X,y)按X軸進行排序。1288363 IX. Description of the Invention: [Technical Field] The present invention relates to a system and method for automatically marking a size number. [Prior Art] For the precision measurement industry, before the product size inspection, people need to mark the position of each measurement size in the order they are used to, so that the measurement report and the product can be measured. Corresponding to the file, the measured size, position and size of the label number are combined to facilitate the analysis of subsequent measurement results. The purpose of the traditional dimensioning number is: next to the corresponding size of the product, 'manually write the person-text digit as the labeling number of the corresponding size, and return a text box to frame the person's text, the scale The combination of the digits of the written person's text is combined into the dimensioning entity of the size number. However, when manually marking the size numbers, there is no way to precisely control the order of the labels, which is not only confusing, but also cumbersome and time consuming. Avoid the automatic labeling of the size numbers, which helps to avoid the error caused by manual dimensioning and the waste of working time. [Invention] - For the above content, it is necessary to provide the automatic numbering (4) of the size number and the method to mark the size number to avoid the error caused by the size number of the person jade and the waste between the work days. . < species size number automatic labeling system, which runs on a computer. The system includes: two molds, ^' for setting the labeling parameters; - input/output & module, for reading the parameters of the kilometer and set; , obtain or add a new dimension number label assignment; "Cha Lai group, find the object number to be marked in the groove of the recorded ruler code to be marked; - label module, the pair to find the to be labeled The size number of the object is marked with the size number. The objects of the dimension number to be progressively described are all marked with an attribute array (N, X, a ^^ corresponding to the object to be dimensioned, and X represents the object to be marked with the main size number. The X-faced coordinates, y represents the coordinates of the object to be dimensioned 6 1288363 at the position of the Y-axis. Further, the label 槿 请, 4, and m include a sorting sub-module for the attribute Array (N, X, y) is sorted by Y-axis; - sub-module is used to sort γ-axis 属性 attribute 歹| NX ' y) into n equal parts according to γ-axis; Group, used to change the size number ^ Note style 敎 示 , , , , , , , , 钱 钱 钱 钱 钱 钱 钱 钱 钱 钱 钱 - - - - - - - - - - - - - - - - - - - - - - - - - Marked up. Further, the discharge mode domain is sorted by the X-axis of the attribute array (N, X, y) according to Y_.

進;/地所述的輪入/輸出模組還用於根據屬性陣列(N,X 的排序順序在待標錄置處·尺寸號碼的標注樣式,及輸出尺寸號 碼標注的結果。 b 進-步地’所述的標注參數包括:標注字體顏色、標注框線顏色、 標注字體高度、標注尺寸區域、標注尺寸樣式、起簡尺寸標注號碼、 要劃分的雜數、待標錄置聰標注尺寸號碼的物件綱的距離、 待標注位置到待標注尺寸號碼的物件左端的距離。 -種利用電腦自動標注尺寸號碼的方法,該綠包括如下步驟-: (a)設置標注參數;⑻讀取所設置的標注參數,並於繪圖軟體導入 待標注尺寸_文财檢查關料;(〇在檢錄的待標注尺寸號 碼的随中找出待標注的尺寸號碼的物件;⑷獲取或新增尺寸號碼 的U樣式’(e)根據尺寸號碼的標注樣式對找$的待標注尺寸號碼 的物件進行尺寸號碼的標注。 進一步地,所述的待標注尺寸號碼的物件都與一屬性陣列(n,X, y) --對應,所述的N代表待標注尺寸號碼的物件標示,χ代表待標 注尺寸號_物胁X _位置座標,y絲待脸尺找碼的物件 於Y軸的位置座標。 進-步地’所述的對待標注尺寸號碼的物件進行尺寸號碼的標注 的步驟包括:(el)將屬性陣列,χ,y)按γ軸進行排序及劃分; ⑽對劃分後的每等份中的屬性陣列(Ν,χ,y)按X轴進行排序; 7 1288363 (e3)從設置的參數中讀取起始的尺寸標注號碼;(e4)根據屬性陣列 (N X y)的排序順序在待標注位置處複製尺寸號碼的標注樣式;(β ) 更改尺寸號碼標注樣式的文本顯示屬性爲要標注的尺寸號碼,且將標 注的尺寸號碼累加或遞減;(e6)重複執行上述複製尺寸號碼標注樣式 和更改尺寸號瑪標注樣式的步驟,直到所有待標注尺寸號碼的物 已標注完畢。 相季父省知技術,所述的尺寸號碼自動標注系統及方法,充分考量 了尺寸號碼標注的自動性,避免了人工標注尺寸號碼帶來的誤差和 業時間的浪費。The round/in module described above is also used to mark the result of the attribute array (N, X sort order in the order to be marked, the dimension number, and the output size number. b) The labeling parameters described in the step include: label font color, label frame line color, label font height, dimension size area, dimension size style, simple dimension number, number to be divided, to be marked The distance of the object of the number, the distance from the position to be marked to the left end of the object to be dimensioned. - A method of automatically dimensioning the number using a computer. The green includes the following steps -: (a) setting the labeling parameters; (8) reading the location Set the labeling parameters, and import the dimension to be dimensioned in the drawing software _ text check the material; (〇 find the size number of the dimension number to be marked in the recorded dimension number; (4) obtain or add the size number The U style '(e) is used to mark the size number of the item to be dimensioned according to the dimension number of the size number. Further, the size number to be dimensioned is The pieces correspond to an attribute array (n, X, y), the N represents the object number to be dimensioned, χ represents the size number to be marked _ object threat X _ position coordinates, y silk to face look The object of the code is located at the position of the Y-axis. The step of marking the size number of the object to be dimensioned as described above is: (el) sorting the attribute array, χ, y) by the γ axis and (10) Sort the attribute arrays (Ν, χ, y) in each divided partition by X axis; 7 1288363 (e3) Read the starting dimension number from the set parameters; (e4) The sorting order of the attribute array (NX y) copies the dimension style of the size number at the position to be marked; (β) changes the text display attribute of the size number label style to the size number to be labeled, and accumulates or decrements the dimension number of the label; (e6) Repeat the above steps of copying the size number labeling style and changing the size number labeling style until all the items of the dimension number to be dimensioned have been marked. The seasoning father knows the technology, the size number automatic labeling system and the square The method fully considers the autonomy of the dimension number labeling, avoiding the error caused by the manual dimensioning number and the waste of the working time.

【實施方式】 參,第一圖所示,係本發明尺寸號碼自動標注系統較佳實施方式 的功能板蝴。該尺讀碼自動標㈣統1運行於-電腦(未示出) 中,且提供-操作介面,該尺寸號碼自動標注系統丄包括一設置模組 10、一輸入/輸出模組12、一查找模組14及一標注模组16 ;該 置有一繪圖軟體,例如·· AutoGAD。 衣 該設置模組10,用於進行標注參數的設置。該標注參數的設置伊 準並不是m定的,於本實施财,設置的該標注參數包括··標注字g :員色UC線顏色、;子體〶度、標注尺寸區域、標注尺寸樣式、 起始的尺寸標注號碼Nrnn、要按γ轴劃分屬性陣列的等份數n、待標 ΐϊΐΐΓί注尺寸號碼的物件頂端的距離、待標注位置到待標注^ 才唬碼的物件左端的距離等。 該^輸出模組u ’用於讀取上述設置的參數,於杨⑽軟 體―入待標注尺寸號碼域後檢查隨的格式,按昭客 或新增尺賴標賴式,於麵錄 ^ ^ 寸號r•待標注尺寸號碼的物件V:== 中疋否有雜,該雜包純件鮮、位置 碼的標注樣式並不是固定的,1可以是圓絲如該尺核 示屬性'_形框._間具有文本::::=; 8 1288363 ===;?’用戶可以透過該輸入/輪雛_需 中定的物件於一軟體 洽Γ 核碼的物件。該定義關性於不同的 二,Γ13Γ定義’該定義的屬性包括:待標注尺寸號瑪的 件的二名r ν ΙΊ定義的屬性的值包括:待標注尺梢碼的物 於找^待;ρ尺十策由位置座標χ、γ軸位置座標y。該查找模組μ 屬性值以屬性陣列(N,x,y)來—對應。爾件』義的 /i tt標注模組16,用於對待標注尺寸號碼的物件進行尺寸號碼的標 电穌㈣標絲_子魏模《。該標注模 =16包括-排序子模組⑽、—劃分子模組162、 及一判斷子模組166。 頌于棋、,且164 排序該^贿嫌咖(N,X,y)按㉔進行降冪 、^刀子桓組162劃分後的屬性陣列(N,x,y)按χ軸 广=屬,、Γ對位置座標χ屬於偶數的屬性陣列按昇冪排序,對位.i 軚X屬於可數的屬性陣列按降冪排序,使屬性 2陣列(N,x ’ y)的排序規則並不是固定的 施 =排Γί組⑽可用於將屬性陣列(N,X,二= 對位置座俨^’卜刀後的屬性陣列(N,x,y)按x軸進行排序,即 奴广‘ x屬於偶數的屬性陣列按降冪排序 數的屬性陣列按昇冪排序。 恥X屬於可 庄ί「子拉組162 ’用於將由排序子模組16°按γ軸進行降冪排 X ) " vt:J (N *X J y) ## Yn ° y)按γ轴劃分^柳卩是取Y軸位置座標^最A的屬性陣列 (N,X ’ y)爲參照,將所有屬性陣列(N,x,y)按γ_分爲間距 1288363[Embodiment] As shown in the first figure, it is a function board of a preferred embodiment of the automatic numbering system of the present invention. The ruler reading code automatic (4) system 1 runs in a computer (not shown), and provides an operation interface, the size number automatic labeling system includes a setting module 10, an input/output module 12, and a search The module 14 and an annotation module 16 are provided with a drawing software such as AutoGAD. The setting module 10 is used for setting the labeling parameters. The setting of the labeling parameter is not fixed. In the implementation, the labeling parameter includes: · label word g: member color UC line color; child body width, dimension area, dimension size style, The starting dimension number Nrnn, the number of aliquots of the attribute array to be divided by the γ axis, the distance of the top of the object to be marked with the size number, the distance to be marked to the left end of the object to be labeled, and so on. The ^ output module u ' is used to read the parameters set above, and the format of the Yang (10) software-into the dimension number field to be checked, according to the Zhaoke or the new ruler, in the face record ^ ^ Inch number r: The object to be dimensioned V:== There is no miscellaneous in the middle, the miscellaneous package is pure, and the position code is not fixed. 1 can be a round wire such as the ruler to indicate the attribute '_ The box has the text::::=; 8 1288363 ===;?' The user can use the input/wheels _ the object to be negotiated in a software to negotiate the object of the code. The definition is related to different two, Γ13Γ definitions. The attributes of the definition include: the two values of the r ν ΙΊ of the piece to be dimensioned include: the object to be marked with the tip code is found; The ruler is based on the position coordinate χ and the γ axis position coordinate y. The lookup module μ attribute value is corresponding to the attribute array (N, x, y). The /i tt labeling module 16 for the object of the dimension number is used to mark the size of the object of the dimension number (four) standard silk _ son Wei model. The labeling module =16 includes a sorting sub-module (10), a dividing sub-module 162, and a judging sub-module 166.颂 棋,, and 164 sort the ^ 嫌 咖 ( (N, X, y) according to 24 to reduce power, ^ knife 桓 group 162 after the attribute array (N, x, y) according to the axis = genus, Γ 属性 位置 位置 位置 位置 位置 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性 属性The group (10) can be used to sort the attribute array (N, X, 2 = attribute arrays (N, x, y) after the position of the knife to the x-axis, that is, slave wide 'x belongs to The even-numbered attribute arrays are sorted by the descending power of the attribute array. The shame X belongs to the ί ί "sub-pull group 162 ' is used to reduce the power of the sorting sub-module by 16° according to the γ-axis X) " vt :J (N *XJ y) ## Yn ° y) According to the γ axis division ^ Liu 卩 is taken from the Y axis position coordinates ^ the most A attribute array (N, X ' y) for reference, all attribute arrays (N, x, y) according to γ_ divided into 1,828,363

的η等份。 錄旯iSC于犋驵η aliquot. Recorded iSC Yu Wei

,、心』刀于她162將屬性陣列(N,x,y) 按Y軸劃分爲η等份,輸入/輸出模組12取¥軸位置座桿^最大的 屬性陣列(N,X,y)對應的待標注尺寸號碼的物件爲起始:的 並根據屬㈣mN ’ X ’ y) _糊序在待標錄置處複^ ’ 的標注樣錢,更改尺找碼標注樣式的林雜騎標== 碼’及進彳亍尺寸標注號碼的累加或遞減。 〃、… 該鑛子模組166,用於判斷屬性陣列(Ν,χ,y)對 尺寸號碼的物件是否都已標注完畢。 〜 對運用該尺種碼自動觀纽i以實賴尺稍碼快速 的標注的步驟,進行如下闡述。 首先,進行尺寸號碼標注作業前的準備作業,具體而言,令嘹置 模組10進行標注參數的設置,輸入/輸出模組12讀取設置的參^叹並 於AutoCAD軟體導入待標注尺寸號碼文檔後檢查圖檔的格式,得到尺 寸5虎碼的標注樣式。 接著’令標注模組16及輸入/輸出模組12進行尺寸號碼標注作業' 具體而·言,令排序子模組丨6〇將屬性陣列(Ν,χ,y)按γ軸進行降 冪排序,劃分子模組162將由排序子模組160按Υ軸進行降冪排序後 的屬性陣列(Ν,X,y)再按γ軸劃分爲η等份,排序子模組16〇對 由』刀子模組162劃分後的屬性陣列(Ν,X,y)按X軸進行排序, 使屬性陣列(Ν,X,y)對應的待標注尺寸號碼的物件呈“之,,字形排 佈’輸入/輸出模組12讀取起始的尺寸標注號碼及根據屬性陣列(N, X ’ y)的排序順序在待標注位置處複製尺寸號碼的標注樣式,更改子 模組164進行尺寸號碼標注樣式的文本顯示屬性的更改。 之後’令判斷子模組166進行尺寸號碼標注作業的完成判斷。若 尺寸號碼標注作業未完成,則迴圈尺寸號碼的標注作業。 參閱第三圖所示,係本發明尺寸號碼自動標注方法較佳實施方式 的具體實施流程圖。首先,用戶於尺寸號碼標注前,透過設置模組 1288363 ^標注參數的設置(步驟S2Q)^輪人/輸出模組i2讀取設置的標注 二A_CAD軟體導人待標注尺寸號碼文微檢細構的格 的格式即是檢查圖權是否有待標注尺寸號碼的物件, ^寺=尺寸號碼的物件於AutQCAD軟體巾㉔#朗步驟s22)。 一找棋,,且I4根據待標注尺寸號碼的物件於Am〇⑽軟體中定義 性,找出待標注的尺寸號碼的物件,查找模組 碼的物件後^待標注尺寸號碼的物件蚊義的屬性值^, heart knives in her 162 the attribute array (N, x, y) is divided into η equal parts according to the Y axis, the input / output module 12 takes the axis position of the seat bar ^ the largest attribute array (N, X, y The corresponding object to be dimensioned is the starting point: and according to the genus (4) mN 'X ' y) _ paste order in the to-be-recorded place ^ ^ the label sample money, change the ruler to find the code label style of the forest ride The mark == code 'and the cumulative or decrement of the dimension number. 〃,... The mine sub-module 166 is used to determine whether the attribute array (Ν, χ, y) has been marked for the size number of the object. ~ The steps for using the ruler code to automatically view the mark i are quickly marked with a short code. First, the preparation work before the dimension number labeling operation is performed. Specifically, the setting module 10 is configured to set the labeling parameters, and the input/output module 12 reads the set parameters and imports the dimension number to be dimensioned in the AutoCAD software. After the document, check the format of the image file to get the dimension style of the size 5 tiger code. Then, 'the labeling module 16 and the input/output module 12 are subjected to the dimension number labeling operation'. Specifically, the sorting sub-module 丨6〇 sorts the attribute arrays (Ν, χ, y) by the γ-axis. The dividing sub-module 162 divides the attribute array (Ν, X, y) sorted by the sorting sub-module 160 by the Υ axis and then divides into η equal parts according to the γ axis, and the sorting sub-module 16 〇 pairs the knives The attribute array (Ν, X, y) divided by the module 162 is sorted by the X axis, so that the object of the attribute array (Ν, X, y) corresponding to the size number to be marked is ",, the glyph arrangement" input / The output module 12 reads the initial dimension number and copies the dimension style of the size number at the position to be marked according to the sort order of the attribute array (N, X ' y), and changes the text of the sub-module 164 for the dimension number labeling style. The change of the attribute is displayed. Then, the judgment sub-module 166 judges the completion of the dimension number labeling operation. If the dimension number labeling job is not completed, the loop size number is marked. Referring to the third figure, the size of the present invention is Automatic numbering method is better A specific implementation flow chart of the implementation method. First, before the dimension number is marked by the user, the setting of the parameter is set by the setting module 1284836 ^ (step S2Q) ^ the wheel person / output module i2 reads the set label 2 A_CAD software guide The format of the dimension number and the fine-grained texture is the object that checks whether the weight of the image has to be dimensioned. ^The temple=size number object is in the AutQCAD software towel 24#lang step s22). One is looking for chess, and I4 According to the object to be dimensioned, define the object in the Am〇(10) software, find the object of the size number to be marked, and find the attribute value of the object to be dimensioned after the object of the module code.

、倾來對應(步驟S24)。輸入/輸出模組12按照客戶的要 =取寸號碼的標注樣式’該尺寸號標注樣式並不是固 結構且中間具有文本顯示屬性、橢圓形框結構 义時時,#無法獲取顺㈣尺寸制的標注樣 出模組12新增需要的尺寸號碼的標注樣式 ϋΓ 16及輸入/輸出模、组12對上述待標注尺寸號碼 亍尺寸號碼標注作業(步驟S28)。12 注的結果’該尺寸號碼標注的結果包括標注的尺寸號碼的個 數4注的表大尺寸號碼、標注的尺寸號碼列表等(步驟s3〇)。 參,四圖所示,係第三圖中步驟S28的尺寸號碼標注作業的 仏貫把方式流程圖。首先,排序子模組將屬性陣列(n, γ轴進研冪排序(步驟S280)。劃分子模組162將全部屬性陣列y(N, 二’^按Y _分爲n等份(步驟S28小排序子顯16G _分後 =母4份中的屬性陣列(N,X,y)按X軸進行排序,即對位置座標x ==屬:生Γ按昇冪排序,對位置座標x屬於奇數的屬性陣列 =冪排序(步驟咖)。輸入/輸出模組從設置的標注參數中讀取 起始的尺寸標注號碼(步驟S286>輸入/輸出模組12取γ轴位置座核 U大的屬性陣列(Ν,X,y)對應的待標注尺寸號瑪的物件爲起^ 件,並根據屬性陣列(ν,χ,又)的排序順序在待標注位置處複 1尺寸號碼的標注樣式,即是按照從上到τ、從左到右的“之步 順序在待標注位置處複製尺寸號碼的標注樣式(步驟s288)。更改子模 組164將待標注位置處的上述尺寸號碼標注樣式的文本顯示屬性更改 11 1288363 號碼(步驟S29〇)°更改子模組164將尺寸標注號碼自 /、 7心步驟S292)。判斷子模組166判斷屬性陣列(N,χ,y) 1應的待U尺寸號碼的物件是否都已標注完畢(步驟S294)。若屬性 11 'N x’y)對應的待標注尺寸號碼的物件都已標注完畢,則結束 尺寸號碼標注作業的流程。 认=乂驟S294中,若屬性陣列(N,X,對應的待標注尺寸號碼 、4 ’又有全部標注完畢,則返回步驟S288。And the correspondence is made (step S24). The input/output module 12 is in accordance with the customer's labeling style of the number of the inch number. The dimension number is not a solid structure and has a text display attribute and an oval frame structure in the middle. The labeling sample module 12 adds the labeling pattern ϋΓ 16 of the required size number and the input/output module, and the group 12 labels the size number 亍 size number to be marked (step S28). 12 Results of the Note 'The result of the size number labeling includes the number of the dimension numbers to be marked 4, the large size number of the table, the list of the size numbers to be marked, and the like (step s3). As shown in Fig. 4, it is a flow chart showing the manner in which the size number of the step S28 in the third figure is marked. First, the sorting sub-module sorts the attribute arrays (n, γ axes into powers (step S280). The dividing sub-module 162 divides all the attribute arrays y (N, two '^ by Y _ into n equal parts (step S28). The small order sub-display 16G _ sub-post = the parent attribute array (N, X, y) is sorted by the X-axis, that is, the position coordinate x == genus: the Γ is sorted by the ascending power, and the position coordinate x belongs to Odd attribute array = power ordering (step coffee). The input/output module reads the starting dimension number from the set label parameter (step S286); the input/output module 12 takes the γ-axis position core U large The object of the attribute array (Ν, X, y) corresponding to the size number of the dimension is a member, and according to the sort order of the attribute array (ν, χ, again), the dimension style of the size number is repeated at the position to be marked. That is, the annotation style of the size number is copied at the position to be marked in the order of "from top to τ, from left to right" (step s288). The modification sub-module 164 marks the above-mentioned size number at the position to be marked. Text display attribute change 11 1288363 number (step S29〇) ° change sub-module 164 will The inch number is from /, 7 steps S292). The judgment sub-module 166 determines whether the items of the U-size number that the attribute array (N, χ, y) 1 should have been marked (step S294). If the attribute 11 ' If the object corresponding to the dimension number corresponding to N x 'y) has been marked, the flow of the dimension number labeling operation is ended. In the case of S=294, if the attribute array (N, X, the corresponding dimension number to be marked, 4 When all of the annotations are completed, the process returns to step S288.

本發明尺寸號碼自動標注系統及方法,雖以較佳實施方式揭露如 ^ ’然其亚非用以限林發明。任何熟悉此項技藝之人士,在不脫離 a發明之精神和範圍内,當可做更動與麟,因此本發明之保護範圍 畜視後附之申請專利範圍所界定者為準。 【圖式簡單說明】 第圖係本發明尺寸號碼自動標注系統較佳實施方式的功能模組 圖。 第二圖係本發明標注模組的子功能模組圖。 第一圖係本發明尺寸號碼自動標注方法較佳實施方式的具體實施 流程圖。 ·:· 第四圖係第三圖中步驟S28的尺寸號碼標注作業的較佳實施方式 流程圖。 、 【主要元件符號說明】 1 10 12 14 16 160 162 164 166 尺寸號碼自動標注系統 設置模組 輸入/輪出模組 查找模組 標注模組 排序子模組 劃分子模組 更改子模組 判斷子模組 12The automatic numbering system and method for the size number of the present invention, although disclosed in the preferred embodiment, is used to limit the invention. Any person skilled in the art can make a change and a lining without departing from the spirit and scope of the invention. Therefore, the scope of protection of the present invention is defined by the scope of the patent application. BRIEF DESCRIPTION OF THE DRAWINGS The figure is a functional block diagram of a preferred embodiment of the automatic numbering system for size numbers of the present invention. The second figure is a sub-function module diagram of the labeling module of the present invention. The first figure is a flowchart of a specific implementation of a preferred embodiment of the automatic numbering method for the size number of the present invention. ··· The fourth figure is a flow chart of a preferred embodiment of the dimension number labeling operation of step S28 in the third figure. [Main component symbol description] 1 10 12 14 16 160 162 164 166 Size number automatic labeling system setting module input/rounding module search module labeling module sorting sub-module dividing sub-module changing sub-module judging Module 12

Claims (1)

1288363 十、申請專利範圍·· 1·種尺寸號碼自動標注系統,其運行於一電腦中,該系統包括: 一設置模組,用於進行標注參數的設置; 一輸入/輸出模組,用於讀取所設置的參數,檢查待標注尺寸號碼 的圖檔格式,獲取或新增尺寸號碼的標注樣式·, 一查找模組’用於在檢查後的待標注尺寸號碼的圖檔中找出待標 注的尺寸號碼的物件; 一標注模組,用於對找出的待標注尺寸號碼的物件進行尺寸號碼 的標注。1288363 X. Patent application scope · 1 · Automatic numbering system for size number, which runs in a computer, the system includes: a setting module for setting the labeling parameters; an input/output module for Read the set parameters, check the format of the image to be dimensioned, obtain or add the dimension style of the size number, and a search module is used to find the image in the image to be dimensioned after the inspection. The object of the dimension number marked; a labeling module for labeling the size of the object to be dimensioned. 2·如申請專利範圍第χ項所述的尺寸號碼自動標注系統,其中該 待標注^寸號碼的物件都與—屬性陣列(N,x,y)—對應,該n 代表待私庄尺寸號碼的物件標示,x代表待標注尺寸號碼的物件於X 轴的位置座標’ y代表待標注尺寸號碼的物件於Y軸的位置座標。 3·如申請專利範圍第2項所述的尺寸號碼自動 其 標注模組包括: 一,序子模組,用於將屬性陣列(Ν,χ,y)按γ軸進行排序; 一劃分子模組,用於將按Υ軸排序的屬性陣列(Ν,X,y)按—γ 軸劃分爲η等份; 咖==^2;侧魏咖輸屬性,及 (Ν'χ 1 y) 排序專利第3項所義尺寸號碼自賴注系統,其中爷 於對按γ軸分彳(Ν,χ,y)按χ^ 輸入翻第3項所述的尺寸號碼自域_統,其中該 位性物(N,X,y)轉相縣待^ 6.如申t r 及輸出尺寸號碼標注的結果。 申》月專細圍幻項所述的尺寸號碼自動標注系統,其中該 13 1288363 標注參數包括:標注字雜色、標錄、_色 尺寸區域、標注尺寸樣式、起始的尺寸標喊碼 t主 待標注位置到待標注尺寸號碼的物件頂端的距離標 注尺寸號碼的物件左端的距離。 T·位置幻待“ 7. —種利用電腦自動標注尺寸號碼 設置標注參數; ㈣法該方法包括如下步驟: 讀取所設置的標注參數,並於綠圖軟體導入待標 後檢查隨格式; U .在檢查後的待標注尺寸號碼的_中找出待標注的尺寸號碼的物 件, 獲取或新增尺寸號碼的標注樣式; 根據尺寸號碼的標注樣式職Α的待雛尺寸號· 寸號碼的標注。 〜 8·如申請專利範圍第7項所述的利用電腦自動標注尺寸號石馬的方 法,該方法還包括步驟: 輸出尺寸號碼標注的結果。 、9·如申請專利範圍第7項所述的利用電腦自動標注尺寸號碼的夫 法,其中該待標注尺寸號碼的物件都與一屬性陣列(Ν,X,乂)一一對 應,該N代表待標注尺寸麵的物件標示,χ代表待標注尺寸號碼的 物件於X㈣位置座標,y代表待標注尺寸號碼的物件於γ轴的 座標。 10·如申請專利範圍第9項所述的利用電腦自動標注尺寸號碼的 方法,其中該對待標注尺寸號碼的物件進行尺寸號碼的標注的步 括: 將屬性陣列(Ν,X,y)按Υ軸進行排序及劃分; 對劃分後的每等份中的屬性陣列(N,X,y)按X轴進行排序; 從設置的參數中讀取起始的尺寸標注號碼; 根據屬性陣列(N,X,y)的排序順序在待標注位置處複製尺寸號 碼的標注樣式; U 14 1288363 更改尺寸號碼標注樣式的文本顯示屬性爲要標注的尺寸號碼,且 將標注的尺寸號碼累加或遞減; 重複執行上述複製尺寸號碼標注樣式和更改尺寸號碼標注樣式的 步驟,直到所有待標注尺寸號碼的物件都已標注完畢。2. The automatic numbering system for size numbers as described in the scope of the patent application, wherein the object to be marked with the number of the number corresponds to the attribute array (N, x, y), and the n represents the size number to be privately sized. The object is marked, and x represents the position coordinate of the object to be dimensioned on the X axis. y represents the position coordinate of the object to be dimensioned on the Y axis. 3. The automatic numbering module according to item 2 of the patent application scope includes: a sequence sub-module for sorting the attribute arrays (Ν, χ, y) according to the γ-axis; Group, used to sort the attribute arrays (Ν, X, y) sorted by the Υ axis into η equal parts by the γ axis; coffee ==^2; side Wei coffee input attributes, and (Ν'χ 1 y) sort According to the third item of the patent, the size number is self-reported, in which the loyalty is divided into γ-axis (Ν, χ, y), and the size number described in item 3 is changed from the domain to the system, where the bit Sex (N, X, y) phased in the county to be treated ^ 6. The results of the application of the size and output size number. The automatic numbering system for the size number described in the syllabus, the 13 1288363 labeling parameters include: label word noise, label, _ color size area, dimension size style, initial size code t The distance from the top of the object to which the size is to be marked to the size of the object to be dimensioned. T·Position Psychology “ 7. — Use the computer to automatically mark the size number to set the labeling parameters; (4) Method This method includes the following steps: Read the set labeling parameters, and check the format with the green image software after importing the target; U Find the item of the size number to be marked in the _ to be marked size number after the inspection, obtain or add the dimension style of the size number; mark the size number of the to-be-shoulder number according to the dimension number 〜8· The method for automatically dimensioning the size number by using a computer as described in claim 7 of the patent scope, the method further comprising the steps of: outputting the result of the dimension number labeling. 9) as described in claim 7 The method of automatically dimensioning the size number by using a computer, wherein the object to be dimensioned has a one-to-one correspondence with an attribute array (Ν, X, 乂), the N represents the object label of the dimension surface to be dimensioned, and χ represents the label to be labeled The size number of the object is at the X (four) position coordinate, and y is the coordinate of the object to be dimensioned on the γ axis. 10. The use as described in claim 9 The method for automatically marking the size number of the brain, wherein the step of labeling the size number of the object to be dimensioned includes: sorting and dividing the attribute array (Ν, X, y) by the Υ axis; The attribute array (N, X, y) in the order is sorted by the X axis; the starting dimension number is read from the set parameters; the copy is sorted at the position to be marked according to the sort order of the attribute array (N, X, y) The dimension style of the dimension number; U 14 1288363 Change the text display property of the dimension number dimension style to the dimension number to be labeled, and accumulate or decrement the dimension number of the dimension; Repeat the above-mentioned copy size number label style and change the size number label style Steps until all objects to be dimensioned have been marked. 15 1288363 七、指定代表圖: (一) 本案指定代表圖為:第(一)圖。 (二) 本代表圖之元件符號簡單說明: 尺寸號碼自動標注系統 1 設置模組 10 輸入/輸出模組 12 查找模組 14 標注模組 1615 1288363 VII. Designated representative map: (1) The representative representative of the case is: (1). (2) Simple description of the component symbols of this representative figure: Automatic numbering system for size number 1 Setting module 10 Input/output module 12 Search module 14 Labeling module 16 八、本案若有化學式時,請揭示最能顯示發明特徵的化學 式:8. If there is a chemical formula in this case, please disclose the chemical formula that best shows the characteristics of the invention:
TW94146325A 2005-12-23 2005-12-23 System and method for labeling measurement numbers automatically TWI288363B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW94146325A TWI288363B (en) 2005-12-23 2005-12-23 System and method for labeling measurement numbers automatically

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW94146325A TWI288363B (en) 2005-12-23 2005-12-23 System and method for labeling measurement numbers automatically

Publications (2)

Publication Number Publication Date
TW200725477A TW200725477A (en) 2007-07-01
TWI288363B true TWI288363B (en) 2007-10-11

Family

ID=39203001

Family Applications (1)

Application Number Title Priority Date Filing Date
TW94146325A TWI288363B (en) 2005-12-23 2005-12-23 System and method for labeling measurement numbers automatically

Country Status (1)

Country Link
TW (1) TWI288363B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102682181A (en) * 2011-03-08 2012-09-19 鸿富锦精密工业(深圳)有限公司 System and method for off-line programming measurement

Also Published As

Publication number Publication date
TW200725477A (en) 2007-07-01

Similar Documents

Publication Publication Date Title
CN101877015B (en) The three-dimensional labeling method of part processing
Štampach et al. Automated generation of tactile maps
WO2009155144A2 (en) Hierarchically presenting tabular data
WO2008075748A1 (en) Method for acquiring simulation parameter in invisible code printing support system and its system
CN103020274A (en) Document analysis method and system
US20170090723A1 (en) Widgets in digital dashboards
JP2004102734A (en) Design production support system, design production support method and design production support program
CN104268191B (en) Document display methods and document display device
TWI288363B (en) System and method for labeling measurement numbers automatically
Quirk Excel 2016 for Engineering Statistics
CN100437596C (en) Automatic marking system and method for size number
Kent et al. GIS and mapping: Pitfalls for planners
US20070288305A1 (en) Method for evaluating provision of commodity information
CN112102425A (en) Projection calculation method and system for element values of vertical section to geographic map
CN116108804B (en) Point code file generation method, content review method and content review system
CN102442047B (en) Label processing method and device for board combination
JP2010179521A (en) Label printer and information processing apparatus
TW200905490A (en) Method of graphic representation, method of charting numerical data, method of generating graphs representing numerical data and storage media storing software program of executing the same
CN108846877A (en) A kind of composite mapping method and system based on image classification result
CN114398460A (en) Environment-friendly field prediction model plotting system
Ballinger et al. Spreadsheet structure inspection using low level access and visualisation
Moncarz et al. Apparel STEP Translator
Tripp Corbin ArcGIS Pro 3. x Cookbook: Create, manage, analyze, maintain, and visualize geospatial data using ArcGIS Pro
TW201322013A (en) Textbook quoted index system
TW201322008A (en) System and method for generating report related to part of product

Legal Events

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