CN111914380A - Part model determination method and device, computer equipment and storage medium - Google Patents

Part model determination method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111914380A
CN111914380A CN201910383613.0A CN201910383613A CN111914380A CN 111914380 A CN111914380 A CN 111914380A CN 201910383613 A CN201910383613 A CN 201910383613A CN 111914380 A CN111914380 A CN 111914380A
Authority
CN
China
Prior art keywords
parameter
tree
sketch
model
parameterization
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
CN201910383613.0A
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.)
Guangzhou Automobile Group Co Ltd
Original Assignee
Guangzhou Automobile Group 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 Guangzhou Automobile Group Co Ltd filed Critical Guangzhou Automobile Group Co Ltd
Priority to CN201910383613.0A priority Critical patent/CN111914380A/en
Publication of CN111914380A publication Critical patent/CN111914380A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application relates to a method and a device for determining a part model, computer equipment and a storage medium. The method comprises the following steps: importing a parameterized name definition table; recording a plurality of parameter identifications of the parts by a parameterized name definition table; the parameter identification corresponds to the parameter value recorded by the parameterized recognizable format table; newly building a hard point model of the zero point model, and obtaining a parameter tree of the hard point model; establishing a corresponding relation between each parameter node in the parameter tree and each parameter identifier recorded by the parameterization name definition table; assigning values to each parameter node in the parameter tree according to the corresponding relation and the parameter value corresponding to the parameter identifier; and constructing a sketch of the part model according to the assigned parameter tree. By adopting the method, each characteristic of the sketch of the part model is more standard by taking the parameter value recorded by the part parameter recording table as the basis, and the 3D structure of the part determined by the method is easy to be accurately identified by CNC, thereby being beneficial to improving the efficiency of the subsequent CNC machining process.

Description

