Method for rapid generation of three-dimensional surface model through numerical control processing program codes

A technology of three-dimensional curved surfaces and processing programs, applied in program control, general control systems, simulators, etc., can solve the problems of unsatisfactory fast display processing speed, complex surface splicing process, poor smoothness of approximate curved surfaces, etc., and achieve a mobile observation angle Smooth, faster display, faster processing effects

Active Publication Date: 2010-06-23
上海电气自动化集团有限公司
View PDF0 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The first method has high precision and good surface smoothness, but the inverse sum surface splicing process is complex, requires a lot of calculations, and is not suitable for fast graphic display; the approximate surface smoothness generated by the second method is worse than the former, and the algorithm complexity is high. Quick display processing speed is not ideal

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for rapid generation of three-dimensional surface model through numerical control processing program codes
  • Method for rapid generation of three-dimensional surface model through numerical control processing program codes
  • Method for rapid generation of three-dimensional surface model through numerical control processing program codes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] 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:

[0021] Step 1 Analyze the NC machining 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 code.

[0022] 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].

[0023] Among them: surface display accuracy constan...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for the rapid generation of three-dimensional surface model through numerical control processing program codes, belonging to the technical field of numerical control of machine tools. The technical proposal of the method comprises that straight line segments of the data in numerical control processing program codes are subject to linear interpolation to fill up a two-dimensional grid, each grid is divided into two triangles, the average normal vector of the vertex of each triangle is worked out, and the final three-dimensional model is rendered by making use of OpenGL or Direct3D. The method has the advantages of fast processing speed and good display effect, can be applied to graphic programming system of numerical control machine tools and can also be integrated in numerical control systems for implementing detection and other operations on numerical control processing codes.

Description

technical field [0001] The invention relates to a method for rapidly generating a three-dimensional curved surface model through numerical control processing program codes. Background technique [0002] A CNC machine tool is an automated machine tool equipped with a program control system. The control system can logically process and decode programs with control codes or other symbolic instructions, so as to make the machine tool move and process parts. The operator can preview the model before machining the part through the numerical control device. The surface of the model is calculated according to the cutting conditions such as the shape of the tool, the direction of the tool, and the shape of the workpiece during machining, and the key points of the surface are calculated based on these theoretically accurate points. . At present, the methods for generating three-dimensional surfaces from discrete data points in the CNC machine tool system are: 1. The method of NURBS ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G05B19/4099
Inventor 蒋知峰张楠
Owner 上海电气自动化集团有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products