Problem with creating a curve line with precise coordinates

Problem with creating a curve line with precise coordinates

assen_pandov
Participant Participant
2,129 Views
23 Replies
Message 1 of 24

Problem with creating a curve line with precise coordinates

assen_pandov
Participant
Participant

Hello,

 

I'm trying to create a curve line 61cm with exact coordinate points...  I need precise coordinate on each 16,5mm.

If I use the spline the line doesn't pass on the exact coordinates even if I give tolerance 0.0000.

When I convert it to poly line and  put high precision the CNC struggles to do smooth curve..

If I do it directly with poly line and after that give a "curve fit" should it be better?

 

Those are the coordinates I need:

0,5.884

0,29.603

7.5,5.504

7.5,29.944

24,4.723

24,30.626

40.5,4.108

40.5,31.235

57,3.502

57,31.800

73.5,2.899

73.5,32.325

90,2.422

90,32.784

106.5,1.991

106.5,33.193

123,1.558

123,33.575

139.5,1.212

139.5,33.892

156,0.944

156,34.139

172.5,0.695

172.5,34.373

189,0.484

189,34.568

205.5,0.326

205.5,34.705

222,0.185

222,34.837

238.5,0.073

238.5,34.941

255,-0.006

255,35.006

271.5,-0.064

271.5,35.059

288,-0.098

288,35.091

304.5,-0.110

304.5,35.102

321,-0.098

321,35.091

337.5,-0.064

337.5,35.059

354,-0.006

354,35.006

370.5,0.082

370.5,34.914

387,0.200

387,34.802

403.5,0.351

403.5,34.660

420,0.536

420,34.469

436.5,0.775

436.5,34.256

453,1.058

453,34.003

469.5,1.375

469.5,33.675

486,1.781

486,33.306

502.5,2.292

502.5,32.850

519,2.780

519,32.331

535.5,3.377

535.5,31.765

552,4.105

552,31.115

568.5,4.777

568.5,30.402

585,5.555

585,29.635

601.5,6.500

601.5,28.791

609,6.935

609,28.374

 

Can someone suggest me the best way to do it simple, smooth and accurate ?

 

Thanks in advance

0 Likes
2,130 Views
23 Replies
Replies (23)
Message 21 of 24

Kent1Cooper
Consultant
Consultant

@assen_pandov wrote:

If I change "arc and smoothness circle" to "1" is really off, if I put it to 20000 it's closer.. should I leave it to 20000?


Yes.  Lower values made a difference in speed back when computer processors were much slower, but with today's processors you may as well leave it at the maximum value.

Kent Cooper, AIA
0 Likes
Message 22 of 24

assen_pandov
Participant
Participant

will do! Thanks! 

I don't know with the older versions, but when I gave the file to the cnc guy, he wanted me to safe it on older version of the Autocad..

0 Likes
Message 23 of 24

leeminardi
Mentor
Mentor

From the data in the first column of your original post I created three curves.

- polyline (red)

- degree 3 spline (green)

- degree 2 spline

I also added point objects at each data point.

 

If you zoom in very tightly to one of the data points (I choose the 18th) you would see the following.

image.png

The precise location of data point 18 is the red point (and white "X").  If you select either of the splines it's fit point  grip #18 will show to be at the data point although the spline itself does not appear to pass through it.  The difference could be due to a display issue or the precision of the math used to determine CV location from fit points (not a simple calculation).  The green point is the result of adding a point on the green spline using object snap nearest.  Obviously it should be exactly on the spline,  The white point is the nearest point when clicking on the white spline. I believe there are some approximations being made for speed of display and that may be the cause of the apparent error.

If the red polyline is not smooth enough for your application when you use it to machine a part I suggest using either a 2nd or 3rd degree spline.  If you post process cannot handle B-splines then I would use splinedit with a precision of 10 to convert the spline to a polyline that will have more chords and hence will produce a smother machined profile.

lee.minardi
0 Likes
Message 24 of 24

assen_pandov
Participant
Participant

Thanks, will try! Just when i put precision to 10 there are too many points and machine sometimes stops and make small wholes on the metal..  i try to keep as less points as possible to make it work..

0 Likes