CN113722780A - Parameterization design system and method for refrigerator liner punching platform transmission device - Google Patents

Parameterization design system and method for refrigerator liner punching platform transmission device Download PDF

Info

Publication number
CN113722780A
CN113722780A CN202111053757.3A CN202111053757A CN113722780A CN 113722780 A CN113722780 A CN 113722780A CN 202111053757 A CN202111053757 A CN 202111053757A CN 113722780 A CN113722780 A CN 113722780A
Authority
CN
China
Prior art keywords
model
component
function
size
source
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.)
Granted
Application number
CN202111053757.3A
Other languages
Chinese (zh)
Other versions
CN113722780B (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.)
Chuzhou Kechuang Mould Manufacturing Co ltd
Original Assignee
Chuzhou Kechuang Mould Manufacturing 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 Chuzhou Kechuang Mould Manufacturing Co ltd filed Critical Chuzhou Kechuang Mould Manufacturing Co ltd
Priority to CN202111053757.3A priority Critical patent/CN113722780B/en
Publication of CN113722780A publication Critical patent/CN113722780A/en
Application granted granted Critical
Publication of CN113722780B publication Critical patent/CN113722780B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/04Constraint-based CAD
    • 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/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a parametric design system and a parametric design method for a refrigerator liner punching platform transmission device, which can rapidly generate a three-dimensional model and an engineering drawing of a new product and rapidly add attributes in the engineering drawing of the product parts by researching and analyzing transmission equipment of the refrigerator liner punching platform, then carrying out parametric operation on the parts of the transmission equipment and matching with the serialized operation of final assembly. The invention can carry out a parameterization design function and support the function of returning and revising parameters aiming at the transmission equipment of the refrigerator liner punching platform, thereby simplifying the three-dimensional design process, realizing the standardized, generalized and serialized design of punching assembly parts, greatly improving the production efficiency and reducing the design cost of new products.

Description

