Method and system for automatically generating standard planetary roller screw pair engineering drawing

Through the combination of Visual Basic 6.0 and AutoCAD, the automated drawing of planetary roller screw pair engineering drawings is realized, which solves the problems of low design efficiency and insufficient standardization and improves design efficiency and adaptability.

CN120597360APending Publication Date: 2025-09-05NANJING UNIV OF SCI & TECH
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510625033.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-15
Publication Date
2025-09-05

AI Technical Summary

Technical Problem

In the existing technology, the engineering drawing design efficiency of planetary roller screw pairs is low, and it is difficult to achieve standardized automatic generation. In addition, the drawing specifications of different companies vary greatly, resulting in a large design workload and prone to omissions or inconsistencies in marking.

Method used

Visual Basic 6.0 software was used for secondary development, combined with AutoCAD, to establish a parametric drawing form and a human-computer interaction interface to realize the automated drawing of planetary roller screw pair engineering drawings, including the acquisition and annotation of part parameters.

Benefits of technology

It realizes the rapid and automatic generation of planetary roller screw pair engineering drawings, improves design efficiency, meets the needs of diversified drawing specifications, and significantly shortens the new product development cycle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120597360A_ABST
    Figure CN120597360A_ABST
Patent Text Reader

Abstract

The invention discloses a standard planetary roller screw pair engineering drawing automatic generation method and system, relates to the technical field of rolling function component design, and designs standard planetary roller screw pair engineering drawing automatic generation software by taking Visual Basic 6.0 as a development environment, Visual Basic as a development language and Autocad as drawing software, so as to realize quick drawing of all parts. Through parameterization design and an intelligent drawing technology, the engineering drawing meeting the requirements is automatically generated according to the input parameters, the drawing time is shortened, and the design efficiency is greatly improved. The rapid drawing requirement is met, powerful support is provided for product serialization development, and the new product development period is remarkably shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of rolling functional component design, and more particularly to a method and system for automatically generating engineering drawings of a standard planetary roller screw pair. Background Art

[0002] Currently, planetary roller screws, as high-precision, high-rigidity transmission mechanisms, are widely used in high-tech fields such as aerospace, precision machine tools, and industrial robotics. Their complex structure primarily consists of key components such as the screw, rollers, nuts, and internal gear rings. The precision of the fit between these components directly impacts transmission performance. Traditional engineering drawing design processes require designers to manually create drawings, resulting in low design efficiency and insufficient standardization.

[0003] Due to the diverse specifications of the planetary roller screw pair series, manual drawing requires repeated adjustments to dimensional chains, tolerances, and technical requirements. This is not only labor-intensive but also prone to omissions in annotations and inconsistent specifications. While existing CAD software offers parametric design capabilities, it lacks specialized modules specifically for planetary roller screw pairs, making it difficult to automatically generate standard drawings, hindering product development efficiency. Furthermore, different companies have varying requirements for the expression of engineering drawings, making it difficult for manual drawing to quickly adapt to diverse drafting specifications.

[0004] Therefore, how to automatically complete the engineering drawing of a standard planetary roller screw pair and thereby improve design efficiency is an urgent problem that those skilled in the art need to solve. Summary of the Invention

[0005] In view of this, the present invention provides a method and system for automatically generating engineering drawings of standard planetary roller screw pairs. Using Visual Basic as the development language and VB6.0 software as the development tool, targeted secondary development of the two-dimensional software AutoCAD is carried out to realize the automatic generation of engineering drawings of standard planetary roller screw pairs.

[0006] In order to achieve the above object, the present invention adopts the following technical solutions:

[0007] A method for automatically generating engineering drawings of a standard planetary roller screw pair, comprising:

[0008] Analyze the components of the standard planetary roller screw pair and obtain the composition results;

[0009] Create a parametric drawing form in VB6.0 software, add button controls to the form, and establish a connection between VB6.0 software and AutoCAD software;

[0010] Write the corresponding parametric drawing program according to the composition results;

[0011] Establish a human-computer interaction interface for part parametric drawing, and use it to obtain part parameters;

[0012] According to the parametric drawing program and part parameters, drive AutoCAD to complete the drawing of parts.

[0013] Optionally, the assembly includes a lead screw, a roller, a nut, an inner gear ring, a retaining frame, a circlip and an overall assembly drawing.

[0014] Optionally, establishing a connection between VB6.0 software and AutoCAD software specifically includes:

[0015] First, add the library file and the AutoCAD 2019type library file in the VB6.0 software; then add the SSTAB control in the parametric drawing form, add the button control in the SSTAB, and add the connection program in the button control to realize the connection between the VB6.0 software and the AutoCAD software.

[0016] Optionally, establishing a human-computer interaction interface for part parametric drawing specifically includes:

[0017] Create a new form in VB6.0 software and add functional controls, including text control textbox, label control label, button control commandbutton, picture control Image and SSTab control. The SStab control provides a set of tabs, each tab is used to establish the user interface for drawing the engineering drawing of the planetary roller screw pair; the functional controls are specifically the parts drawing and assembly drawing function buttons, which respectively draw the engineering drawings of the screw, roller, nut, inner gear ring, cage, elastic ring parts and the overall assembly drawing.

[0018] Optionally, annotations may be added, including:

[0019] When the part is drawn, dimension annotations need to be added to indicate the length, width, and diameter of the drawn part, so that the part can be processed easily. AddDimAligned represents alignment annotation, AddDimDiametric represents diameter annotation, AddDimAngular represents angle annotation, AddDimRadial represents radius annotation, and AddText represents adding text.

[0020] According to the annotation command, write a part dimension annotation program. In the program, point1 represents the coordinates of the annotation starting point, point2 represents the coordinates of the annotation end point, location represents the coordinates of the annotation position, insertionPoint1 represents the coordinates of the text insertion point, and text represents the added text.

[0021] A standard planetary roller screw pair engineering drawing automatic generation system, comprising:

[0022] Composition analysis module, which analyzes the composition of standard planetary roller screw pair parts and obtains the composition results;

[0023] Connection establishment module, create a parametric drawing form in VB6.0 software, add button controls in the form, and establish the connection between VB6.0 software and AutoCAD software;

[0024] Program writing module, writing corresponding parametric drawing program according to the composition results;

[0025] Parameter acquisition module, establishes a human-computer interaction interface for part parametric drawing, and uses the human-computer interaction interface for part parametric drawing to obtain part parameters;

[0026] The part drawing module drives AutoCAD to complete the drawing of parts based on the parametric drawing program and part parameters.

[0027] Through the above technical solution, it can be seen that compared with the prior art, the present invention discloses a method and system for automatically generating engineering drawings of a standard planetary roller screw pair. Using Visual Basic 6.0 as the development environment, Visual Basic as the development language, and AutoCAD as the drawing software, a software for automatically generating engineering drawings of a standard planetary roller screw pair is designed, which realizes the rapid drawing of all parts. Through parametric design and intelligent drawing technology, the present invention automatically generates engineering drawings that meet the requirements based on input parameters, shortens the drawing time, and greatly improves the design efficiency. The present invention not only meets the demand for fast drawing, but also provides strong support for the development of product series, significantly shortening the new product development cycle. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0029] Figure 1 The automatic generation and implementation process of the standard planetary roller screw pair engineering drawing provided by the present invention;

[0030] Figure 2 The interface for adding AutoCAD library files provided by the present invention;

[0031] Figure 3 A user interface for drawing a planetary roller screw provided by the present invention;

[0032] Figure 4 The drawing interface for the planetary roller screw assembly diagram provided by the present invention;

[0033] Figure 5 The screw part drawing provided by the present invention is drawn based on the engineering drawing drawing module;

[0034] Figure 6 A nut part drawing drawn based on an engineering drawing drawing module provided by the present invention;

[0035] Figure 7 A roller part drawing drawn based on an engineering drawing drawing module provided by the present invention;

[0036] Figure 8 The planetary roller screw assembly drawing provided by the present invention is drawn based on the engineering drawing drawing module;

