CN115146415A - Tube distribution and calling system and method for special 3D equipment warehouse for refrigerator liner punching platform - Google Patents

Tube distribution and calling system and method for special 3D equipment warehouse for refrigerator liner punching platform Download PDF

Info

Publication number
CN115146415A
CN115146415A CN202210903923.2A CN202210903923A CN115146415A CN 115146415 A CN115146415 A CN 115146415A CN 202210903923 A CN202210903923 A CN 202210903923A CN 115146415 A CN115146415 A CN 115146415A
Authority
CN
China
Prior art keywords
model
component assembly
size
function
attribute
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
CN202210903923.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.)
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 CN202210903923.2A priority Critical patent/CN115146415A/en
Publication of CN115146415A publication Critical patent/CN115146415A/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
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/27Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/04Manufacturing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/04Constraint-based CAD

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Evolutionary Computation (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Manufacturing & Machinery (AREA)
  • Artificial Intelligence (AREA)
  • Primary Health Care (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a management and calling system and method for a special 3D equipment library for a refrigerator liner punching platform, wherein the system is developed in NX software based on NXOpenC + + and Block Styler, and comprises the following steps: the system comprises a database, a calling module and a branch management module; wherein, the calling module includes: the device comprises a model classification list unit, a model importing unit and a model size parameter modifying unit; the branch pipe module includes: a model position conversion unit and a model continuous copying unit. The invention designs a parametric modeling method by taking the refrigerator liner punching platform component assembly as a basic unit, thereby effectively reducing the product design complexity of the refrigerator liner punching platform and shortening the design period of the refrigerator liner punching platform series products.

Description

Tube distribution and calling system and method for special 3D equipment library for refrigerator liner punching platform
Technical Field
The invention belongs to the technical field of automatic refrigerator production equipment industry, and relates to a special equipment warehouse branch pipe and call system which is based on NX and faces to a refrigerator liner punching platform, and an implementation method and steps thereof.
Background
At present, the automatic production equipment which can serve the punching process of the refrigerator inner container by related companies has mature technical support, and meanwhile, quite abundant design experience is accumulated in the field; the design of a new product can be completed only by finding member parts with similar functions from related design schemes of past orders according to the requirements of the user, replacing original untimely parts with a newly designed local structure, and then properly recombining and adjusting the size;
however, even so, the project designer still needs to make a large number of modification or deletion commands with a single part or even a single feature on its design tree as the basic unit of operation; the total number of parts on large equipment is self-evident, and even if only partial characteristics of partial parts need to be adjusted or deleted, a great deal of time and energy are spent; meanwhile, the large-scale equipment is provided with some parts which are related in size and have an assembly relation; although the single modification or deletion operation can be well balanced, the large amount of repeated work also causes misoperation, increases the design burden and reduces the design efficiency.
Disclosure of Invention
The invention aims to solve the defects in the prior art and provides a branch pipe and calling system and method for a special 3D equipment library for a refrigerator liner punching platform.
In order to achieve the purpose, the invention adopts the following technical scheme:
the invention relates to a tube dividing and calling system for a 3D equipment library special for a refrigerator liner punching platform, which is characterized by being applied to an NX software platform and comprising the following components: the system comprises a database, a calling module and a branch management module;
a model which takes a component assembly model as a basic unit is stored in the database; each component assembly body comprises a name attribute, a size attribute, a function attribute and a corresponding two-dimensional preview picture which are in one-to-one correspondence;
the calling module comprises: the device comprises a model classification list unit, a model importing unit and a model size parameter modifying unit;
the model classification list unit is used for acquiring attribute information and two-dimensional preview pictures of the component assembling body model in the database and performing classification display;
the model importing unit firstly carries out three-dimensional modeling on the component assembling body model on an NX software platform and takes the component assembling body model as a source model; establishing association between an expression on an NX software platform and the size parameters of a component assembly model, and establishing association between the size parameters of a part model under the component assembly model and the size parameters of the component assembly model by using a mathematical function relational expression; compiling the component assembly body model by using an NXOpen C + + library function to obtain an importing function of new size information, and modifying the size information of the component assembly body model and importing the size information into a modeling environment of NX software to generate a new component assembly body model;
the model size parameter modifying unit is used for modifying the size parameters of the component assembly model imported into the modeling environment, and comprises the following steps: selecting a component assembly model to be modified through a selection control provided by a Block.UI, acquiring attribute information of the component assembly model, modifying a size value of the component assembly model by modifying a size parameter corresponding to the component assembly model and associated with an expression, and transmitting the modified size value downwards to a part model to enable the shape of the part model to be transformed and fed back upwards to the component assembly model, thereby realizing size modification of the component assembly model;
the tube dividing module comprises: a model position conversion unit and a model continuous copying unit;
the model position transformation unit performs azimuth transformation operation on a model which is introduced into a modeling environment and completes parameter initialization under an NX software environment, obtains a coordinate origin and a coordinate matrix of the component assembly model before and after two adjacent position adjustments through a callback function during updating of a CSYS coordinate control in a Block style function, calculates a three-dimensional difference value of the two coordinate origins, and combines a 3-order difference matrix between the two coordinate matrices to construct a 4-order affine transformation matrix before and after the two position adjustments, so that a position change result of the component assembly model is obtained through the 4-order affine transformation matrix;
the model continuous copying unit is used for carrying out self-copying operation on the model which is imported into the modeling environment and completes parameter initialization under the NX software environment, and the direction transformation operation of the copy body under the NX software environment is realized by calling the model position transformation unit.
The invention relates to a tube dividing and calling method for a special 3D equipment library for a refrigerator liner punching platform, which is characterized by comprising the following steps of;
step 1, three-dimensional modeling is carried out on a given part on an NX software platform to obtain each part model; assembling each part model on the premise of realizing a complete function according to the structural relationship of the refrigerator liner punching platform equipment to obtain each part assembly model, and storing the part assembly model in a database as a source model;
step 2, completing the setting of the component assembly model;
step 2.1, correlating the dimension parameters of each part model in the part assembly model by using an 'expression' on an NX software platform so as to control the change of the dimension parameters of the source model;
step 2.2, analyzing the constraint relation of the part models in the component assembling body model, and establishing size association by utilizing the constraint relation of the part models in a mathematical function relation, so that the constraint relation among the part models can be met when the size parameters of the component assembling body model change;
step 2.3, marking the attributes of the parts and part models under the part assembly model;
marking each component assembly body model by using a character Fu Chuanxing attribute variable, marking each part model under the component assembly body model by using an integer attribute variable, and representing the priority of the part model in the component assembly body model by using the magnitude of an integer attribute variable value in each part model, wherein the larger the integer attribute variable value is, the higher the priority is;
step 2.4, setting a binding relationship between the component assembly model and the parameter configuration of the component assembly model;
taking the name of the component assembly body model as a key, and taking a pointer function bound with the parameter configuration of the source model as a value; establishing high-timeliness access mapping between the key words and the numerical values by utilizing a generic correlation container based on a hash table dictionary structure, so that correlation is formed between the source model and the parameter configuration of the source model;
step 3, storing the name attribute, the size attribute and the function attribute of each component assembly model and the corresponding two-dimensional preview image into a database;
step 4, classifying the component assembly body models according to different functional attributes by traversing the name attributes, the functional attributes and the corresponding two-dimensional preview image information of the component assembly body models in the database, and then displaying the name attributes and the two-dimensional preview image information of the component assembly body models in a model classification list in a classification mode;
step 5, selecting the displayed component assembly model, acquiring the name attribute, the size attribute and the corresponding two-dimensional preview image information of the corresponding component assembly model from the database, displaying the size attribute and the two-dimensional preview image information on a parameter configuration list, finding the corresponding parameter configuration according to the name attribute and modifying the parameter configuration to modify the size parameter of the component assembly model, thereby obtaining the updated component assembly model and realizing rapid modeling;
step 6, changing the position of the updated component assembly model;
acquiring a coordinate origin and a coordinate matrix of the component assembly model before and after two adjacent position adjustments by means of a callback function in a Block style function during refreshing of a CSYS coordinate control, calculating a three-dimensional difference value of the two coordinate origins, and combining a 3-order difference matrix between the two coordinate matrices to construct a 4-order affine transformation matrix before and after the two position adjustments, so as to obtain a position change result of the component assembly model through the 4-order affine transformation matrix;
and 7, copying the updated component assembly model through a UF _ CLONE _ add _ assembly CLONE function, and changing the position of the copied component assembly model according to the process of the step 6 so as to realize continuous copying and moving of the model.
The method for managing and calling the network elements 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, traversing a database, and acquiring the name attribute and the size attribute of the component assembly body model and corresponding two-dimensional preview image information from the database by using a UF _ ATTR _ read _ value function;
and 4.2, displaying the name attribute of the model on a Tree list of the model classification list through NXOpen:: block style:: tree:: block style:: two-dimensional preview image corresponding to the model on a drawing area of the model classification list through NXOpen:: block style:: drawingArea drawing control.
The step 5 is based on UFUN and NXOpen development tools and is carried out according to the following processes:
step 5.1, selecting a component assembly body model, and acquiring the name attribute, the size attribute and the corresponding two-dimensional preview information of the model from a database through a UF _ ATTR _ read _ value function;
step 5.2, displaying the size information of the model on an expression of the parameter configuration list through NXOpen: block sorter: expressionBlock expression control, and displaying a two-dimensional preview image corresponding to the model on a drawing area of the parameter configuration list through NXOpen: block sorter: drawingArea drawing control;
step 5.3, importing a component assembly model through a UF _ PART _ import function and opening a parameter configuration list corresponding to the model; modifying the values of the expressions on the parameter configuration list through a function UF _ MODL _ edge _ exp, so as to modify the size values of the imported component assembling body model;
and 5.4, updating the component assembly model with the modified size through an UF _ MODL _ update () function, refreshing the display of the model through an UF _ DISP _ refresh () function, and then exporting the model through an UF _ PART _ export () function and storing the model as a new component assembly model, so that the rapid modeling of the component assembly model of the refrigerator liner punching device is realized.
Compared with the prior art, the invention has the following outstanding advantages:
1. in the invention, a parameterization design method taking a functional component assembly body as a basic operation unit is utilized to develop a rapid calling process of a 3D model of special member equipment related to a refrigerator liner punching platform, so that the method has strong pertinence; the designer can select the model in the system database, so that the appointed key sub-equipment model on the general assembly model can be called and placed at the position, the rapid modification of the model size is realized through the expression function improved by NX, a large amount of repeated operation of the designer is reduced, and the time loss caused by complex modeling is avoided;
2. the invention provides a method for quickly calling a 3D model in a specified template library and quickly modifying the relevant size of the 3D model; the mutual cooperation of the NX expression and the part attribute table is utilized to enable the sizes of the parts and the parts in the various functional sub-equipment models to be linked, namely, the inconvenience of a designer when repeatedly switching operation environments among different parts and characteristics is eliminated, the size cooperation among the parts in the sub-equipment can be realized without mistakes, a single sub-equipment model can become a basic operation unit for regulating and controlling the size during the structural design of the designer, and the limitation that the operation complexity of taking a single part as a basic unit for regulating and controlling the size and the expression value can only be transmitted in the parts is broken through;
3. the invention finds out the corresponding parameter configuration module by selecting the component equipment model in the database existing or imported in the assembly environment, and provides a method for quickly modifying the model size, compared with the prior method of selecting the name in the management window list and then popping up the corresponding module to modify the size, the invention is more intuitive and convenient, saves the operation time of designers, and can adjust the size of the current target component according to the conditions of other surrounding components, thereby greatly improving the efficiency of repeatedly modifying the size step in the design process.
In conclusion, the invention helps to realize an efficient human-computer interaction mode of calling, moving and modifying the part assembly body into basic operation in NX software, further can build a brand-new 3D final assembly model of the refrigerator liner punching platform based on reasonable overall planning and deployment of each key part assembly body, and provides a rapid modification window for sub-equipment, so that designers can rapidly correct errors in subsequent troubleshooting and can purposefully modify local structures in response to actual condition changes.
Drawings
FIG. 1 is a general framework 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 system model dimensional relationship setting chart;
FIG. 4 is a schematic diagram of the parameterized design of the system of the present invention;
FIG. 5 is a schematic diagram of the system model position shift of the present invention.
Detailed Description
In the embodiment, a more efficient man-machine interaction way is developed, a special equipment library branch management and calling system facing a refrigerator liner punching platform based on an NX software platform and a realization method and steps thereof are provided, and parameterized mechanical structure design of the refrigerator liner punching platform by using a functional subassembly model and a functional subassembly model as basic operation units can be realized by related design workers, so that the design workers can be liberated from a large amount of similar and trivial basic part characteristic operations, and can put more energy on the control of a whole machine model, the cooperation of some functional sub-equipment and the overall arrangement of global parts;
in the embodiment, a Block builder UI carried by NX of Siemens is used for manufacturing a 3D member equipment model library sub-management and calling system, and the 3D member equipment model library sub-management and calling system comprises a 3D member equipment model library calling window, a 3D member equipment model library sub-management window and a subsequent 3D equipment model rapid modification window capable of conveniently modifying an imported instantiated model; packaging each button instruction receiving process in the three windows and packaging specific function response of the corresponding associated object by using a Visual Studio2012 compiling platform, and realizing seamless integration with the NX platform through an Application Programming Interface (API) provided by NXopen C + +, as shown in FIG. 1;
as shown in fig. 2, a tube distribution and call system for a 3D equipment library dedicated to a refrigerator liner punching platform is applied to an NX software platform, and includes: the system comprises a database, a calling module and a branch management module;
a database stores a model taking a component assembly model as a basic unit; each component assembly body comprises a name attribute, a size attribute, a function attribute and a corresponding two-dimensional preview picture which are in one-to-one correspondence;
the calling module comprises: the device comprises a model classification list unit, a model importing unit and a model size parameter modifying unit;
the model classification list unit is used for acquiring attribute information and two-dimensional preview pictures of the component assembling body model in the database and performing classification display;
the model importing unit firstly carries out three-dimensional modeling on the component assembly body model on the NX software platform and takes the model as a source model; establishing association between an expression on an NX software platform and the size parameters of the component assembly body model, and establishing association between the size parameters of the part model under the component assembly body model and the size parameters of the component assembly body model by using a mathematical function relational expression; compiling the component assembly model by using an NXOpen C + + library function to obtain an importing function of new size information, wherein the importing function is used for modifying the size information of the component assembly model and importing the size information into a modeling environment of NX software so as to generate a new component assembly model;
the model size parameter modifying unit is used for modifying the size parameters of the component assembling body model imported into the modeling environment, and comprises the following steps: selecting a component assembly model to be modified through a selection control provided by Block.UI, acquiring attribute information of the component assembly model, modifying a size value of the component assembly model by modifying a size parameter corresponding to the component assembly model and associated with an expression, and transmitting the modified size value downwards to a part model to enable the shape of the part model to be transformed and fed back upwards to the component assembly model, thereby realizing size modification of the component assembly model;
as shown in fig. 3, the system implements a one-to-one correspondence between "variables", "expressions", and model sizes, thereby enabling the system to control the size values of the model by changing the "variable" values, thereby implementing model modification;
the branch pipe module includes: a model position conversion unit and a model continuous copying unit;
the model position transformation unit is used for carrying out azimuth transformation operation on a model which is introduced into a modeling environment and completes parameter initialization under an NX software environment, obtaining a coordinate origin and a coordinate matrix of a component assembly model before and after two adjacent position adjustments through a callback function in a CSYS coordinate control refreshing in a Block style function, calculating a three-dimensional difference value of the two coordinate origins, and combining a 3-order difference matrix between the two coordinate matrices to construct a 4-order affine transformation matrix before and after two position adjustments, so that a position change result of the component assembly model is obtained through the 4-order affine transformation matrix;
the model continuous copying unit is used for carrying out self-copying operation on the model which is imported into the modeling environment and completes parameter initialization under the NX software environment, and the orientation transformation operation of the copy body under the NX software environment is realized by calling the model position transformation unit.
In this embodiment, a tube sorting and calling method for a special equipment library for a refrigerator liner punching platform is performed according to the following steps:
step 1, three-dimensional modeling is carried out on a given part on an NX software platform to obtain each part model; assembling each part model on the premise of realizing a complete function according to the structural relationship of the refrigerator liner punching platform equipment to obtain each part assembly model, and storing the part assembly model in a database as a source model;
step 2, completing the setting of the component assembly model;
step 2.1, correlating the size parameters of each part model in the part assembly body model by using an expression on an NX software platform so as to control the change of the size parameters of the source model;
step 2.2, analyzing the constraint relation of the part models in the component assembling body model, and establishing size association by utilizing the constraint relation of the part models in a mathematical function relation, so that the constraint relation among the part models can be met when the size parameters of the component assembling body model change;
step 2.3, marking the attributes of the component and part model under the component assembly model;
marking each component assembly body model by using a character Fu Chuanxing attribute variable, marking each part model under the component assembly body model by using an integer attribute variable, and representing the priority of the part model in the component assembly body model by using the magnitude of an integer attribute variable value in each part model, wherein the larger the integer attribute variable value is, the higher the priority is;
step 2.4, setting a binding relationship between the component assembly model and the parameter configuration of the component assembly model;
taking the name of the component assembly body model as a key, and taking a pointer function bound with the parameter configuration of the source model as a value; establishing high-timeliness access mapping between the key words and the numerical values by utilizing a generic correlation container based on a hash table dictionary structure, so that correlation is formed between the source model and the parameter configuration of the source model;
step 3, storing the name attribute, the size attribute and the function attribute of each component assembly model and the corresponding two-dimensional preview image into a database;
step 4, classifying the component assembly body models according to different functional attributes by traversing the name attributes, the functional attributes and the corresponding two-dimensional preview image information of the component assembly body models in the database, and then displaying the name attributes and the two-dimensional preview image information of the component assembly body models in a model classification list in a classification mode;
step 4.1, traversing a database, and acquiring the name attribute and the size attribute of the component assembly body model and corresponding two-dimensional preview image information from the database by using a UF _ ATTR _ read _ value function;
and 4.2, displaying the name attribute of the model on a Tree list of the model classification list through an NXOpen:: block Style:: tree:: block Style:: tree:: drawing control, and displaying a two-dimensional preview image corresponding to the model on a drawing area of the model classification list through the NXOpen:: block Style:: drawingArea:.
Step 5, selecting the displayed component assembly model, obtaining the name attribute, the size attribute and the corresponding two-dimensional preview image information of the corresponding component assembly model from the database, displaying the size attribute and the two-dimensional preview image information on a parameter configuration list, finding the corresponding parameter configuration according to the name attribute and modifying the parameter configuration to modify the size parameter of the component assembly model, thereby obtaining the updated component assembly model to realize rapid modeling, as shown in fig. 4;
step 5.1, selecting a component assembly body model, and acquiring the name attribute, the size attribute and the corresponding two-dimensional preview information of the model from a database through a UF _ ATTR _ read _ value function;
step 5.2, displaying the size information of the model on an expression of the parameter configuration list through NXOpen: block sorter: expressionBlock expression control, and displaying a two-dimensional preview image corresponding to the model on a drawing area of the parameter configuration list through NXOpen: block sorter: drawingArea drawing control;
step 5.3, importing a component assembly model through a UF _ PART _ import function and opening a parameter configuration list corresponding to the model; modifying the values of the expressions on the parameter configuration list through a function UF _ MODL _ edge _ exp, so as to modify the size values of the imported component assembling body model;
and 5.4, updating the size-modified component assembly model through the UF _ MODL _ update () function, refreshing the display of the model through the UF _ DISP _ refresh () function, and exporting and storing the model as a new component assembly model through the UF _ PART _ export () function, so that the rapid modeling of the component assembly model of the refrigerator liner punching device is realized.
Step 6, changing the position of the updated component assembly model;
by means of a callback function in a Block style function when a CSYS coordinate control is refreshed, a coordinate origin and a coordinate matrix of the component assembly model before and after two adjacent position adjustments are obtained, a three-dimensional difference value of the two coordinate origins is calculated, a 4-order affine transformation matrix before and after the two position adjustments is constructed by combining a 3-order difference matrix between the two coordinate matrices, and therefore a position change result of the component assembly model is obtained through the 4-order affine transformation matrix, and position movement of the component assembly model is achieved, and the method is shown in figure 5.
And 7, copying the updated component assembly model through a UF _ CLONE _ add _ assembly CLONE function, and changing the position of the copied component assembly model according to the process of the step 6 so as to realize continuous copying and moving of the model.

Claims (4)

1. The utility model provides a special 3D of refrigerator inner bag platform that punches a hole equips branch pipe and call system in storehouse which characterized by is applied to the NX software platform on, and includes: the system comprises a database, a calling module and a branch management module;
a model which takes a component assembly model as a basic unit is stored in the database; each component assembly body comprises a name attribute, a size attribute, a function attribute and a corresponding two-dimensional preview picture which are in one-to-one correspondence;
the calling module comprises: the device comprises a model classification list unit, a model importing unit and a model size parameter modifying unit;
the model classification list unit is used for acquiring attribute information and two-dimensional preview pictures of the component assembling body model in the database and performing classification display;
the model importing unit firstly carries out three-dimensional modeling on the component assembling body model on an NX software platform and takes the model as a source model; establishing association between an expression on an NX software platform and the size parameters of a component assembly model, and establishing association between the size parameters of a part model under the component assembly model and the size parameters of the component assembly model by using a mathematical function relational expression; compiling the component assembly model by using an NXOpen C + + library function to obtain a new size information importing function, and modifying the size information of the component assembly model and importing the size information into a modeling environment of NX software to generate a new component assembly model;
the model size parameter modifying unit is used for modifying the size parameters of the component assembly model imported into the modeling environment, and comprises the following steps: selecting a component assembly model to be modified through a selection control provided by Block.UI, acquiring attribute information of the component assembly model, modifying a size value of the component assembly model by modifying a size parameter corresponding to the component assembly model and associated with an expression, and transmitting the modified size value downwards to a part model to enable the shape of the part model to be transformed and fed back upwards to the component assembly model, thereby realizing size modification of the component assembly model;
the tube dividing module comprises: a model position conversion unit and a model continuous copying unit;
the model position transformation unit carries out azimuth transformation operation on a model which is introduced into a modeling environment and completes parameter initialization under an NX software environment, obtains a coordinate origin and a coordinate matrix of the component assembly model before and after two adjacent position adjustments through a callback function when a CSYS coordinate control in a Block setter function is refreshed, calculates a three-dimensional difference value of the two coordinate origins, and combines a 3-order difference matrix between the two coordinate matrices to construct a 4-order affine transformation matrix before and after the two position adjustments, thereby obtaining a position change result of the component assembly model through the 4-order affine transformation matrix;
the model continuous copying unit is used for performing self-copying operation on the model which is imported into the modeling environment and completes parameter initialization under the NX software environment, and the model position transformation unit is called to realize the orientation transformation operation of the copied body under the NX software environment.
2. A tube dividing and calling method for a 3D equipment library special for a refrigerator liner punching platform is characterized by comprising the following steps;
step 1, three-dimensional modeling is carried out on a given part on an NX software platform to obtain each part model; assembling each part model on the premise of realizing a complete function according to the structural relationship of the refrigerator liner punching platform equipment to obtain each part assembly model, and storing the part assembly model in a database as a source model;
step 2, completing the setting of the component assembly model;
step 2.1, correlating the size parameters of each part model in the part assembly body model by using an expression on an NX software platform so as to control the change of the size parameters of the source model;
step 2.2, analyzing the constraint relation of the part models in the component assembling body model, and establishing size association by utilizing the constraint relation of the part models in a mathematical function relation, so that the constraint relation among the part models can be met when the size parameters of the component assembling body model change;
step 2.3, marking the attributes of the component and part model under the component assembly model;
marking each component assembly body model by using a character Fu Chuanxing attribute variable, marking each part model under the component assembly body model by using an integer attribute variable, and representing the priority of the part model in the component assembly body model by using the magnitude of an integer attribute variable value in each part model, wherein the larger the integer attribute variable value is, the higher the priority is;
step 2.4, setting a binding relationship between the component assembly model and the parameter configuration of the component assembly model;
taking the name of the component assembly body model as a key, and taking a pointer function bound with the parameter configuration of the source model as a value; establishing high-timeliness access mapping between the key words and the numerical values by utilizing a generic correlation container based on a hash table dictionary structure, so that correlation is formed between the source model and the parameter configuration of the source model;
step 3, storing the name attribute, the size attribute and the function attribute of each component assembly model and the corresponding two-dimensional preview image into a database;
step 4, classifying the component assembly body models according to different functional attributes by traversing the name attributes, the functional attributes and the corresponding two-dimensional preview image information of the component assembly body models in the database, and then displaying the name attributes and the two-dimensional preview image information of the component assembly body models in a model classification list in a classification manner;
step 5, selecting the displayed component assembly model, acquiring the name attribute, the size attribute and the corresponding two-dimensional preview image information of the corresponding component assembly model from the database, displaying the size attribute and the two-dimensional preview image information on a parameter configuration list, finding the corresponding parameter configuration through the name attribute and modifying the parameter configuration to modify the size parameter of the component assembly model, thereby obtaining the updated component assembly model and realizing rapid modeling;
step 6, changing the position of the updated component assembly model;
acquiring a coordinate origin and a coordinate matrix of the component assembly model before and after two adjacent position adjustments by means of a callback function in a Block style function during refreshing of a CSYS coordinate control, calculating a three-dimensional difference value of the two coordinate origins, and combining a 3-order difference matrix between the two coordinate matrices to construct a 4-order affine transformation matrix before and after the two position adjustments, so as to obtain a position change result of the component assembly model through the 4-order affine transformation matrix;
and 7, copying the updated component assembly model through a UF _ CLONE _ add _ assembly CLONE function, and changing the position of the copied component assembly model according to the process of the step 6 so as to realize continuous copying and moving of the model.
3. The method according to claim 2, wherein the step 4 is based on UFUN and NXOpen development tools and performed as follows:
step 4.1, traversing a database, and acquiring the name attribute and the size attribute of the component assembly body model and corresponding two-dimensional preview image information from the database by using a UF _ ATTR _ read _ value function;
and 4.2, displaying the name attribute of the model on a Tree list of the model classification list through NXOpen:: block style:: tree:: block style:: two-dimensional preview image corresponding to the model on a drawing area of the model classification list through NXOpen:: block style:: drawingArea drawing control.
4. The method according to claim 3, wherein the step 5 is based on UFUN and NXOpen development tools and is performed as follows:
step 5.1, selecting a component assembly body model, and acquiring the name attribute, the size attribute and the corresponding two-dimensional preview information of the model from a database through a UF _ ATTR _ read _ value function;
step 5.2, displaying the size information of the model on an expression of the parameter configuration list through NXOpen: block sorter: expressionBlock expression control, and displaying a two-dimensional preview image corresponding to the model on a drawing area of the parameter configuration list through NXOpen: block sorter: drawingArea drawing control;
step 5.3, importing a component assembly model through an UF _ PART _ import function and opening a parameter configuration list corresponding to the model; modifying the values of the expressions on the parameter configuration list through a function UF _ MODL _ edge _ exp, so as to modify the size values of the imported component assembling body model;
and 5.4, updating the component assembly model with the modified size through an UF _ MODL _ update () function, refreshing the display of the model through an UF _ DISP _ refresh () function, and then exporting the model through an UF _ PART _ export () function and storing the model as a new component assembly model, so that the rapid modeling of the component assembly model of the refrigerator liner punching device is realized.
CN202210903923.2A 2022-07-29 2022-07-29 Tube distribution and calling system and method for special 3D equipment warehouse for refrigerator liner punching platform Pending CN115146415A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210903923.2A CN115146415A (en) 2022-07-29 2022-07-29 Tube distribution and calling system and method for special 3D equipment warehouse for refrigerator liner punching platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210903923.2A CN115146415A (en) 2022-07-29 2022-07-29 Tube distribution and calling system and method for special 3D equipment warehouse for refrigerator liner punching platform

Publications (1)

Publication Number Publication Date
CN115146415A true CN115146415A (en) 2022-10-04

Family

ID=83413263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210903923.2A Pending CN115146415A (en) 2022-07-29 2022-07-29 Tube distribution and calling system and method for special 3D equipment warehouse for refrigerator liner punching platform

Country Status (1)

Country Link
CN (1) CN115146415A (en)

Similar Documents

Publication Publication Date Title
CN112818446B (en) Construction method of intelligent workshop digital twin system
CN113033001B (en) Three-dimensional digital factory modeling method and system for digital twin application
CN107491610B (en) Car panel die intelligent design system and design method
US8762941B2 (en) Rendering and modifying CAD design entities in object-oriented applications
CN112446937B (en) Project progress three-dimensional visualization method based on BIM technology
CN115344905B (en) Method and system for automatically generating two-dimensional engineering drawing based on three-dimensional model
CN110059121B (en) Method, system, device and storage medium for rapidly exporting bill of materials
CN113010359B (en) Bus test system generation method, system, device and storage medium
CN109033729B (en) Product design information management method and system
CN114896691A (en) Three-dimensional labeling method based on MBD equipment model
CN114398071A (en) Control logic configuration implementation method and system of control system
CN114117645A (en) Ship overall performance prediction integrated application system
JP2000003385A (en) Device and method for distributing design/manufacture information over whole sheet metal manufacturing equipment
CN111177919B (en) Air conditioner parameterization design system and air conditioner parameterization design method
CN115146415A (en) Tube distribution and calling system and method for special 3D equipment warehouse for refrigerator liner punching platform
CN110321596B (en) Locomotive vehicle structure simulation method based on finite element analysis
CN105930583A (en) Automation system based on equipment multi-field object model and design method therefor
CN113722780B (en) Parameterized design system and parameterized design method for refrigerator liner punching platform transmission device
CN114385133A (en) Configuration program and data interactive mapping method of heterogeneous platform of programmable controller
JPH02127773A (en) Plant construction process control support system
CN113627010A (en) Self-adaptive instantiation method and self-adaptive instantiation system
CN113297764A (en) Finite element parametric model modeling method, system and storage medium
CN107978007B (en) Method for automatically generating interval diagram in regulation and control integrated system without maintenance
CN105022849A (en) Mold design auxiliary system
CN107844639A (en) A kind of project normal structure automatic generation method and system

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