The CNC Machining graph that is based on image space is emulated
- Time:
- Click:54
- source:WILK CNC Machining
1Specification of method of 1 Zbuffer of Zbuffer method graph sees a picture 1, direction of line of sight and screen are perpendicular, direction of edge line of sight mixes semifinished product cutting tool disperse, go up like element in each screen, cutting tool and semifinished product express to be a cuboid, call Dexel structure (namely Zbuffer structure) . The relation of cutting tool and semifinished product has 7 kinds, right now, the process of semifinished product of cutting tool cutting turns into the comparison of two Dexel structure problem, particular operation procedure explains with the following algorithm: CASE 1: Have cutting tool only, indication cutting tool; Break; CASE 2: Cutting tool of semifinished product keep out, indication semifinished product; Break; CASE 3: Of semifinished product of cutting tool cutting hind, indication semifinished product; Break; CASE 4: The interior of semifinished product of cutting tool cutting, indication semifinished product; Break; CASE 5: The forehead of semifinished product of cutting tool cutting, indication cutting tool; Break; CASE 6: Semifinished product of cutting tool keep out, indication cutting tool; Break; CASE 7: Have semifinished product only, indication semifinished product; Break; Correspondence forms catenary to express a structure like the Dexel structure of element at each, can handle semifinished product to have the case of hole and cavity. Cutting computation is to happen in correspondence actually at same express the Boer operation between like the cable length of element, two Dexel structure that shows semifinished product and cutting tool respectively. 1.
2The generates structure of graph 2 Dexel and indication cache structure and screen to resemble element correspondence of Dexel structure concerns above all, defining observation coordinate is (2) seeing a picture: Set semifinished product to be cuboid, its center is located in coordinate origin, the direction of line of sight with the user (Xe, ye, ze) is Z1 axis, origin passes on XY plane and as perpendicular as Z1 it is Y1 axis point-blank, can decide X1 axis by Z1 and Y1 again, x1Y1 plane is umbriferous plane namely. Dexel structure is built in observing coordinate is fastened. Because the dot resembling element on screen is not a bit on umbriferous plane more corresponding, however a small square. So, answer to be significant drop with square center, with direction of line of sight (Xe, ye, ze) defines ray, it and object are begged hand in and build Dexel structure. The color that the information in Dexel structure includes the recent Z value, farthermost Z value, color that is in recently, farthermost part and the finger that point to next Dexel structure. CNC Milling