Part model determination method and device, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of mechanical design technologies, and in particular, to a method and an apparatus for determining a part model, a computer device, and a storage medium.
Background
CNC is a Computer numerical control (Computer numerical control) machine tool, and is an automated machine tool controlled by a program. The control system can logically process a program specified by a control code or other symbolic instructions, decode the program through a computer, enable a machine tool to execute specified actions, and process a blank material into a finished part through cutting by a cutter. Mechanical parts processing such as the control arm in mule car stage generally all adopts the CNC processing mode, and the precision is high, and the steady quality requires lowly to operating personnel's quality, can accomplish automatically through the computer, gets rid of the material according to the part shape, carries out coordinate discernment, processes the part that the shape is complicated, and when the part changed, generally only need change the little numerical control program, saved production preparation time.
The CNC machining is usually based on a part model output by a computer aided design tool such as CATIA. In the traditional scheme, the construction process of the part model is often easily influenced by factors such as design habits and modeling thoughts of designers, so that the obtained part model is difficult to be accurately identified by CNC (computer numerical control), at the moment, the CNC also needs to program all the structures of the part again, a large amount of processing time is wasted, and the problem of poor normative performance of the part model determined by the traditional scheme is seen.
Disclosure of Invention
In view of the above, it is necessary to provide a method, an apparatus, a computer device, and a storage medium for determining a part model that can obtain a normative part model in order to solve the above-described technical problems.
A method of determining a part model, the method comprising:
importing a parameterized name definition table; recording a plurality of parameter identifications of the parts by a parameterized name definition table; the parameter identification corresponds to the parameter value recorded by the parameterized recognizable format table;
newly building a hard point model of the zero point model, and obtaining a parameter tree of the hard point model;
establishing a corresponding relation between each parameter node in the parameter tree and each parameter identifier recorded by the parameterization name definition table;
assigning values to each parameter node in the parameter tree according to the corresponding relation and the parameter value corresponding to the parameter identifier;
and constructing a sketch of the part model according to the assigned parameter tree.
In one embodiment, the constructing the sketch of the part model according to the assigned parameter tree includes:
releasing each parameter node in the assigned parameter tree;
establishing a reference line, a reference plane and a reference coordinate system by using the issued parameter nodes;
respectively constructing a reference sketch and a contour sketch according to the reference line, the reference surface and the reference coordinate system;
and determining a sketch of the part model according to the reference sketch and the outline sketch.
As an embodiment, after the reference line, the reference plane and the reference coordinate system are built by using the published parameter nodes, the method further includes:
determining a formula relationship among the parameter nodes; the formula relation is used for representing the constraint relation between each element in the sketch of the part model and the datum point and the line.
As an embodiment, the parameterized name definition table and the parameterized recognizable format table are two worksheets in the part parameter record table;
after a hard point model of the zero point model is newly established and a parameter tree of the hard point model is obtained, the method further comprises the following steps:
setting up a point-to-point drive of a part parameter record table, so that when at least one parameter value in the part parameter record table changes, the changed parameter value correspondingly changes in the value assignment of the parameter node corresponding to the parameter tree;
after the assignment of the parameter node is changed, updating other parameter nodes of the parameter tree according to the current assignment of the parameter node with the changed assignment and the formula relationship;
and updating the sketch of the part model according to the updated parameter tree.
In one embodiment, before importing the parameterized name definition table, the method further comprises:
setting a hard point table of the part;
carrying out format conversion on the hard point table to obtain a parameterization identifiable format table which can be identified by computer aided design software;
setting the parameterization name definition table according to the name of each hard point in the hard point table; each parameter identification in the parameterization name definition table corresponds to a corresponding parameter value in the parameterization recognizable format table.
As an embodiment, the method further includes:
identifying a change parameter of the parameter value change in the hard point table;
and updating the change parameters in the parameterized recognizable format table according to the change contents of the change parameters.
In one embodiment, the method further includes:
and generating a part 3D structure corresponding to the sketch of the part model.
An apparatus for determining a part model, the apparatus comprising:
the import module is used for importing a parameterized name definition table; recording a plurality of parameter identifications of the parts by a parameterized name definition table; the parameter identification corresponds to the parameter value recorded by the parameterized recognizable format table;
the new building module is used for building a hard point model of the zero point model and obtaining a parameter tree of the hard point model;
the establishing module is used for establishing the corresponding relation between each parameter node in the parameter tree and each parameter identifier recorded by the parameterization name definition table;
the assignment module is used for assigning values to each parameter node in the parameter tree according to the corresponding relation and the parameter value corresponding to the parameter identifier;
and the construction module is used for constructing a sketch of the part model according to the assigned parameter tree.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
importing a parameterized name definition table; recording a plurality of parameter identifications of the parts by a parameterized name definition table; the parameter identification corresponds to the parameter value recorded by the parameterized recognizable format table;
newly building a hard point model of the zero point model, and obtaining a parameter tree of the hard point model;
establishing a corresponding relation between each parameter node in the parameter tree and each parameter identifier recorded by the parameterization name definition table;
assigning values to each parameter node in the parameter tree according to the corresponding relation and the parameter value corresponding to the parameter identifier;
and constructing a sketch of the part model according to the assigned parameter tree.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
importing a parameterized name definition table; recording a plurality of parameter identifications of the parts by a parameterized name definition table; the parameter identification corresponds to the parameter value recorded by the parameterized recognizable format table;
newly building a hard point model of the zero point model, and obtaining a parameter tree of the hard point model;
establishing a corresponding relation between each parameter node in the parameter tree and each parameter identifier recorded by the parameterization name definition table;
assigning values to each parameter node in the parameter tree according to the corresponding relation and the parameter value corresponding to the parameter identifier;
and constructing a sketch of the part model according to the assigned parameter tree.
The method, the device, the computer equipment and the storage medium for determining the part model are characterized in that a parameterization name definition table is introduced, a hard point model of a zero point model is newly established, a parameter tree of the hard point model is obtained, the corresponding relation between each parameter node in the parameter tree and each parameter identifier recorded by the parameterization name definition table is established, accurate assignment is carried out on each parameter node in the parameter tree according to the corresponding relation and the parameter value corresponding to the parameter identifier, a sketch of the part model is established, each feature in the sketch of the part model is based on the parameter value recorded by the parameterization recognizable format table, the influence of factors such as design habits and modeling thoughts of designers is avoided, the sketch of the part model is more standard, the 3D structure of the part determined by the method is easy to accurately recognize by CNC, and the efficiency of a subsequent CNC machining process is improved.
Drawings
FIG. 1 is a schematic flow chart diagram of a method for part model determination in one embodiment;
FIG. 2 is a diagram of a model of a reference point, line, plane and coordinate system of the control arm in one embodiment;
FIG. 3 is a sketch of a part model of an embodiment;
FIG. 4 is a diagram illustrating constraint relationships between elements of a sketch of a part model and reference points, lines in one embodiment;
FIG. 5 is a block diagram showing the structure of a part model determining apparatus according to an embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The method for determining the part model can be applied to a design terminal of the part model, and the design terminal can run computer aided design software. The design terminal of the part model can import the parameterized name definition table, newly establish the hard point model of the zero point model, obtain the parameter tree of the hard point model, establish the corresponding relation between each parameter node in the parameter tree and each parameter identifier recorded by the parameterized name definition table, assign values to each parameter node in the parameter tree according to the corresponding relation and the parameter value corresponding to the parameter identifier, and construct the sketch of the part model according to the assigned parameter tree so as to obtain the sketch of the normative and stable part model. The design terminal of the part model can be, but is not limited to, various personal computers, notebook computers, smart phones and tablet computers.
In one embodiment, as shown in fig. 1, a method for determining a part model is provided, which is described by taking the method as an example of being applied to a design terminal, and includes the following steps:
s210, importing a parameterization name definition table; recording a plurality of parameter identifications of the parts by a parameterized name definition table; the parameter identification corresponds to a parameter value recorded by the parameterized recognizable format table.
The parameter identifier is identification information of part parameters such as hard points and the like, and can uniquely represent the corresponding part parameters. The parameterization name definition table and the parameterization recognizable format table are two worksheets in the same part parameter record table, for example, if the part parameters of the part to be designed are recorded by EXCEL, the part parameter record table is an EXCEL table, the parameterization name definition table may be a first worksheet in the EXCEL table (e.g., sheet1), and the parameterization recognizable format table may be a second worksheet in the EXCEL table (e.g., sheet 2). The corresponding relation between the parameterization name definition table and the parameterization recognizable format table can be established in the part parameter recording table, so that the parameterization name definition table records that each parameter identifier has a corresponding parameter value in the parameterization recognizable format table.
The part to be designed may comprise a plurality of parts, such as individual control arms in a five-link suspension, etc. In general, a part may be characterized by a plurality of part parameters, for example, a part may be characterized by 4 hard points, where the 4 hard points may specifically include an inner point and an outer point defining a position and an inner point and an outer point defining a direction, and each hard point has a corresponding three-dimensional coordinate value (e.g., an X-coordinate value, a Y-coordinate value, and a Z-coordinate value); at this time, the name of the hard point of a certain part is the parameter identifier of the part, and the three-dimensional coordinate value of the certain hard point is the parameter value of the corresponding parameter identifier.
The parameterization name definition table can record each parameter identification of all parts to be designed, and the parameter identification in the parameterization name definition table can be endowed with an initial value (such as 0 value) with a unit in advance, so that computer aided design software operated by a design terminal can accurately associate each parameter identification recorded in the parameterization name definition table.
And S230, establishing a hard point model of the zero point model, and acquiring a parameter tree of the hard point model.
The parameter tree may be a tree structure corresponding to each parameter in the hard point model. The design terminal can establish a hard point model of the zero point model through computer aided design software operated by the design terminal, obtain a parameter tree of the hard point model, and establish a corresponding relation between the parameter tree and each parameter identification recorded by the parameterization name definition table.
And S250, establishing a corresponding relation between each parameter node in the parameter tree and each parameter identifier recorded by the parameterization name definition table.
The above steps can establish the corresponding relation between the parameter and the corresponding dimension coordinate parameter corresponding to each parameter identifier recorded in the parameterization name definition table for each dimension coordinate parameter of each parameter node in turn, that is, each dimension coordinate of a certain parameter node corresponds to each dimension coordinate of the corresponding parameter identifier of the parameter node in the parameterization name definition table, so that each dimension coordinate of each parameter node in the parameter tree corresponds to the one-dimension coordinate of the corresponding parameter identifier in the parameterization name definition table.
Specifically, the description will be given taking the example of designing each control arm in a five-link suspension by a computer aided design tool, CATIA. A user can import a parameterization name definition table through an f (X) parameter function command of the CATIA, a hard point model is newly built, after an equal number is input in a point definition command, a corresponding parameter node in a parameter tree is double-clicked, and then the coordinate value of an X point is associated with the parameter value and is displayed as an f (X) association state; the Y coordinate and the Z coordinate are related in the same way. For a 5-link suspension control arm there are 60 inputs, 4 hard points per arm, 3 coordinate values per hard point, and the parametric name definition table may record 4 x 3 x 5 arm coordinate values.
And S270, assigning values to each parameter node in the parameter tree according to the corresponding relation and the parameter value corresponding to the parameter identifier.
The steps can realize accurate assignment of each parameter node in the parameter tree, and endow each parameter node with a parameter value corresponding to the corresponding parameter identifier.
And S290, constructing a draft of the part model according to the assigned parameter tree.
The steps can refer to the parameter values of each parameter node in the parameter tree, and build a reference line, a reference plane and a reference coordinate system to form a sketch of the part model. Each characteristic of the sketch of the part model is based on the parameter value recorded by the parameterization recognizable format table, is not influenced by factors such as design habits, modeling ideas and the like of designers, is more standard, and the 3D structure of the part determined by the method is easy to be accurately recognized by CNC, so that the efficiency of the subsequent CNC machining process is improved.
According to the method for determining the part model, the parameterization name definition table is led in, the hard point model of the zero point model is newly built, the parameter tree of the hard point model is obtained, the corresponding relation between each parameter node in the parameter tree and each parameter identifier recorded by the parameterization name definition table is established, accurate assignment is carried out on each parameter node in the parameter tree according to the corresponding relation and the parameter value corresponding to the parameter identifier, the sketch of the part model is constructed, each characteristic of the sketch of the part model is based on the parameter value recorded by the parameterization recognizable format table, the method is not influenced by factors such as design habits, modeling thoughts and the like of designers, the sketch of the part model is more standard, the 3D structure of the part determined by the method is easy to accurately recognize by CNC, and the efficiency of the subsequent CNC machining process is improved.
In one embodiment, the constructing the sketch of the part model according to the assigned parameter tree includes:
releasing each parameter node in the assigned parameter tree;
establishing a reference line, a reference plane and a reference coordinate system by using the issued parameter nodes;
respectively constructing a reference sketch and a contour sketch according to the reference line, the reference surface and the reference coordinate system;
and determining a sketch of the part model according to the reference sketch and the outline sketch.
The computer aided design tool can use the 'issuing' command to issue all the established parameter nodes, aims to use the parameter nodes when each part is modeled, adopts the issued parameter nodes to establish a reference line, a reference plane and a reference coordinate system so as to determine a reference sketch, then establishes a contour sketch of the part, and determines the sketch of the part model according to the reference sketch and the contour sketch. The parameter nodes are all associated with the parameterization name definition table, the parameter value corresponding to any parameter identifier in the parameterization name definition table changes, and the assignment of the corresponding parameter node also changes correspondingly.
In one example, if the computer aided design tool is CATIA, the part parameter record table is EXCEL table, and the parts to be designed are the respective control arms in a five-bar suspension. All points built can be issued using the CATIA's "issue" command, with the goal of using these points when each arm models. And these points are all associated with excel tables. Newly building part of the multi-link arm, and building a reference line, a reference surface and a reference coordinate system by using the issued points. The control arm reference points, lines, planes and coordinate system model can be seen with reference to fig. 2, with 4 points per arm, 3 lines per arm, and a reference coordinate system (containing the reference plane). The sketch shape of each direction of the component is established on the basis of the reference points, lines, surfaces and coordinate systems. All sketches are defined on a reference mid-plane containing the centerline and all operations (stretching, blending, cutting, etc.) performed on the entity can be performed through the sketches of the part model.
As an embodiment, after the reference line, the reference plane and the reference coordinate system are built by using the published parameter nodes, the method further includes:
determining a formula relationship among the parameter nodes; the formula relation is used for representing the constraint relation between each element in the sketch of the part model and the datum point and the line.
In this embodiment, a formula relationship between each parameter node is determined according to a construction operation in a process of obtaining a sketch of a part model and construction operations corresponding to a reference sketch and a contour sketch respectively, that is, a constraint relationship between each element in the sketch of the part model and a reference point and a line is determined, so as to represent a link relationship between each parameter node in a parameter tree of a hard point model, and thus, if an assignment corresponding to at least one parameter node changes, other parameter nodes in the parameter tree also change correspondingly according to the formula relationship.
As an embodiment, the parameterized name definition table and the parameterized recognizable format table are two worksheets in the part parameter record table;
after a hard point model of the zero point model is newly established and a parameter tree of the hard point model is obtained, the method further comprises the following steps:
setting up a point-to-point drive of a part parameter record table, so that when at least one parameter value in the part parameter record table changes, the changed parameter value correspondingly changes in the value assignment of the parameter node corresponding to the parameter tree;
after the assignment of the parameter node is changed, updating other parameter nodes of the parameter tree according to the current assignment of the parameter node with the changed assignment and the formula relationship;
and updating the sketch of the part model according to the updated parameter tree.
After the driving of the point in the part parameter record table is built, the parameter value (such as a hard point numerical value) change in the part parameter record table can drive the parameter value change corresponding to the parameter node in the computer aided design tool, and the point model is changed along with the change because the point model is associated with the parameter identification.
Specifically, when at least one parameter value in the part parameter record table changes, a parameter node corresponding to the changed parameter value may be determined as a change node, the parameter value identified by the corresponding parameter in the parameterization name definition table changes correspondingly, and at this time, the change node in the parameter tree may be driven to change to update the change node. Taking each control arm in the five-link suspension as an example, a sketch of a part model of the five-link suspension can be referred to as fig. 3, and a constraint relation between each element in the sketch of the part model and a datum point and a line can be referred to as fig. 4.
In one embodiment, before importing the parameterized name definition table, the method further comprises:
setting a hard point table of the part;
carrying out format conversion on the hard point table to obtain a parameterization identifiable format table which can be identified by computer aided design software;
setting the parameterization name definition table according to the name of each hard point in the hard point table; each parameter identification in the parameterization name definition table corresponds to a corresponding parameter value in the parameterization recognizable format table.
The hard point table, the parameterization recognizable format table and the parameterization name definition table can be three worksheets in the same part parameter record table respectively. The upper hard point table may be in a conventional format that is convenient for a user to browse the query, and the parameterized recognizable format table may be in a format that is recognizable by computer aided design software. The hard point table and the parameterization identifiable format table are consistent in recorded content, and parameter values in the parameterization identifiable format table correspond to hard point numerical values in the hard point table in a one-to-one mode. The hard point surface faces the user so that the user can conveniently perform corresponding operations such as inquiry or modification, and the parameterized recognizable format surface faces the computer-aided design software so that the computer-aided design software can perform accurate recognition.
The parameterization name definition table can record parameter identification for determining part parameters of the part to be designed, so that computer aided design software can know that the corresponding parameter values need parameterization, and can be endowed with initial values such as 0 value in advance, wherein the initial values need to carry corresponding units.
As an embodiment, the method further includes:
identifying a change parameter of the parameter value change in the hard point table;
and updating the change parameters in the parameterized recognizable format table according to the change contents of the change parameters.
In this embodiment, if the parameter value of a hard point in the hard point table changes, the corresponding parameter value of the hard point in the parameterized recognizable format table will change correspondingly, and the corresponding parameter name and the amplitude of the corresponding parameter node in the parameter tree will also change correspondingly, so as to ensure the accuracy of the assigned parameter value of each parameter node in the parameter tree.
In one example, if the computer aided design tool is CATIA, the part parameter record table is EXCEL table, and the parts to be designed are the respective control arms in a five-bar suspension. The parameterization name definition table, the parameterization recognizable format table and the hard point table are the sheet1, sheet2 and sheet3 of the EXCEL table, the part parameter record table, respectively. Sheet3 can place each arm hard point coordinate, including the inside and outside points that define the position and the inside and outside direction points that define the direction, and a control arm has 4 hard points, and every point has XYZ three coordinate values. The Sheet2 is a parameterized recognizable format table, which aims to rearrange the data in the hard point table, because the hard point table is the input of the whole vehicle system, horizontal arrangement is usually adopted for reading convenience, but the recognizable parameterized data in the CATIA software is in vertical arrangement, so that corresponding format conversion is required, for example, data is rearranged by using excel simple link commands. The Sheet1 is a parameterization name definition table, which is used for telling the CATIA software which data values need to be parameterized, 0 value can be given in advance, the unit needs to be taken, otherwise, the assignment may fail.
In one embodiment, the method further comprises:
and generating a part 3D structure corresponding to the sketch of the part model.
Above-mentioned part 3D structure can be accurately discerned by CNC, sends it to CNC and processes, can improve corresponding machining efficiency.
After the part 3D structure is obtained, if detail adjustment such as rounding and the like is required, parameter values of corresponding part parameters can be optimized in a part parameter record table, at the moment, shape parameters of the part 3D structure can be changed along with the corresponding point-line model, and finally, the whole part 3D structure is driven to be changed by the part parameter record table of the associated point-line model so as to ensure the accuracy of the determined part 3D structure.
The 3D structure of the part obtained by the embodiment can rapidly complete design according to the change of the hard point change driving datum point, line, surface and sketch elements, the steps are neat, redundant and complex lines and surfaces are not needed, and the designed structure can be directly output to a CNC (computer numerical control) machine tool. The design change response time of the initial stage of product development is shortened, the CNC processing debugging time of the product mule car trial-manufacturing stage is saved, the workload of engineers is lightened, the working efficiency is greatly improved, and the development cycle of a suspension system and the whole car is shortened.
It should be understood that, although the steps in the flowchart of fig. 1 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 1 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 5, there is provided a part model determination apparatus including: an import module 210, a new creation module 230, a creation module 250, a valuation module 270, and a construction module 290, wherein:
an import module 210, configured to import a parameterized name definition table; recording a plurality of parameter identifications of the parts by a parameterized name definition table; the parameter identification corresponds to the parameter value recorded by the parameterized recognizable format table;
the new building module 230 is used for building a hard point model of the zero point model and obtaining a parameter tree of the hard point model;
an establishing module 250, configured to establish a correspondence between each parameter node in the parameter tree and each parameter identifier recorded in the parameterization name definition table;
an assignment module 270, configured to assign a value to each parameter node in the parameter tree according to the corresponding relationship and the parameter value corresponding to the parameter identifier;
and the building module 290 is used for building a sketch of the part model according to the assigned parameter tree.
In one embodiment, the building module is further configured to:
releasing each parameter node in the assigned parameter tree;
establishing a reference line, a reference plane and a reference coordinate system by using the issued parameter nodes;
respectively constructing a reference sketch and a contour sketch according to the reference line, the reference surface and the reference coordinate system;
and determining a sketch of the part model according to the reference sketch and the outline sketch.
As an embodiment, the above-mentioned part model determination apparatus further includes:
the determining module is used for determining the formula relationship among the parameter nodes; the formula relation is used for representing the constraint relation between each element in the sketch of the part model and the datum point and the line.
As an embodiment, the parameterized name definition table and the parameterized recognizable format table are two worksheets in the part parameter record table;
the above-mentioned part model determination apparatus further includes:
the building module is used for building the driving of the points of the part parameter record table, so that when at least one parameter value in the part parameter record table changes, the changed parameter value correspondingly changes in the assignment of the parameter node corresponding to the parameter tree;
the first updating module is used for updating other parameter nodes of the parameter tree according to the current assignment and formula relationship of the parameter node with the changed assignment after the assignment of the parameter node is changed;
and the second updating module is used for updating the sketch of the part model according to the updated parameter tree.
In one embodiment, the above apparatus for determining a part model further includes:
the first setting module is used for setting a hard point table of the part;
the format conversion module is used for carrying out format conversion on the hard point table to obtain a parameterization recognizable format table which can be recognized by computer aided design software;
the second setting module is used for setting the parameterization name definition table according to the name of each hard point in the hard point table; each parameter identification in the parameterization name definition table corresponds to a corresponding parameter value in the parameterization recognizable format table.
As an embodiment, the method further includes:
the identification module is used for identifying the change parameters of parameter values in the hard point table;
and the third updating module is used for updating the change parameters in the parameterization recognizable format table according to the change content of the change parameters.
In one embodiment, the method further comprises:
and the generation module is used for generating a part 3D structure corresponding to the sketch of the part model.
For specific definition of the determination device of the part model, reference may be made to the above definition of the determination method of the part model, and details are not described here. The respective modules in the above-described device for determining a part model may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of determining a part model. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
importing a parameterized name definition table; recording a plurality of parameter identifications of the parts by a parameterized name definition table; the parameter identification corresponds to the parameter value recorded by the parameterized recognizable format table;
newly building a hard point model of the zero point model, and obtaining a parameter tree of the hard point model;
establishing a corresponding relation between each parameter node in the parameter tree and each parameter identifier recorded by the parameterization name definition table;
assigning values to each parameter node in the parameter tree according to the corresponding relation and the parameter value corresponding to the parameter identifier;
and constructing a sketch of the part model according to the assigned parameter tree.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
releasing each parameter node in the assigned parameter tree; establishing a reference line, a reference plane and a reference coordinate system by using the issued parameter nodes; respectively constructing a reference sketch and a contour sketch according to the reference line, the reference surface and the reference coordinate system; and determining a sketch of the part model according to the reference sketch and the outline sketch.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
determining a formula relationship among the parameter nodes; the formula relation is used for representing the constraint relation between each element in the sketch of the part model and the datum point and the line.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
setting up a point-to-point drive of a part parameter record table, so that when at least one parameter value in the part parameter record table changes, the changed parameter value correspondingly changes in the value assignment of the parameter node corresponding to the parameter tree; after the assignment of the parameter node is changed, updating other parameter nodes of the parameter tree according to the current assignment of the parameter node with the changed assignment and the formula relationship; and updating the sketch of the part model according to the updated parameter tree.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
setting a hard point table of the part; carrying out format conversion on the hard point table to obtain a parameterization identifiable format table which can be identified by computer aided design software; setting the parameterization name definition table according to the name of each hard point in the hard point table; each parameter identification in the parameterization name definition table corresponds to a corresponding parameter value in the parameterization recognizable format table.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
identifying a change parameter of the parameter value change in the hard point table; and updating the change parameters in the parameterized recognizable format table according to the change contents of the change parameters.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and generating a part 3D structure corresponding to the sketch of the part model.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
importing a parameterized name definition table; recording a plurality of parameter identifications of the parts by a parameterized name definition table; the parameter identification corresponds to the parameter value recorded by the parameterized recognizable format table;
newly building a hard point model of the zero point model, and obtaining a parameter tree of the hard point model;
establishing a corresponding relation between each parameter node in the parameter tree and each parameter identifier recorded by the parameterization name definition table;
assigning values to each parameter node in the parameter tree according to the corresponding relation and the parameter value corresponding to the parameter identifier;
and constructing a sketch of the part model according to the assigned parameter tree.
In one embodiment, the computer program when executed by the processor further performs the steps of:
releasing each parameter node in the assigned parameter tree; establishing a reference line, a reference plane and a reference coordinate system by using the issued parameter nodes; respectively constructing a reference sketch and a contour sketch according to the reference line, the reference surface and the reference coordinate system; and determining a sketch of the part model according to the reference sketch and the outline sketch.
In one embodiment, the computer program when executed by the processor further performs the steps of:
determining a formula relationship among the parameter nodes; the formula relation is used for representing the constraint relation between each element in the sketch of the part model and the datum point and the line.
In one embodiment, the computer program when executed by the processor further performs the steps of:
setting up a point-to-point drive of a part parameter record table, so that when at least one parameter value in the part parameter record table changes, the changed parameter value correspondingly changes in the value assignment of the parameter node corresponding to the parameter tree; after the assignment of the parameter node is changed, updating other parameter nodes of the parameter tree according to the current assignment of the parameter node with the changed assignment and the formula relationship; and updating the sketch of the part model according to the updated parameter tree.
In one embodiment, the computer program when executed by the processor further performs the steps of:
setting a hard point table of the part; carrying out format conversion on the hard point table to obtain a parameterization identifiable format table which can be identified by computer aided design software; setting the parameterization name definition table according to the name of each hard point in the hard point table; each parameter identification in the parameterization name definition table corresponds to a corresponding parameter value in the parameterization recognizable format table.
In one embodiment, the computer program when executed by the processor further performs the steps of:
identifying a change parameter of the parameter value change in the hard point table; and updating the change parameters in the parameterized recognizable format table according to the change contents of the change parameters.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and generating a part 3D structure corresponding to the sketch of the part model.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
It should be noted that the terms "first \ second \ third" referred to in the embodiments of the present application merely distinguish similar objects, and do not represent a specific ordering for the objects, and it should be understood that "first \ second \ third" may exchange a specific order or sequence when allowed. It should be understood that "first \ second \ third" distinct objects may be interchanged under appropriate circumstances such that the embodiments of the application described herein may be implemented in an order other than those illustrated or described herein.
The terms "comprising" and "having" and any variations thereof in the embodiments of the present application are intended to cover non-exclusive inclusions. For example, a process, method, apparatus, product, or device that comprises a list of steps or modules is not limited to the listed steps or modules but may alternatively include other steps or modules not listed or inherent to such process, method, product, or device.
Reference herein to "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of determining a part model, the method comprising:
importing a parameterized name definition table; the parameterization name definition table records a plurality of parameter identifications of the parts; the parameter identification corresponds to the parameter value recorded by the parameterized recognizable format table;
newly building a hard point model of a zero point model, and obtaining a parameter tree of the hard point model;
establishing a corresponding relation between each parameter node in the parameter tree and each parameter identifier recorded by the parameterization name definition table;
assigning values to each parameter node in the parameter tree according to the corresponding relation and the parameter value corresponding to the parameter identifier;
and constructing a sketch of the part model according to the assigned parameter tree.
2. The method of claim 1, wherein constructing the sketch of the part model from the assigned parameter tree comprises:
releasing each parameter node in the assigned parameter tree;
establishing a reference line, a reference plane and a reference coordinate system by using the issued parameter nodes;
respectively constructing a reference sketch and a contour sketch according to the reference line, the reference surface and the reference coordinate system;
and determining a sketch of the part model according to the reference sketch and the outline sketch.
3. The method of claim 2, wherein after the establishing of the reference line, the reference plane and the reference coordinate system by using the published parameter nodes, the method further comprises:
determining a formula relationship among the parameter nodes; the formula relation is used for representing the constraint relation between each element in the sketch of the part model and the datum point and the line.
4. The method of claim 3, wherein the parameterization name definition table and the parameterization recognizable format table are two worksheets in a part parameter record table;
after obtaining the parameter tree of the hard point model in the hard point model of the newly-built zero point model, the method further includes:
setting up a point drive of the part parameter record table, so that when at least one parameter value in the part parameter record table changes, the changed parameter value correspondingly changes in the parameter node assignment corresponding to the parameter tree;
after the assignment of the parameter node is changed, updating other parameter nodes of the parameter tree according to the current assignment of the parameter node with the changed assignment and the formula relationship;
and updating the sketch of the part model according to the updated parameter tree.
5. The method of any of claims 1 to 4, wherein prior to said importing a parameterized name definition table, the method further comprises:
setting a hard point table of the part;
carrying out format conversion on the hard point table to obtain a parameterizable identifiable format table which can be identified by computer aided design software;
setting the parameterization name definition table according to the name of each hard point in the hard point table; each parameter identification in the parameterization name definition table corresponds to a corresponding parameter value in the parameterization recognizable format table.
6. The method of claim 5, further comprising:
identifying a change parameter of the parameter value change in the hard point table;
and updating the change parameters in the parameterized recognizable format table according to the change contents of the change parameters.
7. The method according to any one of claims 1 to 4, further comprising:
and generating a part 3D structure corresponding to the sketch of the part model.
8. An apparatus for determining a part model, the apparatus comprising:
the import module is used for importing a parameterized name definition table; the parameterization name definition table records a plurality of parameter identifications of the parts; the parameter identification corresponds to the parameter value recorded by the parameterized recognizable format table;
the new building module is used for building a hard point model of the zero point model and acquiring a parameter tree of the hard point model;
the establishing module is used for establishing the corresponding relation between each parameter node in the parameter tree and each parameter identifier recorded by the parameterization name definition table;
the assignment module is used for assigning values to each parameter node in the parameter tree according to the corresponding relation and the parameter value corresponding to the parameter identifier;
and the construction module is used for constructing the sketch of the part model according to the assigned parameter tree.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 7 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN201910383613.0A 2019-05-09 2019-05-09 Part model determination method and device, computer equipment and storage medium Pending CN111914380A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910383613.0A CN111914380A (en) 2019-05-09 2019-05-09 Part model determination method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910383613.0A CN111914380A (en) 2019-05-09 2019-05-09 Part model determination method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111914380A true CN111914380A (en) 2020-11-10

Family

ID=73242037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910383613.0A Pending CN111914380A (en) 2019-05-09 2019-05-09 Part model determination method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111914380A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112464385A (en) * 2020-12-31 2021-03-09 恒大新能源汽车投资控股集团有限公司 Method and device for establishing automobile movement mechanism and electronic equipment
CN116090101A (en) * 2023-01-06 2023-05-09 珠海安博复合材料科技有限公司 CATIA-based symmetrical part rapid modeling method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408909A (en) * 2008-11-21 2009-04-15 中国运载火箭技术研究院 Method for describing product information model
CN104573162A (en) * 2013-10-29 2015-04-29 广州汽车集团股份有限公司 Automobile suspension DMU (diesel multiple unit) model parameterization design method
CN104573163A (en) * 2013-10-29 2015-04-29 广州汽车集团股份有限公司 Automobile suspension parameterization design method
CN106599338A (en) * 2016-10-09 2017-04-26 钦州学院 Three-dimensional geologic modeling method for shale gas reservoirs
CN108334724A (en) * 2018-05-08 2018-07-27 滨州学院 A kind of construction method of civil engineering BIM quantities models

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408909A (en) * 2008-11-21 2009-04-15 中国运载火箭技术研究院 Method for describing product information model
CN104573162A (en) * 2013-10-29 2015-04-29 广州汽车集团股份有限公司 Automobile suspension DMU (diesel multiple unit) model parameterization design method
CN104573163A (en) * 2013-10-29 2015-04-29 广州汽车集团股份有限公司 Automobile suspension parameterization design method
CN106599338A (en) * 2016-10-09 2017-04-26 钦州学院 Three-dimensional geologic modeling method for shale gas reservoirs
CN108334724A (en) * 2018-05-08 2018-07-27 滨州学院 A kind of construction method of civil engineering BIM quantities models

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112464385A (en) * 2020-12-31 2021-03-09 恒大新能源汽车投资控股集团有限公司 Method and device for establishing automobile movement mechanism and electronic equipment
CN116090101A (en) * 2023-01-06 2023-05-09 珠海安博复合材料科技有限公司 CATIA-based symmetrical part rapid modeling method
CN116090101B (en) * 2023-01-06 2023-08-11 珠海安博复合材料科技有限公司 CATIA-based symmetrical part rapid modeling method