Parameterization design system and method for refrigerator liner punching platform transmission device
Technical Field
The invention belongs to the technical field of computer aided design, and particularly relates to a parametric design system and method of a refrigerator liner punching platform transmission device based on NX software.
Background
With the widespread application of CAD software, more and more designers use it to design products. NX software is favored by more designers because of its unique parameterized nature. The traditional design method is to draw parts according to a two-dimensional diagram and then assemble the parts to form an assembly body. Meanwhile, the conventional universal interactive design mode is being impacted by the dedicated integrated interactive design mode due to its fragmentation and excessive repetitive operations involved in the design processes of product modeling, assembly, drawing, etc.
One great drawback of such a method is that when a series of such products is required to be produced, parts are required to be redrawn from the drawing of the two-dimensional graph and then assembled, and if a series of products is large, the workload is very large, so that the design efficiency is reduced, and the products are not put on the market in time and are lost.
Disclosure of Invention
The invention aims to solve the problems in the existing design method and provides a parameterized design system and method for a refrigerator liner punching device, so that a new product can be obtained quickly by modifying an active size numerical value according to a drawn model, and parts of the new product and corresponding engineering drawings can be generated quickly, thereby greatly improving the production efficiency and reducing the design cost of the new product.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
the invention relates to a parameterization design system of a refrigerator liner punching platform transmission device, which is characterized by being applied to an NX software platform and comprising the following components: the system comprises a part function design module, a component function design module, a final assembly function design module, an engineering drawing module and a database;
the part functional design module includes: the system comprises a part database, a part picture preview unit, a part quick generation unit and a part parameter re-modification unit;
the part database comprises a plurality of part tables, and each part table corresponds to one type of part model; the part table is used for storing part names, part attributes, part positions and parameterized size names; each part model in each part table has a respective number and corresponds to the part number in the part picture preview unit;
the part rapid generation unit firstly carries out three-dimensional modeling on parts of a required transmission device on an NX software platform to obtain a part model of the transmission device; the part model is used as a part source model and then stored in a database, and the size parameters of the part source model and the corresponding 'expression' function are in one-to-one correspondence relation based on the 'expression' function on the NX software platform; compiling a part retrieval function and a part modification function of design parameters for the part model, and copying the part source model according to the new parameter values to generate a parameterized program corresponding to a part import function of the new part model, so that after the part source model is imported by using the part import function, the imported part source model is subjected to parameter modification by using the part modification function, and a parameterized part model is generated;
the part re-modification parameter unit selects a part model needing to be re-modified through a selection control on the NX software platform, acquires part attributes from the part database, modifies the size parameters of an expression function associated with the part model to complete the modification of the size value of the part model, and updates the part model in the database, thereby realizing the parameter re-modification function of the generated parameterized part model;
the component functional design module includes: the system comprises a component database, a component picture preview unit, a component quick generation unit and a component parameter re-modification unit;
the component database comprises a plurality of component tables, and each component table corresponds to one type of component model; the component table is used for storing component names, component attributes, component positions and parameterized dimension names; each part model in each part table has a respective number and corresponds to the part number in the part picture preview unit;
the rapid component generation unit firstly assembles a part model of the transmission device on an NX software platform according to the constraint relation between parts to obtain a component model of the transmission device; the component model is stored in a database after being used as a component source model, one-to-one corresponding association is established between the size parameters of the component source model and a part model thereof and the corresponding 'expression' function based on the 'expression' function on the NX software platform, and then one-to-one corresponding association is established between the size parameters of the part containing the size constraint relation in the component source model and the corresponding 'expression' function; writing a component retrieval function and a component modification function of design parameters for the component source model, and copying the component source model according to the new size parameter values to generate a parameterized program corresponding to a component import function of the new component model; after the component source model is imported by using the component import function, performing parameter modification on the imported component source model by using the component modification function, and generating a parameterized component model;
the component re-modification parameter unit selects a corresponding part model in a component needing to be re-modified through a selection control on the NX software platform, acquires component attributes from the component database, modifies the size parameters of an 'expression' function associated with the component model to complete the modification of the size values of the component model and the corresponding part model, finds a part model in the modified component model, which has a size constraint relation with the corresponding part, according to the constraint relation among the parts to modify the size value of the corresponding part model and update the component model in the database, thereby realizing the parameter re-modification function of the generated parameterized component model;
the final assembly functional design module comprises: a total assembly body rapid generation unit and a total assembly body weight re-modification parameter unit;
the quick generating unit of the general assembly body firstly assembles a component model of the transmission device on the NX software platform to obtain a general assembly body model of the transmission device; the general assembly model is used as a general assembly source model and then stored in a database, one-to-one corresponding association is established between the size parameters of the general assembly source model and the component models thereof and the corresponding 'expression' function based on the 'expression' function on the NX software platform, and then one-to-one corresponding association is established between the size parameters of the components containing the size constraint relation in the general assembly source model and the corresponding 'expression' function; then, programming a final assembly retrieval function and a final assembly modification function of the design parameters of the final assembly source model, and copying the final assembly source model according to the new size parameter values to generate a parameterization program corresponding to a final assembly import function of the new final assembly body model; after the final assembly import function is utilized to import the final assembly source model, the final assembly modification function is utilized to modify the parameters of the imported final assembly source model and generate a parameterized final assembly model;
the total assembly weight re-modification parameter unit selects a corresponding component model in the total assembly model to be re-modified through a selection control on the NX software platform, so that the property of the component in the component database is obtained, the size parameter of an 'expression' function associated with the component model is modified, the size value modification of the component model is completed, the component model with the size constraint relation with the corresponding component in the modified component model is found according to the constraint relation among the components, the size value of the corresponding component model is modified, the total assembly model in the database is updated, and the parameter re-modification function of the generated parameterized total assembly model is realized;
the engineering drawing module comprises: the system comprises an attribute adding unit, a user-defined engineering drawing unit and a detail table exporting unit;
the attribute adding unit is used for adding a plurality of different attributes to a certain part model or component model at one time, or adding the same attribute to a plurality of part models and component models;
the user-defined engineering drawing unit is used for automatically generating a corresponding two-dimensional engineering drawing for the selected part model, the selected part model or the selected general assembly model, automatically generating a corresponding title bar on the two-dimensional engineering drawing of the part model by acquiring the attribute of the corresponding part model, the attribute of the corresponding part model or the attribute of the corresponding general assembly model, and automatically generating a title bar and a detail bar on the two-dimensional engineering drawing of the part model and the general assembly model;
and the detail list exporting unit is used for exporting the detail columns of the total assembly body model or the component model into an Excel table according to attribute classification.
The invention relates to a parametric design method of a refrigerator liner punching platform transmission device, which is characterized by being applied to an NX software platform and carried out according to the following steps:
step 1, three-dimensional modeling of parts is carried out on a required transmission device on an NX software platform to obtain a part model of the transmission device, the part models are assembled to obtain a component model according to the constraint relation among the parts, the component models are assembled to obtain a total assembly model according to the constraint relation among the parts, and the total assembly model is classified and stored in a database after being used as respective source models;
step 2, completing the setting of the source model;
step 2.1, establishing one-to-one correspondence between the 'expression' function on the NX software platform and the size of the part source model, and thus synchronously modifying the design parameters of the shape and the size of each part in the part source model by using the 'expression' function;
2.2, establishing one-to-one corresponding size association between the 'expression' function on the NX software platform and the size parameters of the component source model and the part model thereof as well as the part size parameters containing the size constraint relation in the component source model;
establishing one-to-one corresponding size association between the 'expression' function on the NX software platform and the size parameters of the total assembly body source model and the component model thereof as well as the size parameters of the components containing the size constraint relation in the total assembly body source model;
step 3, establishing a part database containing a plurality of part tables, wherein each part table corresponds to one type of part model; the part table is used for storing part names, part attributes, part positions and parameterized size names; each part model in each part table has a respective number;
establishing a component database comprising a plurality of component tables, wherein each component table corresponds to one type of component model; the component table is used for storing component names, component attributes, component positions and parameterized dimension names; each part model in each part table has a respective number;
step 4, acquiring the serial number of the selected model from the corresponding database according to the selected model; finding the preview pictures with corresponding numbers according to the numbers of the selected models and displaying the preview pictures;
step 5, accessing a source model in the database, copying the source model to an empty template file, and modifying the associated expression value, so as to change the size value of the model, update the model and realize the three-dimensional rapid modeling of the refrigerator liner punching platform transmission device;
and 6, adding attribute information of the part model or adding attribute information of the assembly body model:
selecting a part model, a component model or a total assembly model on an NX platform, selecting a control function NXOpen, wherein a blockStyler is used for selecting the part model, the component model or the total assembly model needing to be added with attributes by a SelectObject, defining one or more attribute structural bodies by using a creation function UF _ ATTR _ value _ t, and adding attribute information on the part model, the component model or the total assembly model by an addition function UF _ ATTR _ assign;
step 7, selecting any model, generating an engineering drawing by creating a function NXOpen, Drawings, ProjectedView, generating a two-dimensional engineering drawing of the selected model by creating a function NXOpen, Drawings, ProjectedViewBuilder, acquiring the attribute of the selected model by acquiring a function UF _ ATTR _ read _ value, and filling corresponding detailed mark and title information by adding a function UF _ TABNOT _ set _ cell _ text according to the attribute of the model, thereby realizing the automatic generation of a detailed table and a title column;
and 8, according to the attribute classification, exporting the detail table to an Excel table by using a creating function App.
The parameterization design method of the invention is also characterized in that the step 4 is based on UFUN and NXOpen development tools and is carried out according to the following processes:
step 4.1, displaying a source model of a database in a Tree list of a Block UI interface through a Tree list control NXOpen, selecting the source model in the Tree list, acquiring a function name of the source model through an acquisition function GetColumnDisplayText, and acquiring an environment path of a storage position of the source model through an acquisition function GetEnvironverableValue;
and 4.2, finding and displaying the position of the preview picture corresponding to the source model through a drawing display control NXOpen, a Block Styler, and a DrawingArea according to the acquired environment path so as to realize the preview of the source model.
The step 5 is based on UFUN and NXOpen development tools and is carried out according to the following processes:
step 5.1, displaying a source model of a database in a Tree list of a Block UI interface through a Tree list control NXOpen, selecting the source model of the Tree list, acquiring a function name of the source model through an acquisition function GetColumnDisplayText, and acquiring an environment path of a storage position of the source model through an acquisition function GetEnvironverableValue;
step 5.2, obtaining a path of the source model according to the obtained environment path, and importing the source model into an empty template file through a copy function UF _ PART _ import;
step 5.3, obtaining the number of the components by obtaining a function Assembies, namely, Component, so as to determine whether the copied source model is a part model, and if so, modifying the value of an expression corresponding to the size of the part model by modifying a function UF _ MODL _ edge _ exp to modify the size value of the part model; otherwise, representing the model as a component model or a general assembly model, modifying the value of an expression corresponding to the dimension of the part model in the component model through a modification function UF _ MODL _ edge _ exp, or modifying the value of an expression corresponding to the component model in the general assembly model, obtaining a function NXopen, wherein Positioning is that ComponentConstrainment obtains all the part models or component models with dimension constraint relation, and modifying the dimension value of the part models or component models with constraint relation through a modification function UF _ MODL _ edge _ exp;
and 5.4, updating the model through an updating function UF _ MODL _ update (), and refreshing the display of the model through a refreshing function UF _ DISP _ refresh ().
And if the size parameters of the model need to be modified again, selecting the generated part model, component model and total assembly model through NXOpen, BlockStyler, SelectObject selection control, and acquiring the corresponding attributes of the model through an acquisition function UF _ ATTR _ read _ value to judge the type of the model, so that the parameters are re-modified according to the process of the step 5.3 to realize the re-modification of the generated model size parameters.
Compared with the prior art, the invention has the beneficial effects that:
1. the invention adopts the part parametric design module and the final assembly design module to carry out serialized design and parametric design of parts on the refrigerator liner punching platform transmission device, has strong pertinence, can finish the rapid generation of the parts only by inputting basic size parameters by designers, and can also modify the sizes of the parts by inputting numerical values, thereby reducing a great amount of repeated operations of the designers and improving the design efficiency and quality.
2. The invention adopts the part functional design module to reasonably classify the parts, and the design of various parts is independently carried out without mutual influence. The part design module changes the thinking of the conventional two-dimensional to three-dimensional and ubiquitous mode of part design, and designers can obtain new parts only by inputting parameterized dimension values according to the existing model in the part database, and can revise dimension parameters for the generated parts for multiple times, so that the research and development period of products is greatly shortened, and the design cost is reduced.
3. The invention adopts a component parameter design module, and for parts needing to be modified in a component assembly, when a certain part in the component is modified, parts with constraint relation in the component assembly can be automatically searched, the size of the parts can be automatically modified, and then a model is reconstructed and updated. The design mode ensures that the constraint relation of the parts in the component assembly body is not damaged when the parts in the component assembly body are modified, breaks through the original mode that the parts with the constraint relation need to be modified independently, and realizes the function of rapidly modifying the sizes of the parts in the component assembly body.
4. The engineering drawing module adopted by the invention can lead out the general assembly engineering drawing and the part engineering drawing by one key aiming at the designed general assembly drawing, and automatically generate a detail list and a title bar of the general assembly drawing, wherein the detail list can be classified and led out to an Excel table according to the part types, such as 'purchased parts, processed parts and standard parts', thereby greatly shortening the flow time from a product design stage to a production stage. The total amount of work in the same time is far more than the work load of the traditional mode, the design efficiency is improved, and the development cost of the product is reduced.
Drawings
FIG. 1 is a block diagram of the system of the present invention;
FIG. 2 is a schematic diagram of the system of the present invention;
FIG. 3 is a flow chart of the part parameterization of the present invention;
FIG. 4 is a flow chart of the component parameterization of the present invention;
FIG. 5 is a block flow diagram of an engineering drawing of the present invention.
Detailed Description
In this embodiment, a parameterization design system of a refrigerator liner punching platform transmission device implements the encapsulation of four modules, namely a part function design module, a final assembly function design module and an engineering drawing module, by means of a Visual Studio2012 compiling platform, and provides a Block UI user interface and an application Programming interface api (application Programming interface) by using NX under the platform to implement seamless integration of a parameterization forming system designed this time and the NX platform, as shown in fig. 1.
Specifically, as shown in fig. 2, the parametric design system includes: the system comprises a part function design module, a component function design module, a final assembly function design module, an engineering drawing module and a database;
the part functional design module includes: the system comprises a part database, a part picture preview unit, a part quick generation unit and a part parameter re-modification unit;
the part database comprises a plurality of part tables, and each part table corresponds to one type of part model; the part table is used for storing part names, part attributes, part positions and parameterized size names; each part model in each part table has a respective number and corresponds to the part number in the part picture preview unit;
the part rapid generation unit firstly carries out three-dimensional modeling on parts of a required transmission device on an NX software platform to obtain a part model of the transmission device; the part model is stored in a database as a part source model, and the size parameters of the part source model are in one-to-one correspondence with the corresponding 'expression' function based on the 'expression' function on the NX software platform; compiling a part retrieval function and a part modification function of design parameters for the part model, and copying the part source model according to the new parameter values to generate a parameterized program corresponding to a part import function of the new part model, so that after the part source model is imported by using the part import function, the imported part source model is subjected to parameter modification by using the part modification function, and a parameterized part model is generated;
the part re-modification parameter unit selects a part model needing to be re-modified through a selection control on the NX software platform, acquires part attributes from a part database, modifies the size parameters of an expression function associated with the part model to complete the modification of the size value of the part model, and updates the part model in the database, thereby realizing the parameter re-modification function of the generated parameterized part model;
the component functional design module comprises: the system comprises a component database, a component picture preview unit, a component quick generation unit and a component parameter re-modification unit;
the component database comprises a plurality of component tables, and each component table corresponds to one type of component model; the part table is used for storing part names, part attributes, part positions and parameterized dimension names; each part model in each part table has a respective number and corresponds to the part number in the part picture preview unit;
the rapid part generation unit firstly assembles a part model of the transmission device on an NX software platform according to the constraint relation between parts to obtain a part model of the transmission device; taking the component model as a component source model, storing the component model into a database, establishing one-to-one correspondence between the size parameters of the component source model and the part model thereof and the corresponding 'expression' function based on the 'expression' function on the NX software platform, and establishing one-to-one correspondence between the size parameters of the part containing the size constraint relation in the component source model and the corresponding 'expression' function; compiling a part retrieval function and a part modification function of the design parameters for the part source model, and copying the part source model according to the new size parameter values to generate a parameterized program corresponding to a part import function of the new part model; after the component source model is imported by using the component import function, performing parameter modification on the imported component source model by using the component modification function, and generating a parameterized component model;
the part re-modification parameter unit selects a corresponding part model in the part needing to be re-modified through a selection control on the NX software platform, acquires the part attribute from the part database, modifies the size parameter of an 'expression' function associated with the part model to complete the size value modification of the part model and the corresponding part model, finds a part model in the modified part model, which has a size constraint relation with the corresponding part, according to the constraint relation among the parts to modify the size value of the corresponding part model and update the part model in the database, thereby realizing the parameter re-modification function of the generated parameterized part model;
the final assembly functional design module comprises: a total assembly body rapid generation unit and a total assembly body weight re-modification parameter unit;
the method comprises the steps that a total assembly body rapid generation unit firstly assembles a component model of a transmission device on an NX software platform to obtain a total assembly body model of the transmission device; the general assembly model is used as a general assembly source model and then stored in a database, one-to-one corresponding association is established between the size parameters of the general assembly source model and the component models thereof and the corresponding 'expression' function based on the 'expression' function on the NX software platform, and then one-to-one corresponding association is established between the size parameters of the components containing the size constraint relation in the general assembly source model and the corresponding 'expression' function; then, programming a final assembly retrieval function and a final assembly modification function of the design parameters of the final assembly source model, and copying the final assembly source model according to the new size parameter values to generate a parameterization program corresponding to a final assembly import function of the new final assembly body model; after the final assembly import function is utilized to import the final assembly source model, the final assembly modification function is utilized to modify the parameters of the imported final assembly source model and generate a parameterized final assembly model;
the total assembly weight re-modification parameter unit selects a corresponding component model in the total assembly model to be re-modified through a selection control on the NX software platform, so that the property of the component in the component database is obtained, the size parameter of an 'expression' function associated with the component model is modified, the size value modification of the component model is completed, a component model with a size constraint relation with the corresponding component in the modified component model is found according to the constraint relation among the components, the size value of the corresponding component model is modified, the total assembly model in the database is updated, and the parameter re-modification function of the generated parameterized total assembly model is realized;
the engineering drawing module comprises: the system comprises an attribute adding unit, a user-defined engineering drawing unit and a detail table exporting unit;
the attribute adding unit is used for adding a plurality of different attributes to a certain part model or component model at one time, or adding the same attribute to a plurality of part models and component models;
the user-defined engineering drawing unit is used for automatically generating a corresponding two-dimensional engineering drawing for the selected part model, the selected part model or the selected general assembly model, automatically generating a corresponding title bar on the two-dimensional engineering drawing of the part model by acquiring the attribute of the corresponding part model, the attribute of the corresponding part model or the attribute of the corresponding general assembly model, and automatically generating the title bar and the detailed bar on the two-dimensional engineering drawing of the part model and the general assembly model;
the detail list exporting unit is used for exporting the detail columns of the total assembly body model or the component model into an Excel list according to attribute classification, such as 'standard component, processed component and purchased component';
in the embodiment, a seriation design method of a refrigerator liner punching platform transmission device is carried out according to the following steps:
step 1, three-dimensional modeling of parts is carried out on a required transmission device on an NX software platform to obtain a part model of the transmission device, the part models are assembled to obtain a component model according to the constraint relation among the parts, the component models are assembled to obtain a total assembly model according to the constraint relation among the parts, and the total assembly model is classified and stored in a database after being used as respective source models;
step 2, completing the setting of the source model;
step 2.1, establishing one-to-one correspondence between the 'expression' function on the NX software platform and the size of the part source model, and thus synchronously modifying the design parameters of the shape and the size of each part in the part source model by using the 'expression' function; as shown in fig. 3;
2.2, establishing one-to-one corresponding size association between the 'expression' function on the NX software platform and the size parameters of the component source model and the part model thereof as well as the part size parameters containing the size constraint relation in the component source model; as shown in fig. 4;
establishing one-to-one corresponding size association between the 'expression' function on the NX software platform and the size parameters of the total assembly body source model and the component model thereof as well as the size parameters of the components containing the size constraint relation in the total assembly body source model;
step 3, establishing a part database containing a plurality of part tables, wherein each part table corresponds to one type of part model; the part table is used for storing part names, part attributes, part positions and parameterized size names; each part model in each part table has a respective number;
establishing a component database comprising a plurality of component tables, wherein each component table corresponds to one type of component model; the component table is used for storing component names, component attributes, component positions and parameterized dimension names; each part model in each part table has a respective number;
step 4, acquiring the serial number of the selected model from the corresponding database according to the selected model; finding the preview pictures with corresponding numbers according to the numbers of the selected models and displaying the preview pictures;
step 4.1, displaying a source model of a database in a Tree list of a Block UI interface through a Tree list control NXOpen, selecting the source model in the Tree list, acquiring a function name of the source model through an acquisition function GetColumnDisplayText, and acquiring an environment path of a storage position of the source model through an acquisition function GetEnvironverableValue;
and 4.2, finding and displaying the position of the preview picture corresponding to the source model through a drawing display control NXOpen, a Block Styler, and a DrawingArea according to the acquired environment path so as to realize the preview of the source model.
Step 5, accessing a source model in the database, copying the source model to an empty template file, and modifying the associated expression value, so as to change the size value of the model, update the model and realize the three-dimensional rapid modeling of the refrigerator liner punching platform transmission device;
step 5.1, displaying a source model of a database in a Tree list of a Block UI interface through a Tree list control NXOpen, selecting the source model of the Tree list, acquiring a function name of the source model through an acquisition function GetColumnDisplayText, and acquiring an environment path of a storage position of the source model through an acquisition function GetEnvironverableValue;
step 5.2, obtaining a path of the source model according to the obtained environment path, and importing the source model into an empty template file through a copy function UF _ PART _ import;
step 5.3, obtaining the number of the components by obtaining a function Assembies, namely, Component, so as to determine whether the copied source model is a part model, and if so, modifying the value of an expression corresponding to the size of the part model by modifying a function UF _ MODL _ edge _ exp to modify the size value of the part model; otherwise, representing the model as a component model or a general assembly model, modifying the value of an expression corresponding to the dimension of the part model in the component model through a modification function UF _ MODL _ edge _ exp, or modifying the value of an expression corresponding to the component model in the general assembly model, obtaining a function NXopen, wherein Positioning is that ComponentConstrainment obtains all the part models or component models with dimension constraint relation, and modifying the dimension value of the part models or component models with constraint relation through a modification function UF _ MODL _ edge _ exp;
and 5.4, updating the model through an updating function UF _ MODL _ update (), and refreshing the display of the model through a refreshing function UF _ DISP _ refresh ().
And 5.5, if the size parameters of the model need to be modified again, selecting the generated part model, the part model and the total assembly model through NXOpen, selecting a control, and acquiring the corresponding attributes of the model through an acquisition function UF _ ATTR _ read _ value to judge the type of the model, so that the parameters are re-modified according to the process of the step 5.3 to realize the re-modification of the size parameters of the generated model.
And 6, adding attribute information of the part model or adding attribute information of the assembly body model:
selecting a part model, a component model or a total assembly model on an NX platform, selecting a control function NXOpen, wherein a blockStyler is used for selecting the part model, the component model or the total assembly model needing to be added with attributes by a SelectObject, defining one or more attribute structural bodies by using a creation function UF _ ATTR _ value _ t, and adding attribute information on the part model, the component model or the total assembly model by an addition function UF _ ATTR _ assign;
step 7, selecting any model, generating an engineering drawing by creating a function NXOpen, Drawings, ProjectedView, generating a two-dimensional engineering drawing of the selected model by creating a function NXOpen, Drawings, ProjectedViewBuilder, acquiring the attribute of the selected model by acquiring a function UF _ ATTR _ read _ value, and filling corresponding detailed mark and title information by adding a function UF _ TABNOT _ set _ cell _ text according to the attribute of the model, thereby realizing the automatic generation of a detailed table and a title column; as shown in fig. 5;
step 8, classifying according to the attributes, and exporting the detail table to an Excel table by using a creating function App. CreateDispatch, wherein the Excel table is a standard part, a processed part and a purchased part;
in conclusion, the invention can carry out the parameterization design function and the function of supporting the return and the parameter re-modification aiming at the transmission equipment of the refrigerator liner punching platform, thereby simplifying the three-dimensional design process, realizing the standardized, generalized and serialized design of punching assembly parts, greatly improving the production efficiency and reducing the design cost of new products.

