[go: up one dir, main page]

CN119293981A - A parametric design method and system for spiral groove taps based on NX secondary development - Google Patents

A parametric design method and system for spiral groove taps based on NX secondary development Download PDF

Info

Publication number
CN119293981A
CN119293981A CN202311064618.XA CN202311064618A CN119293981A CN 119293981 A CN119293981 A CN 119293981A CN 202311064618 A CN202311064618 A CN 202311064618A CN 119293981 A CN119293981 A CN 119293981A
Authority
CN
China
Prior art keywords
spiral fluted
parameterized
design
tap
fluted tap
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311064618.XA
Other languages
Chinese (zh)
Inventor
宋清华
李坤於
杨佩菁
秦靖
杨欣宇
刘战强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong University
Original Assignee
Shandong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong University filed Critical Shandong University
Priority to CN202311064618.XA priority Critical patent/CN119293981A/en
Publication of CN119293981A publication Critical patent/CN119293981A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/17Mechanical parametric or variational design
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23GTHREAD CUTTING; WORKING OF SCREWS, BOLT HEADS, OR NUTS, IN CONJUNCTION THEREWITH
    • B23G5/00Thread-cutting tools; Die-heads
    • B23G5/02Thread-cutting tools; Die-heads without means for adjustment
    • B23G5/06Taps
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/27Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/06Multi-objective optimisation, e.g. Pareto optimisation using simulated annealing [SA], ant colony algorithms or genetic algorithms [GA]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Evolutionary Computation (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Medical Informatics (AREA)
  • Artificial Intelligence (AREA)
  • Software Systems (AREA)
  • Mechanical Engineering (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

本发明属于刀具设计技术领域,提供了一种基于NX二次开发的螺旋槽丝锥参数化设计方法及系统,其技术方案为:根据工况需求确定螺旋槽丝锥的初始模型的参数;基于初始模型的参数,建立螺旋槽丝锥的各个参数的表达式;确定螺旋槽丝锥的各个参数表达式之间的约束关系;基于各个参数表达式之间的约束关系,对螺旋槽丝锥进行参数化建模,建立螺旋槽丝锥参数化图形模板;基于螺旋槽丝锥参数化图形模板,进行参数化设计,确定参数化设计方案,输出模型。能有效解决传统螺旋槽丝锥设计所具有的长周期、低效率、工作量大等缺点,大幅度缩短了螺旋槽丝锥的在参数设计和修改上的时间,极大地减少了工作量,提高了效率,降低了成本。

The present invention belongs to the technical field of tool design, and provides a parametric design method and system for spiral groove taps based on NX secondary development, and its technical scheme is: determining the parameters of the initial model of the spiral groove tap according to the working condition requirements; establishing the expressions of the various parameters of the spiral groove tap based on the parameters of the initial model; determining the constraint relationship between the various parameter expressions of the spiral groove tap; parametric modeling of the spiral groove tap based on the constraint relationship between the various parameter expressions, establishing a parametric graphic template for the spiral groove tap; parametric design based on the parametric graphic template for the spiral groove tap, determining the parametric design scheme, and outputting the model. It can effectively solve the shortcomings of the traditional spiral groove tap design such as long cycle, low efficiency, and large workload, greatly shorten the time for parameter design and modification of the spiral groove tap, greatly reduce the workload, improve efficiency, and reduce costs.

Description

NX secondary development-based spiral fluted tap parameterized design method and system
Technical Field
The invention belongs to the technical field of tool design, and particularly relates to a spiral fluted tap parameterized design method and system based on NX secondary development.
Background
The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art.
Screw tap is a common tool for machining internal threads, which gradually cuts out metal materials by rotating and advancing to form threaded holes, and is widely applied in the field of mechanical engineering, and has great demand and plays an important role in the market. The spiral fluted tap is designed through the general steps of material development, structural design, product manufacture, performance test, structural optimization, performance retest, production and use. However, the conventional spiral fluted tap design in China generally depends on experience, and has a series of defects such as long period, low efficiency, low design accuracy, resource waste, difficulty in meeting the requirements of modern cutting and the like, and the conventional spiral fluted tap design method lacks digital and parameterized design means.
Disclosure of Invention
In order to solve at least one technical problem in the background art, the invention provides a spiral fluted tap parameterized design method and a spiral fluted tap parameterized design system based on NX secondary development, which can quickly establish spiral fluted tap models with a plurality of different parameters through parameterized design, thereby achieving the purpose of improving design efficiency. In addition, the parameterized design can also ensure that the generated model meets the requirements by restraining the parameter relation of the spiral fluted tap, so that the design efficiency can be greatly improved, the design period can be reduced, the cost can be reduced, and the problems existing in the traditional design can be fully improved.
In order to achieve the above purpose, the present invention adopts the following technical scheme:
The first aspect of the invention provides a spiral fluted tap parameterized design method based on NX secondary development, which comprises the following steps:
determining parameters of an initial model of the spiral fluted tap according to working condition requirements;
Establishing an expression of each parameter of the spiral fluted tap based on the parameters of the initial model;
Determining constraint relations among various parameter expressions of the spiral fluted tap;
based on constraint relations among all parameter expressions, carrying out parameterization modeling on the spiral fluted tap, and establishing a spiral fluted tap parameterized graphic template;
And carrying out parameterization design based on the spiral fluted tap parameterized graphic template, determining a parameterization design scheme and outputting a model.
A second aspect of the present invention provides a spiral fluted tap parametric design system based on NX secondary development, comprising:
The initial model parameter determining module is used for determining parameters of an initial model of the spiral fluted tap according to working condition requirements;
a parameter expression establishing module for establishing expressions of the respective parameters of the spiral fluted tap based on the parameters of the initial model;
A constraint relation determination module for determining a constraint relation between the respective parameter expressions of the spiral fluted tap;
the parameterized modeling module is used for parameterizing the spiral fluted tap based on constraint relations among all the parameter expressions and establishing a parameterized graphic template of the spiral fluted tap;
the scheme generation module is used for carrying out parameterization design based on the spiral fluted tap parameterized pattern template, determining a parameterized design scheme and outputting a model.
A third aspect of the present invention provides a computer-readable storage medium.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of a spiral fluted tap parameterized design method based on NX secondary development as described above.
A fourth aspect of the invention provides a computer device.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps in a method of designing a spiral fluted tap parameterized based on NX secondary development as described above when the program is executed.
Compared with the prior art, the invention has the beneficial effects that:
1. According to the invention, based on the NX secondary development technology, through parameterized design of the spiral fluted tap, a plurality of spiral fluted tap models with different parameters are quickly established, and meanwhile, the generated models are ensured to meet the requirements by restraining the parameter relation of the spiral fluted tap, so that the defects of long period, low efficiency, large workload and the like of the traditional spiral fluted tap design method can be effectively solved, the time of the spiral fluted tap on parameter design and modification is greatly shortened, the workload is greatly reduced, the design efficiency is improved, and the design cost is reduced.
2. Through the precaution of the invention, a user can realize the automatic establishment of the tap model only by inputting the tap parameters in the man-machine interaction dialog box, and simultaneously, the tap parameters can be modified to realize the rapid updating of the tap model.
Additional aspects of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention.
FIG. 1 is a schematic diagram of a finishing flow of a spiral fluted tap parameterized design method based on NX secondary development provided by an embodiment of the invention;
FIG. 2 is a diagram of the constraint relationship between the spiral fluted tap expressions provided by embodiments of the present invention;
FIG. 3 is a schematic diagram of a spiral fluted tap pattern template provided by an embodiment of the present invention;
fig. 4 is a man-machine interaction dialog box interface of the spiral fluted tap parameterized design system provided by an embodiment of the present invention.
Detailed Description
The invention will be further described with reference to the drawings and examples.
It should be noted that the following detailed description is illustrative and is intended to provide further explanation of the invention. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of exemplary embodiments according to the present invention. As used herein, the singular is also intended to include the plural unless the context clearly indicates otherwise, and furthermore, it is to be understood that the terms "comprises" and/or "comprising" when used in this specification are taken to specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof.
Interpretation of the terms
Secondary development refers to further development or customization based on existing software, applications, or platforms to meet specific needs or to improve existing functionality. Through secondary development, the existing software can be expanded, customized, integrated or optimized to adapt to specific business processes and requirements. This approach reduces the time and cost of development from scratch and takes advantage of the stability and maturity of existing software. NX (also called Siemens NX) is a powerful integrated CAD/CAM/CAE software platform, and can be widely used for product design, manufacture and analysis. The secondary development based on NX is to further customize and expand the functions of the software by taking the NX software as a platform so as to meet specific user requirements or work requirements, and the NX and other software can be systematically integrated through the secondary development to realize data sharing, and meanwhile, complementary collaborative design can be realized. NX contains rich secondary development tools such as NX Open API, NX Open GRIP, NX Open UIStyler, NX Open MenuScript and the like, and custom functions, systems, plug-ins and the like can be conveniently developed by using the tools so as to meet specific requirements of users.
Example 1
As shown in fig. 1, the embodiment provides a spiral fluted tap parameterized design method based on NX secondary development, which includes the following steps:
Step 1, determining parameters of an initial model of the spiral fluted tap according to working condition requirements;
step 2, establishing an expression of each parameter of the spiral fluted tap based on the parameters of the initial model;
Step 3, determining constraint relations among all parameter expressions of the spiral fluted tap;
Step 4, carrying out parameterization modeling on the spiral fluted tap based on constraint relations among all parameter expressions, and establishing a spiral fluted tap parameterized pattern template;
Step 5, carrying out parameterization design based on a spiral fluted tap parameterization pattern template;
Step 6, verifying the parameterized design result, if the parameterized design result is correct, carrying out the next step, and if the parameterized design result is wrong, finding out problems in the parameterized modeling process and modifying the problems;
and 7, determining a parameterized design scheme and outputting a model.
The following describes the solution in detail by way of specific examples.
In step 1, determining parameters of an initial model of the spiral fluted tap according to actual working condition requirements, wherein the actual working condition requirements comprise tap materials, workpiece materials, processing parameters and the like;
And then determining corresponding initial model parameters of the tap, wherein the main determined parameters comprise the front angle, the back angle, the cone angle, the spiral angle, the edge diameter, the shank diameter, the pilot diameter, the square head length, the square head width, the thread size and the like of the tap.
After the parameters are determined, a structural initial frame of the spiral fluted tap is formed, and preparation is made for subsequent expression establishment and parametric modeling.
In step 2, when the expression of each parameter of the spiral fluted tap is established based on the parameters of the initial model, the embodiment adopts the expression module of the NX software, and the establishment of the expression adopts english according to the related requirements of secondary development of NX, so that the subsequent background program writing is facilitated.
All parameters of the spiral fluted tap are correspondingly established into expressions, wherein the parameters comprise independent parameters and dependent parameters, a constraint relation exists between the dependent parameters and the independent parameters, and the value of the dependent parameters is determined by the independent parameters.
The following illustrates the established expression by way of specific example, the values of the expression are the values of the initial pattern template of the spiral fluted tap, and the specific examples are as follows:
Tap length TAPLENGTH:80mm
The length of the thread taper blade is Worklength mm to 24mm
Tap shank diameter TAPSHANKDIAMETER mm
Blade back width Bladeback:4mm
Core diameter Corediameter:4mm
Front angle RAKEANGLE:10 DEG
Back angle RELIEFANGLE °3 °
Cone angle Tapangle °15 °
Lead 54.414mm
Pitch Pitch 1.5mm
Tooth height Toothheight:0.812mm
Groove height Slotheight (5/8) H0.5075 mm
Groove width Caokuan (7/8) Pitch
Groove bottom width Caodikuan (1/4) ×pitch
Tap bit diameter TAPHEADDIAMETER:10mm
Tap shank length SHANKLENGTH:56mm
Spiral groove transition arc radius r1=5.5 mm, r2=2.5 mm
The diameter of the guide cone TAPDIAMETER is 8.97mm
The diameter of the groove-shaped outer circle is Groovediameter mm.
In step 3, a constraint relation among all parameter expressions of the spiral fluted tap needs to be determined, and after the expressions of all parameters of the spiral fluted tap are established in step 2, the constraint relation among the expressions needs to be established, which specifically comprises the following steps:
the parameters of the spiral fluted tap are divided into independent parameters and dependent parameters, then, the constraint relation between the independent parameters and the dependent parameters is established, and according to the general basic knowledge of the tap, the constraint relation to be established mainly comprises the relation between the core diameter and the blade diameter, the relation between the blade width and the blade diameter, the relation between the guide cone diameter and the blade diameter and the like.
That is, the "expression" command is used to set up the parameters associated with the geometric dimensions into the corresponding constraint relationship, so that when the size of a certain expression parameter changes, the size of the expression parameter with the constraint relationship changes correspondingly. For example, when the values of the independent parameters are changed, the values of the dependent parameters corresponding to the constraint relationship are also changed accordingly, thereby maintaining the rationality of the tap structure. The established expression and its constraint relationship are shown in fig. 2.
It should be noted that, the independent parameter in this embodiment is a parameter for driving the geometric structure of the spiral tap model to change, and is required to be input into the man-machine interaction dialog box, where a certain constraint relationship exists between the dependent parameter and the dependent parameter, and the independent parameter is generally determined by the value of the independent parameter. The independent parameters and the dependent parameters together form the complete structure of the spiral fluted tap.
In step 4, in this embodiment, based on constraint relationships between the parameter expressions, the modeling module of the NX software is used to perform parameterized modeling on the spiral fluted tap, so as to complete parameterization of the spiral fluted tap model, and establish a parameterized graphic template of the spiral fluted tap.
On the basis of the established expression, a modeling module of NX is used, a three-dimensional model of the spiral fluted tap graphical template is drawn by using related commands of solid modeling, and each dimension parameter of the spiral fluted tap is associated by adopting the previously established expression, so that a model of the parameterized graphical template is obtained, and parameterized modeling is realized.
The size of each parameter of the tap in the parameterized modeling process is driven by a previously established expression instead of a specific numerical value, and a constraint relation between the expressions is established after the expression is established, for example, a=2b is set for the parameter a, that is, the size of the parameter a is twice as large as that of the parameter B, so that the parameterized tap model established in the following contains the constraint relation between a plurality of parameters, and when the size of a certain expression is modified, the expression with the constraint relation automatically changes correspondingly. The model of the expression containing a plurality of modifiable parameters is a parameterized model, and the process of establishing the model is parameterized modeling.
Expression-based constraint relationships refer to the use of mathematical expressions to define relationships between model parameters to achieve automatic parameterization of the model. The parameters in NX may be the size, position, angle, etc. of the model. By defining constraint relations among the parameters, and then establishing a model based on the constraint relations, the shape and the size of the model can be easily changed, and when the value of one parameter changes, other parameters related to the parameter can be automatically updated, so that the consistency of the model is maintained, and a designer can quickly perform design iteration and optimization, and the design efficiency is improved.
The method specifically comprises the following steps:
Firstly, drawing a spiral fluted tap flute profile section by using a sketch, and then drawing a three-dimensional model of a tap graphic template by using commands such as stretching, rotating, sweeping and the like, wherein each parameter of the three-dimensional model is related to an expression which is established before, namely, three-dimensional modeling is carried out by adopting an expression driving mode, so that the subsequent modification of the parameter and the updating of the model are convenient. After the spiral fluted tap parameterized pattern template is established, the template is stored in an NX model library, so that subsequent calling is facilitated. A schematic diagram of the pattern template of the spiral fluted tap is shown in fig. 3.
For example, the groove structure is drawn by adopting an offset method in a sketch command, after drawing, the groove is swept along a spiral line to obtain a spiral groove, the square head width, the square head length, the square shank length and the like are designed according to the national standard, and the screw thread adopts a coarse thread.
In step 5, based on the spiral fluted tap parameterized graphic template, the design of a menu, a dialog box and the programming of a background program of a parameterized design system are performed by utilizing two types of software of NX and VS to mutually cooperate, so that the parameterized system design is completed, and the method comprises the following steps:
firstly, designing a menu and a man-machine interaction dialog box in a parameterized system, wherein the menu and man-machine interaction dialog box comprise:
(1) Establishing a secondary development catalog of NX;
(2) Writing a special language Menuscript language for menu design in NX secondary development, and putting the special language into a background;
(3) The dialog box interface design of the spiral groove tap parameterized design system is carried out by utilizing Block UI Styler modules in NX software, a dialog box editor in Block UI Styler is mainly used, all independent parameters of the spiral groove tap are required to be added into the dialog box in the editor, the independent parameters are not required to be added, the independent parameters of the spiral groove tap comprise a front angle, a rear angle, a cone angle, a spiral angle, a groove bottom arc radius R1, a groove bottom arc radius R2 and the like, meanwhile, a structure reference diagram of the spiral groove tap is also added into the dialog box, so that a user can conveniently and fully understand the meaning of each parameter, and finally, the buttons of 'determining' and 'applying' and the options of determining the tap vector and the position are also required to be added.
Then carrying out NX OpenC++ programming work, starting Visual Studio, creating related items of background programming, adding source files and header files generated by a dialog box designed previously into the items, and then starting C++ programming, wherein the programming mainly comprises the steps of creating a coordinate system, importing a tap template, searching a tap expression, editing the tap expression and the like.
After the programming is completed, the corresponding header files, source files and other series files are placed in the development catalog, so that the programming of the NX OpenC++ program can be completed. The man-machine interaction dialog is shown in fig. 4.
In step 6, verifying the parameterized design result, if the parameterized design result is correct, performing the next step, and if the parameterized design result is incorrect, finding out problems existing in the parameterized modeling process and modifying the problems, wherein the method specifically comprises the following steps:
the step is verification, wherein parameters of the spiral fluted tap need to be input or modified at a human-computer interaction interface, the spiral fluted tap is driven to change, if the parameters of the spiral fluted tap change correctly and no structure report errors occur, verification is correct, if the parameters change errors or the structure report errors occur, the parametric modeling process is problematic, the step 4 is required to be returned to be carried out for parametric modeling again, model design is adjusted, then redesign is carried out, and if the verification is passed, the step 7 is carried out, and the model is output.
The scheme has the advantages that the blank that the conventional spiral fluted tap design lacks of generalization, standardization, serialization and parametrization is filled by applying the secondary development method to the parametrization design of the spiral fluted tap, and the high-efficiency design of the spiral fluted tap is realized.
Example two
The embodiment provides a spiral fluted tap parameterized design system based on NX secondary development, including:
The initial model parameter determining module is used for determining parameters of an initial model of the spiral fluted tap according to working condition requirements;
a parameter expression establishing module for establishing expressions of the respective parameters of the spiral fluted tap based on the parameters of the initial model;
A constraint relation determination module for determining a constraint relation between the respective parameter expressions of the spiral fluted tap;
the parameterized modeling module is used for parameterizing the spiral fluted tap based on constraint relations among all the parameter expressions and establishing a parameterized graphic template of the spiral fluted tap;
the scheme generation module is used for carrying out parameterization design based on the spiral fluted tap parameterized pattern template, determining a parameterized design scheme and outputting a model.
Example III
The present embodiment provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps in a spiral fluted tap parameterized design method based on NX secondary development as described above.
Example IV
The embodiment provides a computer device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the steps in the spiral fluted tap parameterized design method based on NX secondary development when executing the program.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disc, a Read-Only Memory (ROM), a Random access Memory (Random AccessMemory, RAM), or the like.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. The spiral fluted tap parameterized design method based on NX secondary development is characterized by comprising the following steps of:
determining parameters of an initial model of the spiral fluted tap according to working condition requirements;
Establishing an expression of each parameter of the spiral fluted tap based on the parameters of the initial model;
Determining constraint relations among various parameter expressions of the spiral fluted tap;
based on constraint relations among all parameter expressions, carrying out parameterization modeling on the spiral fluted tap, and establishing a spiral fluted tap parameterized graphic template;
And carrying out parameterization design based on the spiral fluted tap parameterized graphic template, determining a parameterization design scheme and outputting a model.
2. The spiral fluted tap parametric design method based on NX secondary development of claim 1, wherein the parameters comprise independent parameters and dependent parameters, wherein there is a constraint relationship between the dependent parameters and the independent parameters, and the value of the dependent parameters is determined by the independent parameters.
3. The spiral fluted tap parametric design method based on NX secondary development of claim 1, wherein the constraint relationship comprises a relationship between core diameter and blade diameter, a relationship between land width and blade diameter, a relationship between pilot diameter and blade diameter.
4. The parameterized design method of the spiral fluted tap based on NX secondary development as claimed in claim 1, wherein in the parameterized modeling process of the spiral fluted tap, established expressions are adopted for driving, constraint relations among the expressions are established after the expressions are established, and when the size of a certain expression is modified, the expression with the constraint relation automatically changes correspondingly.
5. The parameterized design method of the spiral fluted tap based on NX secondary development as claimed in claim 1, wherein when the parameterized design is carried out based on the parameterized graphic template of the spiral fluted tap, two types of software of NX and VS are adopted to mutually cooperate to carry out the design of a menu, a dialog box and the programming of a background program of a parameterized design system, so as to complete the design of the parameterized system.
6. The parameterized design method of spiral fluted tap based on NX secondary development as in claim 1, wherein the design of menus and dialog boxes of the parameterized design system specifically comprises:
establishing a secondary development catalog of NX;
Writing a special language Menuscript language for menu design in NX secondary development, and putting the special language into a background;
dialog box interface design of spiral fluted tap parametric design system by utilizing Block UI Styler modules in NX software mainly used for
All independent parameters of the spiral fluted tap are added into the dialog box in the editor by adopting the dialog box editor in Block UI Styler, the non-independent parameters are not needed to be added, the structural reference diagram of the spiral fluted tap is also added into the dialog box, and finally, the interactive buttons and the options for determining the vectors and the positions of the tap are also needed to be added.
7. The parameterized design method of spiral fluted tap based on NX secondary development of claim 1, wherein after parameterizing, the parameterized design result is verified, if correct, the next step is performed, and if incorrect, the problems in the parameterized modeling process are found and modified.
8. A spiral fluted tap parameterized design system based on NX secondary development, comprising:
The initial model parameter determining module is used for determining parameters of an initial model of the spiral fluted tap according to working condition requirements;
a parameter expression establishing module for establishing expressions of the respective parameters of the spiral fluted tap based on the parameters of the initial model;
A constraint relation determination module for determining a constraint relation between the respective parameter expressions of the spiral fluted tap;
the parameterized modeling module is used for parameterizing the spiral fluted tap based on constraint relations among all the parameter expressions and establishing a parameterized graphic template of the spiral fluted tap;
the scheme generation module is used for carrying out parameterization design based on the spiral fluted tap parameterized pattern template, determining a parameterized design scheme and outputting a model.
9. A computer readable storage medium having stored thereon a computer program, which when executed by a processor, implements the steps of a method of designing a spiral fluted tap based on NX secondary development according to any one of claims 1-7.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor performs the steps in a spiral fluted tap parameterized design method based on NX secondary development as defined in any one of claims 1-7 when the program is executed.
CN202311064618.XA 2023-08-22 2023-08-22 A parametric design method and system for spiral groove taps based on NX secondary development Pending CN119293981A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311064618.XA CN119293981A (en) 2023-08-22 2023-08-22 A parametric design method and system for spiral groove taps based on NX secondary development

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311064618.XA CN119293981A (en) 2023-08-22 2023-08-22 A parametric design method and system for spiral groove taps based on NX secondary development

Publications (1)

Publication Number Publication Date
CN119293981A true CN119293981A (en) 2025-01-10

Family

ID=94160206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311064618.XA Pending CN119293981A (en) 2023-08-22 2023-08-22 A parametric design method and system for spiral groove taps based on NX secondary development

Country Status (1)

Country Link
CN (1) CN119293981A (en)

Similar Documents

Publication Publication Date Title
CN102411333B (en) Fast numerical control machining process system for complex parts of airplane
CN101334657B (en) Imaging interactive numerical control turning automatic programming method and system
CN103454972B (en) Based on the method for the cutter five-shaft numerical control grinding automated programming of UG NX API
CN103197605B (en) Method of CNC automatic programming for gear hobbing based on standard template and expression driving
CN102799144A (en) Numerical control processing program transplanting method based on characteristics
CN107066676A (en) A kind of finite element automation modeling method based on satellite plate and shell structure
CN102385347A (en) Intelligent numerical control programming system for special-shaped helical curved surface machining
CN103544343A (en) Serialized and parameterized modeling method of power chuck
CN107291045A (en) A kind of workshop programing system
CN103869755A (en) Method for guaranteeing smoothness of machine tool output power by adjusting machining code feeding speed
CN110580000B (en) An automatic programming method for handling die finishing machining allowance
CN111475159B (en) Method, device and storage medium for automatically generating program
CN103676785A (en) Intelligent fan blade manufacturing method
CN111914380A (en) Part model determination method and device, computer equipment and storage medium
CN104102172A (en) Method and equipment for generating programs of numerically-controlled machine tool
CN113885437B (en) Self-adaptive programming method, device and equipment of numerical control system and numerical control system
CN108829027A (en) Execute program creating method and its device, medium, terminal
CN109408991A (en) A kind of model parameter visualization processing method based on FANUC PICTURE man-machine interface
CN119293981A (en) A parametric design method and system for spiral groove taps based on NX secondary development
CN105137919B (en) A kind of method for generating character array numerical control macroprogram
CN107330179A (en) A kind of three-dimensional process model Method of Creation Process containing technique supplemental characteristic
CN105095189A (en) One-click strategy programming method and device
CN104143029A (en) A parametric design method for indexable face milling cutter head
CN115570748A (en) A method and system for automatically generating batch straight hole programs on Powermill
Abd Rahman et al. Integrated Interface System of STEP Data Models for the Tool Path Generation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination