CN117152360A - Method and device for processing part model, computer equipment and storage medium - Google Patents

Method and device for processing part model, computer equipment and storage medium Download PDF

Info

Publication number
CN117152360A
CN117152360A CN202311216711.8A CN202311216711A CN117152360A CN 117152360 A CN117152360 A CN 117152360A CN 202311216711 A CN202311216711 A CN 202311216711A CN 117152360 A CN117152360 A CN 117152360A
Authority
CN
China
Prior art keywords
model
geometric
thread
blank
machining
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
CN202311216711.8A
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.)
Faw Jiefang Dalian Diesel Engine Co ltd
FAW Jiefang Automotive Co Ltd
Original Assignee
Faw Jiefang Dalian Diesel Engine Co ltd
FAW Jiefang Automotive 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 Faw Jiefang Dalian Diesel Engine Co ltd, FAW Jiefang Automotive Co Ltd filed Critical Faw Jiefang Dalian Diesel Engine Co ltd
Priority to CN202311216711.8A priority Critical patent/CN117152360A/en
Publication of CN117152360A publication Critical patent/CN117152360A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Abstract

The present application relates to a method, an apparatus, a computer device, a storage medium and a computer program product for processing a model of a component. The method comprises the following steps: obtaining a geometric model of a part to be processed; performing geometric construction processing on the geometric model based on the geometric sub-part model corresponding to the part to be processed to obtain a blank model; establishing an initial machining model for the blank model; acquiring pre-positioning thread features matched with a threaded hole to be constructed of the blank model, and processing the initial machining model based on the pre-positioning thread features to obtain a target machining model; and shearing treatment is carried out based on the blank model and the target machining model, so as to obtain a finished product model of the part. The method can improve the processing efficiency of the part model.

Description

Method and device for processing part model, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technology, and in particular, to a method, an apparatus, a computer device, a storage medium, and a computer program product for processing a part model.
Background
Along with the development of computer technology, three-dimensional CAD (computer aided design) is developed deeply, and in the production and manufacturing process, a three-dimensional model of a part is an important theoretical basis for designing a three-dimensional process, so that the specific processed characteristics can be effectively extracted, and the conversion from a blank to a finished product is realized.
In the process of designing various parts, top-down (Top-down or Top-down) and bottom-up (bottom-up) are generally adopted for unfolding design, and in the specific implementation, the efficiency of the process design is lower due to the fact that a large amount of repeated work is involved.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus, a computer device, a computer-readable storage medium, and a computer program product for processing a part model, which are capable of improving the design efficiency of a model process.
In a first aspect, the present application provides a method for processing a part model. The method comprises the following steps:
obtaining a geometric model of a part to be processed;
performing geometric construction processing on the geometric model based on the geometric sub-part model corresponding to the part to be processed to obtain a blank model;
Establishing an initial machining model for the blank model;
acquiring pre-positioning thread features matched with a threaded hole to be constructed of the blank model, and processing the initial machining model based on the pre-positioning thread features to obtain a target machining model;
and shearing treatment is carried out based on the blank model and the target machining model, so as to obtain a finished product model of the part.
In one embodiment, the construction method of the geometric sub-part model includes:
determining a geometric model corresponding to each type of part, wherein the geometric model comprises a geometric shape model and a geometric cavity model;
and respectively constructing geometric sub-component models corresponding to various parts based on the common geometric elements of the geometric body appearance model and the geometric body cavity model corresponding to various parts.
In one embodiment, the geometric model to be processed includes a geometric outline model and a geometric lumen model;
the geometric body constructing and processing are carried out on the geometric body model to be processed based on the geometric sub-part model corresponding to the part to be processed, and a blank model is obtained, and the method comprises the following steps:
obtaining a replication geometric model based on the solid curved surface of the geometric sub-part model;
Performing Boolean addition operation based on the geometric body appearance model and the replication geometric model to obtain an appearance construction model;
performing Boolean subtraction operation based on the geometric cavity model and the replication geometric model to obtain a cavity construction model;
and constructing a model according to the appearance and the inner cavity to obtain a blank model.
In one embodiment, the determining manner of the pre-positioning thread feature includes:
determining a circular curve matched with the thread diameter according to the thread diameter of various threaded holes;
creating a reference feature based on the circular curve, the reference feature comprising a plane, a reference axis, a cylinder having a diameter less than a diameter threshold, and a cylinder having a thickness less than a thickness threshold;
creating a threaded hole rotator according to the reference feature;
and determining the pre-positioning thread characteristic according to the thread hole characteristic parameter of the thread hole rotating body.
In one embodiment, the threaded bore characteristic parameters include a nominal thread diameter and a thread pitch; the determining the pre-positioning thread feature according to the thread feature parameter of the thread rotating body comprises the following steps:
establishing a characteristic association relation between a preset thread modification thread parameter and a thread nominal diameter and a thread pitch;
And determining the preset thread characteristics according to the characteristic association relation.
In one embodiment, the method further comprises: and simplifying the finished product model to obtain a target simplified model.
In one embodiment, the simplifying the finished product model to obtain a target simplified model includes:
creating a sub-assembly model, wherein the sub-assembly model comprises a simplified machine model and an initial simplified model;
copying the solid surface of the target machining model into the simplified machining model to cut the solid surface to obtain a root reserved machining model;
copying the solid curved surface of the geometrical body appearance model of the blank model into the initial simplified model to obtain a materialized initial simplified model;
and copying the solid surface of the root reservation machining model into the materialized initial simplified model in a copying geometric form to obtain a target simplified model.
In a second aspect, the application further provides a processing device of the part model. The device comprises:
the model acquisition module is used for acquiring a geometric model of the part to be processed;
the blank model processing module is used for carrying out geometric construction processing on the geometric body model based on the geometric sub-part model corresponding to the part to be processed to obtain a blank model;
A machining model building module for building an initial machining model for the blank model;
the machining model processing module is used for acquiring pre-positioning thread characteristics matched with a to-be-constructed threaded hole of the blank model, and processing the initial machining model based on the pre-positioning thread characteristics to acquire a target machining model;
and the finished product model obtaining module is used for carrying out shearing treatment based on the blank model and the target machining model to obtain the finished product model of the part.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the steps of the processing of the component model described above when the processor executes the computer program.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the processing of the component model described above.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of the processing of the component model described above.
The processing method, the processing device, the computer equipment, the storage medium and the computer program product of the part model acquire a geometric model of the part to be processed; performing geometric body construction processing on the geometric body model based on the geometric sub-part model corresponding to the part to be processed to obtain a blank model; establishing an initial machining model for the blank model; acquiring pre-positioning thread characteristics matched with a threaded hole to be constructed of a blank model, and processing an initial machining model based on the pre-positioning thread characteristics to obtain a target machining model; and shearing treatment is carried out based on the blank model and the target machining model, so as to obtain a finished product model of the part. In the process of obtaining the finished product model, the geometric model can be processed by obtaining the geometric sub-part model to obtain the blank model, the initial machining model is further processed by the pre-positioning thread feature to obtain the target machining model, and finally the finished product model of the part is obtained according to the blank model and the initial machining model, so that a large amount of repeated work is not needed, and the processing efficiency of the part model is effectively improved.
Drawings
FIG. 1 is an application environment diagram of a method of processing a part model in one embodiment;
FIG. 2 is a flow chart of a method of processing a part model in one embodiment;
FIG. 3 is a flow chart of a method of processing a part model in one embodiment;
FIG. 4 is a schematic diagram of the shape of a geometric sub-part model in one embodiment;
FIG. 5 is a schematic diagram of Boolean operation of a geometric sub-component model and an external shape, internal cavity in one embodiment;
FIG. 6 is a flow diagram of a method of processing a part model in one embodiment;
FIG. 7 is a sketch of a body rotation feature of a predetermined thread feature in one embodiment;
FIG. 8 is a schematic diagram of a characteristic association of a modified thread in one embodiment;
FIG. 9 is a schematic diagram of a machine model with the addition of a pre-determined thread feature in one embodiment;
FIG. 10 is a schematic diagram of a finished model with a threaded curved surface in one embodiment;
FIG. 11 is a flow chart of a method of processing a part model in one embodiment;
FIG. 12 is a simplified machined geometry diagram of one embodiment;
FIG. 13 is a schematic diagram of a simplified model of a target in one embodiment;
FIG. 14 is a block diagram of a processing device for a part model in one embodiment;
fig. 15 is an internal structural view of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The processing method of the part model provided by the embodiment of the application can be applied to an application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104 or may be located on a cloud or other network server. Various 3D design software, such as Creo parameter modeling software, may be run on the terminal 102 or the server 104 to model various components, such as box parts, so as to implement design of various components. The terminal 102 and the server 104 may be used alone to perform the processing method of the component model in the present application, and the terminal 102 and the server 104 may be used cooperatively to perform the processing of the component model in the present application. The processing method of the terminal 102 or the server 104 to execute the component model in the present application alone will be described as an example.
The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and portable wearable devices, where the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart vehicle devices, and the like. The portable wearable device may be a smart watch, smart bracelet, headset, or the like. The server 104 may be implemented as a stand-alone server or as a server cluster of multiple servers.
In one embodiment, as shown in fig. 2, a method for processing a part model is provided, and the method is applied to a computer device (the computer device may be a terminal or a server in fig. 1 specifically) for explanation, and includes the following steps:
step 202, obtaining a geometric model of the part to be processed.
The part to be processed can be a box part, particularly can be a complex, simple and other multi-type part, the geometric model can be a model comprising an appearance model and an inner cavity model of the part, and a blank model can be obtained by processing the appearance model and the inner cavity model, such as carrying out geometric structures of reinforcing ribs, wire bags, oil ducts and the like on the appearance model and the inner cavity model.
And 204, carrying out geometric construction processing on the geometric model based on the geometric sub-part model corresponding to the part to be processed, and obtaining a blank model.
The geometric sub-part model can be a model comprising internal and external geometry penetrating through the geometric body model, and the computer equipment can construct the corresponding geometric sub-part model in advance for each type of part to be processed. The geometry penetrating through the inside and outside of the geometric model can comprise reinforcing ribs, filament packages, oil channels and the like, and the geometric body construction treatment can be a process of constructing the reinforcing ribs, filament packages, oil channels and the like of the geometric model by means of pointers. The blank model can be obtained by building a geometric model through a geometric sub-part model.
At step 206, an initial machining model for the blank model is established.
The initial machining model may be a model constructed according to each machining feature, and the computer device may establish a corresponding initial machining model for the blank model.
And step 208, obtaining pre-positioning thread characteristics matched with the threaded holes to be constructed of the blank model, and processing the initial machining model based on the pre-positioning thread characteristics to obtain a target machining model.
The pre-positioning thread feature may be a modified thread= carrying position information, and by obtaining the pre-positioning thread feature, the modified thread may be attached to a corresponding position of the initial machining model, so as to obtain the target machining model.
And 210, shearing based on the blank model and the target machining model to obtain a finished model of the part.
After the blank model and the target machining model are obtained, the computer equipment can conduct synthesis processing on the blank model and the target machining model, namely, the target machining model is cut off from the blank model in a shearing mode, and then a finished product model can be obtained.
In the processing method of the part model, a geometric model of the part to be processed is obtained; performing geometric body construction processing on the geometric body model based on the geometric sub-part model corresponding to the part to be processed to obtain a blank model; establishing an initial machining model for the blank model; acquiring pre-positioning thread characteristics matched with a threaded hole to be constructed of a blank model, and processing an initial machining model based on the pre-positioning thread characteristics to obtain a target machining model; and shearing treatment is carried out based on the blank model and the target machining model, so as to obtain a finished product model of the part. In the process of obtaining the finished product model, the geometric model can be processed by obtaining the geometric sub-part model to obtain the blank model, the initial machining model is further processed by the pre-positioning thread feature to obtain the target machining model, and finally the finished product model of the part is obtained according to the blank model and the initial machining model, so that a large amount of repeated work is not needed, and the processing efficiency of the part model is effectively improved.
In one embodiment, the method for constructing the geometric sub-part model comprises the following steps: determining a geometric model corresponding to each type of part, wherein the geometric model comprises a geometric shape model and a geometric cavity model; and respectively constructing geometric sub-component models corresponding to various parts based on the common geometric elements of the geometric body appearance model and the geometric body cavity model corresponding to various parts.
The geometric body model comprises a geometric body appearance model and a geometric body cavity model, the common geometric elements refer to the geometry penetrating through the geometric body appearance model and the geometric body cavity model, the geometric sub-part model comprises the geometry penetrating through the inside and the outside, the geometry penetrating through the inside and the outside can refer to reinforcing ribs, channels, filament packages and the like, and the geometric sub-part model can be a model constructed by computer equipment according to the reinforcing ribs, the channels, the filament packages and the like. For different parts, the corresponding through internal and external geometries are different, so that the different parts are corresponding to the corresponding geometric sub-part models.
In the above embodiment, the computer device constructs the geometric sub-part model by penetrating the geometry of the geometric outline model and the geometric cavity model, so that the subsequent geometric outline model and the geometric cavity model do not need to construct the geometry contained in the geometric sub-part model, and the processing efficiency of the part model is improved.
In one embodiment, the geometric model to be processed includes a geometric outline model and a geometric lumen model; the geometric body constructing and processing are carried out on the geometric body model to be processed based on the geometric sub-part model corresponding to the part to be processed, and a blank model is obtained, and the method comprises the following steps: obtaining a replication geometric model based on the solid curved surface of the geometric sub-part model; performing Boolean addition operation based on the geometric body appearance model and the replication geometric model to obtain an appearance construction model; performing Boolean subtraction operation based on the geometric cavity model and the replication geometric model to obtain a cavity construction model; and constructing a model according to the appearance and the inner cavity to obtain a blank model.
The computer equipment can use a copying geometric function to obtain a copying geometric model based on solid curved surfaces of a plurality of He Zijian models, namely, copying the solid curved surfaces into geometric body appearance models to obtain appearance construction model geometric body cavity models, copying the solid curved surfaces into the geometric body cavity models to obtain cavity construction models, performing Boolean addition on the geometric body appearance models and the copying geometric models to form required appearance construction models, performing Boolean subtraction on the geometric body cavity models and the copying geometric models to form required cavity construction models, and finally determining blank models according to the obtained appearance construction models and the cavity construction models.
In this embodiment, the computer device omits the process of building geometry in the geometric outline model and the geometric internal cavity model multiple times by acquiring the geometric sub-part model, and can automatically embody the geometric outline model and the geometric internal cavity model by adding or removing the penetrating geometry in the geometric sub-part model, so as to finally obtain the blank model, and the efficiency and the accuracy are improved.
In one embodiment, the determining manner of the pre-positioning thread feature includes: determining a circular curve matched with the thread diameter according to the thread diameter of various threaded holes; creating a reference feature based on the circular curve, the reference feature comprising a plane, a reference axis, a cylinder having a diameter less than a diameter threshold, and a cylinder having a thickness less than a thickness threshold; creating a threaded hole rotator according to the reference feature; and determining the pre-positioning thread characteristic according to the thread hole characteristic parameter of the thread hole rotating body.
The threaded hole is machined, the threaded hole corresponds to the corresponding thread diameter, and the computer equipment can sketch a circular curve which takes the axis of the threaded hole as the center of a circle and the nominal diameter of the thread as the diameter on the initial plane of the threaded hole, so that the circular curve is used as a drive to determine the pre-positioning thread characteristic. For example, if the M8 threaded hole, i.e. the external diameter of the threaded hole is 8, the computer device may determine a circular curve with a diameter of 8, and all subsequent operations need to be based on the curve, so that only one curve is selected in the subsequent steps to locate the pre-positioning threaded feature, thereby improving the processing efficiency.
After the circular curve is determined by the computer equipment, the circular curve is taken as a reference, a reference characteristic is created, the reference characteristic can comprise a plane, a reference shaft, a cylinder with the diameter smaller than a diameter threshold value and a cylinder with the thickness smaller than a thickness threshold value, and the characteristic parameters of the threaded hole can comprise parameters such as screw pitch, counterbore diameter and depth, drilling depth, tapping depth, nominal diameter of the thread and the like.
Specifically, the computer device may draw a 1/4 cylinder with a smaller diameter in a closed-surface manner as a sketch direction reference of the subsequent feature, draw a cylinder with a smaller thickness in a closed-surface manner as a threaded hole rotator, and create a modified thread with a threaded hole feature parameter of the threaded hole rotator after creating the threaded hole rotator.
In this embodiment, the computer device can retain the normal thread surface by determining the predetermined bit thread characteristics, and can avoid manually redefining the machining characteristics.
In one embodiment, the threaded bore characteristic parameters include a nominal thread diameter and a thread pitch; the determining the pre-positioning thread feature according to the thread feature parameter of the thread rotating body comprises the following steps:
establishing a characteristic association relation between a preset thread modification thread parameter and a thread nominal diameter and a thread pitch;
And determining the preset thread characteristics according to the characteristic association relation.
The predetermined thread modifying thread parameter refers to a related parameter of modifying thread, and the characteristic association relationship refers to a corresponding relationship between a threaded hole characteristic parameter and the predetermined thread modifying thread parameter. Specifically, the thread curved surface DIAMETER may be made equal to a reference dimension representing a nominal DIAMETER of the thread in the thread hole feature parameter, the feature parameter MINOR_DIAMETER (minimum DIAMETER) of the modified thread may also be made equal to a reference dimension representing a nominal DIAMETER of the thread in the thread hole feature parameter, and the feature parameter PITCH (PITCH) of the modified thread may be made equal to a dimension representing a PITCH in the thread hole feature parameter, thereby obtaining the feature association relationship. Finally, the computer equipment materializes the two closed curved surfaces generated before, and defines the prompt of the pre-positioning thread feature according to the conventional operation, wherein the prompt can comprise screw pitch, counter bore diameter and depth, drilling depth and tapping depth, and the pre-positioning thread feature is stored.
In the above embodiment, the computer device introduces a pre-positioning thread feature of the reverse modified thread, so that the normal thread surface can be maintained, and the manual redefinition of the machining feature can be avoided. The method has the advantages that the method is only required to be established once, the method can be used repeatedly after debugging is successful, when the pre-positioning thread feature is called in the initial machining model, the pre-positioning thread feature can be attached to the corresponding position only by selecting a circular curve according to prompts, and therefore the operation efficiency is improved.
In one embodiment, the method further comprises: and simplifying the finished product model to obtain a target simplified model.
Wherein the final finished model is complex in shape, if submitted directly to the customer as part of the engine model, not only is the amount of model data large, but also contains excessive design details, so that the computer device can obtain a target simplified model which is and is provided to the user by simplifying the finished model.
In one embodiment, the simplifying the finished product model to obtain a target simplified model includes:
creating a sub-assembly model, wherein the sub-assembly model comprises a simplified machine model and an initial simplified model;
copying the solid surface of the target machining model into the simplified machining model to cut the solid surface to obtain a root reserved machining model;
copying the solid curved surface of the geometrical body appearance model of the blank model into the initial simplified model to obtain a materialized initial simplified model;
and copying the solid surface of the root reservation machining model into the materialized initial simplified model in a copying geometric form to obtain a target simplified model.
When the target simplified model is determined, the computer equipment can independently establish a sub-assembly model, wherein the sub-assembly model comprises a simplified machine model and an initial simplified model, all entity surfaces of the target machine model are copied into the simplified machine model in a geometric copying mode, and all entity curved surfaces of the geometric body appearance model of the blank model are copied into a simplified finished product model to obtain the materialized initial simplified model.
In the simplified machining model, the computer equipment can cut off most of the materialized geometry, only the root of 3-5 mm is reserved, and all solid surfaces of the root reserved machining model cut in the last step are copied into the materialized initial simplified model in a copying geometry mode, and cutting is performed. The target simplified model obtained in this way has basically complete appearance, keeps consistent appearance with the accurate model, has small number of models, does not contain internal detail structure, avoids leakage, and is more suitable for being provided for customers.
In one embodiment, as shown in fig. 3, a flow chart of a method for processing a part model in one embodiment is shown:
fig. 3 relates to a process of how to construct a geometric sub-model and determine a blank model from the geometric sub-model. Specifically, for the problem that the geometry of reinforcing ribs, wire bags, oil ducts and the like penetrating through the inside and outside of the box-type parts needs to be repeatedly built, the computer equipment can establish an independent RBC model, namely a geometry sub-part model, wherein the RBC model comprises the geometry penetrating through the inside and outside, and the RBC model, as shown in fig. 4, is assembled with the external shape and the inner cavity model according to the correct relative position relation.
Wherein, the sub-model related to the appearance and the inner cavity does not need to build the geometric body contained in the RBC model. And copying the solid curved surface of the RBC model into the related submodels such as the appearance, the inner cavity and the like by using a copying geometric function. As shown in fig. 5, the external model and the replication geometry are boolean, and the internal model and the replication geometry are boolean subtracted to form the required external and internal model, and all the penetration geometries are built only once in the RBC model, thus omitting the process of multiple building. In addition, through geometry is only required to be added or removed from the RBC model, the RBC model can be automatically reflected in the shape and inner cavity model, and finally reflected in the finished product model, so that the missing condition can not occur, and the efficiency and the accuracy are improved.
In one embodiment, as shown in fig. 6, a flow chart of a method for processing a part model in one embodiment is shown:
among these, the present embodiment relates to a flowchart for determining a pre-positioning thread feature, i.e., UDF feature. Firstly, a circular curve with the axis of the threaded hole as the center and the nominal diameter of the thread as the diameter is sketched on the initial plane of the threaded hole, or the circular curve can be inherited from a skeleton model. Further, a circular curve is used as a driver to create the UDF feature, and it should be noted that in order to simplify the call of the UDF, a circular curve needs to be sketched first. Taking the example of an M8 threaded hole (with an outer diameter of 8), a circular curve with a diameter of 8 is sketched, on which all subsequent operations can be based.
The method comprises the following specific steps: drawing a circular curve with the diameter of 8, creating a reference plane and a reference axis by using the circular curve, drawing a 1/4 cylinder with smaller diameter (which is related to the plane and the axis created in the last step only and is used for restraining the two radiuses of a sketch sector to be vertical) in a closed curved surface mode, taking the sketch direction of the subsequent characteristics as a reference, drawing a cylinder with smaller thickness (such as the thickness of 1, and restraining the cylinder with the same size and concentricity with the circular curve in the front) in a closed curved surface mode, and taking a rotating body with a threaded hole in a closed curved surface mode, wherein the reference dimension 8 is the position of a generatrix of the curved surface of the cylinder in the last step and represents the nominal diameter of the thread; dimensions 9 and 0 represent the diameter and depth of the preformed threaded counterbore; dimension 1.25 represents the pitch, the vertical line tangent to the circle of diameter 1.25 represents the borehole diameter, and 45 refers to the angle of the chamfer of the threaded hole aperture. Further, creating a modified thread, wherein a characteristic relation can be added to the modified thread according to the characteristic relation shown in fig. 8, the DIAMETER of a thread curved surface is equal to the reference dimension representing the nominal DIAMETER of the thread in the previous step, the characteristic parameter MINOR_DIAMETER of the modified thread is also equal to the reference dimension representing the nominal DIAMETER of the thread in the previous step, the characteristic parameter PITCH of the modified thread is equal to the dimension representing the thread PITCH in the previous step, d70 in fig. 8 represents the rotation angle of the rotating body, d71 represents the reference dimension representing the nominal DIAMETER of the thread, the constraint is equal to the DIAMETER of a placement curve, Φd72 represents the thread PITCH, d76 represents the drilling cone angle of a thread bottom hole, d77 represents the thread tapping depth, Φd95 represents the orifice flat/countersink DIAMETER, d96 represents the thread orifice flat/countersink depth, d97 represents the thread bottom hole depth, and d98 represents the angle of the thread hole chamfer.
Finally, the two closed curved surfaces generated before are materialized, and prompts of UDF characteristics are defined according to conventional operation, such as screw pitch, counter bore diameter and depth, drilling depth, tapping depth and the like, without the need of containing the nominal diameter of screw thread, because the screw thread is driven by a sketched circular curve, and the UDF is stored.
After this, a specially modified thread, called reverse UDF of the threaded bore, is formed as shown in fig. 9. The UDF is only required to be created once, can be repeatedly used after successful debugging, and can be shared for other people to use. The UDF is called in the machining model, and the UDF can be attached to a corresponding position only by selecting a circular curve according to prompts. It may sometimes be desirable to select "reverse" in the "adjust" tab and then modify the corresponding size value in the list. When a plurality of UDFs of the same size are added, the operation efficiency can be improved by using a selective pasting method.
Finally, in the finished product model, the machine model is introduced by using a 'merging/inheritance' command, and the 'material removal' option is selected for determination. The effect is shown in fig. 10, where a threaded curved surface can be seen. The finished product model obtained in this way has no reference relation with the geometry of the blank, and the machine-added content regeneration failure can not be caused when the blank model is replaced, and redefinition is not needed. And the threaded hole is provided with a thread curved surface, so that the requirements of engineering drawings are met, and the defects of the traditional method are eliminated.
In one embodiment, as shown in fig. 11, a flow chart of a method for processing a part model in one embodiment is shown:
the embodiment relates to how to simplify the finished product model, and a flow chart of the target simplified model is obtained. Wherein the computer device can independently create a sub-assembly model, create a simplified machined model sub-part and a simplified finished model therein, copy all the physical surfaces of the real machined model into the simplified machined model in a replication geometry manner, and copy all the physical surfaces of the blank outline model (but the outline, not the whole blank model) into the simplified finished model, all the physical surfaces being materialized.
As shown in fig. 12, in the simplified machining model, most of the geometry after the materialization is cut off, and only 3 to 5mm roots are left. And further, copying all the entity surfaces of the simplified machining model cut in the previous step into a simplified finished product model in a copying geometric mode, and cutting. As shown in FIG. 13, the simplified model thus obtained has a substantially complete appearance, is consistent with the appearance of an accurate model, has a small number of models, does not contain internal detail structures, avoids disclosure, and is more suitable for use by customers.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a processing device for the part model, which is used for realizing the processing method of the part model. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of the processing device for one or more part models provided below may refer to the limitation of the processing method for the part model hereinabove, and will not be repeated herein.
In one embodiment, as shown in FIG. 14, there is provided a processing apparatus 1400 for part models, comprising: the system comprises a model acquisition module, a blank model processing module, a machining model construction module, a machining model processing module and a finished product model acquisition module, wherein:
the model acquisition module 1402 is configured to acquire a geometric model of a part to be processed.
And the blank model processing module 1404 is configured to perform geometric body construction processing on the geometric body model based on the geometric sub-component model corresponding to the part to be processed, so as to obtain a blank model.
A machining model construction module 1406 is used to build an initial machining model for the blank model.
The machining model processing module 1408 obtains pre-positioned thread features that match the threaded holes of the blank model to be constructed, and processes the initial machining model based on the pre-positioned thread features to obtain a target machining model.
And a finished product model obtaining module 1410, configured to obtain a finished product model of the component by performing shearing processing based on the blank model and the target machining model.
In one embodiment, the method further comprises a geometric sub-part model building module;
The geometric sub-part model construction module is used for determining geometric body models corresponding to various parts respectively, wherein the geometric body models comprise geometric body appearance models and geometric body cavity models; and respectively constructing geometric sub-component models corresponding to various parts based on the common geometric elements of the geometric body appearance model and the geometric body cavity model corresponding to various parts.
In one embodiment, the blank model processing module is further configured to obtain a replicated geometric model based on the solid curved surface of the geometric sub-part model; performing Boolean addition operation based on the geometric body appearance model and the replication geometric model to obtain an appearance construction model; performing Boolean subtraction operation based on the geometric cavity model and the replication geometric model to obtain a cavity construction model; and constructing a model according to the appearance and the inner cavity to obtain a blank model.
In one embodiment, the device further comprises a thread feature determination module;
the thread characteristic determining module is used for determining a circular curve matched with the thread diameter according to the thread diameters of various threaded holes;
creating a reference feature based on the circular curve, the reference feature comprising a plane, a reference axis, a cylinder having a diameter less than a diameter threshold, and a cylinder having a thickness less than a thickness threshold;
Creating a threaded hole rotator according to the reference feature;
and determining the pre-positioning thread characteristic according to the thread hole characteristic parameter of the thread hole rotating body.
In one embodiment, the thread feature determining module is further configured to establish a feature association relationship between the pre-positioned thread modifying thread parameter and the nominal diameter and the thread pitch of the thread;
and determining the preset thread characteristics according to the characteristic association relation.
In one embodiment, the system further comprises a finished product model simplification module;
and the finished product model simplification module is used for simplifying the finished product model to obtain a target simplified model.
In one embodiment, the finished model simplification module is further configured to create a sub-assembly model, the sub-assembly model comprising a simplified machine model and an initial simplified model;
copying the solid surface of the target machining model into the simplified machining model to cut the solid surface to obtain a root reserved machining model;
copying the solid curved surface of the geometrical body appearance model of the blank model into the initial simplified model to obtain a materialized initial simplified model;
and copying the solid surface of the root reservation machining model into the materialized initial simplified model in a copying geometric form to obtain a target simplified model.
The respective modules in the processing device of the above-described part model may be realized in whole or in part by software, hardware, or a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and an internal structure diagram thereof may be as shown in fig. 15. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile 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 the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a method of processing a model of a component. The display unit of the computer device is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen 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, can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 15 is merely a block diagram of a portion of the structure associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements are applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method of processing a model of a component as described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, implements the steps of the method for processing a part model described above.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method for processing a part model as described above.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data need to comply with the related laws and regulations and standards of the related country and region.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (10)