Similar Documents

Publication Publication Date Title
CN104698982B (en) Stepping type CNC system and the generation method of processed file, real-time control method
CN101198957B (en) Method and device for generation of a parametric model associated with a 3d geometry
CN107301287A (en) The method for automatically extracting vehicle body attachment point dynamic stiffness
CN102054093B (en) Use the part design of context free grammar
JP2006504117A (en) Reduce design-fabrication-inspection cycle time
US8473255B2 (en) Method and aids for modelling 3D objects
Duan et al. FSMT: a feature solid-modelling tool for feature-based design and manufacture
CN111914380A (en) Part model determination method and device, computer equipment and storage medium
CN110795835A (en) Three-dimensional process model reverse generation method based on automatic synchronous modeling
Fuchs et al. Necessary advances in computer-aided design to leverage on additive manufacturing design freedom
CN102597949B (en) The method of Computer-aided Design Technology system
Zhang et al. A surface based approach to recognition of geometric features for quality freeform surface machining
CN102194035A (en) Crane girder drawing parameterization design method
Lin et al. Computer-aided structural design of drawing dies for stamping processes based on functional features
CN109408991A (en) A kind of model parameter visualization processing method based on FANUC PICTURE man-machine interface
CN104145223A (en) Working program generation device, working program generation method, and working program generation program
CN103177064B (en) A kind of method automatically enrolling given content in electronic document
CN113196193A (en) Method and apparatus for managing robot program
CN115081137A (en) Serialized modeling method under visual programming environment
Stark et al. Major Technology 1: Computer Aided Design—CAD
Kao et al. Application of a cyber-physical system and machine-to-machine communication for metal processes
JP4803447B2 (en) CAD system and program implemented in this system
CN113967910A (en) Man-machine cooperative control method and system based on augmented reality and digital twins
CN112231838A (en) Method for establishing body-in-white model
JPS59177607A (en) Automatic programming method

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