Claims (5)

1. A parameterization design system of a refrigerator liner punching platform transmission device is characterized by being applied to an NX software platform and comprising: the system comprises a part function design module, a component function design module, a final assembly function design module, an engineering drawing module and a database;
the part functional design module includes: the system comprises a part database, a part picture preview unit, a part quick generation unit and a part parameter re-modification unit;
the part database comprises a plurality of part tables, and each part table corresponds to one type of part model; the part table is used for storing part names, part attributes, part positions and parameterized size names; each part model in each part table has a respective number and corresponds to the part number in the part picture preview unit;
the part rapid generation unit firstly carries out three-dimensional modeling on parts of a required transmission device on an NX software platform to obtain a part model of the transmission device; the part model is used as a part source model and then stored in a database, and the size parameters of the part source model and the corresponding 'expression' function are in one-to-one correspondence relation based on the 'expression' function on the NX software platform; compiling a part retrieval function and a part modification function of design parameters for the part model, and copying the part source model according to the new parameter values to generate a parameterized program corresponding to a part import function of the new part model, so that after the part source model is imported by using the part import function, the imported part source model is subjected to parameter modification by using the part modification function, and a parameterized part model is generated;
the part re-modification parameter unit selects a part model needing to be re-modified through a selection control on the NX software platform, acquires part attributes from the part database, modifies the size parameters of an expression function associated with the part model to complete the modification of the size value of the part model, and updates the part model in the database, thereby realizing the parameter re-modification function of the generated parameterized part model;
the component functional design module includes: the system comprises a component database, a component picture preview unit, a component quick generation unit and a component parameter re-modification unit;
the component database comprises a plurality of component tables, and each component table corresponds to one type of component model; the component table is used for storing component names, component attributes, component positions and parameterized dimension names; each part model in each part table has a respective number and corresponds to the part number in the part picture preview unit;
the rapid component generation unit firstly assembles a part model of the transmission device on an NX software platform according to the constraint relation between parts to obtain a component model of the transmission device; the component model is stored in a database after being used as a component source model, one-to-one corresponding association is established between the size parameters of the component source model and a part model thereof and the corresponding 'expression' function based on the 'expression' function on the NX software platform, and then one-to-one corresponding association is established between the size parameters of the part containing the size constraint relation in the component source model and the corresponding 'expression' function; writing a component retrieval function and a component modification function of design parameters for the component source model, and copying the component source model according to the new size parameter values to generate a parameterized program corresponding to a component import function of the new component model; after the component source model is imported by using the component import function, performing parameter modification on the imported component source model by using the component modification function, and generating a parameterized component model;
the component re-modification parameter unit selects a corresponding part model in a component needing to be re-modified through a selection control on the NX software platform, acquires component attributes from the component database, modifies the size parameters of an 'expression' function associated with the component model to complete the modification of the size values of the component model and the corresponding part model, finds a part model in the modified component model, which has a size constraint relation with the corresponding part, according to the constraint relation among the parts to modify the size value of the corresponding part model and update the component model in the database, thereby realizing the parameter re-modification function of the generated parameterized component model;
the final assembly functional design module comprises: a total assembly body rapid generation unit and a total assembly body weight re-modification parameter unit;
the quick generating unit of the general assembly body firstly assembles a component model of the transmission device on the NX software platform to obtain a general assembly body model of the transmission device; the general assembly model is used as a general assembly source model and then stored in a database, one-to-one corresponding association is established between the size parameters of the general assembly source model and the component models thereof and the corresponding 'expression' function based on the 'expression' function on the NX software platform, and then one-to-one corresponding association is established between the size parameters of the components containing the size constraint relation in the general assembly source model and the corresponding 'expression' function; then, programming a final assembly retrieval function and a final assembly modification function of the design parameters of the final assembly source model, and copying the final assembly source model according to the new size parameter values to generate a parameterization program corresponding to a final assembly import function of the new final assembly body model; after the final assembly import function is utilized to import the final assembly source model, the final assembly modification function is utilized to modify the parameters of the imported final assembly source model and generate a parameterized final assembly model;
the total assembly weight re-modification parameter unit selects a corresponding component model in the total assembly model to be re-modified through a selection control on the NX software platform, so that the property of the component in the component database is obtained, the size parameter of an 'expression' function associated with the component model is modified, the size value modification of the component model is completed, the component model with the size constraint relation with the corresponding component in the modified component model is found according to the constraint relation among the components, the size value of the corresponding component model is modified, the total assembly model in the database is updated, and the parameter re-modification function of the generated parameterized total assembly model is realized;
the engineering drawing module comprises: the system comprises an attribute adding unit, a user-defined engineering drawing unit and a detail table exporting unit;
the attribute adding unit is used for adding a plurality of different attributes to a certain part model or component model at one time, or adding the same attribute to a plurality of part models and component models;
the user-defined engineering drawing unit is used for automatically generating a corresponding two-dimensional engineering drawing for the selected part model, the selected part model or the selected general assembly model, automatically generating a corresponding title bar on the two-dimensional engineering drawing of the part model by acquiring the attribute of the corresponding part model, the attribute of the corresponding part model or the attribute of the corresponding general assembly model, and automatically generating a title bar and a detail bar on the two-dimensional engineering drawing of the part model and the general assembly model;
and the detail list exporting unit is used for exporting the detail columns of the total assembly body model or the component model into an Excel table according to attribute classification.
2. A parameterization design method of a refrigerator liner punching platform transmission device is characterized by being applied to an NX software platform and comprising the following steps:
step 1, three-dimensional modeling of parts is carried out on a required transmission device on an NX software platform to obtain a part model of the transmission device, the part models are assembled to obtain a component model according to the constraint relation among the parts, the component models are assembled to obtain a total assembly model according to the constraint relation among the parts, and the total assembly model is classified and stored in a database after being used as respective source models;
step 2, completing the setting of the source model;
step 2.1, establishing one-to-one correspondence between the 'expression' function on the NX software platform and the size of the part source model, and thus synchronously modifying the design parameters of the shape and the size of each part in the part source model by using the 'expression' function;
2.2, establishing one-to-one corresponding size association between the 'expression' function on the NX software platform and the size parameters of the component source model and the part model thereof as well as the part size parameters containing the size constraint relation in the component source model;
establishing one-to-one corresponding size association between the 'expression' function on the NX software platform and the size parameters of the total assembly body source model and the component model thereof as well as the size parameters of the components containing the size constraint relation in the total assembly body source model;
step 3, establishing a part database containing a plurality of part tables, wherein each part table corresponds to one type of part model; the part table is used for storing part names, part attributes, part positions and parameterized size names; each part model in each part table has a respective number;
establishing a component database comprising a plurality of component tables, wherein each component table corresponds to one type of component model; the component table is used for storing component names, component attributes, component positions and parameterized dimension names; each part model in each part table has a respective number;
step 4, acquiring the serial number of the selected model from the corresponding database according to the selected model; finding the preview pictures with corresponding numbers according to the numbers of the selected models and displaying the preview pictures;
step 5, accessing a source model in the database, copying the source model to an empty template file, and modifying the associated expression value, so as to change the size value of the model, update the model and realize the three-dimensional rapid modeling of the refrigerator liner punching platform transmission device;
and 6, adding attribute information of the part model or adding attribute information of the assembly body model:
selecting a part model, a component model or a total assembly model on an NX platform, selecting a control function NXOpen, wherein a blockStyler is used for selecting the part model, the component model or the total assembly model needing to be added with attributes by a SelectObject, defining one or more attribute structural bodies by using a creation function UF _ ATTR _ value _ t, and adding attribute information on the part model, the component model or the total assembly model by an addition function UF _ ATTR _ assign;
step 7, selecting any model, generating an engineering drawing by creating a function NXOpen, Drawings, ProjectedView, generating a two-dimensional engineering drawing of the selected model by creating a function NXOpen, Drawings, ProjectedViewBuilder, acquiring the attribute of the selected model by acquiring a function UF _ ATTR _ read _ value, and filling corresponding detailed mark and title information by adding a function UF _ TABNOT _ set _ cell _ text according to the attribute of the model, thereby realizing the automatic generation of a detailed table and a title column;
and 8, according to the attribute classification, exporting the detail table to an Excel table by using a creating function App.
3. The parametric design method according to claim 2, wherein the step 4 is based on UFUN and NXOpen development tools and is performed as follows:
step 4.1, displaying a source model of a database in a Tree list of a Block UI interface through a Tree list control NXOpen, selecting the source model in the Tree list, acquiring a function name of the source model through an acquisition function GetColumnDisplayText, and acquiring an environment path of a storage position of the source model through an acquisition function GetEnvironverableValue;
and 4.2, finding and displaying the position of the preview picture corresponding to the source model through a drawing display control NXOpen, a Block Styler, and a DrawingArea according to the acquired environment path so as to realize the preview of the source model.
4. The parametric design method according to claim 2, wherein the step 5 is based on UFUN and NXOpen development tools and is performed as follows:
step 5.1, displaying a source model of a database in a Tree list of a Block UI interface through a Tree list control NXOpen, selecting the source model of the Tree list, acquiring a function name of the source model through an acquisition function GetColumnDisplayText, and acquiring an environment path of a storage position of the source model through an acquisition function GetEnvironverableValue;
step 5.2, obtaining a path of the source model according to the obtained environment path, and importing the source model into an empty template file through a copy function UF _ PART _ import;
step 5.3, obtaining the number of the components by obtaining a function Assembies, namely, Component, so as to determine whether the copied source model is a part model, and if so, modifying the value of an expression corresponding to the size of the part model by modifying a function UF _ MODL _ edge _ exp to modify the size value of the part model; otherwise, representing the model as a component model or a general assembly model, modifying the value of an expression corresponding to the dimension of the part model in the component model through a modification function UF _ MODL _ edge _ exp, or modifying the value of an expression corresponding to the component model in the general assembly model, obtaining a function NXopen, wherein Positioning is that ComponentConstrainment obtains all the part models or component models with dimension constraint relation, and modifying the dimension value of the part models or component models with constraint relation through a modification function UF _ MODL _ edge _ exp;
and 5.4, updating the model through an updating function UF _ MODL _ update (), and refreshing the display of the model through a refreshing function UF _ DISP _ refresh ().
5. The parametric design method as in claim 4, wherein if the dimensional parameters of the model are to be re-modified, the generated part model, the part model and the total assembly model are selected by NXOpen: Block Styler: SelectObject selection control, and the attributes corresponding to the model are obtained by an obtaining function UF _ ATTR _ read _ value to judge the type of the model, so that the parameters are re-modified according to the process of step 5.3 to realize the re-modification of the dimensional parameters of the model after generation.
CN202111053757.3A 2021-09-09 2021-09-09 Parameterized design system and parameterized design method for refrigerator liner punching platform transmission device Active CN113722780B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111053757.3A CN113722780B (en) 2021-09-09 2021-09-09 Parameterized design system and parameterized design method for refrigerator liner punching platform transmission device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111053757.3A CN113722780B (en) 2021-09-09 2021-09-09 Parameterized design system and parameterized design method for refrigerator liner punching platform transmission device

