how to increase number of tangents on an arc

I am trying to cut this arc (green line) on a CNC but when we generate the code in MasterCam its commanding the cut in several straight lines (tangents shown in grey) to form the arc- the code is generated this way because SolidWorks is making the arc this way. This is ok but we need to smooth out the arc alot by substantially increasing the number of straight lines and decrease their length so the CNC code commands to cut a smoother arc. Ive made the arc out of a spline and its still the same. Another cylindrical part i made to test also shows the same type of tangents so it must be in the SW settings. Running SW 2019 full functionality

Thank you!

SolidworksImport/export
Answers 37
FL
FL 2021-04-09 Best Answer

First if its an arc, MasterCAM should not make it tangent segment.

Second, MasterCAM has full control on how many segments to create. Not SolidWorks.

MW
MW 2021-04-09

If you are trying to program this off the solid, I think you are going to get an approximation because it isn't an arc on the solid. Note that if you query the edge, you get an arc length but not a radius- because it isn't a circular element and there is no radius for MC to calculate from. So you are getting a line/arc approximation, and there is no tangency limitation in the toolpath calculation. You might get better results if you up your cut calculation tolerance, but I don't think you will ever get a single arc from this.

Since you have the sketch geometry available that generated the wrap, I would think using the sketch geometry and an axis substitution method will get you closer to what you want.

Disclosure- I haven't used MC in years and never used MC lathe. Also, axis substitution will probably give you cleaner side surfaces but is going to be an approximation of it's own, I think.

comment imagecomment image
JB
JB 2021-04-09

It's not a complex move, but the geometry it creates is complex. What is your designed follower diameter? Or is it not round?

TT
TT 2021-04-09
<p>Kris Werth wrote:</p><p></p><p>Does somebody on here use solidworks and mastercam together?? Seems to me that making a barrel cam and then having a lathe cut it like were doing its very simple and would not be a complex move in design and manufacturing. Were using a 2019 HAAS ST10Y with live tooling to do this.</p><p style="min-height: 8pt; padding: 0px;"></p><p>Maybe im going about it wrong. </p>

I really wish I could help. I use Solidworks and MasterCam for Solidworks. No exporting and importing, everything is done right inside of Solidworks.

I don't do any Lathe programming just VMC's and I don't do any 5 axis.

When I saw your original post I thought I might be able to help but unfortunately I can't.

Sorry.

FL
FL 2021-04-09

Could the spindle rotate and live tool move at the same time?

KW
KW 2021-04-09

Does somebody on here use solidworks and mastercam together?? Seems to me that making a barrel cam and then having a lathe cut it like were doing its very simple and would not be a complex move in design and manufacturing. Were using a 2019 HAAS ST10Y with live tooling to do this.

Maybe im going about it wrong.

CD
CD 2021-04-09

I understand you want to cut this with a flat end mill. That said, in Mastercam, what happens to the toolpaths when you run them using with a ball end mill ... it's going to create extra toolpaths certainly, but are you still seeing the same lines as you have described?

FL
FL 2021-04-09

I'll say that's setting in MasterCAM.

From you NC file, its all rotate and straight cut.

Not sure if this apply:MasterCAM posting out all splines during surfacing radii - Industrial Forum - eMastercam.com

KW
KW 2021-04-09

ends up the same as a mesh or not.

FL
FL 2021-04-09

Why do you convert solid to mesh?

How about export it before the mesh?

KW
KW 2021-04-09

the Xt is too large to attach

KW
KW 2021-04-09

heres the .sldprt

JB
JB 2021-04-09
<p>Kris Werth wrote:</p><p></p><p>weve cut the arc as modeled and it matches perfect except for the straight lines portion being messy.</p><p style="min-height: 8pt; padding: 0px;"></p><p>I dont have a actual model of the part made up as a barrel cam.</p>

Sorry... I didn't think about the fact that I'm still running 2018... I have 2019 elsewhere though.

You did say somewhere else that there is a roller follower, right? And this is cylindrical cam path? Take your model, put it in an assembly, and add a follower, kinda like the setup on the barrel cam thread that I referenced. Look closely at the geometry. Does your follower not have interference?

TT
TT 2021-04-09
<p>Kris Werth wrote:</p><p></p><p>i dont know how to attach a file to this forum.</p>

KW
KW 2021-04-09

weve cut the arc as modeled and it matches perfect except for the straight lines portion being messy.

I dont have a actual model of the part made up as a barrel cam.

KW
KW 2021-04-09

i dont know how to attach a file to this forum.

JM
JM 2021-04-09
<p>Kris Werth wrote:</p><p></p><p>... but the <strong>ST</strong> file i export out of SW for this model has straight lines...</p>

ST? XT?

Can you Attach example simple cylinder.sldprt and resulting export file here?

Edit: Oops, just saw your addendum of relevant information.

Attach your *.sldprt file here and end all doubt.

JB
JB 2021-04-09
<p>Kris Werth wrote:</p><p></p><p>Josh,</p><p>that wont help as we must cut the arc on a cylinder. </p>

