Parametric modeling plug-in for chain wheel of mining scraper conveyor based on UG secondary development

Through the UG secondary development of the sprocket parameterized modeling plug-in for mining scraper conveyor sprocket, the modeling is simplified by sketch plane stretching and Boolean difference methods, solving the problems of sprocket modeling complexity and size customization, and realizing the The generation of efficient and customized sprocket models is improved and production efficiency is improved.

CN111967104BActive Publication Date: 2024-11-19QINGDAO OAKE LNTELLIGENT SYST CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202010833268.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-18
Publication Date
2024-11-19
Estimated Expiration
2040-08-18

AI Technical Summary

Technical Problem

Due to the complex structure and the size of the mining scraper conveyor sprocket is not designed according to national standards, which makes it difficult and time-consuming to model. The existing parametric modeling plug-ins cannot customize the size of individual parts, which limits the production efficiency and application value.

Method used

Based on UG secondary development, it provides a parameterized modeling plug-in for mining scraper conveyor sprocket sprocket, and uses *.dll executable file to simplify the modeling steps through sketch plane stretching and Boolean difference methods to achieve the simplest modeling method and the highest Efficiency, supports modeling of custom parameters and sprocket stretching features.

Benefits of technology

Simple operation, maximum custom parameters, can quickly generate sprocket models, reduce technical requirements of drawing personnel, improve production efficiency, and is suitable for custom modeling of multiple sprocket models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111967104B_ABST
    Figure CN111967104B_ABST
Patent Text Reader

Abstract

The invention discloses a parametric modeling plug-in for a mining scraper conveyor sprocket based on the secondary development of UG. The function is realized in an interactive manner of an *.dll executable file. According to the analysis result of the sprocket structure, the sprocket modeling steps are planned and simplified to achieve the simplest modeling method and the highest efficiency. Considering the complexity of the built sprocket model and the convenience of modifying the parameters in the later stage and the stretching characteristics of the sprocket itself, the model is established by a sketch plane stretching method. The invention has the following beneficial effects: the operation process is simple, and the operator does not need to master the UG software. The sprocket model can be automatically generated by directly inputting the corresponding size parameters in the plug-in interface; the number of custom parameters is provided to the maximum extent. In actual production, the sprocket with individual part sizes different from the national standard can be custom modeled.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of sprocket wheels for mining scraper conveyors, and in particular relates to a parametric modeling plug-in for sprocket wheels for mining scraper conveyors based on secondary development of UG. Background Art

[0002] The sprocket of the mining scraper conveyor used in the coal industry is different from the ordinary sprocket. It contains four times the number of chain holes as the number of teeth. When running, the chain ring is placed in the chain hole, and the planes of the two adjacent chain rings are perpendicular to each other. This working method makes its structure quite different from the common sprocket, and it is very easy to wear. In addition, it is expensive due to material and process problems. At present, once the sprocket is worn, the chain hole cannot hold the ring chain well, so it cannot work normally, and even brings certain dangers to the work site. Therefore, replacing a new sprocket to maintain production has become the main way to solve the wear of the chain hole, and the scrapped sprocket often only has a little wear on the edge of the chain hole, and the actual wear volume is not large, so replacing the entire sprocket will seem a bit "wasteful". The eliminated sprockets have to be recast, which will waste a lot of resources and time, and even cause certain pollution to the environment. The chain nests usually have defects of similar shapes on the same side, which provides a great possibility for repairing the sprocket. Under this premise, we hope to scan the worn sprocket, and perform Boolean subtraction between the scanned and optimized model and the standard parts of the sprocket of this model to obtain the shape and size of the worn area, and then use 3D printing to repair the worn area, and then perform secondary milling to recycle it. At this time, it is very important to quickly obtain the required sprocket model.

