CN100446008C - Component pel and primitive attribute separating system and method - Google Patents

Component pel and primitive attribute separating system and method Download PDF

Info

Publication number
CN100446008C
CN100446008C CNB2005100373347A CN200510037334A CN100446008C CN 100446008 C CN100446008 C CN 100446008C CN B2005100373347 A CNB2005100373347 A CN B2005100373347A CN 200510037334 A CN200510037334 A CN 200510037334A CN 100446008 C CN100446008 C CN 100446008C
Authority
CN
China
Prior art keywords
pel
attribute
entity
module
component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2005100373347A
Other languages
Chinese (zh)
Other versions
CN1932824A (en
Inventor
常春明
周晔
郑晓源
高加万
贺稳波
陈云霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Foxconn Nanjing Software Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CNB2005100373347A priority Critical patent/CN100446008C/en
Publication of CN1932824A publication Critical patent/CN1932824A/en
Application granted granted Critical
Publication of CN100446008C publication Critical patent/CN100446008C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to separating system of picture-element and attribute, including a data module, a selective module, an estimating module, a receiving module, a processing module. It also provides a separating method, including selects a picture element; opens it to make it be edited state; estimates it whether or not an accessory picture element; closes it to make it in un-editing state if it is the accessory one; receives the accessory attribute corresponding with the picture element; and processes the accessory attribute operation. The system and the method can avoid the mischanging the picture element form during the attribute operation.

Description

Part pel and attribute separating system and method
[technical field]
The present invention relates to a kind of part pel and attribute separating system and method.
[background technology]
In die design process, at the mould design characteristic, give attribute for hardware, processing parts etc., these attributes comprise: the identifier of part, figure layer, note, quantity, numbering, mark, material, thermal treatment and throw single attribute etc.In the punch die picture secondary development of AutoCAD, usually the pel that the attribute and the part of part is presented in the drawing is put together, and promptly shown pel all contains some character in fact, has more drawback like this: one, and a figure shelves content will be quite huge; Its two, exist big dangerously when attribute of component is operated, just may change the appearance of part pel demonstration because of carelessness; Its three, attribute modification trouble often will make an amendment in the part pel; Its four, attribute can expand when inheriting part when part exists again, produces redundancy of attribute.
[summary of the invention]
In view of above content, be necessary to provide a kind of part pel and attribute separating system, it can be separated attribute of component separately from the part pel and operate.
In view of above content, also be necessary to provide a kind of part pel and attribute separation method, it can be separated attribute of component separately from the part pel and operate.
Better embodiment of the present invention provides a kind of part pel and attribute separating system, be used for attribute of component separated separately from the part pel and operate, this system comprises: a data module, be used to store data, these data are included in first entity and second entity of being created when creating pel, wherein first entity is used for preserving pel, and second entity is used for preserving attribute of component; One selects module, is used to select pel; One judge module is used to judge whether selected pel belongs to the part pel; One receiver module is used for receiving the attribute of the corresponding part of this pel when selected pel belongs to the part pel; One processing module is used to open and close selected pel, and the attribute of component that is received is operated.
Better embodiment of the present invention also provides a kind of part pel and attribute separation method, be used for attribute of component separated separately from the part pel and operate, this method may further comprise the steps: data module (A) is provided, described data module comprises first entity and second entity, described first entity is used for preserving pel, and second entity is used for preserving attribute of component; (B) select a pel; (C) open this pel, but make it be in editing mode; (D) judge whether this pel belongs to the part pel; (E) if, then close this pel, it is in can not editing mode; (F) receive the attribute of the corresponding part of this pel; (G) carry out the attribute of component operation.
In step (D), if judge that this pel does not belong to the part pel, then flow process finishes.
Compare prior art, part pel provided by the present invention and attribute separating system and method, attribute of component can be separated separately from the part pel and be operated, thereby property operations and pel operation are independent of each other, avoid in the property operations process, changing by mistake change pel profile.
[description of drawings]
Fig. 1 is the functional block diagram of part pel of the present invention and attribute separating system better embodiment.
Fig. 2 is the concrete implementing procedure figure of part pel of the present invention and attribute separation method better embodiment.
[embodiment]
Consulting shown in Figure 1ly, is the functional block diagram of part pel of the present invention and attribute separating system better embodiment.This part pel and attribute separating system 1 can be installed in arbitrary computing equipment (as PC, not shown), and it comprises: a data module 2, is selected module 3, a judge module 4, a receiver module 5 and a processing module 6.
Wherein, data module 2 is used to store several data, comprising first entity and second entity when creating pel, created, first entity is the entity that is used for preserving pel, described pel comprises part pel and element figure, and second entity is the entity that is used for preserving attribute of component, preserves wherein that in the entity of pel a data member to be arranged be exactly the pointer of attribute of component entity, it points to the attribute of component entity, thereby part pel and attribute of component are linked together.The part pel of being preserved is divided into and is three major types: hole class pel, standard hardware class pel and processing parts class pel, attribute of component also is divided into three major types: hole type parts attribute, standard hardware attribute and processing parts attribute.Just become part after pel is endowed an identifier and attribute, part comprises: hole type parts, standard hardware and processing class part.Select module 3 to be used to select pel, this selecteed pel may be only to have for example element figure of length and width, area etc. of some fundamental property, also may be the surperficial pel that has been endowed the part of identifier and attribute, i.e. part pel.Judge module 4 is used for judging to select module 3 selected pels whether to belong to the part pel.Receiver module 5 is used for when judging that selected pel receives the attribute of the corresponding part of this pel when belonging to the part pel.Processing module 6, but being used for carrying out one instructs the pel of opening selection module 3 selected parts to make it be in editing mode, also can carry out another instruction close this pel it is in can not editing mode, and the attribute of component that is received is carried out following several operation: the one, the demonstration of attribute and modification, be that processing module 6 is carried out the attributes edit dialog box that the corresponding part of selected part pel is ejected in an instruction, this attributes edit dialog box had both shown the various attributes of corresponding part, can also revise wherein arbitrary attribute; The 2nd, the duplicating of attribute, promptly select module 3 to select a part pel, processing module 6 is carried out an instruction and is duplicated this part pel then, increase a data member in the pel entity after duplicating in the data module 2 and be this part pel that duplicates, and the data member in the attribute of component entity in the data module 2 is constant, the attribute of the corresponding part of the part pel that this duplicates is identical with the attribute of the corresponding part of selected part pel, because two pels are the same data members that point in the attribute of component entity; The 3rd, the assimilation of attribute, promptly select module 3 to select a source part pel and a target part pel, the attribute of the corresponding part of processing module 6 execution, one this target part pel of instruction assimilation is the attribute of the corresponding part of source part pel then, because of the attribute of part in assimilation process separates with pel, thereby the data member in the pel entity in the data module 2 of attribute assimilation back is constant, and only the attribute modification with the corresponding part of the target part pel in the attribute of component entity is the attribute of the corresponding part of source part pel.
Consulting shown in Figure 2ly, is the concrete implementing procedure figure of part pel of the present invention and attribute separation method better embodiment.At first, select module 3 to select a pel (step S100); Processing module 6 is carried out this pel of an instruction unpack, but makes it be in editing mode (step S102); Judge module 4 judges whether this pel belongs to part pel (step S104); If then processing module 6 is carried out an instruction and closed this pel, it is in can not editing mode (step S106); Receiver module 5 receives the attribute (step S108) of the corresponding part of this part pel; Carry out attribute of component operation, this operation comprises: the duplicating and the assimilation (step S110) of attribute of the demonstration of attribute and modification, attribute.
In step S104, if judge that this pel does not belong to the part pel, then flow process finishes.
In step S110, the demonstration of described attribute and modification are to carry out an instruction to eject corresponding attributes edit dialog box by processing module 6, this attributes edit dialog box had both demonstrated the various attributes of the corresponding part of selected part pel, also can revise arbitrary attribute therein; Duplicating of described attribute is by selecting module 3 to select a part pel, processing module 6 is carried out an instruction and is duplicated this part pel then, increase a data member in the pel entity of data module 2 after duplicating and be this part pel that duplicates, and the data member in the attribute of component entity in the data module 2 is constant, this attribute that duplicates the corresponding part of part pel is identical with the attribute of the corresponding part of selected part pel, because two pels are the same data members that point in the attribute of component entity; The assimilation of described attribute is by selecting module 3 to select a source part pel and a target part pel, the attribute of the corresponding part of processing module 6 execution, one this target part pel of instruction assimilation is the attribute of the corresponding part of source part pel then, because the attribute of part separates with pel in assimilation process, thereby the data member in the pel entity in the data module 2 of attribute assimilation back is constant, and only the attribute modification with the corresponding part of the target part pel in the attribute of component entity is the attribute of the corresponding part of source part pel.

Claims (11)

1. part pel and attribute separating system are used for attribute of component separated separately from the part pel and operate, and it is characterized in that this system comprises:
One data module is used to store data, and these data are included in first entity and second entity of being created when creating pel, and wherein first entity is used for preserving pel, and second entity is used for preserving attribute of component;
One selects module, is used to select pel;
One judge module is used to judge whether selected pel belongs to the part pel;
One receiver module is used for receiving the attribute of the corresponding part of this pel when selected pel belongs to the part pel;
One processing module is used to open and close selected pel, and the attribute of component that is received is operated.
2. part pel as claimed in claim 1 and attribute separating system is characterized in that, described first entity comprises a data member, and this data member is the pointer of second entity, and it points to second entity.
3. part pel as claimed in claim 1 and attribute separating system is characterized in that, described pel comprises: element figure and part pel, wherein the part pel comprises again: hole class pel, standard hardware class pel and processing parts class pel.
4. part pel as claimed in claim 1 and attribute separating system is characterized in that, described attribute of component comprises: hole type parts attribute, standard hardware generic attribute and processing parts generic attribute.
5. part pel as claimed in claim 1 and attribute separating system is characterized in that, described part comprises: hole type parts, standard hardware and processing class part.
6. part pel as claimed in claim 1 and attribute separating system is characterized in that, described property operations comprises: the demonstration of attribute, the modification of attribute, attribute duplicates and the assimilation of attribute.
7. part pel and attribute separation method are used for attribute of component separated separately from the part pel and operate, and it is characterized in that this method may further comprise the steps:
Data module is provided, and described data module comprises first entity and second entity, and described first entity is used for preserving pel, and second entity is used for preserving attribute of component;
Select a pel;
Open this pel, but make it be in editing mode;
Judge whether this pel belongs to the part pel;
If, then close this pel, it is in can not editing mode;
Receive the attribute of the corresponding part of this pel;
Carry out the attribute of component operation.
8. part pel as claimed in claim 7 and attribute separation method is characterized in that, wherein whether belong to the result of part pel for denying then flow process end if step is judged this pel.
9. part pel as claimed in claim 7 and attribute separation method is characterized in that, described pel comprises: element figure and part pel, wherein the part pel comprises again: hole class pel, standard hardware class pel and processing parts class pel.
10. part pel as claimed in claim 7 and attribute separation method is characterized in that, described part comprises: hole type parts, standard hardware and processing class part.
11. part pel as claimed in claim 7 and attribute separation method is characterized in that, described property operations comprises: the duplicating and the assimilation of attribute of the demonstration of attribute, the modification of attribute, attribute.
CNB2005100373347A 2005-09-14 2005-09-14 Component pel and primitive attribute separating system and method Expired - Fee Related CN100446008C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100373347A CN100446008C (en) 2005-09-14 2005-09-14 Component pel and primitive attribute separating system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100373347A CN100446008C (en) 2005-09-14 2005-09-14 Component pel and primitive attribute separating system and method

Publications (2)

Publication Number Publication Date
CN1932824A CN1932824A (en) 2007-03-21
CN100446008C true CN100446008C (en) 2008-12-24

Family

ID=37878656

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100373347A Expired - Fee Related CN100446008C (en) 2005-09-14 2005-09-14 Component pel and primitive attribute separating system and method

Country Status (1)

Country Link
CN (1) CN100446008C (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6885367B1 (en) * 1999-11-26 2005-04-26 Fujitsu Limited Three-dimensional model management system
CN1624688A (en) * 2003-12-05 2005-06-08 鸿富锦精密工业(深圳)有限公司 Processing code generating system and method
CN1655144A (en) * 2004-02-13 2005-08-17 富士通株式会社 Drawing comparison apparatus and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6885367B1 (en) * 1999-11-26 2005-04-26 Fujitsu Limited Three-dimensional model management system
CN1624688A (en) * 2003-12-05 2005-06-08 鸿富锦精密工业(深圳)有限公司 Processing code generating system and method
CN1655144A (en) * 2004-02-13 2005-08-17 富士通株式会社 Drawing comparison apparatus and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于图元法的AutoCAD参数化设计与绘图. 谢泳.西安科技大学学报,第24卷第3期. 2004 *

Also Published As

Publication number Publication date
CN1932824A (en) 2007-03-21

Similar Documents

Publication Publication Date Title
CN102103605B (en) Method and system for intelligently extracting document structure
US20170120525A1 (en) 3D Printing Method
WO2004090788A3 (en) System and method for dynamically performing storage operations in a computer network
WO2002071691A3 (en) Device- and manufacturer-independent gui interface for network os
CN104769580A (en) Terminal and method for pasting
CN105546724B (en) Sound control method and system, client, control device
CN106845935A (en) A kind of method and system of engineering project flow template
CN106775937A (en) A kind of order line method of calibration and device
CN107153717A (en) Million grades of method and system that recorded form are exported from database by browser
WO2002027662A3 (en) System and method for processing layout of graphical objects with elastic properties
CN106445900A (en) Table style processing method and device
JP2002297610A (en) Image retrieving method
CN111651817B (en) BIM-based building component design method, electronic device and storage medium
CN100446008C (en) Component pel and primitive attribute separating system and method
CN100419769C (en) System and method for managing primitive attribute
US7164418B2 (en) Method, program and apparatus for managing display colors of three-dimensional virtual model
CN102024077A (en) Engineering drawing processing method
US8812521B2 (en) Image file sorting method, image file sorting device, and computer program product
CN102289475A (en) Terminal and method for storing file
Minka et al. Expectation propagation for infinite mixtures
CN106527873A (en) xml-based man-machine interactive interface customization method
CN114047855B (en) Form editing method and device and terminal equipment
CN106060342B (en) A kind of integrated approach and system of online video text editing system and NLE system
WO2003038759A1 (en) Cellular terminal, method for creating animation on cellular terminal, and animation creation system
CN100489866C (en) Workpiece discriminating system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: FOXCONN ( NANJING ) SOFTWARE CO., LTD.

Free format text: FORMER OWNER: HONGFUJIN PRECISION INDUSTRY (SHENZHEN) CO., LTD.

Effective date: 20091030

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20091030

Address after: 1, Tianpu Road, Pukou Economic Development Zone, Nanjing, Jiangsu 3FA199 zip code: 211800

Co-patentee after: Hon Hai Precision Industry Co., Ltd.

Patentee after: Foxconn (Nanjing) Software Co., Ltd.

Address before: No. two, 2 East Ring Road, tenth Pine Industrial Zone, Longhua Town, Guangdong City, Shenzhen Province, China: 518109

Co-patentee before: Hon Hai Precision Industry Co., Ltd.

Patentee before: Fujin Precision Industry (Shenzhen) Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081224

Termination date: 20140914

EXPY Termination of patent right or utility model