CN116432351A - Method and system for updating association of parts in assembly - Google Patents

Method and system for updating association of parts in assembly Download PDF

Info

Publication number
CN116432351A
CN116432351A CN202310566105.2A CN202310566105A CN116432351A CN 116432351 A CN116432351 A CN 116432351A CN 202310566105 A CN202310566105 A CN 202310566105A CN 116432351 A CN116432351 A CN 116432351A
Authority
CN
China
Prior art keywords
component
assembly
updating
association
relation
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.)
Pending
Application number
CN202310566105.2A
Other languages
Chinese (zh)
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.)
China University of Petroleum East China
Original Assignee
China University of Petroleum East China
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 China University of Petroleum East China filed Critical China University of Petroleum East China
Priority to CN202310566105.2A priority Critical patent/CN116432351A/en
Publication of CN116432351A publication Critical patent/CN116432351A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/17Mechanical parametric or variational design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2246Trees, e.g. B+trees
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Mathematical Analysis (AREA)
  • Pure & Applied Mathematics (AREA)
  • Software Systems (AREA)
  • Mathematical Optimization (AREA)
  • Computational Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a method and a system for updating the association of parts in an assembly, wherein the association relation of the parts in the assembly is determined according to a relation structure tree, an associated part relational expression is established according to the relation structure tree, the size of the parts to be modified is updated and modified according to the size modification information of the parts to be modified and the part fixed relational expression associated with the parts, the size of the parts to be modified is updated and modified, the synchronous updating of the associated parts is realized, the complexity of parameter modification in the assembly is reduced, and the later modeling efficiency of the assembly is improved.

Description

Method and system for updating association of parts in assembly
Technical Field
The invention belongs to the technical field related to assembly design, and particularly relates to a method and a system for updating association of parts in an assembly.
Background
The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art.
CAD and other research and development design industrial software are imperial crowns in industrial software, are key points for improving product development capability and efficiency, and are short plates and bottlenecks of the current industrial software.
The function of fitting the parts can be implemented in CAD software, the assembly being a device or sub-assembly of a device formed by splicing parts, each having a respective size, there being a possibility of a link between the sizes of the different parts, such as in practical engineering where the flange is to be embedded in a pipe, requiring the inner diameter of the flange to be equal to the inner diameter of the pipe. The related structural relationship is generally broken when the size of a part is modified, and when the size of a certain part is modified, the size corresponding to the part related to the part is often not modified and updated, and the related structural relationship is difficult to update synchronously in an assembly body.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a method and a system for updating the association of parts in an assembly body, which realize the synchronous updating and modification of the sizes of the associated parts when the sizes of certain parts are modified through the establishment of a relation structure tree and a relation formula of the parts.
In order to achieve the above object, a first aspect of the present invention provides a method for updating association of components in an assembly, comprising:
according to the assembly relation of each part in the assembly body, the parts are respectively used as father nodes or child nodes to establish a relation structure tree;
obtaining parts with dimension association based on the constructed relation structure tree, and establishing a part relation formula with dimension association;
and acquiring size modification information of the target part, and updating the size information of the part associated with the target part according to the part relation.
A second aspect of the present invention provides a component-related updating system in an assembled body, comprising:
a first establishing module: according to the assembly relation of each part in the assembly body, the parts are respectively used as father nodes or child nodes to establish a relation structure tree;
and a second building module: obtaining parts with dimension association based on the constructed relation structure tree, and establishing a part relation formula with dimension association;
and an updating module: and acquiring size modification information of the target part, and updating the size information of the part associated with the target part according to the part relation.
A third aspect of the present invention provides a computer apparatus comprising: the system comprises a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, the processor and the memory are communicated through the bus when the computer device runs, and the machine-readable instructions are executed by the processor to execute a part association updating method in an assembly.
A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which when executed by a processor performs a method of component association update in an assembly.
The one or more of the above technical solutions have the following beneficial effects:
according to the invention, through establishing a relation structure tree of each part in the assembly body, determining the association relation of each part according to the relation structure tree, establishing an associated part relation, updating and modifying the size of the part associated with the part to be modified according to the size modification information of the part to be modified and the part fixed relation associated with the part, realizing synchronous updating of the associated part, reducing the complexity of parameter modification in the assembly body, and improving the modeling efficiency of the assembly body in the later period.
Additional aspects of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention.
FIG. 1 is a flowchart of a method for updating association of components in an assembly according to a first embodiment of the present invention;
FIG. 2 is a diagram illustrating a tree of relationship structures according to an embodiment of the present invention.
Detailed Description
It should be noted that the following detailed description is exemplary and is intended to provide further explanation of the invention. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of exemplary embodiments according to the present invention.
Embodiments of the invention and features of the embodiments may be combined with each other without conflict.
Example 1
As shown in fig. 1, this embodiment discloses a method for updating association between components in an assembly, including:
according to the assembly relation of each part in the assembly body, each part is respectively used as a father node and a child node to establish a relation structure tree;
obtaining parts with dimension association based on the constructed relation structure tree, and establishing a part relation formula with dimension association;
and acquiring size modification information of the target part, and updating the size information of the part associated with the target part according to the part relation.
In this embodiment, three-dimensional parts of a parametric design are assembled to obtain an assembly. And obtaining the upper and lower relation in the assembly body to obtain the assembly tree structure. For example, the assembly body can be divided into three stages of equipment, components and parts. The component is formed by combining parts and is the upper level of the parts; the device is formed by combining the components and is the upper level of the components.
The established relational structure tree comprises the codes of all the nodes, the corresponding node names, namely the names of the parts and the sizes of the parts.
In the relationship structure tree established in the present embodiment, the parent node is to store the size association in the parent node for describing the assembly relationship.
As shown in fig. 2, a relational structure tree is established according to the upper-lower relationship of each part in the assembly, a dimension association relationship is formed among the parts B, C and D, and if a common parent node of the sub-node B corresponding to the part B, the sub-node C corresponding to the part C and the sub-node D corresponding to the part D is the part a, then the part expressions among the parts B, C and D are stored in the parent node corresponding to the part a. And if the father node shared by the child nodes E corresponding to the part E and the child node F corresponding to the part F is the part D, storing the expression of the part between the part E and the part F into the father node corresponding to the part D.
In this embodiment, each component has a unique code, and the component expression includes a path description (size association relationship) of a certain component to a common parent node with the target component, and a mathematical expression between the sizes of the component and the target component.
Wherein the mathematical expression includes dimensional relationships of the target part and the associated part in terms of length, inside diameter, angle, etc.
In this embodiment, the modified size information of the target component is obtained, the object is parsed from the character string and is corresponding to the object, and the mathematical expression stored in the common upper level of the affected part and the affected part is updated. If the diameter of the nozzle is associated with the outer diameter of the flange, then when the user modifies the outer diameter of the flange, the diameter of the nozzle is updated as the outer diameter of the flange is contained in the nozzle's diameter expression.
The corresponding dimensions of the part affected by the part are also modified, and the structure of the part and the affected part in the assembled structure is updated.
The properties of the present assembly call child or parent assembly use a "@" split, and the present assembly calls a property "@" split associated across levels (not directly parent or child).
For example: d_l+d_il-nomal_flag_7|1. D_h-nomal_flag_7|1. D_fx;
hook_float_head_he@tube_box_A_1_1|1@NB_T47023FM_1|1.d_D4+hoo k_float_head_he@tube_box_A_1_1|1@cylinder_barrel_1|1.d_D;
wherein the dD4 size of NB_T47023FM_1 in the sub-assembly of hook_flow_head_he (heat exchanger) tube_box_A_1_1 in the sub-assembly of tube_T 47023 FM_1+the dD size of tube_box_A_1_1 in the sub-assembly of hook_flow_head_he (heat exchanger).
Example two
The embodiment provides a component association updating system in an assembly, which comprises:
a first establishing module: according to the assembly relation of each part in the assembly body, each part is respectively used as a father node and a child node to establish a relation structure tree;
and a second building module: obtaining parts with dimension association based on the constructed relation structure tree, and establishing a part relation formula with dimension association;
and an updating module: and acquiring size modification information of the target part, and updating the size information of the part associated with the target part according to the part relation.
Example III
It is an object of the present embodiment to provide a computing device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, which processor implements the steps of the method described above when executing the program.
Example IV
An object of the present embodiment is to provide a computer-readable storage medium.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the above method. A machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The steps involved in the devices of the second, third and fourth embodiments correspond to those of the first embodiment of the method, and the detailed description of the embodiments can be found in the related description section of the first embodiment. The term "computer-readable storage medium" should be taken to include a single medium or multiple media including one or more sets of instructions; it should also be understood to include any medium capable of storing, encoding or carrying a set of instructions for execution by a processor and that cause the processor to perform any one of the methods of the present invention.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented by general-purpose computer means, alternatively they may be implemented by program code executable by computing means, whereby they may be stored in storage means for execution by computing means, or they may be made into individual integrated circuit modules separately, or a plurality of modules or steps in them may be made into a single integrated circuit module. The present invention is not limited to any specific combination of hardware and software.
While the foregoing description of the embodiments of the present invention has been presented in conjunction with the drawings, it should be understood that it is not intended to limit the scope of the invention, but rather, it is intended to cover all modifications or variations within the scope of the invention as defined by the claims of the present invention.

Claims (10)