[0003] Although the model of the required model can be obtained through some conventional commands of UG, the complexity of the sprocket structure makes its modeling difficult and time-consuming. The high technical level requirements for drafting personnel have become a bottleneck restricting the next step of work. On the other hand, in actual equipment production, there are many sprocket models, and most of the sprockets put into use are not designed and produced strictly in accordance with the dimensions provided by national standards, which further increases the difficulty of modeling. At present, the existing sprocket parametric modeling plug-in only provides a fixed model of the national standard sprocket, and cannot customize the dimensions of individual parts. Therefore, it has little application value in actual production. By analyzing the design steps of the sprocket, we found that the modeling process of the sprocket is basically the same, but there are differences in the dimensions of individual parts. In this context, in order to facilitate production and improve production efficiency, we have parametrically developed the modeling process of the sprocket of the mining scraper conveyor, which saves time and cost for subsequent work and provides great convenience for drafting personnel. Summary of the invention

[0004] The purpose of the present invention is to provide a parametric modeling plug-in for mining scraper conveyor sprockets based on the secondary development of UG, so as to solve the problem proposed in the above background technology that although the model of the required model can be obtained through some conventional commands of UG, the complexity of the sprocket structure makes its modeling difficult and time-consuming, and the high technical level requirements for the drafting personnel have become a bottleneck restricting the next step of work. On the other hand, in actual equipment production, there are many sprocket models, and most of the sprockets put into use are not designed and produced strictly in accordance with the dimensions provided by national standards, which further increases the difficulty of modeling. At present, the existing sprocket parametric modeling plug-in only provides a fixed model of the national standard sprocket, and cannot customize the dimensions of individual parts.

[0005] To achieve the above purpose, the present invention provides the following technical solutions: a parametric modeling plug-in for a mining scraper conveyor sprocket developed based on UG secondary development is used to implement the function in an interactive manner using *.dll executable files. According to the sprocket structure analysis results, the sprocket modeling steps are planned and simplified to achieve the simplest modeling method and the highest efficiency. Considering the complexity of the built sprocket model and the convenience of modifying parameters and the stretching characteristics of the sprocket itself in the later stage, the model is established by the sketch plane stretching method. The modeling steps are as follows:

[0006] Step 1: Sketch the center area of ​​the sprocket, which is a torus. The sketch is two concentric circles with an outer diameter of D. i , the inner diameter is D h ;

[0007] Step 2: Sketch the shape of the sprocket teeth;

[0008] Step 3: Fillet the model accordingly according to the arc radius R4 of the vertical ring groove and the arc radius R5 of the short tooth root;

[0009] Step 4: For the acquisition operation of the sprocket groove, the Boolean difference method is used. First, the solid model of the tool is drawn, and then the tool is used to find the difference on the solid of the previous Boolean summation to obtain the required model;

[0010] Step 5: Draw the second sketch required for sweeping;

[0011] Step 6: The tool for Boolean difference is obtained by two sweeps. The first time, the semicircle with a radius of R3 is used as the guide line, and the closed area surrounded by line segment 2, line segment 5, line segment 6, and arc 3 is used as the sweep section to obtain swept entity 1; the second time, arc 2 is used as the sweep guide line, and the surface surrounded by the closed curve formed by the semicircular arc and line segment 7 is used as the sweep section to obtain swept entity 2. Then, the two swept entities are Boolean summed, and the tool after summation is mirrored through the plane formed by line segment 1 and the Z axis to obtain the tool required for difference.

[0012] Step 7: Use the tool obtained above to perform Boolean subtraction on the stretched entity of Boolean summation, so that the sprocket groove is cut on the sprocket teeth. At this time, the subtraction feature needs to be circularly arrayed to obtain the final sprocket model.

[0013] As a preferred technical solution of the present invention, in step 4, the entity obtained by the tool through two sweeps needs to create two sketches, two guide lines and a cross-sectional figure.

[0014] As a preferred technical solution of the present invention, in step six, a single curve is used when selecting a curve.

[0015] As a preferred technical solution of the present invention, in step seven, the number is the number of teeth N, and the span is 360°.

[0016] As a preferred technical solution of the present invention, the parameters that need to be determined are: the number of sprocket teeth N, the nominal size d of the chain, and the pitch p.

[0017] As a preferred technical solution of the present invention, the parameters to be measured are: sprocket outer diameter D e , sprocket ring groove diameter D i , sprocket ring groove width l, center hole diameter D h , the axial thickness of the short teeth of the sprocket is 1T1, the axial thickness of the short teeth of the sprocket is 2T3, and the thickness of the short teeth is W.

[0018] Compared with the prior art, the present invention has the following beneficial effects:

[0019] (1) The operation process is simple, and the operator does not need to master the UG software. The sprocket model can be automatically generated by directly entering the corresponding size parameters in the plug-in interface;

[0020] (2) Provide a maximum number of custom parameters. In actual production, custom modeling can be performed on sprockets whose individual dimensions differ from national standards. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 This is a schematic diagram of the plug-in interface structure of the present invention;

[0022] Figure 2 It is a schematic diagram of the sprocket effect structure generated by the present invention. DETAILED DESCRIPTION

[0023] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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 creative work are within the scope of protection of the present invention.

[0024] See also Figure 1 and Figure 2 The present invention provides a technical solution: a parametric modeling plug-in for a mining scraper conveyor sprocket developed based on UG secondary development, using an interactive method of *.dll executable files to implement functions, planning and simplifying the sprocket modeling steps according to the sprocket structure analysis results, achieving the simplest modeling method and the highest efficiency, considering the complexity of the built sprocket model and the convenience of later parameter modification and the stretching characteristics of the sprocket itself, using the sketch plane stretching method to build the model, the modeling steps are as follows:

[0025] Step 1: Sketch the center area of ​​the sprocket, which is a torus. The sketch is two concentric circles with an outer diameter of D. i , the inner diameter is D h ;

[0026]

[0027] The above procedure is based on D i The diameter is the diameter, the orientation matrix is ​​the matrix of the UG sketch itself, and the center is (0, 0, 0) to model the ring sketch, and then constrain and mark it. The same steps can be used to add the inner circle, that is, the sketch of the center hole. In order to ensure that zero parameters can be entered, a conditional statement is used to determine whether it is established;

[0028]

[0029] The above program is used to stretch the center area of ​​the sprocket. T1 is the axial thickness 1 of the sprocket short tooth, T2 is the width L of the sprocket ring groove, and T3 is the axial thickness 2 of the sprocket short tooth. In order to keep the inner planes of the two gear teeth symmetrical to the XOY plane, this stretching method is used to facilitate subsequent operations. The center ring body modeling can be completed by stretching in the Z direction according to the parameters entered by the user.

[0030] Step 2: Sketch the shape of the sprocket teeth;

[0031] line1=workPart.Curves.CreateLine(startPoint1, endPoint1);

[0032] line2=workPart.Curves.CreateLine(startPoint2, endPoint2);

[0033] geom1_1.Geometry = line2;

[0034] geom2_1.Geometry = lline1;

[0035] sketchGeometricConstraintl=theSession.ActiveSketch.CreateCoincidentConstraint(geom1_1, geom2_1);

[0036] First create two line segments, and then form a spline curve by connecting constraints;

[0037]

[0038] The above procedure is to limit the angle of two connected line segments in the spline curve, and each model is 15°;

[0039] geom2.Geometry=line1:

[0040] sketchGeometricConstraint2=theSession.ActiveSketch.CreateVerticalConstraint(geom2):

[0041] Apply vertical constraints to line segment 1;

[0042] Curve[]curves2=new Curve[1]:

[0043] curves2[0] = line2:

[0044] Curve[]curves3=new Curve[1]:

[0045] curves3[0]=line1:

[0046] DatumAxis datumAxis1=(DatumAxis)workPart.Datums.FindObject("DATUM_CSYS(0)Y axis"):

[0047] sketchMirrorPatternBuilder1.Directionobject.Value=datumAxis1:

[0048] nXObject2=sketchMirrorPatternBuilder 1.Commit():

[0049] The above operation is to make the two connected line segments symmetrical about the Y axis to obtain the contours on both sides of the gear teeth;

[0050] arc2=workPart.Curves.CreateArc(center, nxmatrix, 30, (30*Math.PI / 180.0), (20*Math.PI / 180.0)):

[0051] geom1_3.Geometry = arc2:

[0052] geom2_3.Geometry=line1:

[0053] sketchGeometricConstraint4=theSession.ActiveSketch.CreateCoincidentConstraint(geom1_3, geom2_3):

[0054] geom1_4.Geometry=arc2:

[0055] geom2-4.Geometry=(Line)objects1[1]:

[0056] sketchGeometricConstraint5=theSession.ActiveSketch.CreateCoincidentConstraint(geom1_4, geom2_4);

[0057] The above program takes (0, 0, 0) as the center of the circle and the orientation matrix is ​​the matrix of the UG sketch itself. It creates a new arc on the gear tooth and constrains its two end points with the upper end point of the upper line segment and its mirror image through connection constraints.

[0058] arc3=workPart.Curves.CreateArc(center, nxmatrix, 180, (40*Math.PI / 180.0), (45*Math.PI / 180.0));

[0059] geom1_6.Geometry=arc3:

[0060] geom2_6.Geometry=line2:

[0061] sketchGeometricConstraint7=theSession.ActiveSketch.CreateCoincidentConstraint(geom1_6, geom2_6);

[0062] geom1_7.Geometry=arc3:

[0063] geom2_7.Geometry=(Line)objects1[0]:

[0064] sketchGeometricConstraint8=theSesslon.ActiveSketch.CreateCoincidentConstraint(geom1_7, geom2_7);

[0065] The above program takes (0, 0, 0) as the center of the circle and the orientation matrix is ​​the matrix of the UG sketch itself. It creates a new gear tooth lower arc and constrains its two end points with the lower line segment and its mirror image through connection constraints.

[0066]

[0067] The above program performs D on the arc on the gear teeth. i / 2 size constraint;

[0068]

[0069] The above procedure performs D on the lower arc of the gear teeth. e / 2 size constraint, so far, the gear sketch forms a closed curve;

[0070]

[0071] From the previous constraints, we know that line segment 1 and its mirror image are parallel. The distance between these two parallel line segments is constrained by the short tooth thickness W. At this time, the sketch still needs the last constraint to be fully constrained. According to the conventional method, this last constraint requires the creation of two new line segments, which adds five constraints. This not only makes it difficult to draw the sketch, but is also very unfavorable for subsequent modeling.

[0072] According to the conventional method, line1, line2, and line3 are indispensable, and the sketch can only be fully constrained through the geometric relationship of line1, line2, and line3. However, from the analysis, we can know that due to the clear geometric relationship, we only need to use the expression in the program to calculate the length of line3 through the geometric relationship to fully constrain the sketch, and we can create two fewer line segments, reduce steps, and improve operation efficiency and reliability. The analysis is as follows:

[0073] Knowing that ∠a=∠b, we finally need to find the value of h, which is:

[0074] h=h3-h1-h2

[0075] h3=H / cos∠a

[0076] h1=(W×tan∠b) / 2

[0077]

[0078] Then, a dimension constraint of h is applied to line3 to completely constrain the gear tooth profile sketch. The code is as follows:

[0079]

[0080] Then, with the origin as the center, a circular array is formed on the XOY plane for the constrained closed contour line of the gear teeth, with the number of gear teeth N and a span of 360°;

[0081]

[0082]

[0083] The above program sets the relationship between the gear tooth profile to be stretched in advance according to the three parameters input by the user. The program automatically stretches twice to obtain the approximate shape of the sprocket teeth. As a result, two sets of gear teeth that are not necessarily symmetrical to the XOY plane are obtained. Then, the sprocket center and gear tooth entities obtained by the first three stretches are Boolean summed to facilitate subsequent modeling.

[0084] Step 3: Fillet the model accordingly according to the arc radius R4 of the vertical ring groove and the arc radius R5 of the short tooth root;

[0085] Step 4: To obtain the sprocket groove, use the Boolean difference method to first draw the solid model of the tool, and then use the tool to find the difference on the solid body of the previous Boolean summation to get the required model; the tool is a solid body obtained by two sweeps, so it is necessary to create two sketches, two guide lines and cross-section graphics;

[0086]

[0087] The above program is based on two points on the newly created blank sketch:

[0088] (0.0,0.0,0.0)

[0089] (H×sin(π / N),H×cos(π / N),0.0)

[0090] Create a new line segment line1 (the angle with the Y axis is 3600 / (2×N) and the distance H from the center of the chain nest to the bottom plane of the chain nest is determined according to the number of teeth of different types of sprockets), and then find the new starting point (the end point of line segment 1) and the end point according to the center distance of the chain nest and the end point position of line1;

[0091] (H×sin(π / N)-(A / 2)×cos(π / N),H×cos(π / N)+(A / 2)×sin(π / N),0.0)

[0092] Create line segment 2;

[0093]

[0094] Constrain the end point of line segment 1 and the starting point of line segment 2 together, and offset line segment 2 outward along the direction of the end point of line segment 1 by a distance of R2 to obtain the starting point and ending point of line segment 3.

[0095] ((R2+H)×sin(π / N),(R2+H)×cos(π / N),0.0)

[0096] ((R2+H)×sin(π / N)-(A / 2)×cos(π / N),(R2+H)×cos(π / N)+(A / 2)×sin(π / N),0.0)

[0097] Make it parallel to line segment 2 and constrain the size according to R2 as the distance parameter. Constrain line segment 1 by the size of parameter H and the angle of 360° / (2×N). Fix the starting point at the origin of the coordinate system. Constrain line segment 2 by the size of parameter A / 2 and constrain line segment 1 to be perpendicular to line segment 2. Use the Y axis as the mirror line to obtain line segment 4.

[0098] arc1=workPart.Curves.CreateArc(endPoint3, nXMatrix1,

[0099] (R1+R2), (520*Math.PI / 180.0), (560*Math.PI / 180.0)):

[0100] The above program uses the left endpoint of line segment 3 as the center and R1+R2 as the radius to make arc 1;

[0101] point1=workPart.Points.CreatePoint(line4,arc1,nullPoint,

[0102] nullPoint, NXOpen.SmartObject.UpdateOption.WithinModeling):

[0103] Intersection line segment 4 and point 1;

[0104] arc2=workPart.Curves.CreateArc(point1,nXMatrix2

[0105] R1, (324*Math.PI / 180.0), (420*Math.PI / 180.0));

[0106] Then make arc 2 with point 1 as the center and R1 as the radius;

[0107] arc3=workPart.Curves.CreateArc(endPoint3,nXMatrix3,

[0108] R2,(450.0*Math.PI / 180.0), (600.0*Math.PI / 180.0)):,

[0109] Draw arc 3 with the left vertex of line segment 3 as the center and R2 as the radius. Constrain arc 1 and arc 2 to be circumscribed at point 2 through geometric constraints. Trim the part of arc 2 below point 2 and the part of arc 3 above point 2, and constrain them with their respective arc parameters.

[0110] Draw line segment 6 parallel to line segment 2 with point 2 as an endpoint and the midpoint of line segment 2 as the

[0111] ((startPoint2.X+endPoint2.X) / 2,(startPoint2.Y+endPoint2.Y) / 2,0.0)

[0112] and the midpoint of line segment 3

[0113] ((startPoint3.X+endPoint3.X) / 2,(startPoint3.Y+endPoint3.Y) / 2,0.0)

[0114] Make line segment 5 perpendicular to line segment 2, and cut its upper half with line segment 6 as the boundary. Then cut the right side of line segment 2 to ensure that the length of line segment 6 is slightly smaller than R3 to avoid errors in subsequent operations. Then use the above data to fully constrain the sketch object. Finally, convert line segment 1, line segment 3, line segment 4, and arc 1 into references to complete the drawing of this sketch.

[0115] Step 5: Draw the second sketch required for sweeping;

[0116] arc4=workPart.Curves.CreateArc(line6.EndPoint, nXMatrix4,

[0117] R3, (180*Math.PI / 180.0), (360*Math.PI180.0)):

[0118] Create a new sketch with a plane passing through point 2 and perpendicular to line segment 1, create a new semicircle with the end point of line6 as the center and R3 as the radius, create a new line segment 7 with (line6.EndPoint.X, line6.EndPoint.Y, -R3) as the starting point and (line6.EndPoint.X, line6.EndPoint.Y, R3) as the end point to connect the two end points of the semicircle (automatic judgment constraints need to be created at this time), constrain the length of line segment 7 to twice R3, and use geometric constraints to constrain it to be perpendicular to the Y axis of this sketch, the endpoint of the semicircle arc is R3 away from the center of the sketch, then use parameter R3 dimension to constrain the radius of the semicircle and constrain the semicircle arc to pass through point 2 to constrain all sketches and exit the sketch;

[0119] Step 6: The tool for Boolean difference is obtained by two sweeps. The first time, the semicircle with a radius of R3 is used as the guide line, and the closed area surrounded by line segment 2, line segment 5, line segment 6, and arc 3 is used as the sweep section (a single curve is used when selecting a curve) to obtain swept entity 1; the second time, arc 2 is used as the sweep guide line, and the surface surrounded by the closed curve formed by the semicircular arc and line segment 7 is used as the sweep section to obtain swept entity 2, and then the two swept entities are Boolean summed, and then the tool after summation is mirrored through the plane formed by line segment 1 and the Z axis to obtain the tool required for difference;

[0120] Step 7: Use the tool obtained above to perform Boolean subtraction on the stretched entity of Boolean summation, so that the sprocket groove is cut on the sprocket teeth. At this time, it is also necessary to make a circular array of the subtraction features (the number is the number of teeth N, and the span is 360°) to obtain the final sprocket model; in order to facilitate subsequent processing, the model needs to be moved to make the working coordinate system and the reference coordinate system coincide and make the Z axis direction the direction of line segment 1 of the model, and the X axis is in the XOY plane of the model.

[0121] Vector3d xDirection1=new Vector3d(1,-Math.Tan(Math.PI / N),-0.0);

[0122] Vector3d yDirection1=new Vector3d(0.0, 0.0, -1.0);

[0123] Finally, you can save the program compiled according to the above operations as the CANSHUHUA.cs file, and compile it into the CANSHUHUA.dll executable file through VisualStudio, which can be used for subsequent operations.

[0124] The parameters that need to be determined are as follows

[0125]

[0126] The dimensions that need to be measured are as follows

[0127]

[0128] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. Based on the secondary development of UG, the mining scraper conveyor sprocket parametric modeling plug-in is characterized by: The interactive mode of *.dll executable file is used to realize the function. According to the analysis results of sprocket structure, the sprocket modeling steps are planned and simplified to achieve the simplest modeling method and the highest efficiency. Considering the complexity of the built sprocket model and the convenience of modifying parameters and the stretching characteristics of the sprocket itself in the later stage, the model is established by the sketch plane stretching method. The modeling steps are as follows: Step 1: Sketch the center area of ​​the sprocket, which is a torus. The sketch is two concentric circles with an outer diameter of D. i , the inner diameter is D h ; Step 2: Sketch the shape of the sprocket teeth; Step 3: Fillet the model accordingly according to the arc radius R4 of the vertical ring groove and the arc radius R5 of the short tooth root; Step 4: For the acquisition operation of the sprocket groove, the Boolean difference method is used. First, the solid model of the tool is drawn, and then the tool is used to find the difference on the solid of the previous Boolean summation to obtain the required model; Step 5: Array the difference features in a circular pattern to obtain the final sprocket model; The tool in step 4 is a solid object obtained by two sweeps, so two sketches need to be created. The drawing method of one of the sketches is: line1=workPart.Curves.CreateLine(startPoint1, endPoint 1):geom1_1.Geometry=line1: Point point1=(Point)datumCsys1.Findobject("ENTITY 2 1 1"): geom2_1.Geometry = point1: sketchGeometricConstraint 1=theSession. ActiveSketch.CreateCoincidentConstraint(geom1_1, geom2_1): The above program is based on two points on the newly created blank sketch: (0.0,0.0,0.0) (H×sin(π / N), H×cos(π / N), 0.0) Create a new line segment line1, determine the angle 360° / (2×N) with the Y axis and the distance H from the center of the chain nest to the bottom plane of the chain nest according to the number of teeth of different sprocket models, and then find the new starting point and ending point according to the center distance of the chain nest and the end point position of line1, where the starting point is the end point of line segment 1; (H×sin(π / N)-(A / 2)×cos(π / N), H×cos(π / N)+(A / 2)×sin(π / N), 0.0) Create line segment 2; startPoint2=endPoint1 Point3d endPoint2=new Point3d((H*Math.Sin(Math.PI / N)-(A / 2)*Math.Cos(Math.PI / N)), (H*Math.Cos(Math.PI / N)+(A / 2)*Math.Sin(Math.PI / N)), 0.0); Line line2; line2=workPart.Curves.CreateLine(startPoint2, endPoint2): Constrain the end point of line segment 1 and the starting point of line segment 2 together, and offset line segment 2 outward along the direction of the end point of line segment 1 by a distance of R2 to obtain the starting point and ending point of line segment 3. ((R2+H)×sin(π / N), (R2+H)×cos(π / N), 0.0); ((R2+H)×sin(π / N)-(A / 2)×cos(π / N), (R2+H)×cos(π / N)+(A / 2)×sin(π / N), 0.0); Make it parallel to line segment 2 and constrain the size according to R2 as the distance parameter. Constrain line segment 1 by the size of parameter H and the angle of 360° / (2×N). Fix the starting point at the origin of the coordinate system. Constrain line segment 2 by the size of parameter A / 2 and constrain line segment 1 to be perpendicular to line segment 2. Use the Y axis as the mirror line to obtain line segment 4. arc1=workPart.Curves.CreateArc(endPoint3, nXMatrix1, (R1+R2), (520*Math.PI / 180.0), (560*Math.PI / 180.0)): The above program uses the left endpoint of line segment 3 as the center and R1+R2 as the radius to make arc 1; point1=workPart.Points.CreatePoint(line4, arc1, nullPoint, nullPoint, NXOpen.SmartObject.UpdateOption.WithinModeling): Intersect arc 1 and line segment 4 to obtain point 1; arc2=workPart.Curves.CreateArc(point1, nXMatrix2, R1, (324*Math.PI / 180.0), (420*Math.PI / 180.0)); Then make arc 2 with point 1 as the center and R1 as the radius; arc3=workPart.Curves.CreateArc(endPoint3, nXMatrix3, R2, (450.0*Math.PI / 180.0), (600.0*Math.PI / 180.0)):. Draw arc 3 with the left vertex of line segment 3 as the center and R2 as the radius. Constrain arc 1 and arc 2 to be circumscribed at point 2 through geometric constraints. Trim the part of arc 2 below point 2 and the part of arc 3 above point 2, and constrain them with their respective arc parameters. Draw line segment 6 parallel to line segment 2 with point 2 as an endpoint and the midpoint of line segment 2 as the ((startPoint 2.X+endPoint 2.X) / 2, (startPoint 2.Y+endPoint 2.Y) / 2, 0.0) and the midpoint of line segment 3 ((startPoint 3.X+endPoint 3.X) / 2, (startPoint 3.Y+endPoint 3.Y) / 2, 0.0) Make line segment 5 perpendicular to line segment 2, and cut its upper half with line segment 6 as the boundary, and then cut the right side of line segment 2 to ensure that the length of line segment 6 is slightly less than R3 to avoid errors in subsequent operations. Then use the above data used to draw the sketch to fully constrain the sketch object. Finally, convert line segment 1, line segment 3, line segment 4, and arc 1 into references to complete the drawing of this sketch. Use the semicircle with a radius of R3 as the guide line, and use the closed area enclosed by line segment 2, line segment 5, line segment 6, and arc 3 as the swept section to obtain swept entity 1. Another method of drawing the sketch is: arc4=workPart.Curves.CreateArc(line6.EndPoint, nXMatrix4, R3, (180*Math.PI / 180.0), (360*Math.PI / 180.0)): Create a new sketch with a plane passing through point 2 and perpendicular to line segment 1, create a new semicircle with the end point of line6 as the center and R3 as the radius, create a new line segment 7 with (line6.EndPoint.X, line6.EndPoint.Y, -R3) as the starting point and (line6.EndPoint.X, line6.EndPoint.Y, R3) as the end point to connect the two end points of the semicircle. At this time, you need to create an automatic judgment constraint to constrain the length of line segment 7 to twice R3, and use geometric constraints to constrain it to be perpendicular to the Y axis of this sketch. The distance between the endpoint of the semicircle arc and the center of the sketch is R3, and then use parameter R3 dimension to constrain the radius of the semicircle and constrain the semicircle arc to pass through point 2 to constrain all sketches. Exit the sketch, use arc 2 as the sweep guide line, and sweep the surface enclosed by the closed curve formed by the semicircle arc and line segment 7 as the sweep section to obtain swept entity 2, then Boolean sum the two swept entities, and then mirror the tool after summation through the plane formed by line segment 1 and the Z axis to obtain the tool required for difference calculation.

2. The parametric modeling plug-in for the mining scraper conveyor sprocket based on UG secondary development according to claim 1 is characterized in that: In the step 4, a single curve is used when selecting a curve.

3. The parametric modeling plug-in for the mining scraper conveyor sprocket based on UG secondary development according to claim 1 is characterized in that: In step five, the number is the number of teeth N, and the span is 360°.

4. The parametric modeling plug-in for the mining scraper conveyor sprocket based on UG secondary development according to claim 1 is characterized in that: Parameters that need to be determined: number of sprocket teeth N, nominal chain size d, pitch p.

5. The parametric modeling plug-in for the mining scraper conveyor sprocket based on UG secondary development according to claim 1 is characterized in that: Parameters to be measured: Sprocket outer diameter D e , sprocket ring groove diameter D i , sprocket ring groove width l, center hole diameter D h , the axial thickness of the short teeth of the sprocket is 1T1, the axial thickness of the short teeth of the sprocket is 2T3, and the thickness of the short teeth is W.

Citation Information

Patent Citations

  • Method for applying CAD (computer-aided design) drawing to precision finger-type milling cutter for involute gears

    CN103065020A

  • Three-dimensional automatic design method of gear

    CN110598325A

  • NX involute deflection helical cylindrical gear modeling method

    CN110889194A

  • Three-dimensional solid modeling method for non-circular gear pair with involute tooth profile

    CN111539084A