Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

PROGRAMMING Commands to scale and rotate

Is it possible to scale the part in the X, Y and Z? Is it possible to rotate the part?

user-image
Question added by Tomasz Modrzejewski , Python Developer , Freelancer
Date Posted: 2014/08/26
Tomasz Modrzejewski
by Tomasz Modrzejewski , Python Developer , Freelancer

This is possible using the command G51 (scaling) and G68 (Rotation). G51 command affects all axes - X, Y and Z. Note: The Z-axis will be scaled during programmed cycles (G73 to G89). To use this program you will need the option rotate / scale, both options are available in the COORD (coordinate.). If you are not sure whether the machine is equipped with this option, contact your local dealer. Here's a sample program: % 054,321 (G51 G68 Z AN EXAMPLE) T1 M06 G00 G17 G54 G90 X0 Y0 (TO CENTER GRADUATION AND MARKETING) S7000 M03 G43 H01 Z1. M08 G51 P2 (O SCALE WILL FACTOR 2) G68 R60 (WILL ROTATE TOOL PATH About 60 DEGREES) (HERE ENTER YOUR FUNCTION G GEOMETRY) G69 (CANCEL MARKETING) G50 (CANCEL SCALING) G00 Z1. M09 G28 Z0 Y0 M30

هاشم المشارقة
by هاشم المشارقة , Key Account Manager , Advanced United Systems Ltd. ( A member of Taj Holding Group)

In fact, I didn't understand your question but I think you are talking about CNC machine. Any way in the world of programming you can do almost any thing, yes you can scale the coordinates x,y,z by putting sensors or further more using some image processing.

Shagufta Mubasher
by Shagufta Mubasher , Web Developer , MP CJ O Shopping Sdn. Bhd.

Thanks for inviting to this question but unfortunately I am not able to understand it. however talking in general, I agree with Mr. Hashim. Everything is possible in programming, the only condition is to know how to make a right logic to extract expected results. There are various commands to scale and rotate using different softwares for playing with x, y, z coordinates

Abdul Khader Shaik
by Abdul Khader Shaik , Cyber Crime Lawyer , Grofers

I didn't understand what exactly you want.,

I know the commands in MATLAB,Unity(used in photoshop,game development,graphics),If you want in this section mail me at

Deleted user
by Deleted user

I agree with you

More Questions Like This