Based on your screenshots, I don't believe your model actually matches what you want anyway....

Check out

If you'll upload your base part along with a sketch path of the follower centerline (not the cutting path that you want) and the follower diameter I'll model it for you.

KW
KW 2021-04-09

Solidworks 2019 premium and Mastercam 2019

KW
KW 2021-04-09

Fredrick,

Weve adjusted the settings in mastercam and SW to make very fine lines but ended up with the exact same cut, just much longer code.

KW
KW 2021-04-09

thats what i thought but somethings going on that we dont understand causing the lines

KW
KW 2021-04-09

Josh,

that wont help as we must cut the arc on a cylinder.

KW
KW 2021-04-09

sorry for the delay but weve been troubleshooting this with Dassault and Mastercam- nobody can figure it out which is shocking. heres the files and photos of what we get. you can see the lines which is exactly what mastercam sees from the solidworks files.

This is a Z/C cut and has no y moves. Just a Y offset for the follower roller diameter so the center of the roller is on centerline.

Heres the toolpath mastercam is creating off our SW file. were commanding a spline or arc but only can get lines.

weve tried wrap and surface offset with no change Heres a link to the files if anybody would like to try. https://www.dropbox.com/sh/emv0a66hgcpx0ek/AACJsPaX3wbdbqIZfyuPbFIHa?dl=0 please help!!

comment imagecomment imagecomment imagecomment image
JB
JB 2021-04-09

Have you tried cutting your arc directly into a flat and checking the toolpath? When you wrapped it onto a cylinder, you increased the geometric complexity exponentially. It's not an arc anymore.

FL
FL 2021-04-09

Those line are graphic only.

It doesn't affect model or finish part.

FL
FL 2021-04-09

You did draw an arc to cut the slot.

Once its cut, it become spline.

It depends on setting in MasterCAM on how to cut that profile.

TT
TT 2021-04-09
<p>Kris Werth wrote:</p><p></p><p>I am trying to cut this arc (green line) on a CNC but when we generate the code in MasterCam its commanding the cut in several straight lines (tangents shown in grey) to form the arc- the code is generated this way because SolidWorks is making the arc this way. This is ok but we need to smooth out the arc alot by substantially increasing the number of straight lines and decrease their length so the CNC code commands to cut a smoother arc. Ive made the arc out of a spline and its still the same. Another cylindrical part i made to test also shows the same type of tangents so it must be in the SW settings. Running SW 2019 full functionality</p><p>Thank you!</p><p style="min-height: 8pt; padding: 0px;"></p><p></p>

Hi Kris,

I run MasterCam for Solidworks 2019.

As you can see from the screenshot below, the arc appears to be in several sections but the toolpath is smooth. The post processed code reflects that.

The G2 line is that arc. As you can see it's just one line.

Yours is not?

What version of Solidworks and MasterCam are you running?

Can you attach your file so I can take a look at it?

comment imagecomment imagecomment imagecomment imagecomment imagecomment image
AW
AW 2021-04-09

Is that a true cylindrical arc or a spline?

KW
KW 2021-04-09

I dont need a tangent at all, just need a true solid body arc. To make that arc i used the 3 point arc tool. Then offset a identical line to the inside and boxed it in to make a "slot" for the tool to cut. When i boxed it in to make the slot thats when SW automatically added the grey area as you see it. I made the same slot except i replaced the 3 point arc with a spline and got the same grey area result.

This is the Part im making. its a wrapped pocket.

comment imagecomment imagecomment imagecomment imagecomment imagecomment image
KC
KC 2021-04-09

Hello,

The "arc" doesn't appear to be tangent to the line. (It looks like a Fix marker to my ancient eyes.)

Do you need tangency here?

Kevin

KW
KW 2021-04-09

Can you verify if you are seeing the same features as i am in SW with an arc or circle.

KW
KW 2021-04-09

XT

KW
KW 2021-04-09

Maybe i am making the part incorrect in SW. Is there a way that you can make a arc or circle on a solid part which gets cut by CNC mill that does not have these lines?

FL
FL 2021-04-09

How do you get the SW file to MasterCAM?

DXF?

STEP?

KW
KW 2021-04-09

thats what we thought. originally we assumed it was MC doing the segments but after investigating it we found when we turned the arc into a solid part in SW it made the straight segments which mastercam follows exactly.

Just make a solid cylinder real quick then zoom in alot on the circle. you should see these lines. if not then its a setting i have incorrect.

KW
KW 2021-04-09

CNC is actually cutting the arc in straight segments. Weve tried to adjust this in MasterCam but the ST file i export out of SW for this model has straight lines in it as shown in the grey when it comes into Mastercam. Since the SW grey line looks exactly like the CNC cut we are assuming its in SW settings somewhere or i selected the wrong type of feature to make the arc.

TD
TD 2021-04-09

Is the CNC actually cutting the arc in straight segments or does it just look like it does when you simulate the toolpath?

Sometimes increasing image quality will get rid of the choppiness in the toolpath simulation preview