Publications (2)

Publication Number Publication Date
CN113722780A true CN113722780A (en) 2021-11-30
CN113722780B CN113722780B (en) 2024-03-26

Family

ID=78682846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111053757.3A Active CN113722780B (en) 2021-09-09 2021-09-09 Parameterized design system and parameterized design method for refrigerator liner punching platform transmission device

Country Status (1)

Country Link
CN (1) CN113722780B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060022370A (en) * 2004-09-07 2006-03-10 현대중공업 주식회사 Data management system for 3d cad ??unigraphics ?? modeling and drawing
CN103914601A (en) * 2014-04-24 2014-07-09 中国工程物理研究院化工材料研究所 Near-net forming die digitalized design system and method based on UG NX software
CN106127863A (en) * 2016-06-30 2016-11-16 滁州市科创模具制造有限公司 A kind of refrigerator foaming die series design system and method thereof
CN107239595A (en) * 2017-04-26 2017-10-10 特拓(青岛)轮胎技术有限公司 Tire three-dimensional modeling and its modeling method based on NX software PTS modules

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060022370A (en) * 2004-09-07 2006-03-10 현대중공업 주식회사 Data management system for 3d cad ??unigraphics ?? modeling and drawing
CN103914601A (en) * 2014-04-24 2014-07-09 中国工程物理研究院化工材料研究所 Near-net forming die digitalized design system and method based on UG NX software
CN106127863A (en) * 2016-06-30 2016-11-16 滁州市科创模具制造有限公司 A kind of refrigerator foaming die series design system and method thereof
CN107239595A (en) * 2017-04-26 2017-10-10 特拓(青岛)轮胎技术有限公司 Tire three-dimensional modeling and its modeling method based on NX software PTS modules

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
吴峰: "《面向风电齿轮箱关键件的三维机加工艺设计技术》", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》, pages 111 - 240 *
山涧果子: "《UG NX 曲面造型方法》", Retrieved from the Internet <URL:《https://blog.csdn.net/weixin_43911798/article/details/118489447》> *
杨森: "《NX模型设计和运动仿真》", 《设备监理》 *

