Component closed model data preset system


Objects are defined by a Class, and any object supports properties, events, and methods. By defining the properties of the object variables and objects, as well as the events on the objects triggered by the methods and operations supported by the object, AutoCAD programs can be programmed according to the design requirements and shared directly with other ActiveX-enabled applications.
At the same time, the auxiliary parameter values ​​(such as forging quality, complex coefficient, etc.) required for selecting the subsequent forging parameters are automatically calculated. In addition, all the forms, modules and processes in the system form the VBA project file Gear-Blanks.dvb, and their associations and calls are controlled by GearBlanks.dvb to realize the link between the modules. System design flow chart.
By defining the property window or writing code, you can control the size, alignment, title and other appearance properties of the control to get a friendly interface.
After determining the size of the gear blank and the selection, input and assignment of the forging parameters, the system prompts for information on the basic dimensions of the gear blank. In the / input gear blank information 0 window, the user can input the size in the text box for determining the size of the part drawing according to the size code on the schematic, and select the machining precision and material of the part. After that, the system begins to select and determine the forging parameters, which is performed in six windows in sequence. Here, the selection/selection of the forging length, width, and height tolerance 0 window is illustrated.
In the lower part of the window, the length, width and height 0 tolerance table [6] are displayed. When selecting this parameter, the mass of the forging must be calculated first, so when the form is loaded, the forging quality is determined by the previously input gear 1 blank size. After calculation and correction, it is displayed in the left/auxiliary parameter 0 area of ​​the form, so that the user can select the appropriate tolerance and input it into the corresponding text box. When the size or forging parameters are input to the text box, these values ​​are immediately assigned to the corresponding variables, and the variables are calculated and passed through the VBA program code. In addition, through the / Previous 0, / Next 0 buttons on the form, the user can switch between different windows, and repeatedly modify the forging parameters that do not meet the design requirements.
Generation of Forging Drawings After all the forging parameters have been determined, the system generates a forging drawing according to the selected parameters. In the process of generating the forgings, it is necessary to determine the coordinate values ​​of each feature point of the forging profile, and the coordinate values ​​of the feature points can be determined by the operations between the variables representing the parameters of the forgings. In addition, in the program code generated by the forging drawing, the line type and thickness of the contour line, the filling pattern of the section line, and the size pattern of the forging piece are also specified, so that the generated forging drawing conforms to national standards and engineering requirements.

CNC Machine Center

Cnc Machine Center,Winding Machine,Forging Machine,Punching Machine

WEISS MACHINERY CO., LTD. , https://www.weissmachinerys.com