Method and device for generating workpiece model with spiral groove structure and computer equipment
By constructing a coordinate system between the workpiece and the grinding wheel, determining the helical motion trajectory, and extracting the intersection point to generate the helical groove section, the problem of low efficiency in helical groove generation is solved, the robustness and versatility of helical groove design are realized, and the stability and efficiency of drill bit processing are improved.
Patent Information
- Application Number
- CN202511320133.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-16
- Publication Date
- 2026-02-03
AI Technical Summary
In existing technologies, the generation efficiency of spiral grooves is low, and the design process lacks standardization and systematicity, resulting in poor chip removal, chip accumulation, and increased cutting heat, which seriously affects the machining efficiency and quality of drill bits.
By obtaining the design parameters of the spiral groove, constructing the workpiece and grinding wheel coordinate system, determining the spiral motion trajectory of the grinding wheel in the workpiece coordinate system, extracting the intersection points to form the contour point set of the spiral groove section, and generating a three-dimensional model of the workpiece with the spiral groove structure, avoiding reliance on the derivative information of the grinding wheel contour and adapting to different grinding wheel contours.
It improves the robustness and versatility of spiral groove generation, generates complete and continuous spiral groove cross sections, simplifies the modeling process, and enhances the stability and efficiency of machining tool design.
Smart Images