1. A method of updating a component association in an assembly, comprising:
according to the assembly relation of each part in the assembly body, the parts are used as father nodes or child nodes to establish a relation structure tree;
obtaining parts with dimension association based on the constructed relation structure tree, and establishing a part relation formula with dimension association;
and acquiring size modification information of the target part, and updating the size information of the part associated with the target part according to the part relation.
2. The method for updating association of components in an assembly according to claim 1, wherein the relational structure tree is established according to a relationship between upper and lower levels of each component in the assembly.
3. A method of updating the association of components in an assembly as claimed in claim 1, wherein the dimensional relationships and the code of the associated component are stored on a common parent node for the associated component.
4. The method of component-related updating in an assembly of claim 1, wherein the component relationship comprises a path description from a parent component to an associated component child node, size information for a target component, and a size relationship for the target component and the associated component.
5. The method of component-related updating in an assembly of claim 4, wherein the dimensional relationship comprises a mathematical relationship between a length, radius, angle of the target component and a length, radius, angle of the associated component.
6. A component-related update system in an assembly, comprising:
a first establishing module: according to the assembly relation of each part in the assembly body, the parts are respectively used as father nodes or child nodes to establish a relation structure tree;
and a second building module: obtaining parts with dimension association based on the constructed relation structure tree, and establishing a part relation formula with dimension association;
and an updating module: and acquiring size modification information of the target part, and updating the size information of the part associated with the target part according to the part relation.
7. The component-in-assembly association updating system of claim 6, wherein in the second building block, the component relationship comprises a path description from the parent component to the child node of the associated component, size information for the target component, and a size relationship for the target component and the associated component.
8. A component association update system in an assembly as claimed in claim 7, wherein in the second set-up module, the dimensional relationship includes a mathematical relationship between the length, radius, angle of the target component and the length, radius, angle of the associated component.
9. A computer device, comprising: a processor, a memory and a bus, said memory storing machine readable instructions executable by said processor, said processor and said memory communicating via the bus when the computer device is running, said machine readable instructions when executed by said processor performing a method of updating part associations in an assembly as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs a component association updating method in an assembly according to any of claims 1 to 7.
CN202310566105.2A 2023-05-18 2023-05-18 Method and system for updating association of parts in assembly Pending CN116432351A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310566105.2A CN116432351A (en) 2023-05-18 2023-05-18 Method and system for updating association of parts in assembly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310566105.2A CN116432351A (en) 2023-05-18 2023-05-18 Method and system for updating association of parts in assembly

Publications (1)

Publication Number Publication Date
CN116432351A true CN116432351A (en) 2023-07-14

Family

ID=87092818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310566105.2A Pending CN116432351A (en) 2023-05-18 2023-05-18 Method and system for updating association of parts in assembly

Country Status (1)

Country Link
CN (1) CN116432351A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118114408A (en) * 2024-04-30 2024-05-31 成都飞机工业(集团)有限责任公司 Group hole characteristic numerical control processing model construction method, device, medium and equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118114408A (en) * 2024-04-30 2024-05-31 成都飞机工业(集团)有限责任公司 Group hole characteristic numerical control processing model construction method, device, medium and equipment

Similar Documents

Publication Publication Date Title
Bruno et al. Process-translatable Petri nets for the rapid prototyping of process control systems
CN110471666A (en) Code automatic switching method and device, code converter and medium
CN106033439A (en) Method and system for processing distributed transaction
CN116432351A (en) Method and system for updating association of parts in assembly
CN109582289B (en) Method, system, storage medium and processor for processing rule flow in rule engine
CN106547520B (en) Code path analysis method and device
CN104331315B (en) A kind of parsing of arbitrary levels json objects and generation method and system
CN109063295A (en) Nodal information optimized treatment method and device based on CAE model
US10503782B2 (en) Metafutures-based graphed data lookup
RU2013145592A (en) SYSTEM AND METHOD OF PLANNING CALCULATIONS IN THE SYSTEM OF ADMINISTRATION OF INFORMATION-DEPENDENT LIMITATIONS
CN102568295A (en) Teaching platform based on product assembly sequence model facing to virtual disassembly and assembly
CN111858280B (en) SQL information processing method, device, equipment and system
CN111612686B (en) Structure mapping method from EBOM to PBOM
CN108920176A (en) A kind of transaction flow configuration method and device
CN110955712A (en) Development API processing method and device based on multiple data sources
CN104731800A (en) Data analysis device
CN113254026A (en) Low code development method and device
CN106779046A (en) A kind of multiple agent high-order conviction cognition planner implementation method
CN114610648B (en) Test method, device and equipment
CN111967247A (en) Natural language semantic representation method and device based on function declaration and electronic equipment
CN111287091A (en) BIM-based fabricated concrete bridge construction method
Jie et al. A Model Driven method to represent Free Choice Petri Nets as Sequence Diagram
CN104166737A (en) Database name modifying method and device
CN116795434B (en) Pipelined task processing method and device, electronic equipment and storage medium
CN110333846B (en) Method for quickly clearing and assembling data parent-child context list

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination