Method for rapid generation of three-dimensional surface model through numerical control processing program codes
A technology for processing programs and three-dimensional surfaces, applied in program control, general control systems, simulators, etc., can solve problems such as unsatisfactory fast display processing speed, poor approximate surface smoothness, and complex surface splicing process, and achieve mobile viewing angles. Smooth, faster processing, faster display effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0019] Such as figure 1 Shown is the realization principle flowchart of the present invention, and the concrete method of generating three-dimensional surface model in the invention is:
[0020] Step 1 Analyze the NC machining program code, and take out the moving coordinate points of the tool path. Save the coordinate points (X, Y, Z) into a one-dimensional array M[N], where each array element contains three coordinate values of X, Y, and Z, which are composite type elements, and the length N of the array is NC machining The number of coordinate points in the program code.
[0021] Step 2. Set a surface display accuracy constant C, calculate the maximum and minimum values of the X and Y coordinates in the array M, and obtain the size range Xrang and Yrang of the X and Y coordinates, and display according to the size range of the X and Y coordinates and the curved surface precision, create a two-dimensional array of float P[Lx][Ly].
[0022] Among them: surface display ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 