Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Axis Substitution and Drilling holes


sidhu
 Share

Recommended Posts

Transform all the way. Why make it harder than it has to be?

 

You can make a operation on top. Then copy that operation then say ghost to index to a specific place. Then transform from there if you needed it to start a place different from top.

 

I put a sample file on the FTP in the X4 folder. It is called TRANSFORM_ROTATE.Z2G

 

Here is sample code doing this without even using a C-plane.

 

%

O0000 (ROTATE)

(MACHINE - MIGHTY/YAMA SEIKI)

(CUSTOMER - ADD CUSTOMER)

(PART # - TRANSFORM)

(MODEL # - TRANSFORM.MCX)

(PROGRAMMER - RON B)

(PROGRAM NAME - ROTATE.NC)

(DATE - MAR-09-2010)

(TIME - 3:04 PM)

(PROGRAM REV - N/C)

(T133 - 1/4 DRILL - H133 - D133 - D0.2500")

N100 G00 G17 G20 G40 G80 G90

N110 G91 G28 Z0.

N120 T133 M06 ( 1/4 DRILL)

N130 (MAX - Z1.1)

N140 (MIN - Z0.)

N150 G00 G17 G90 G54 A0. X-2. Y0. S1069 M03

N160 G43 H133 Z1.1

N170 G94

N180 G99 G83 Z0. R1.1 Q.075 F4.28

N190 G80

N200 G91 G28 Z0.

N210 G00 G90 A45. X-2. Y0.

N220 G43 H133 Z1.1

N230 G99 G83 Z0. R1.1 Q.075 F4.28

N240 G80

N250 G91 G28 Z0.

N260 G00 G90 A105. X-2. Y0.

N270 G43 H133 Z1.1

N280 G99 G83 Z0. R1.1 Q.075 F4.28

N290 G80

N300 G91 G28 Z0.

N310 G00 G90 A165. X-2. Y0.

N320 G43 H133 Z1.1

N330 G99 G83 Z0. R1.1 Q.075 F4.28

N340 G80

N350 G91 G28 Z0.

N360 G00 G90 A225. X-2. Y0.

N370 G43 H133 Z1.1

N380 G99 G83 Z0. R1.1 Q.075 F4.28

N390 G80

N400 G91 G28 Z0.

N410 G00 G90 A285. X-2. Y0.

N420 G43 H133 Z1.1

N430 G99 G83 Z0. R1.1 Q.075 F4.28

N440 G80

N450 G91 G28 Z0.

N460 G00 G90 A345. X-2. Y0.

N470 G43 H133 Z1.1

N480 G99 G83 Z0. R1.1 Q.075 F4.28

N490 G80

N500 M05

N510 G91 G28 Z0.

N520 G28 Y0. A0.

N530 G90

N540 M30

%

 

 

HTH

Link to comment
Share on other sites

Axis substitution works for me

Just create a line in the top view starting

at the center of rotation - this line should be

pi x dia of rotation long - easy to get this by

generating a line then in the length box type

"L" and pick on a circle the diamter of rotation

now create as many points as you want and write

drill toopath in the top plane - the point at the end of the line in the center of rotation will drill at 0 at the middle of the line the point will drill at 180 be aware that if you want 4 equally spaced holes create 5 points because the the one at the far end drills at 360 which duplicates the the first end

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...