Figure CN121457064A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of metal processing and manufacturing technology, and in particular to a method, apparatus, computer equipment, computer-readable storage medium, and computer program product for generating workpiece models with a spiral groove structure. Background Technology
[0002] Spiral flutes are a core structure in drill bits, and their geometry directly affects the cutting efficiency, chip removal capability, and drilling quality. With increasing demands for drilling accuracy and efficiency, optimized spiral flute design is considered crucial for improving drill bit performance. In drill bits, spiral flutes not only form the basis of the cutting edge, but their shape also determines the tool's rake angle and plays a decisive role in chip generation, chip space size, and chip removal path formation. An inappropriate spiral flute design will lead to poor chip removal, chip accumulation, increased cutting heat, and consequently, blockages and accelerated tool wear, severely restricting machining efficiency and quality.
[0003] In existing technologies, the formation of helical grooves mainly relies on the relative helical motion between the grinding wheel and the cutting tool, generating a helical surface through the envelope principle. However, due to the complex spatial geometric characteristics of the helical groove surface, its cross-sectional shape is affected by the coupling effect of multiple factors such as the grinding wheel shape, the grinding path, and parameter settings. The design process lacks standardization and systematicity, and usually relies on experience-based adjustments, resulting in low efficiency in helical groove generation. Summary of the Invention
[0004] Therefore, it is necessary to provide a method, apparatus, computer equipment, computer-readable storage medium, and computer program product for generating workpiece models with spiral groove structures that can improve the efficiency of spiral groove generation, in order to address the above-mentioned technical problems.
[0005] In a first aspect, this application provides a method for generating a workpiece model with a spiral groove structure, including:
[0006] Obtain the design parameters of the spiral groove of the workpiece to be ground;
[0007] Based on the spiral groove design parameters, construct the workpiece coordinate system and the grinding wheel coordinate system respectively;
[0008] Based on the spiral groove design parameters, determine the spiral motion trajectory of each point on the grinding wheel in the workpiece coordinate system;
[0009] Obtain the intersection point of the spiral motion trajectory and the preset plane in the workpiece coordinate system, and extract the contour points of the spiral groove section from the intersection point to obtain the spiral groove section contour point set;
[0010] Based on the helical groove cross-sectional profile point set and the constructed 3D model of the workpiece, a 3D model of the workpiece with a helical groove structure is generated.
[0011] Secondly, this application also provides a workpiece model generation device with a spiral groove structure, comprising:
[0012] The parameter acquisition module is used to acquire the spiral groove design parameters of the workpiece to be ground;
[0013] The coordinate system establishment module is used to construct the workpiece coordinate system and the grinding wheel coordinate system respectively based on the spiral groove design parameters;
[0014] The spiral motion module is used to determine the spiral motion trajectory of each point on the grinding wheel in the workpiece coordinate system based on the spiral groove design parameters.
[0015] The spiral groove cross-section contour point extraction module is used to obtain the intersection point of the spiral motion trajectory and the preset plane in the workpiece coordinate system, and extract the contour points of the spiral groove cross-section from the intersection point to obtain the spiral groove cross-section contour point set.
[0016] The model building module is used to generate a 3D model of a workpiece with a spiral groove structure based on the spiral groove cross-sectional profile point set and the 3D model of the workpiece that has been built.
[0017] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in any of the above embodiments of the workpiece model generation method with a spiral groove structure.
[0018] Fourthly, this application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps in any of the above embodiments of the workpiece model generation method with a spiral groove structure.
[0019] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps in any of the above embodiments of the workpiece model generation method with a spiral groove structure.
[0020] The aforementioned method, apparatus, computer equipment, computer-readable storage medium, and computer program product for generating workpiece models with helical groove structures first obtain the helical groove design parameters of the workpiece to be ground. Based on the helical groove design parameters, a workpiece coordinate system and a grinding wheel coordinate system are constructed respectively. Second, according to the helical groove design parameters, the helical motion trajectory of the profile points of the grinding wheel cross-section in the workpiece coordinate system is determined. The profile point set of the helical groove cross-section is extracted from the intersection of the helical motion trajectory and a preset plane in the workpiece coordinate system. Based on the profile point set of the helical groove cross-section and the constructed 3D model of the workpiece, a 3D model of the workpiece with helical groove structure is generated. In this way, on the one hand, it differs from the method of constructing analytical equations based on the envelope principle for helical groove design in related technologies. It does not rely on the derivative information of the grinding wheel profile, reducing the possibility of cross-section missing due to derivative discontinuity, improving the robustness of the helical groove cross-section generation of the workpiece. Furthermore, the helical groove design parameters are adjustable, allowing the helical groove cross-section generation scheme to adapt to different grinding wheel profiles without the need to construct a specific mathematical model, thereby greatly simplifying the modeling process and improving the versatility of the method. On the other hand, the contour point set of the spiral groove section can be extracted from the intersection of the spiral motion trajectory of the grinding wheel contour point and the preset plane in the workpiece coordinate system. This can obtain a complete and continuous spiral groove section contour. The calculation process is simple and efficient, easy to implement in engineering, and has good stability and scalability. It is particularly suitable for the design of machining tools with high requirements for spiral groove geometry. Attached Figure Description
[0021] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1 This is a flowchart illustrating a method for generating a workpiece model with a spiral groove structure in one embodiment.
[0023] Figure 2 This is a schematic diagram of the grinding wheel coordinate system in one embodiment;
[0024] Figure 3 This is a schematic diagram of the workpiece coordinate system in one embodiment;
[0025] Figure 4 This is a flowchart illustrating a method for generating a workpiece model with a spiral groove structure in another embodiment;
[0026] Figure 5 This is a schematic diagram of the grinding wheel coordinate transformation in one embodiment;
[0027] Figure 6 This is a flowchart illustrating a method for generating a workpiece model with a spiral groove structure in yet another embodiment.
[0028] Figure 7 This is a schematic diagram of an interval in one embodiment;
[0029] Figure 8 This is a schematic diagram of a 3D model of a drill bit in one embodiment;
[0030] Figure 9 This is a structural block diagram of a workpiece model generation device with a spiral groove structure in one embodiment;
[0031] Figure 10 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0032] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0033] Currently available cross-section design methods mainly fall into two categories: one is based on the envelope principle to establish analytical equations, which has the advantages of low computational cost and fast solution speed, but when the derivative of the grinding wheel profile is discontinuous, it will lead to incomplete cross-sections, and different grinding wheel shapes need to be modeled separately, resulting in poor versatility; the other is based on geometric construction numerical algorithms, such as the α-shape method, which has strong adaptability, but has problems such as algorithm complexity, large computational cost, and high implementation difficulty, making it difficult to promote in practical engineering.
[0034] Therefore, a systematic method for generating workpiece models with helical groove structures is proposed, which can be used to guide the setting of tool grinding process parameters, thereby improving the forming accuracy and chip removal efficiency of the helical groove, and enhancing the overall machining performance and stability of the drill bit.
[0035] In one exemplary embodiment, such as Figure 1 As shown, a method for generating a workpiece model with a spiral groove structure is provided, including the following steps (hereinafter referred to as S) S100 to S500. Wherein:
[0036] S100: Obtain the spiral groove design parameters of the workpiece to be ground.
[0037] The workpiece can be any raw material that needs to be ground to form a spiral groove structure. For example, in a tool machining scenario, the workpiece to be ground can be a metal bar.
[0038] The design parameters for the spiral groove can include workpiece data, grinding wheel data, and spiral motion data. Workpiece data can include the workpiece diameter and core thickness. Grinding wheel data can include the radius of the grinding wheel cross-section. Spiral motion data can include the mounting angle and helix angle. The mounting angle can be the angle between the grinding wheel axis and the workpiece end plane, representing the tilt angle of the grinding wheel.
[0039] In this embodiment, taking the drill bit processing scenario as an example, in specific implementation, the operator can pre-determine the diameter and core thickness of the workpiece based on the specifications of the metal bar to be ground and the requirements for generating the spiral groove. Based on the size of the grinding wheel and the installation angle requirements of the grinding wheel for generating the spiral groove, the radius of the grinding wheel is determined. According to the spiral groove generation parameters, the installation angle of the grinding wheel and the spiral angle for the grinding wheel to perform spiral motion are determined. The workpiece data, grinding wheel data, and spiral motion data are then uploaded to the processing terminal.
[0040] S200, based on the spiral groove design parameters, construct the workpiece coordinate system and the grinding wheel coordinate system respectively.
[0041] In practical implementation, the grinding wheel coordinate system can be constructed as follows: The coordinate system is constructed with the center of the grinding wheel's cross-section as the origin; the rotation axis of the grinding wheel is defined as the X-axis in the grinding wheel coordinate system, resulting in... The axis, perpendicular to the origin Axis establishment axis, The axes are based on the right-hand coordinate system principle. shaft and With the axes determined, a right-handed Cartesian coordinate system is constructed, resulting in the grinding wheel coordinate system. ,like Figure 2 As shown. In Figure 2 In the diagram, 1 represents a point on the profile curve of the grinding wheel cross-section. , ), 2 is the profile curve of the cross section of the grinding wheel, and 3 is the coordinate system of the grinding wheel.
[0042] The workpiece coordinate system can be constructed as follows: the center of the workpiece's end face (section) is taken as the origin, and the directions of the X, Y, and Z axes of the workpiece coordinate system are consistent with the directions of the X, Y, and Z axes in the grinding wheel coordinate system, respectively. , , respectively with , , Corresponding and parallel, the workpiece coordinate system is obtained. ,like Figure 3 As shown, 5 is the workpiece, 6 is the workpiece coordinate system, 7 is the core thickness circle, and 8 is the outer diameter circle, where k is the core thickness of the workpiece cross section and d is the radius of the workpiece cross section.
[0043] S300, based on the spiral groove design parameters, determines the spiral motion trajectory of each point on the grinding wheel in the workpiece coordinate system.
[0044] Among them, the spiral motion trajectory is the coordinate of the trajectory of the contour point performing spiral motion.
[0045] In practice, the depth of the spiral groove can be determined based on the workpiece's diameter and core thickness. The target center point of the grinding wheel cross-section can then be determined based on the groove depth. The center point of the grinding wheel cross-section can then be transformed to the target center point position in the workpiece coordinate system, yielding the transformed coordinates of each point on the grinding wheel. Subsequently, the coordinates of each point on the transformed grinding wheel can be adjusted according to the installation angle requirements. The angle of rotation is used to obtain the points on the rotated grinding wheel. Then, the pitch is determined according to the helix angle. Based on the helix angle and the pitch, the contour points of the rotated grinding wheel are subjected to helical motion to obtain the helical motion trajectory of each contour point in the workpiece coordinate system.
[0046] S400: Obtain the intersection point of the spiral motion trajectory and the preset plane in the workpiece coordinate system, and extract the contour points of the spiral groove section from the intersection point to obtain the spiral groove section contour point set.
[0047] The preset plane in the workpiece coordinate system can be the plane formed by the X-axis and the Y-axis.
[0048] In practice, the intersection point of the spiral motion trajectory and the preset plane of the workpiece coordinate system can be determined. Then, the cross-sectional area of the workpiece is determined according to the diameter of the workpiece, and the contour points of the spiral groove cross-section are extracted from the intersection points located in the cross-sectional area of the workpiece.
[0049] S500 generates a three-dimensional solid model of a drill bit with a helical groove structure based on the contour point set of the helical groove section.
[0050] In practice, the modeling software can be used to geometrically cut off the pre-built workpiece entity based on the contour point set of the helical groove section to generate a three-dimensional solid model of the drill bit with the helical groove structure.
[0051] In the above-mentioned method for generating a workpiece model with a helical groove structure, firstly, the helical groove design parameters of the workpiece to be ground are obtained. Based on the helical groove design parameters, a workpiece coordinate system and a grinding wheel coordinate system are constructed respectively. Secondly, according to the helical groove design parameters, the helical motion trajectory of the profile points of the grinding wheel cross section in the workpiece coordinate system is determined. The profile point set of the helical groove cross section is extracted from the intersection of the helical motion trajectory and the preset plane in the workpiece coordinate system. Based on the profile point set of the helical groove cross section and the constructed 3D model of the workpiece, a 3D model of the workpiece with a helical groove structure is generated. In this way, on the one hand, it differs from the method of constructing analytical equations based on the envelope principle for helical groove design in related technologies. It does not need to rely on the derivative information of the grinding wheel profile, reducing the possibility of cross section missing due to derivative discontinuity, improving the robustness of the helical groove cross section generation of the workpiece. Furthermore, the helical groove design parameters are adjustable, allowing the helical groove cross section generation scheme to adapt to different grinding wheel profiles without the need to construct a specific mathematical model, thereby greatly simplifying the modeling process and improving the versatility of the method. On the other hand, the contour point set of the spiral groove section can be extracted from the intersection of the spiral motion trajectory of the grinding wheel contour point and the preset plane in the workpiece coordinate system. This can obtain a complete and continuous spiral groove section contour. The calculation process is simple and efficient, easy to implement in engineering, and has good stability and scalability. It is particularly suitable for the design of machining tools with high requirements for spiral groove geometry.
[0052] In one exemplary embodiment, such as Figure 4 As shown, the spiral groove design parameters include the diameter and core thickness of the material to be ground, as well as the mounting angle and helix angle of the grinding wheel; based on the spiral groove design parameters, the spiral motion trajectory of the profile points of the grinding wheel section in the workpiece coordinate system is determined, including S320 to S360, where:
[0053] S320 determines the target location based on the diameter and core thickness.
[0054] In this embodiment, the grinding wheel is mounted in the workpiece's coordinate system. Directly above the shaft. The target position is where the distance between the center point of the grinding wheel cross-section and the center point of the workpiece cross-section is equal to the depth of the spiral groove. The depth of the spiral groove is determined by the diameter and core thickness; specifically, the target position is (0, ...). ,0), where k is the core thickness and R is the radius of the grinding wheel.
[0055] S340 transforms the center point of the grinding wheel's coordinate system to the target position in the workpiece coordinate system, and rotates each point on the grinding wheel around the Y-axis of the grinding wheel coordinate system by the installation angle to obtain the target grinding wheel point.
[0056] In practical implementation, let any point on the profile curve of the grinding wheel cross-section be ( , The cross-sectional profile curve of the grinding wheel is located in the grinding wheel coordinate system. of In the plane, the coordinates of any point on the profile of the grinding wheel's cross-section can be obtained as follows:
[0057]
[0058] in, Let x be the x-coordinate of a point on the profile of the grinding wheel cross-section, in the grinding wheel coordinate system. middle; Let y be the y-coordinate of a point on the profile of the grinding wheel, in the grinding wheel coordinate system. middle; The angle of rotation of a certain profile point on the cross-sectional profile of the grinding wheel around the axis of the grinding wheel.
[0059] Based on core thickness k and installation angle The requirement is to use the grinding wheel coordinate system Transform the center point to the workpiece coordinate system (0, ,0) position, such as Figure 5 As shown, at this time, the coordinates of each point on the grinding wheel shift as the center point shifts. Simultaneously, the coordinates of each point on the grinding wheel are rotated around the grinding wheel coordinate system. Rotate the shaft counterclockwise to adjust the mounting angle. The target grinding wheel point is obtained. At this time, any point on the grinding wheel profile is in the workpiece coordinate system. The coordinate system is expressed in the following form:
[0060]
[0061] in, Install the angle for the grinding wheel. For core thickness, Where is the radius of the grinding wheel. For a certain contour point on the grinding wheel Coordinates, in the workpiece coordinate system middle; For a certain contour point on the grinding wheel Coordinates, in the workpiece coordinate system middle; For a certain contour point on the grinding wheel Coordinates, in the workpiece coordinate system middle.
[0062] Among them, Figure 5 In the diagram, 2 represents the cross-sectional profile of the grinding wheel, 3 represents the grinding wheel coordinate system, 7 represents the core thickness circle, 8 represents the outer diameter circle, and 9 represents the grinding wheel axis. For installation angle.
[0063] S360, based on the helix angle, moves the target grinding wheel point along the Z-axis in the workpiece coordinate system in a helical motion, thus obtaining the helical motion trajectory of each point on the grinding wheel in the workpiece coordinate system.
[0064] In practice, all the first contour points on the grinding wheel are aligned with the workpiece coordinate system. In The shaft undergoes a helical motion, which can be described as: the grinding wheel revolving around the workpiece coordinate system... Axis rotation angle The helix angle is grinding wheel edge The distance moved in the axial direction is ,in With rotation angle and helix angle The relationship is as follows:
[0065]
[0066] in, Where is the drill bit radius. Where is the drill bit diameter. The rotation angle can be the angle around the grinding wheel. The included angle of rotation of the axis.
[0067] Obtain the helical motion trajectory of any point on the grinding wheel in the workpiece coordinate system:
[0068]
[0069] in, For grinding wheel winding rotation angle, Let x-coordinate be the x-coordinate of the trajectory of a target grinding wheel point undergoing helical motion in the workpiece coordinate system. middle; Let y-coordinate be the trajectory of a helical motion on a target grinding wheel point in the workpiece coordinate system. middle; Let z be the z-coordinate of the trajectory of a target grinding wheel point undergoing helical motion in the workpiece coordinate system. middle.
[0070] In this embodiment, the spiral motion trajectory of the profile points of the grinding wheel during the spiral groove generation process is determined by the spiral groove design parameters, which is beneficial to generating the profile points of the spiral groove cross-section based on the spiral motion trajectory of the profile points of the grinding wheel.
[0071] In one exemplary embodiment, such as Figure 6 As shown, the contour points of the helical groove section are extracted from the intersection points to obtain the contour point set of the helical groove section, including S420 to S460:
[0072] S420: Select valid points located in a preset cross-sectional area from the intersection points of the helical motion trajectory and the preset plane in the workpiece coordinate system to obtain a set of valid points.
[0073] Among them, the preset plane is Plane. The preset cross-sectional area of the workpiece is a circular cross-sectional area with the origin at a point on the Z-axis of the workpiece coordinate system and a diameter of d.
[0074] In practice, determining the intersection point of the helical motion trajectory and the preset plane in the workpiece coordinate system can be done by: setting the helical motion trajectory... A value of 0 determines the rotation angle of the helical motion trajectory. : Then, rotate the angle. Substitute the spiral motion trajectory , Points obtained in the middle ( , The intersection point of the spiral motion trajectory and the preset plane:
[0075]
[0076] Next, substitute all the target grinding wheel points on the grinding wheel into... In the process, the spiral motion trajectory and the workpiece coordinate system are obtained. middle The intersection of planes. For example... Figure 7 As shown, 10 represents the spiral motion trajectory and The intersection of the planes, 11 is the valid point.
[0077] Determine the spiral motion trajectory and its relationship with the workpiece coordinate system. After the intersection points of the planes, based on the cross-sectional diameter d of the workpiece, the intersection points located in the preset cross-sectional region of the workpiece are selected from these intersection points, and the selected intersection points are determined as valid points to obtain the set of valid points.
[0078] S440: Divide the valid point set according to the coordinate range of the valid point set to obtain multiple valid point subsets.
[0079] In practice, the effective points are determined by the set of effective points. The maximum and minimum values of the coordinates, according to The maximum and minimum values of the coordinates determine the range of the X-coordinate of the valid point set. Then, the valid point set can be divided into multiple valid point subsets based on the method of dividing the coordinate range. Specifically, the coordinate range can be divided into several equidistant or user-defined intervals, resulting in multiple intervals, such as... Figure 7As shown, 12 represents the multiple intervals, 13 represents the profile curve of the grinding wheel section, and 14 represents the workpiece section after grooving. These intervals divide the effective point set into multiple effective point sets. Understandably, the method and number of intervals can be flexibly adjusted according to the complexity and accuracy requirements of the cross-sectional profile to improve the geometric quality and continuity of the reconstructed profile.
[0080] S460, extract the contour points of the spiral groove cross section from each effective point set to obtain the spiral groove cross section contour point set.
[0081] In practice, for each subset of valid points, the valid points with the maximum or minimum Y coordinate values can be extracted, and the extracted valid points can be determined as the contour points of the spiral groove cross section. The contour points of the spiral groove cross section extracted from each subset of valid points constitute the spiral groove cross section contour point set.
[0082] In this embodiment, by determining the spiral motion trajectory of the grinding wheel contour points after spiral motion, effective points located in the preset workpiece cross-section area are selected. The effective point set is divided according to the coordinate range of the effective point set. The contour points of the spiral groove cross-section are extracted from the divided effective point subset, which improves the efficiency of determining the contour points of the spiral groove cross-section and is conducive to improving the continuity and efficiency of spiral groove cross-section contour generation.
[0083] In an exemplary embodiment, the contour points of the spiral groove cross section are extracted from each valid point subset to obtain the spiral groove cross section contour point set, including: for each valid point subset, the valid point with the smallest Y coordinate is extracted from the valid point subset to obtain the spiral groove cross section contour point set.
[0084] In practice, for each subset of valid points, the valid point with the smallest Y-coordinate in the subset is extracted and the valid point with the smallest Y-coordinate is determined as the contour point of the spiral groove section. The contour points of the spiral groove section extracted from each subset of valid points constitute the contour point set of the spiral groove section.
[0085] In this embodiment, by extracting valid points from the divided valid point subset to form the contour points of a continuous spiral groove cross section, the efficiency of spiral groove cross section generation is improved.
[0086] In one exemplary embodiment, a three-dimensional solid model of a drill bit with a helical groove structure is generated based on the contour point set of the helical groove cross-section, including:
[0087] Generate the spiral groove cross-section curve based on the set of spiral groove cross-section profile points.
[0088] Based on the cross-sectional curve of the spiral groove, construct the three-dimensional structure of the spiral groove.
[0089] Based on the three-dimensional structure of the spiral groove, the three-dimensional model of the already constructed workpiece is geometrically cut to generate a three-dimensional model of the workpiece with the spiral groove structure.
[0090] In practice, modeling software can be used to draw and generate the spiral groove cross-sectional curve based on the spiral groove cross-sectional profile point set. Then, based on the spiral groove cross-sectional curve, the three-dimensional structure of the spiral groove can be generated.
[0091] Finally, based on the workpiece data, a 3D model of the workpiece to be ground is created in the modeling software. Then, using the modeling software, geometric removal is performed on the 3D model of the workpiece according to the 3D structure of the helical groove, resulting in a 3D model of the workpiece with a complete helical groove, as shown below. Figure 8 As shown.
[0092] To provide a clearer explanation of the workpiece model generation method with a spiral groove structure provided in this application, a specific embodiment is described below, which includes the following steps:
[0093] S1, obtain the spiral groove design parameters of the workpiece to be ground. The spiral groove design parameters include the diameter and core thickness of the workpiece to be ground, as well as the installation angle and helix angle of the grinding wheel.
[0094] S2. Based on the spiral groove design parameters, construct the workpiece coordinate system and the grinding wheel coordinate system respectively.
[0095] S3. Based on the diameter and core thickness, determine the target position, transform the center point of the grinding wheel's coordinate system to the target position in the workpiece coordinate system, and rotate each point on the grinding wheel around the Y-axis of the grinding wheel coordinate system by the installation angle to obtain the target grinding wheel point.
[0096] S4, based on the helix angle, moves the target grinding wheel point along the Z-axis in the workpiece coordinate system in a helical motion to obtain the helical motion trajectory of each point on the grinding wheel in the workpiece coordinate system.
[0097] S5: Obtain the intersection point of the spiral motion trajectory and the preset plane in the workpiece coordinate system. Select the valid points in the preset cross-sectional area from the intersection points to obtain the valid point set. Divide the valid point set according to the coordinate range of the valid point set to obtain multiple valid point subsets.
[0098] S6. For each subset of valid points, extract the valid points with the smallest Y coordinate from the subset of valid points to obtain the profile point set of the spiral groove cross section.
[0099] S7. Generate the spiral groove cross-section curve based on the spiral groove cross-section contour point set. Construct the three-dimensional structure of the spiral groove based on the spiral groove cross-section curve. Perform geometric cutting on the constructed three-dimensional model of the workpiece based on the three-dimensional structure of the spiral groove to generate a three-dimensional model of the workpiece with the spiral groove structure.
[0100] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0101] In one exemplary embodiment, such as Figure 9 As shown, a workpiece model generation device 600 with a spiral groove structure is provided, including: a parameter acquisition module 610, a coordinate system establishment module 620, a spiral motion module 630, a spiral groove cross-sectional contour point extraction module 640, and a model construction module 650, wherein:
[0102] The parameter acquisition module 610 is used to acquire the spiral groove design parameters of the workpiece to be ground;
[0103] The coordinate system establishment module 620 is used to construct the workpiece coordinate system and the grinding wheel coordinate system respectively based on the spiral groove design parameters;
[0104] The spiral motion module 630 is used to determine the spiral motion trajectory of each point on the grinding wheel in the workpiece coordinate system based on the spiral groove design parameters.
[0105] The spiral groove cross-section contour point extraction module 640 is used to obtain the intersection point of the spiral motion trajectory and the preset plane in the workpiece coordinate system, and extract the contour points of the spiral groove cross-section from the intersection point to obtain the spiral groove cross-section contour point set.
[0106] Model building module 650 is used to generate a 3D model of a workpiece with a spiral groove structure based on the spiral groove cross-sectional profile point set and the 3D model of the workpiece that has been built.
[0107] In an exemplary embodiment, the helical motion module 630 is further configured to determine the target position based on the diameter and core thickness; transform the center point of the grinding wheel's coordinate system to the target position in the workpiece coordinate system; and rotate each point on the grinding wheel around the Y-axis of the grinding wheel coordinate system by the installation angle to obtain the target grinding wheel point; based on the helical angle, perform helical motion of the target grinding wheel point along the Z-axis in the workpiece coordinate system to obtain the helical motion trajectory of each point on the grinding wheel in the workpiece coordinate system.
[0108] In an exemplary embodiment, the spiral groove cross-section contour point extraction module 640 is further configured to: filter out valid points in a preset cross-section region from the intersection of the spiral motion trajectory and a preset plane in the workpiece coordinate system to obtain a set of valid points; divide the set of valid points according to the coordinate range of the set of valid points to obtain multiple subsets of valid points; and extract the contour points of the spiral groove cross-section from each subset of valid points to obtain a set of spiral groove cross-section contour points.
[0109] In an exemplary embodiment, the spiral groove cross-section contour point extraction module 640 is further configured to extract the effective point with the smallest Y coordinate from each effective point subset to obtain the contour point set of the spiral groove cross-section.
[0110] In an exemplary embodiment, the model building module 650 is further configured to generate a spiral groove cross-sectional curve based on the spiral groove cross-sectional profile point set; construct a three-dimensional structure of the spiral groove based on the spiral groove cross-sectional curve; and perform geometric cutting on the constructed three-dimensional model of the workpiece based on the three-dimensional structure of the spiral groove to generate a three-dimensional model of the workpiece with a spiral groove structure.
[0111] Each module in the aforementioned workpiece model generation device 600 with a spiral groove structure can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0112] In one exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 10 As shown, this computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores data. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network. When executed by the processor, the computer program implements a method for generating a workpiece model with a spiral groove structure.
[0113] Those skilled in the art will understand that Figure 10The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0114] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in any of the above embodiments of the workpiece model generation method with a spiral groove structure.
[0115] 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 in any of the above embodiments of the workpiece model generation method with a spiral groove structure.
[0116] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in any of the above embodiments of the workpiece model generation method with a spiral groove structure.
[0117] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0118] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0119] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0120] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for generating a workpiece model with a spiral groove structure, characterized in that, The method includes: Obtain the design parameters of the spiral groove of the workpiece to be ground; Based on the spiral groove design parameters, construct the workpiece coordinate system and the grinding wheel coordinate system respectively; Based on the spiral groove design parameters, determine the spiral motion trajectory of each point on the grinding wheel in the workpiece coordinate system; Obtain the intersection point of the spiral motion trajectory and the preset plane in the workpiece coordinate system, and extract the contour points of the spiral groove cross section from the intersection point to obtain the spiral groove cross section contour point set; Based on the set of points representing the spiral groove cross-section and the constructed 3D model of the workpiece, a 3D model of the workpiece with a spiral groove structure is generated.
2. The method according to claim 1, characterized in that, The spiral groove design parameters include the diameter and core thickness of the workpiece to be ground, as well as the mounting angle and helix angle of the grinding wheel; Based on the spiral groove design parameters, the spiral motion trajectory of each point on the grinding wheel in the workpiece coordinate system is determined, including: The target location is determined based on the diameter and the core thickness; Transform the center point of the grinding wheel's coordinate system to the target position in the workpiece's coordinate system, and rotate each point on the grinding wheel around the Y-axis of the grinding wheel's coordinate system by the installation angle to obtain the target grinding wheel point; Based on the helix angle, the target grinding wheel point is helically moved along the Z-axis in the workpiece coordinate system to obtain the helical motion trajectory of each point on the grinding wheel in the workpiece coordinate system.
3. The method according to claim 2, characterized in that, The step of extracting the contour points of the helical groove cross-section from the intersection points to obtain the helical groove cross-section contour point set includes: From the intersection points of the spiral motion trajectory and the preset plane in the workpiece coordinate system, valid points located in the preset cross-sectional region are selected to obtain a set of valid points; The set of valid points is divided according to the coordinate range of the set of valid points to obtain multiple subsets of valid points; The contour points of the spiral groove cross section are extracted from each of the effective point subsets to obtain the spiral groove cross section contour point set.
4. The method according to claim 3, characterized in that, The step of extracting the contour points of the spiral groove cross-section from each of the effective point subsets to obtain the spiral groove cross-section contour point set includes: For each subset of valid points, the valid point with the smallest Y coordinate is extracted from the subset of valid points to obtain the contour point set of the spiral groove cross section.
5. The method according to any one of claims 1 to 4, characterized in that, The process of generating a three-dimensional solid model of a drill bit with a helical groove structure based on the set of contour points of the helical groove cross-section includes: Generate the spiral groove cross-section curve based on the set of spiral groove cross-section profile points; Based on the cross-sectional curve of the spiral groove, construct the three-dimensional structure of the spiral groove; Based on the three-dimensional structure of the spiral groove, the three-dimensional model of the constructed workpiece is geometrically cut to generate a three-dimensional model of the workpiece with a spiral groove structure.
6. A workpiece model generation device with a spiral groove structure, characterized in that, The device includes: The parameter acquisition module is used to acquire the spiral groove design parameters of the workpiece to be ground; The coordinate system establishment module is used to construct the workpiece coordinate system and the grinding wheel coordinate system respectively based on the spiral groove design parameters; The spiral motion module is used to determine the spiral motion trajectory of each point on the grinding wheel in the workpiece coordinate system based on the spiral groove design parameters. The spiral groove cross-section contour point extraction module is used to obtain the intersection point of the spiral motion trajectory and the preset plane in the workpiece coordinate system, and extract the contour points of the spiral groove cross-section from the intersection point to obtain the spiral groove cross-section contour point set. The model building module is used to generate a three-dimensional model of a workpiece with a spiral groove structure based on the set of spiral groove cross-sectional contour points and the constructed three-dimensional model of the workpiece.
7. The apparatus according to claim 6, characterized in that, The spiral motion module is further configured to determine the target position based on the diameter and core thickness; transform the center point of the grinding wheel's coordinate system to the target position in the workpiece coordinate system; and rotate the profile point of the grinding wheel around the Y-axis of the grinding wheel coordinate system by an installation angle to obtain a first profile point; based on the helix angle, perform a spiral motion along the Z-axis in the workpiece coordinate system to obtain the spiral motion trajectory of the profile point of the grinding wheel's cross-section in the workpiece coordinate system.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.