Also Published As

Publication number Publication date
CN113722780B (en) 2024-03-26

Similar Documents

Publication Publication Date Title
JP2017201547A (en) Automatic report generation method
CN110765523A (en) BIM technology-based rapid construction method for deep foundation pit support structure
CN112861384B (en) Three-dimensional model construction method of electrostatic precipitator based on CATIA
CN101027672A (en) Automatic drawing creation system
CN112446937B (en) Project progress three-dimensional visualization method based on BIM technology
US10417924B2 (en) Visual work instructions for assembling product
CN110059121B (en) Method, system, device and storage medium for rapidly exporting bill of materials
CN110837703A (en) Pro/E-based hydraulic cylinder rapid design system and method
CN110795835A (en) Three-dimensional process model reverse generation method based on automatic synchronous modeling
CN106127863B (en) A kind of refrigerator foaming die series design system and its method
CN107291045B (en) Workshop programming system
CN115344905A (en) Method and system for automatically generating two-dimensional engineering drawing based on three-dimensional model
CN114896691A (en) Three-dimensional labeling method based on MBD equipment model
CN110781534A (en) Method for establishing modular design module library for special container
CN113722780B (en) Parameterized design system and parameterized design method for refrigerator liner punching platform transmission device
Liu et al. A convenient part library based on SolidWorks platform
CN115081137A (en) Serialized modeling method under visual programming environment
CN114722475A (en) Garden plant maintenance visualization method based on CERD-MR system
CN114092641A (en) Method, device and equipment for generating wiring board drawing and readable storage medium
CN115221653A (en) Parametric modeling and motion simulation system and method for refrigerator liner punching equipment
CN103488632A (en) Universal dynamic adjustment method for multi-data-item display
CN111985015A (en) System and method for automatically generating BOM (Bill of Material) by using VBA (visual basic Access) function
CN112861282B (en) System and method for realizing data transmission among multiple software
CN111737783B (en) Casting pouring system parameterized forming system and method based on creo software
CN112783913B (en) Database updating method, device, equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant