Machine Tool Assembly Drawings and CAD Drawings of Openings

Keywords machine tool terminal box CAD parameterization

1 Proposed issue

Under normal circumstances, in order to design the terminal box reasonably and correctly, it is necessary to repeatedly refer to the design manual and find out the minimum installation distance between the pipe joints. After that, manual conversion is performed, and sometimes it is repeatedly arranged several times. After confirmation, the drawing is performed again. This design method is inefficient, inaccurate, and repetitively labor-intensive, and the correspondence between the assembly drawing and the opening map is difficult to guarantee. In view of the above situation, we have used CAD to develop the machine terminal box installation drawing and hole drawing design software.

2 Software Design and Development

Before developing the software, we first collated the related information of the junction box design, including the specifications of the junction box, the specifications and appearance of the two types of pipe joints D96-4A and D21-1, and the corresponding rails of the different specifications of the junction box. Length, number of terminals, and a series of parameters such as the minimum distance between different sizes of fittings.
The software design idea is: the designer only needs to select the junction box specification through the user interface, input the model, specification and corresponding pipe number of the pipe joint to be installed on each side, and then select the assembly drawing or the hole drawing, that is, automatically generate graphics. If it is an assembly drawing, a schedule will be generated automatically; if it is a hole drawing, the dimensions and technical requirements will be automatically marked. The software should also have intelligent judgment functions, such as the interface input pipe joint too much, the software automatically prompts "too many pipe joints, beyond the minimum spacing", the minimum spacing between adjacent pipe joints and various parameters contained in the design manual It should be implemented entirely within the software. The entire process no longer requires manual review of any data.
In accordance with the above assumptions, first use the dialog design language (abbreviated as DCL) provided by Auto CAD 12.0 to design the user interface as shown in FIG. The following outlines the general flow of the design of the junction box parameterized software and some of its subroutines.

1

figure 1

The software is designed using the Auto CAD 12.0 development system (abbreviated as ADS). The compilation environment is 32-bit Highc 1.71. The generated file is a protected mode EXP file running under Auto CAD 12.0. The entire software includes the main program and 22 subroutines. Program flow chart shown in Figure 2. From the main program flow chart to see that the program starts, first loaded into the dialog box shown in Figure 1, each column corresponds to a callback function, through the callback function, the dialog box is activated, and assigned initial value, the list box has A series of specifications for the junction box are shown. Each column of the dialog box corresponds to a keyword. The program establishes contact with the dialog box through the keyword, and then controls the dialog box's ADS function library 2 tile (hdlg: "boxlist", (clientfunc) boxlistcb), where " CD#*2 〗 list (hdlg, "boxlist", listnew, 0) to achieve the entire dialog box loading, display, activation, start, assignment, close, etc. are managed through ADS Open in the main dialog At the same time, you can also open the sub-dialog box.If the junction box used by the user is not within the standard specifications, you can click the button to customize the size of the USR junction box. The software will open a sub-dialog box and the user will input the size of the junction box, enter After temporarily in the boxlist[] array.
The boxlist is defined as follows:
Static struct boxlist{
Char *name;
Int 1, w, h, hd, jd0, jd1;
}boxlist[]={
{"B0",100,80,80,35,0,0},
{"B1",100,100,80,35,0,0},
...
{"B35", 500, 400, 120, 55, 450, 57},
{"USR",100,80,80,35,0,0},
};
Among them, 1—the length of the terminal box, w—width, h—height, hd—the position of the hole from the bottom surface, jd0—the length of the guide rail, and the number of the jd1—terminals. After the size of the junction box is selected, input the pipe number, model, and specification of each pipe joint. Take the above top surface as an example. If there is no such surface, then it is blank; if it is, the input parameters are placed in the toplist[200] array. After the parameters are input, select the assembly drawing or hole drawing. After confirming, click OK. Corresponding to the OK button's callback function, it also adjusts a subroutine called boxcpd(). This subroutine determines if the panel connector can be opened. If the panel cannot be opened, a prompt will appear below the dialog box: "The fitting is too big. More than the minimum spacing," prompts you to re-enter the parameters. If the procedure is reasonable, close the dialog and start execution. The program first determines the position of the main view. After the main view is set, it begins to judge from side to side. If the toplist[200] array is not empty, then the boxtlazt(list, rot, d, a, pt) subroutine is called, because of the toplist array. Each pipe joint contains three parameters: pipe number, model, and specification. Therefore, first, through a subroutine, several pipe joints are found and the three parameters contained in each pipe joint are separated. According to the number of pipe joints, the average distance between the two pipe joints is determined by boxlist[]. l/(n+l)=lnn, rounding lnn. The minimum distance between the first pipe joint and the junction box subroutine subb(), subb() is compared with lnn, the larger one is the installation location of the first pipe joint on this side, and the height of the pipe joint installation is boxlist []. Hd. After finding the first pipe joint installation location, adjust the subgd96() or subgd21() pipe joint drawing according to the model, and write the pipe number to the schedule. And through the subprogram (subg) to obtain the type and specification of the seal ring corresponding to this specification pipe joint, a writing schedule. When writing the schedule, the software automatically distinguishes d96-4a or d21-1. When a column is full, it automatically starts a new line and the first pipe connector is processed. Next, the second one is processed. The first difference is that the subc(s[i], s[i+1]) subroutine is used to determine the minimum distance between two pipe fittings of different specifications, subc and lnn phase. The larger one is the installation position of the second pipe joint on this side. And so on, until the last fitting, the entire process is over.

1

figure 2

The processing procedure of the opening box design program of the junction box is similar to the above. The difference is that after determining the position of the first pipe joint, the corresponding subprogram (subd) is used to obtain the opening size, and the size and position of the hole are obtained. Draw the shape of the hole and annotate it at the same time. And so on, while marking the size, it is also marked with a roughness symbol. After all the four sides are over, the technical requirements are automatically marked and the proportion of the frame is filled in. The whole graph is completed. Only need to enter the parameters once, before and after less than 5min, the assembly drawing and the opening map are all generated and accurate.
One of the difficulties in the software development is the choice of the base point of the main view of the junction box. Because the size of the junction box is different, the scale of the picture is not the same. Therefore, the poor selection of the main view base point will conflict with other positions of the junction box and technical requirements, such as the title bar. Manual selection will affect the efficiency. By using the system variable VIEWCTR provided by Auto CAD, the base points suitable for different terminal box specifications and different picture frame ratios are found to solve the problem. In addition, the biggest difference between the software and the general parametric design is that it is not only the parameterized dimension-driven parameterization, but also includes parameterization of design, calculation, and analysis, which is more difficult and complex than the general parameterized software.

3 Conclusion

Using this software for junction box design not only improves efficiency and accuracy, but also significantly reduces the designer's repetitive tasks. At the same time, some of the cases that do not completely match the specifications of the junction box mentioned above can be used as long as the software is slightly modified. For example, in 1997, the press produced by our company for General Motors Corporation of the United States quoted Komatsu technology from Japan. Its junction box was different from the D36-2 series used by our company, and its installation method was also different. It was put into use by slightly modifying the software. , to ensure the completion of the design task on schedule.

Custom Plastic Parts

With the rapid development of science and technology, the use of plastics in modern medicine is steadily increasing. Medical devices made from injection-molded plastics help reduce health care costs, infectious diseases and pain management. High-tech polymers are used in medical device prototyping and are often used to create improved prosthetics and devices to reduce the risk of infection. Medical plastic injection molding directly improves patient safety and the ability to save more lives. High-gloss injection molding: the basic process of high-gloss injection molding is to rapidly heat the surface of the mold with high temperature and high pressure steam before injection molding, so that the surface temperature of the molding mold cavity reaches above the glass transfer temperature (TG) of the resin plastic, and then inject the plasticized plastic melt into the closed mold cavity. During the injection phase, the mold temperature is kept constant by high temperature and high pressure steam. After injection molding, stop the air supply, blow out the steam in the tube with the air pressure of the duct, and then inject cooling water to make the mold temperature drop rapidly, until the mold is cooled and opened to take out the product.Img 9802

Custom Plastic Parts,Custom High Precision Plastic Injection Molding,Precision Plastic Injection Molding Accessories,Plastic Injection Molding Tooling Parts

Suzhou Dongye Precision Molding Co.,Ltd. , https://www.sjinjectionmolding.com