[0037] Among them, 1-screw, 2-roller, 3-nut, 4-inner gear ring, 5-cage, 6-circlip. DETAILED DESCRIPTION

[0038] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0039] The embodiment of the present invention discloses a method for automatically generating engineering drawings of a standard planetary roller screw pair, such as Figure 1 Shown, including:

[0040] Analyze the components of the standard planetary roller screw pair and obtain the composition results;

[0041] Create a parametric drawing form in VB6.0 software, add button controls to the form, and establish a connection between VB6.0 software and AutoCAD software;

[0042] Write the corresponding parametric drawing program according to the composition results;

[0043] Establish a human-computer interaction interface for part parametric drawing, and use it to obtain part parameters;

[0044] According to the parametric drawing program and part parameters, drive AutoCAD to complete the drawing of parts.

[0045] In a specific embodiment, the assembly includes a lead screw, a roller, a nut, an inner gear ring, a retaining frame, a circlip, and an overall assembly drawing.

[0046] First, you need to create a parameterized drawing form in VB6.0 software and add button controls to the form.

[0047] Double-click the button control to enter the button control programming interface, in which you can write a parametric drawing program for secondary development of AutoCAD.

[0048] Write a program to connect to Autocad, including:

[0049] First, add the library file to the VB6.0 software, including the AutoCAD 2019 type library file. Then, add the SSTAB control to the form, add a button control to the SSTAB control, and add a connector to the button control to connect the VB6.0 software to the AutoCAD software.

[0050] Write an engineering drawing program, including:

[0051] Drawing an engineering drawing in AutoCAD is primarily accomplished by drawing points, lines, circles, arcs, and so on. The program you write needs to drive AutoCAD to draw these geometric features. Therefore, writing a drawing program requires using AutoCAD API functions. These functions are commonly used to write automatic part drawing programs.

[0052] AddLine represents drawing a straight line, AddArc represents drawing an arc, and AddCircle represents drawing a circle.

[0053] In AutoCAD, geometric features are drawn using the coordinates of points. Therefore, in these programs, startPoint represents the coordinates of the starting point, endPoint represents the coordinates of the end point, CenterPoint represents the coordinates of the center of the circle or arc, and R is the radius of the circle.

[0054] In a specific embodiment, adding a label specifically includes:

[0055] When the part is drawn, dimension annotations need to be added to indicate the length, width, diameter, etc. of the drawn part to facilitate processing of the part.

[0056] AddDimAligned represents alignment dimensioning, AddDimDiametric represents diameter dimensioning, AddDimAngular represents angle dimensioning, AddDimRadial represents radius dimensioning, and AddText represents adding text.

[0057] Based on these annotation commands, a part dimension annotation program can be written. In the program, point1 represents the coordinates of the annotation starting point, point2 represents the coordinates of the annotation end point, location represents the coordinates of the annotation position, insertionPoint1 represents the coordinates of the text insertion point, and text represents the added text.

[0058] In a specific embodiment, establishing a human-computer interaction interface for part parametric drawing specifically includes:

[0059] A button control is added to the VB6.0 software, and a contour drawing program and a marking program are written in the button control according to the outer contour of the planetary roller screw pair parts to form a complete engineering drawing parametric drawing program.

[0060] Once the parametric drawing program is complete, create a new form in VB6.0 and add functional controls, including a text control (textbox), a label control (label), a button control (commandbutton), an image control (Image), and an SSTab control. The SStab control provides a set of tabs, each of which can be used to create a user interface for drawing the planetary roller screw assembly's engineering drawing. The functional controls include buttons for drawing parts and assembly drawings, which generate engineering drawings of the screw, roller, nut, internal gear ring, cage, and circlip, as well as an overall assembly drawing.

[0061] A standard planetary roller screw pair engineering drawing automatic generation system, comprising:

[0062] Composition analysis module, which analyzes the composition of standard planetary roller screw pair parts and obtains the composition results;

[0063] Connection establishment module, create a parametric drawing form in VB6.0 software, add button controls in the form, and establish the connection between VB6.0 software and AutoCAD software;

[0064] Program writing module, writing corresponding parametric drawing program according to the composition results;

[0065] Parameter acquisition module, establishes a human-computer interaction interface for part parametric drawing, and uses the human-computer interaction interface for part parametric drawing to obtain part parameters;

[0066] The part drawing module drives AutoCAD to complete the drawing of parts based on the parametric drawing program and part parameters.

[0067] A specific example is introduced below to further illustrate the method of the present invention.

[0068] This embodiment is used to input structural dimension parameters and create engineering drawings. The specific steps are as follows:

[0069] Step 1: Analyze the parts of the standard planetary roller screw pair to lay the foundation for drawing engineering drawings in AutoCAD software. First, add the library file in VB6.0 software and add the Autocad2019type library file. Then add the connection program in VB6.0 software to connect VB 6.0 software with Autocad software. The connection interface is as follows: Figure 2 shown.

[0070] The connection procedure is as follows:

[0071] Dim acadApp As Object

[0072] Set acadApp = New AcadApplication / / Start the AutoCAD application

[0073] acadApp.Visible = True / / Set to visible

[0074] Through this program, you can open the AutoCAD interface and then call the AutoCAD function.

[0075] Step 2: The key program format for the automatic drawing of parts written according to the drawing command is as follows:

[0076] Set line1 = acadApp.ActiveDocument.modelSpace.AddLine(startPoint,endPoint) / / Draw a straight line

[0077] Set arcObj1 = acadApp.ActiveDocument.modelSpace.AddArc(CenterPoint, startPoint, endPoint) / / draw an arc

[0078] Set circle1 = acadApp.ActiveDocument.modelSpace.AddCircle(CenterPoint, R) / / Draw a circle

[0079] Step 3: Some key program formats are as follows:

[0080] Set AddDimAligned = acadApp.ActiveDocument.modelSpace.AddDimAligned(point1,point2,location) / / Add alignment annotation

[0081] Set AddDimDiametric = acadApp.ActiveDocument.modelSpace.AddDimDiametric(point1,point2,location) / / Add diameter dimension

[0082] Set addMText=acadApp.ActiveDocument.modelSpace.AddMText(insertionPoint1,50,text) / / Add text

[0083] Step 4: Enter the structural dimensions and corresponding annotations of the planetary roller screw pair parts in the corresponding part interface, then click the corresponding part drawing button, and the program will drive the AutoCAD software to automatically draw the corresponding part engineering drawing. The planetary roller screw engineering drawing automatic drawing interface is as follows: Figure 3 shown.

[0084] Step 5: Click the function buttons of Part Drawing and Assembly Drawing in the main interface to draw engineering drawings of parts such as screw, nut, roller and cage and overall assembly drawing respectively. The automatic drawing interface of planetary roller screw assembly drawing is as follows: Figure 4 shown.

[0085] Step 6: The system will pop up the part drawing interface and assembly drawing interface, and then enter the structural dimensions of the planetary roller screw pair in the user interface. After entering the screw data in the part automatic drawing interface and assembly drawing automatic drawing interface, draw the screw engineering drawing as shown below: Figure 5 shown.

[0086] Step 7: Enter the nut data in the part automatic drawing interface and the assembly drawing automatic drawing interface and draw the nut engineering drawing as follows Figure 6 shown.

[0087] Step 8: Enter the roller data in the parts automatic drawing interface and the assembly drawing automatic drawing interface and draw the roller engineering drawing as follows: Figure 7 shown.

[0088] Step 9: Enter the relevant data in the automatic drawing interface of the assembly drawing and draw the assembly drawing of the planetary roller screw pair as shown below: Figure 8As shown. It includes the assembly relationship of the screw 1, roller 2, nut 3, internal gear ring 4, retainer 5, and elastic retaining ring 6. The quantity relationship can be 1 screw 1, 11 rollers 2, 1 nut 3, 2 internal gear rings 4, 2 retainers 5, and 2 elastic retaining rings 6;