1. A method of processing a part model, the method comprising:
obtaining a geometric model of a part to be processed;
performing geometric construction processing on the geometric model based on the geometric sub-part model corresponding to the part to be processed to obtain a blank model;
establishing an initial machining model for the blank model;
acquiring pre-positioning thread features matched with a threaded hole to be constructed of the blank model, and processing the initial machining model based on the pre-positioning thread features to obtain a target machining model;
And shearing treatment is carried out based on the blank model and the target machining model, so as to obtain a finished product model of the part.
2. The method according to claim 1, wherein the geometric sub-component model is constructed in a manner comprising:
determining a geometric model corresponding to each type of part, wherein the geometric model comprises a geometric shape model and a geometric cavity model;
and respectively constructing geometric sub-component models corresponding to various parts based on the common geometric elements of the geometric body appearance model and the geometric body cavity model corresponding to various parts.
3. The method of claim 1, wherein the geometric model to be processed comprises a geometric outline model and a geometric lumen model;
the geometric body constructing and processing are carried out on the geometric body model to be processed based on the geometric sub-part model corresponding to the part to be processed, and a blank model is obtained, and the method comprises the following steps:
obtaining a replication geometric model based on the solid curved surface of the geometric sub-part model;
performing Boolean addition operation based on the geometric body appearance model and the replication geometric model to obtain an appearance construction model;
performing Boolean subtraction operation based on the geometric cavity model and the replication geometric model to obtain a cavity construction model;
And constructing a model according to the appearance and the inner cavity to obtain a blank model.
4. The method of claim 1, wherein the determining of the pre-positioning thread feature comprises:
determining a circular curve matched with the thread diameter according to the thread diameter of various threaded holes;
creating a reference feature based on the circular curve, the reference feature comprising a plane, a reference axis, a cylinder having a diameter less than a diameter threshold, and a cylinder having a thickness less than a thickness threshold;
creating a threaded hole rotator according to the reference feature;
and determining the pre-positioning thread characteristic according to the thread hole characteristic parameter of the thread hole rotating body.
5. The method of claim 4, wherein the threaded bore characteristic parameters include a nominal thread diameter and a thread pitch; the determining the pre-positioning thread feature according to the thread feature parameter of the thread rotating body comprises the following steps:
establishing a characteristic association relation between a preset thread modification thread parameter and a thread nominal diameter and a thread pitch;
and determining the preset thread characteristics according to the characteristic association relation.
6. The method according to claim 1, wherein the method further comprises:
And simplifying the finished product model to obtain a target simplified model.
7. The method of claim 5, wherein said simplifying the finished model to obtain a target simplified model comprises:
creating a sub-assembly model, wherein the sub-assembly model comprises a simplified machine model and an initial simplified model;
copying the solid surface of the target machining model into the simplified machining model to cut the solid surface to obtain a root reserved machining model;
copying the solid curved surface of the geometrical body appearance model of the blank model into the initial simplified model to obtain a materialized initial simplified model;
and copying the solid surface of the root reservation machining model into the materialized initial simplified model in a copying geometric form to obtain a target simplified model.
8. A processing apparatus for a part model, the apparatus comprising:
the model acquisition module is used for acquiring a geometric model of the part to be processed;
the blank model processing module is used for carrying out geometric construction processing on the geometric body model based on the geometric sub-part model corresponding to the part to be processed to obtain a blank model;
A machining model building module for building an initial machining model for the blank model;
the machining model processing module is used for acquiring pre-positioning thread characteristics matched with a to-be-constructed threaded hole of the blank model, and processing the initial machining model based on the pre-positioning thread characteristics to acquire a target machining model;
and the finished product model obtaining module is used for carrying out shearing treatment based on the blank model and the target machining model to obtain the finished product model of the part.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN202311216711.8A 2023-09-19 2023-09-19 Method and device for processing part model, computer equipment and storage medium Pending CN117152360A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311216711.8A CN117152360A (en) 2023-09-19 2023-09-19 Method and device for processing part model, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311216711.8A CN117152360A (en) 2023-09-19 2023-09-19 Method and device for processing part model, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117152360A true CN117152360A (en) 2023-12-01

Family

ID=88906083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311216711.8A Pending CN117152360A (en) 2023-09-19 2023-09-19 Method and device for processing part model, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117152360A (en)

Similar Documents

Publication Publication Date Title
US8941650B2 (en) Method for validating features in a direct modeling paradigm
JP6721332B2 (en) Generating a bounding box on a 3D modeled assembly
JP6125747B2 (en) Designing modeled objects in a CAD system session that interacts with a database
CN103914865B (en) Form the group in the face of geometrical pattern
JP6441664B2 (en) Design of 3D modeling objects
JP2019106177A (en) Additive manufacturing of 3d parts
US20100013833A1 (en) System and method for modifying features in a solid model
US8207990B1 (en) Systems and methods for merging and splitting intersecting solids and surfaces
JP6721333B2 (en) Selecting a perspective for a set of objects
US20200004893A1 (en) Shoe design through 2.5-dimensional shoe models
JP2012048722A (en) Watermarking for 3d modelled object
JP2019153280A (en) Method of assembling product parts
CA3037575A1 (en) Geometric modelling for facilitating simulation for manufacturing operations
US11947877B2 (en) Anti-constraint configuration and enforcement for computer-aided design (CAD) models
US20190303514A1 (en) Feature-based merging for multi-user cax
CN117152360A (en) Method and device for processing part model, computer equipment and storage medium
KR102055952B1 (en) Designing a circular staggered pattern of objects
US9626461B2 (en) Method for creating personalized functional objects, computer, computer readable medium and computer program related thereto
JP2023528760A (en) 2. Computer Aided Generative Design with Filtering to Facilitate the 5-Axis Subtractive Manufacturing Process
JP2008533614A (en) System and method for generating matched contour profiles
US20230104333A1 (en) Three-dimensional surface pattern generation to facilitate part creation in computer aided design and manufacture
US20240135053A1 (en) Transition structure generations for internal lattice structure of computer-aided design (cad) objects
EP4160461A1 (en) Three-dimensional surface pattern generation to facilitate part creation in computer aided design and manufacture interface
US20220414277A1 (en) Combined microstructure and object boundary representations of computer-aided design objects
US10366099B1 (en) Reader for multi-user CAx entities created outside of database

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