Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for displaying three-dimensional graphics of workpieces processed by CNC lathes

A CNC lathe and three-dimensional graphics technology, which is applied in the processing of 3D images, image data processing, instruments, etc., can solve problems such as high software and hardware costs, and achieve the effects of fast processing speed, realistic three-dimensional graphics of workpieces, and simple calculation.

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

AI Technical Summary

Problems solved by technology

High hardware and software costs are required to implement

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 displaying three-dimensional graphics of workpieces processed by CNC lathes
  • Method for displaying three-dimensional graphics of workpieces processed by CNC lathes
  • Method for displaying three-dimensional graphics of workpieces processed by CNC lathes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Such as Figure 5 Shown, method of the present invention comprises the steps:

[0030] Step 1, such as figure 1 and figure 2 As shown, the diffuse reflection illumination model of the workpiece is established by using a computer program to show the outer surface and inner surface shape of various rotary surface workpieces produced by CNC lathe processing, and the diffuse reflection illumination model is when a beam of parallel incident light When the light hits the rough surface, the surface will reflect the light in all directions, so although the incident rays are parallel to each other, because the normal direction of each point on the reflecting surface is not consistent, the reflected light will be randomly reflected in different directions. It is called "diffuse reflection" or "diffusion". It is a pair of opposite concepts to "specular reflection", and the normal direction is the direction perpendicular to the surface of the workpiece. Set the brightness value ...

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 displaying three-dimensional graphics of a workpiece processed by a numerically controlled lathe. First, the diffuse reflection illumination model of the workpiece is established, the illumination intensity and angle are set, and the contour shape of the workpiece is calculated. The brightness of the point is different to draw the three-dimensional graphics of the processed workpiece, and at the same time judge whether the workpiece has threads and inner holes. If there are threads, use the linear approximation method to draw the thread line. For the hole, the upper half of the shaft of the inner hole is drawn as a sectional view, and the lower part of the shaft of the inner hole is drawn as the outer surface of the workpiece, and finally the drawn three-dimensional graphics of the workpiece are output to the display screen; the three-dimensional graphics of the workpiece displayed by this method are realistic and beautiful, And it does not need 3D modeling and 3D graphics library, does not depend on 3D graphics chips, has simple calculation, fast processing speed, saves the cost of 3D graphics display, and is suitable for all kinds of CNC lathes with lower configuration.

Description

technical field [0001] The invention relates to a method for displaying three-dimensional graphics of a workpiece processed by a numerically controlled lathe. Background technique [0002] With the development of numerical control technology, numerical control lathes have been widely used. Usually, when the CNC lathe is processing the workpiece, the three-dimensional graphics of the processed workpiece are displayed through simulation, so that the operator can have an intuitive understanding of the processed workpiece. At present, there are roughly two ways to simulate the workpiece: one is to use simple plane graphics to simulate the wireframe outline of the processed workpiece; the other is to use a 3D rendering library to describe it, such as the common OpenGL library. The algorithm of the first method is simple, but the effect is not realistic enough to give an intuitive simulation result. The second method usually depends on a complex 3D graphics algorithm library or ...

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 Patents(China)
IPC IPC(8): G06T15/00G06T15/50
Inventor 谭熠帆蒋知峰
Owner 上海电气自动化集团有限公司