[0089] It should be further explained that the screw 1, roller 2, and nut 3 can be made of GCr15; the inner gear 4 and retainer 5 can be made of 9Cr18, and the elastic retaining ring 6 can be made of 65Mn.

[0090] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Reference can be made to the common and similar parts between the various embodiments. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method description.

[0091] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not limited to the embodiments shown herein but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for automatically generating engineering drawings of a standard planetary roller screw pair, characterized in that: include: Analyze the components of the standard planetary roller screw pair and obtain the composition results; Create a parametric drawing form in VB6.0 software, add button controls to the form, and establish a connection between VB6.0 software and AutoCAD software; Write the corresponding parametric drawing program according to the composition results; Establish a human-computer interaction interface for part parametric drawing, and use it to obtain part parameters; According to the parametric drawing program and part parameters, drive AutoCAD to complete the drawing of parts.

2. The method for automatically generating engineering drawings of a standard planetary roller screw pair according to claim 1, characterized in that: The assembly includes a lead screw, a roller, a nut, an inner gear ring, a retaining frame, an elastic retaining ring and an overall assembly drawing.

3. The method for automatically generating engineering drawings of a standard planetary roller screw pair according to claim 1, characterized in that: Establishing a connection between VB6.0 software and AutoCAD software specifically includes: First, add the library file and the AutoCAD 2019type library file in the VB6.0 software; then add the SSTAB control in the parametric drawing form, add the button control in the SSTAB, and add the connection program in the button control to realize the connection between the VB6.0 software and the AutoCAD software.

4. The method for automatically generating engineering drawings of a standard planetary roller screw pair according to claim 1, characterized in that: Establishing a human-computer interaction interface for part parametric drawing specifically includes: Create a new form in VB6.0 software and add functional controls, including text control textbox, label control label, button control commandbutton, picture control Image and SSTab control. The SStab control provides a set of tabs, each tab is used to establish the user interface for drawing the engineering drawing of the planetary roller screw pair; the functional controls are specifically the parts drawing and assembly drawing function buttons, which respectively draw the engineering drawings of the screw, roller, nut, inner gear ring, cage, elastic ring parts and the overall assembly drawing.

5. The method for automatically generating engineering drawings of a standard planetary roller screw pair according to claim 1, characterized in that: It also includes adding annotations, including: When the part is drawn, dimension annotations need to be added to indicate the length, width, and diameter of the drawn part, so that the part can be processed easily. AddDimAligned represents alignment annotation, AddDimDiametric represents diameter annotation, AddDimAngular represents angle annotation, AddDimRadial represents radius annotation, and AddText represents adding text. According to the annotation command, write a part dimension annotation program. In the program, point1 represents the coordinates of the annotation starting point, point2 represents the coordinates of the annotation end point, location represents the coordinates of the annotation position, insertionPoint1 represents the coordinates of the text insertion point, and text represents the added text.

6. A standard planetary roller screw pair engineering drawing automatic generation system, characterized by: A method for automatically generating engineering drawings of a standard planetary roller screw pair according to any one of claims 1 to 5 is characterized by comprising: Composition analysis module, which analyzes the composition of standard planetary roller screw pair parts and obtains the composition results; Connection establishment module, create a parametric drawing form in VB6.0 software, add button controls in the form, and establish the connection between VB6.0 software and AutoCAD software; Program writing module, writing corresponding parametric drawing program according to the composition results; Parameter acquisition module, establishes a human-computer interaction interface for part parametric drawing, and uses the human-computer interaction interface for part parametric drawing to obtain part parameters; The part drawing module drives AutoCAD to complete the drawing of parts based on the parametric drawing program and part parameters.

Citation Information

Patent Citations

  • Engineering Drawing Method of Rolling Bearing Based on VB

    CN109344499A

  • Tire tread forming die plate drawing method based on Excel and CAD platform

    CN110083881A

  • Design method of automatic drawing system software of elevator civil engineering drawing

    CN110990012A

  • Ansys Workbench-based standard planetary roller screw multi-pair dynamic coupling modeling method

    CN114266114A

  • Building structure automatic design and automatic drawing

    US20250021707A1