A method for automatic labeling of a slider
By automatically identifying and annotating slider features, the problem of low efficiency in the annotation process of slider parts drawings is solved, realizing automated annotation and improving the work efficiency and annotation accuracy of designers.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- 武汉益模科技股份有限公司
- Filing Date
- 2024-10-30
- Publication Date
- 2026-07-03
AI Technical Summary
Designers spend a lot of time on repetitive operations during the drawing annotation process for slider parts, resulting in low efficiency and a high risk of human error.
The system automatically identifies the reference surface of the slider, as well as features such as the side of the slider mounting platform, the inclined guide post hole, and the threaded hole, and performs automatic annotation using a computer program.
It improved the work efficiency of designers, reduced repetitive work and manual annotation errors, and improved the accuracy and efficiency of annotation.
Smart Images

Figure CN119478313B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of part information annotation, and more particularly to a method for automatic annotation using a slider. Background Technology
[0002] After the engineer completes the mold design, the machining information of key parts needs to be passed on to the machining personnel. Therefore, the parts need to be converted into 2D drawings. The drawings must show the relevant dimensional information and machining information of the parts. Therefore, the designer needs to provide the part drawings after the design is completed. The designer needs to use different views and detailed dimensions and position information marked in the drawings to provide to the machining personnel. However, the slider part has a lot of dimensional information, and the designer needs to spend a lot of time on drawing and annotation, which will involve too many repetitive operations. The annotation process is tedious and inefficient. Summary of the Invention
[0003] The main purpose of this invention is to identify and annotate the processing features on the slider according to the processing requirements, thereby improving the work efficiency of designers.
[0004] Therefore, the present invention provides a method for automatic slider labeling, the technical solution of which is as follows:
[0005] A method for automatic slider labeling, the method comprising:
[0006] Collect the faces of the slider and determine the slider reference;
[0007] Obtain slider plane information based on slider reference and identify the side of slider mounting platform;
[0008] Based on the identified side of the slider mount, identify and label the slider mount surface;
[0009] Confirm and mark the inclined guide post hole according to the slider reference;
[0010] Identify and label the threaded holes and the slots where the threaded holes are located based on the collected slider surfaces.
[0011] According to the above scheme, determining the slider reference specifically involves:
[0012] Collect slider surfaces of type planar and cylindrical. Take a complete cylindrical surface and determine whether it is a through hole. If it is a through hole, the cylindrical surface is identified as a cylindrical through hole surface.
[0013] The direction perpendicular to the direction of the cylindrical through hole is taken as the X provisional direction of the slider reference, and the Y provisional direction and Z provisional direction of the slider reference are obtained by the right-hand screw rule.
[0014] From the aforementioned provisional X and Y directions, the direction with the smaller angle to the cylinder's tilt direction is selected as the X direction of the slider reference. At the same time, a symmetrical plane direction perpendicular to the X direction is found to obtain the Y direction of the slider reference. The provisional Z direction is confirmed as the Z direction.
[0015] According to the above scheme, whether a cylindrical surface is a through hole is determined by the ray method.
[0016] According to the above scheme, the specific steps for identifying the side of the slider mounting platform are as follows:
[0017] Obtain the plane and plane information of the slider, determine the plane parallel to the Y direction, and take the projection distance of a point on the plane to the highest point of the slider in the Y direction. If a plane has a minimum projection distance and the minimum value is greater than 0, then this plane is confirmed as the side of the slider mounting platform.
[0018] According to the above scheme, the plane parallel to the Y direction is determined by the dot product of the plane direction and the Y direction of the slider reference. If the absolute value is 1, then the plane is a plane parallel to the Y direction.
[0019] According to the above scheme, the specific steps for identifying the slider mounting surface are as follows:
[0020] Identify the plane in the Z direction, determine the plane parallel to the Z direction, and take the projection distance from a point on the plane to the highest point of the slider in the Z direction. If a plane has a minimum projection distance that is greater than 0 and its position is lower than the side of the slider platform, then this plane is confirmed as the slider platform surface.
[0021] According to the above scheme, the plane parallel to the Z direction is determined by the dot product of the plane direction and the Y direction of the slider reference. If the absolute value is 1, then the plane is parallel to the Z direction.
[0022] According to the above scheme, the specific details of the inclined guide post hole are confirmed based on the slider reference:
[0023] Determine whether the cylindrical through-hole surface identified in the slider reference is closed. If the cylindrical through-hole surface is closed, it is confirmed as the inclined guide post hole surface, and the through hole is an inclined guide post hole.
[0024] According to the above scheme, the specific steps for identifying threaded holes and the grooves where the threaded holes are located are as follows:
[0025] Take a non-closed circular hole surface from the collected surfaces, and take an arc at a certain height on the circular hole surface. If the central angle of the arc is 270°, then the arc is considered to be a threaded hole, and the groove where the threaded hole is located is identified based on a set of symmetrical planes.
[0026] A computer storage medium storing a computer program executable by a processor, the computer program performing the above-described method for automatic slider labeling.
[0027] The beneficial effects of this invention are:
[0028] This invention automatically identifies and marks key dimensions of the slider, such as the slider mounting platform, inclined guide post hole, and threaded hole, by automatically recognizing slider features. This avoids designers spending a lot of time on drawing and dimensioning, repeating repetitive and meaningless work, and also avoids human error during annotation, thereby improving work efficiency. Attached Figure Description
[0029] Figure 1 This is a schematic diagram of the method flow according to an embodiment of the present invention;
[0030] Figure 2 This is a dimensioning diagram of a slider according to an embodiment of the present invention;
[0031] Figure 3 This is another slider dimensioning diagram according to an embodiment of the present invention. Detailed Implementation
[0032] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0033] When machining the slider, its key parameters need to be marked. These can be determined based on customer experience and the machining scenario. The key parameters that need to be marked are: slider mounting platform, inclined guide post hole, and threaded hole (used for locking wear-resistant blocks).
[0034] To improve the efficiency of annotation of key parameters of sliders, this invention provides a method for automatic annotation of sliders, such as... Figure 1 As shown, it includes the following steps:
[0035] S1. Collect the surfaces of the slider and determine the slider reference.
[0036] In the drawing process, the datum is crucial; accurate datum identification is the foundation for machining parameters. When identifying the slider datum, the surface information on the solid model is first analyzed, including the surface type, surface direction, and surface points. The surface types collected are planes and cylinders.
[0037] Analyzing the cylindrical surface, a complete cylindrical surface is selected. Using the ray method, the surface direction is used to determine that this cylindrical surface is a through hole, and it is initially identified as having the characteristics of an inclined guide hole. This cylindrical surface is considered the cylindrical through hole surface. Analyzing the plane, the direction perpendicular to the direction of the cylindrical through hole surface is taken as the provisional X direction of the slider reference. The provisional Y and Z directions of the slider reference are obtained using the right-hand screw rule. From the provisional X and Y directions, the direction with the smaller angle to the inclined direction of the cylinder is selected as the X direction of the slider reference. At the same time, a symmetrical plane direction perpendicular to the X direction is found to obtain the Y direction of the slider reference. The provisional Z direction is confirmed as the Z direction. At this point, the slider reference is determined, which facilitates the subsequent projection of the slider view and the annotation of dimensional information.
[0038] S2. Obtain slider plane information based on slider reference and identify the side of slider mounting platform.
[0039] The slider's mounting platform needs to be machined, making its identification crucial. Generally, the slider's mounting platform is planar. Therefore, based on the reference determined by S1, the plane and its information are obtained. The dot product of the plane's direction and the slider's reference Y-direction yields a surface parallel to the Y-direction. These parallel surfaces are then identified. The projection distance from a point on this parallel surface to the highest point of the slider in the Y-direction is calculated. If a plane has a minimum projection distance greater than 0, this plane is identified as a side of the slider's mounting platform. The same method is used to find symmetrical mounting platform sides.
[0040] S3. Based on the identified slider mounting side, identify the mounting surface and mark it.
[0041] After identifying the side of the mounting platform, the absolute value of the dot product between the plane direction and the Y-direction of the slider reference is 1, indicating a surface parallel to the Z-direction. The projection distance from a point on this parallel Z-direction surface to the highest point of the slider in the Z-direction is then calculated. If a plane has a minimum projection distance greater than 0, and its position is lower than the side of the slider mounting platform, then this surface is confirmed as the slider mounting platform surface.
[0042] S4. Confirm the inclined guide post hole according to the slider reference and mark it.
[0043] In step S1, the characteristics of the oblique guide hole were initially confirmed. In this step, the cylindrical through-hole surface identified in S1 is judged. If it is a closed cylindrical through-hole surface, it is judged to be the oblique guide hole surface, and the through-hole is confirmed to be an oblique guide hole. After the oblique guide hole is identified, a sectional view of the oblique guide hole is shown on the main view, and the size and location information of the oblique guide hole are marked.
[0044] S5. Identify and label the threaded holes and the slots where the threaded holes are located based on the collected slider surfaces.
[0045] Among the collected surfaces, take the non-closed circular hole surface, and take the arc at a certain height of the circular hole surface. If the central angle of the arc is 270°, then the arc is considered to be a threaded hole. When marking the position information, it is also necessary to identify the information of the groove where the threaded hole is located, and lock the groove where the threaded hole is located based on a set of symmetrical planes.
[0046] like Figure 2 and Figure 3 As shown, this invention, by automatically recognizing slider features, can automatically annotate key dimensions such as slider mounting platforms, inclined guide pin holes, and threaded holes, avoiding designers spending a lot of time on drawing and dimensioning, repeating repetitive and meaningless work, and also avoiding human errors during annotation, thereby improving work efficiency. Figure 2 and Figure 3 Only the automatic annotation effect diagram is given. The dimensions annotated in the diagram are not within the protection scope of this invention and are unrelated to the protection scope of this invention. Therefore, they are blurred.
[0047] It should be noted that, depending on the implementation needs, the various steps / components described in this application can be broken down into more steps / components, or two or more steps / components or parts of the operation of steps / components can be combined into new steps / components to achieve the purpose of this invention.
[0048] The order of the steps in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0049] It should be understood that those skilled in the art can make improvements or modifications based on the above description, and all such improvements and modifications should fall within the protection scope of the appended claims.
Claims
1. A method for automatic slider labeling, characterized in that, The method includes: Collect the faces of the slider and determine the slider reference; Obtain slider plane information based on slider reference and identify the side of slider mounting platform; Based on the identified side of the slider mount, identify and label the slider mount surface; Confirm and mark the inclined guide post hole according to the slider reference; Identify and label the threaded holes and the slots where the threaded holes are located based on the collected slider surfaces; Specifically, the side of the identification slider mounting platform is as follows: Obtain the plane and plane information of the slider, determine the plane parallel to the Y direction, take the projection distance of a point on the plane to the highest point of the slider in the Y direction, if a plane has a minimum projection distance and the minimum value is greater than 0, then this plane is confirmed as the side of the slider mounting platform. Specifically, the identification slider mounting surface is as follows: Identify the plane in the Z direction, determine the plane parallel to the Z direction, and take the projection distance from a point on the plane to the highest point of the slider in the Z direction. If a plane has a minimum projection distance that is greater than 0 and its position is lower than the side of the slider platform, then this plane is confirmed as the slider platform surface.
2. The method for automatic slider labeling according to claim 1, characterized in that, The specific steps for determining the slider reference are as follows: Collect slider surfaces of type planar and cylindrical. Take a complete cylindrical surface and determine whether it is a through hole. If it is a through hole, the cylindrical surface is identified as a cylindrical through hole surface. The direction perpendicular to the direction of the cylindrical through hole is taken as the X provisional direction of the slider reference, and the Y provisional direction and Z provisional direction of the slider reference are obtained by the right-hand screw rule. From the aforementioned provisional X and Y directions, the direction with the smaller angle to the cylinder's tilt direction is selected as the X direction of the slider reference. At the same time, a symmetrical plane direction perpendicular to the X direction is found to obtain the Y direction of the slider reference. The provisional Z direction is confirmed as the Z direction.
3. The method for automatic slider labeling according to claim 2, characterized in that, To determine whether a cylindrical surface is a through hole, the ray-cutting method is used.
4. The method for automatic slider labeling according to claim 1, characterized in that, The plane parallel to the Y direction is determined by multiplying the plane direction by the Y direction of the slider reference. If the absolute value is 1, then the plane is parallel to the Y direction.
5. The method for automatic slider labeling according to claim 1, characterized in that, The plane parallel to the Z direction is determined by multiplying the plane direction by the Z direction of the slider reference. If the absolute value is 1, then the plane is parallel to the Z direction.
6. A method for automatic slider labeling according to claim 1 or 2, characterized in that, Based on the slider reference, the specific details of the inclined guide post hole are as follows: Determine whether the cylindrical through-hole surface identified in the slider reference is closed. If the cylindrical through-hole surface is closed, it is confirmed as the inclined guide post hole surface, and the through hole is an inclined guide post hole.
7. The method for automatic slider labeling according to claim 1, characterized in that, The specific steps for identifying threaded holes and the slots in which they are located are as follows: Take a non-closed circular hole surface from the collected surfaces, and take an arc at a certain height on the circular hole surface. If the central angle of the arc is 270°, then the arc is considered to be a threaded hole, and the groove where the threaded hole is located is identified based on a set of symmetrical planes.
8. A computer storage medium, characterized in that, It contains a computer program that can be executed by a processor, which performs a method for automatic slider labeling according to any one of claims 1-7.