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:

Transform/Rotate off-center form


JBowman
 Share

Recommended Posts

I have a part that has a partial gear form that’s off-center from the back end that’s chucked on the indexing head (X+). I can’t figure out how to cut one tooth and transform/rotate for the rest of the teeth. With a gear form that’s on-center I can make a new WCS for the first tooth to rotate it to the top. On the operation I change the WCS to top and leave the tool plane and construction plane to the new WCS. I transform the operations to cut the rest of the teeth using left side for the rotation view. On this part with the gear form off-center I changed the center point on transform/rotate to the center of the gear form and the toolpath looks correct but when its posted the Z depths don’t change. I’ve tried several combinations but I’m not having any luck. Anyone have an idea how to get it to post right? Can Mastercam X7 do this without programing each tooth or holding the part off-center? If it can’t be done I will have to chuck on the off-center ID because we don’t have a 4 jaw and that’s going to take a lot longer to rough the rest of the part.

 

Thanks!

Jeff

OFF CENTER GEAR.MCX-7

Link to comment
Share on other sites

J you need to use Coordiante as the method and check include origin and then it should produce the results you are after.

 

%
O0000(31324 REV-A LOWER PUNCH)
(DATE=DD-MM-YY - 30-10-13 TIME=HH:MM - 09:48)
(MCX FILE - C:\USERS\RON\DOCUMENTS\MY MCAMX7\MCX\OFF CENTER GEAR.MCX-7)
(NC FILE - C:\USERS\RON\DOCUMENTS\MY MCAMX7\MILL\NC\31324 REV-A LOWER PUNCH.NC)
(MATERIAL - ALUMINUM INCH - 2024)
( T5 | 1/32 BALL ENDMILL | H5 )
G20
G0 G17 G40 G49 G80 G90
T5 M6
G0 G90 G59 X2.5491 Y0. A118. S17113 M3
G43 H5 Z3.25
Z3.2
G1 Z2.7502 F20.
X0. F40.
Z2.9502 F150.
G0 Z3.25
X2.5491
Z3.2
G1 Z2.7502 F20.
X0. F40.
Z2.9502 F150.
G0 Z3.25
X2.5491 Y.2267 Z3.2421
Y.2232
Z3.1922
G1 Y.1918 Z2.7435 F20.
X0. F40.
Y.2058 Z2.943 F150.
G0 Z3.2421
Y.2267
X2.5491 Y.4523 Z3.2184
Y.4454
Z3.1689
G1 Y.3828 Z2.7234 F20.
X0. F40.
Y.4106 Z2.9215 F150.
G0 Z3.2184
Y.4523
X2.5491 Y.6757 Z3.179
Y.6653
Z3.1301
G1 Y.5718 Z2.6901 F20.
X0. F40.
Y.6134 Z2.8857 F150.
G0 Z3.179
Y.6757
X2.5491 Y.8958 Z3.1241
Y.882
Z3.076
G1 Y.7581 Z2.6437 F20.
X0. F40.
Y.8132 Z2.8359 F150.
G0 Z3.1241
Y.8958
X2.5491 Y1.1116 Z3.054
Y1.0945
Z3.007
G1 Y.9406 Z2.5843 F20.
X0. F40.
Y1.009 Z2.7723 F150.
G0 Z3.054
Y1.1116
X2.5491 Y1.3219 Z2.969
Y1.3016
Z2.9233
G1 Y1.1186 Z2.5124 F20.
X0. F40.
Y1.2 Z2.6951 F150.
G0 Z2.969
Y1.3219
X2.5491 Y1.5258 Z2.8696
Y1.5023
Z2.8254
G1 Y1.2911 Z2.4283 F20.
X0. F40.
Y1.385 Z2.6049 F150.
G0 Z2.8696
Y1.5258
X2.5491 Y1.7222 Z2.7562
Y1.6957
Z2.7138
G1 Y1.4574 Z2.3323 F20.
X0. F40.
Y1.5634 Z2.5019 F150.
G0 Z2.7562
Y1.7222
X2.5491 Y1.9103 Z2.6293
Y1.8809
Z2.5889
G1 Y1.6165 Z2.225 F20.
X0. F40.
Y1.7341 Z2.3868 F150.
G0 Z2.6293
Y1.9103
X2.5491 Y2.0891 Z2.4896
Y2.0569
Z2.4513
G1 Y1.7678 Z2.1068 F20.
X0. F40.
Y1.8964 Z2.26 F150.
G0 Z2.4896
Y2.0891
X2.5491 Y2.2576 Z2.3379
Y2.2229
Z2.3019
G1 Y1.9104 Z1.9783 F20.
X0. F40.
Y2.0494 Z2.1222 F150.
G0 Z2.3379
Y2.2576
X2.5491 Y2.4152 Z2.1747
Y2.3781
Z2.1412
G1 Y2.0438 Z1.8402 F20.
X0. F40.
Y2.1924 Z1.9741 F150.
G0 Z2.1747
Y2.4152
X2.5491 Y2.561 Z2.0009
Y2.5216
Z1.9701
G1 Y2.1672 Z1.6932 F20.
X0. F40.
Y2.3248 Z1.8163 F150.
G0 Z2.0009
Y2.561
X2.5491 Y2.6944 Z1.8174
Y2.6529
Z1.7894
G1 Y2.28 Z1.5379 F20.
X0. F40.
Y2.4458 Z1.6497 F150.
G0 Z1.8174
Y2.6944
X2.5491 Y2.8146 Z1.625
Y2.7713
Z1.6
G1 Y2.3817 Z1.3751 F20.
X0. F40.
Y2.5549 Z1.4751 F150.
G0 Z1.625
Y2.8146
X2.5491 Y2.9211 Z1.4247
Y2.8761
Z1.4028
G1 Y2.4719 Z1.2056 F20.
X0. F40.
Y2.6516 Z1.2933 F150.
G0 Z1.4247
Y2.9211
X2.5491 Y3.0133 Z1.2175
Y2.967
Z1.1987
G1 Y2.5499 Z1.0302 F20.
X0. F40.
Y2.7354 Z1.1052 F150.
G0 Z1.2175
Y3.0133
X2.5491 Y3.0909 Z1.0043
Y3.0434
Z.9889
G1 Y2.6156 Z.8499 F20.
X0. F40.
Y2.8058 Z.9117 F150.
G0 Z1.0043
Y3.0909
X2.5491 Y3.1535 Z.7862
Y3.1049
Z.7741
G1 Y2.6685 Z.6653 F20.
X0. F40.
Y2.8626 Z.7137 F150.
G0 Z.7862
Y3.1535
X2.5491 Y3.2006 Z.5644
Y3.1514
Z.5557
G1 Y2.7084 Z.4776 F20.
X0. F40.
Y2.9054 Z.5123 F150.
G0 Z.5644
Y3.2006
X2.5491 Y3.2322 Z.3397
Y3.1825
Z.3345
G1 Y2.7351 Z.2875 F20.
X0. F40.
Y2.934 Z.3084 F150.
G0 Z.3397
Y3.2322
X2.5491 Y3.248 Z.1134
Y3.1981
Z.1117
G1 Y2.7485 Z.096 F20.
X0. F40.
Y2.9484 Z.103 F150.
G0 Z.1134
Y3.248
X2.5491 Z-.1134
Z-.1117
Y3.1981
G1 Y2.7485 Z-.096 F20.
X0. F40.
Y2.9484 Z-.103 F150.
G0 Y3.248
Z-.1134
X2.5491 Y3.2322 Z-.3397
Z-.3345
Y3.1825
G1 Y2.7351 Z-.2875 F20.
X0. F40.
Y2.934 Z-.3084 F150.
G0 Y3.2322
Z-.3397
X2.5491 Y3.2006 Z-.5644
Z-.5557
Y3.1514
G1 Y2.7084 Z-.4776 F20.
X0. F40.
Y2.9054 Z-.5123 F150.
G0 Y3.2006
Z-.5644
X2.5491 Y3.1535 Z-.7862
Z-.7742
Y3.1049
G1 Y2.6685 Z-.6653 F20.
X0. F40.
Y2.8626 Z-.7137 F150.
G0 Y3.1535
Z-.7862
X2.5491 Y3.0909 Z-1.0043
Z-.9889
Y3.0434
G1 Y2.6156 Z-.8499 F20.
X0. F40.
Y2.8058 Z-.9117 F150.
G0 Y3.0909
Z-1.0043
M5
G91 G28 Z0.
G28 X0. Y0. A0.
M30
%

Link to comment
Share on other sites

Yes I missed that and I did not see where you were using the T-C Plane with a shifted Value. What you have done is negated the point you picked in the Transform operation by using one in the T-C Plane that is the same place. The T-C Plane need to use the Origin then you pick the place in the transform where you want the rotations to come from. By making them the same you tell Mastercam they are the same place and then you would not see a changed value. I missed you wanted the index as well, so here is the file fixed and the posted code so you can see now it is doing everything you would expect. I also changed your depth to incermental since you had the absoulte vlaue it would be wrong

 

%
O0000(31324 REV-A LOWER PUNCH)
(DATE=DD-MM-YY - 30-10-13 TIME=HH:MM - 11:14)
(MCX FILE - C:\USERS\RON\DOCUMENTS\MY MCAMX7\MCX\5TH AXIS OFF CENTER GEAR.MCX-7)
(NC FILE - C:\USERS\RON\DOCUMENTS\MY MCAMX7\MILL\NC\31324 REV-A LOWER PUNCH.NC)
(MATERIAL - ALUMINUM INCH - 2024)
( T5 | 1/32 BALL ENDMILL | H5 )
G20
G0 G17 G40 G49 G80 G90
T5 M6
G0 G90 G59 X2.5291 Y-.6242 A118. S17113 M3
G43 H5 Z3.25
Z3.2
G1 Z2.4183 F20.
X-.02 F40.
Z2.6183 F150.
G0 Z3.25
X2.5291
Z3.2
G1 Z2.4183 F20.
X-.02 F40.
Z2.6183 F150.
G0 Z3.25
A122.
X2.5291 Y-.5996 Z3.2073
Z3.1573
G1 Z2.3755 F20.
X-.02 F40.
Z2.5755 F150.
G0 Z3.2073
A126.
X2.5291 Y-.572 Z3.1664
Z3.1164
G1 Z2.3346 F20.
X-.02 F40.
Z2.5346 F150.
G0 Z3.1664
A130.
X2.5291 Y-.5416 Z3.1275
Z3.0775
G1 Z2.2957 F20.
X-.02 F40.
Z2.4957 F150.
G0 Z3.1275
A134.
X2.5291 Y-.5086 Z3.0908
Z3.0408
G1 Z2.2591 F20.
X-.02 F40.
Z2.4591 F150.
G0 Z3.0908
A138.
X2.5291 Y-.4731 Z3.0565
Z3.0065
G1 Z2.2248 F20.
X-.02 F40.
Z2.4248 F150.
G0 Z3.0565
A142.
X2.5291 Y-.4353 Z3.0248
Z2.9748
G1 Z2.1931 F20.
X-.02 F40.
Z2.3931 F150.
G0 Z3.0248
A146.
X2.5291 Y-.3953 Z2.9958
Z2.9458
G1 Z2.1641 F20.
X-.02 F40.
Z2.3641 F150.
G0 Z2.9958
A150.
X2.5291 Y-.3535 Z2.9696
Z2.9196
G1 Z2.1379 F20.
X-.02 F40.
Z2.3379 F150.
G0 Z2.9696
A154.
X2.5291 Y-.3099 Z2.9465
Z2.8965
G1 Z2.1148 F20.
X-.02 F40.
Z2.3148 F150.
G0 Z2.9465
A158.
X2.5291 Y-.2648 Z2.9264
Z2.8764
G1 Z2.0947 F20.
X-.02 F40.
Z2.2947 F150.
G0 Z2.9264
A162.
X2.5291 Y-.2185 Z2.9095
Z2.8595
G1 Z2.0778 F20.
X-.02 F40.
Z2.2778 F150.
G0 Z2.9095
A166.
X2.5291 Y-.171 Z2.8959
Z2.8459
G1 Z2.0642 F20.
X-.02 F40.
Z2.2642 F150.
G0 Z2.8959
A170.
X2.5291 Y-.1228 Z2.8857
Z2.8357
G1 Z2.0539 F20.
X-.02 F40.
Z2.2539 F150.
G0 Z2.8857
A174.
X2.5291 Y-.0739 Z2.8788
Z2.8288
G1 Z2.0471 F20.
X-.02 F40.
Z2.2471 F150.
G0 Z2.8788
A178.
X2.5291 Y-.0247 Z2.8753
Z2.8253
G1 Z2.0436 F20.
X-.02 F40.
Z2.2436 F150.
G0 Z2.8753
A182.
X2.5291 Y.0247
Z2.8253
G1 Z2.0436 F20.
X-.02 F40.
Z2.2436 F150.
G0 Z2.8753
A186.
X2.5291 Y.0739 Z2.8788
Z2.8288
G1 Z2.0471 F20.
X-.02 F40.
Z2.2471 F150.
G0 Z2.8788
A190.
X2.5291 Y.1228 Z2.8857
Z2.8357
G1 Z2.0539 F20.
X-.02 F40.
Z2.2539 F150.
G0 Z2.8857
A194.
X2.5291 Y.171 Z2.8959
Z2.8459
G1 Z2.0642 F20.
X-.02 F40.
Z2.2642 F150.
G0 Z2.8959
A198.
X2.5291 Y.2185 Z2.9095
Z2.8595
G1 Z2.0778 F20.
X-.02 F40.
Z2.2778 F150.
G0 Z2.9095
A202.
X2.5291 Y.2648 Z2.9264
Z2.8764
G1 Z2.0947 F20.
X-.02 F40.
Z2.2947 F150.
G0 Z2.9264
A206.
X2.5291 Y.3099 Z2.9465
Z2.8965
G1 Z2.1148 F20.
X-.02 F40.
Z2.3148 F150.
G0 Z2.9465
A210.
X2.5291 Y.3535 Z2.9696
Z2.9196
G1 Z2.1379 F20.
X-.02 F40.
Z2.3379 F150.
G0 Z2.9696
A214.
X2.5291 Y.3953 Z2.9958
Z2.9458
G1 Z2.1641 F20.
X-.02 F40.
Z2.3641 F150.
G0 Z2.9958
A218.
X2.5291 Y.4353 Z3.0248
Z2.9748
G1 Z2.1931 F20.
X-.02 F40.
Z2.3931 F150.
G0 Z3.0248
A222.
X2.5291 Y.4731 Z3.0565
Z3.0065
G1 Z2.2248 F20.
X-.02 F40.
Z2.4248 F150.
G0 Z3.0565
A226.
X2.5291 Y.5086 Z3.0908
Z3.0408
G1 Z2.2591 F20.
X-.02 F40.
Z2.4591 F150.
G0 Z3.0908
M5
G91 G28 Z0.
G28 X0. Y0. A0.
M30
%

 

edited:

 

Screenshot and File Removed. Email me and I will share the file.

Edited by Crazy^Millman
Link to comment
Share on other sites

NP Crazy^Millman...I stripped the file so I could upload it to get across what I was trying to do...its 20 MB.

 

Its taking me a bit to wrap my head around this with cutting using a WCS that's not on the rotation axis. I have to go back to the original file with the solid and see if I can get the same results with roughing and surfacing the teeth. SO...I create the toolpaths using the offset WCS that puts the tooth on top, change the WCS to top in all 3 places in the operations, Transform/Rotate the toolpaths using the left side and center of the gear form...

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...