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:

C-Face contour code problem


Zoffen
 Share

Recommended Posts

I've run into some weird problems with C Face contour.

 

I tried contouring a cirlce. Code should be simple x move in, c rotate 360 then x move out.

 

On this file with the circle i'm trying to contour at (center) 0,0,0 this is the code:

 

O00000001
G20 G52.5
T0505.00
M200
M8
G90 G0 G54 Z.155
X7.156
C0.
G97 S2500 M203
Z.005
G98 G1 Z-.395 F20.
X6.956 F30.
C360. F494.21
C720.
C1080.
C1440.
C1800.
C2160.
C2520.
C2880.
C3240.
C3600.
C3960.
C4320.
C4680.
C5040.
C5400.
C5760.
C6120.
C6480.
C6840.
C7200.
C7560.
C7920.
C8280.
C8640.
C9000.
.
..(Code truncated for length)
.
C65160.
C65520.
C65880.
C66240.
C66600.
C66960.
X7.156 F30.
G0 Z.155
M9
G28 U0.
G28 W0.
H0. M205
T0500
G99
M02
%

 

 

this code is obviousely not right. However if i move the center of the circle .0001 in the x direction i get code i can atleast run:

 

 

O00000001
G20 G52.5
T0505.00
M200
M8
G90 G0 G54 Z.155
X7.1562
C0.
G97 S2500 M203
Z.005
G98 G1 Z-.395 F20.
X6.9562 F30.
C1.935 F494.2
C3.871
C5.806
C7.742
C9.677
C11.613
C13.548
C15.483
C17.419
C19.354
C21.29
C23.225
C25.161
C27.096
C29.031
C30.967
C32.902
C34.838
C36.773
C38.709
C40.644
X6.9561 C42.58
C44.515
C46.45
C48.386
C50.321
C52.257
C54.192
C56.128
C58.063
C59.999
C61.934
C63.869
C65.805
C67.74
C69.676
C71.611
C73.547
C75.482
X6.956 C77.418
C79.353
C81.289
C83.224
C85.16
C87.095
C89.031
C90.966
C92.902
C94.837
C96.773
C98.708
C100.644
C102.579
X6.9559 C104.515
C106.45
C108.386
C110.321
C112.257
C114.192
C116.128
C118.063
C119.999
C121.934
C123.87
C125.805
C127.741
C129.676
C131.612
C133.547
C135.483
C137.418
X6.9558 C139.354
C141.289
C143.225
C145.16
C147.096
C149.031
C150.967
C152.902
C154.838
C156.774
C158.709
C160.645
C162.58
C164.516
C166.451
C168.387
C170.322
C172.258
C174.193
C176.129
C178.064
C180.
C181.936
C183.871
C185.807
C187.742
C189.678
C191.613
C193.549
C195.484
C197.42
C199.355
C201.291
C203.226
C205.162
C207.098
C209.033
C210.969
C212.904
C214.84
C216.775
C218.711
C220.646
X6.9559 C222.582
C224.517
C226.453
C228.388
C230.324
C232.259
C234.195
C236.13
C238.066
C240.001
C241.937
C243.872
C245.808
C247.743
C249.679
C251.614
C253.55
C255.485
X6.956 C257.421
C259.356
C261.292
C263.227
C265.163
C267.098
C269.034
C270.969
C272.905
C274.84
C276.776
C278.711
C280.647
C282.582
X6.9561 C284.518
C286.453
C288.389
C290.324
C292.26
C294.195
C296.131
C298.066
C300.001
C301.937
C303.872
C305.808
C307.743
C309.679
C311.614
C313.55
C315.485
C317.42
X6.9562 C319.356
C321.291
C323.227
C325.162
C327.098
C329.033
C330.969
C332.904
C334.839
C336.775
C338.71
C340.646
C342.581
C344.517
C346.452
C348.387
C350.323
C352.258
C354.194
C356.129
C358.065
C360.
X7.1562 F30.
G0 Z.155
M9
G28 U0.
G28 W0.
H0. M205
T0500
G99
M02
%

 

yet when i open a new file and do the same exact toolpath with the circle center @ 0,0,0 i get the code i actually want:

 

O00000001
G20 G52.5
T0100.00
M200
G90 G0 G54 Z.25
X4.6982
C0.
G97 S0 M205
Z.1
G98 G1 Z0. F0.
X4.4982
C180.
C360.
X4.6982
G0 Z.25
G28 U0.
G28 W0.
H0.
T0100
G99
M02
%

 

WTF? is this a bug or is something in my file affecting this?

Link to comment
Share on other sites

lathe pretty much blows, use mill path with tool plain set to right side for face and back plane for top. unlike mill Back plane is the machinr view for an upper turret lathe

 

x1000 this is the easiest way just set the rotary setting to "C"axis

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