Cancel
Showing results for 
Search instead for 
Did you mean: 

Re: the poly programming

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Hi,

I am a customer, just to clarify Smiley Wink

If you use "Sinumerik Spline" as output, you should get the poly-line output you are seeking for.

If possible, it is best to attach a sample part file and the expected NC output file to the discussion, so others can change the settings to get the predicted result.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.2, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0

Employees of the customers, together we are strong Smiley Wink
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide

Re: the ploy programming

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

For Siemens Sinumerik you can use:

ASPLNE

BSPLINE

CSPLINE

ASPLINE and CSPLINE - little bit similar, through points. BSPLINE use inputs point like poles.

And you can use POLY interpolation, where

x=a1*x^3+a2*x^2+a3*x+xe, same for Y and Z (see programming manual).

But.

For BSPLINE you can get from NX full info about control points and weights for each points, NX will divide curved motion into spline segments with defined tolerance.

But I dont know any method to get poly coefficients for polinom.

For example, I have law-defined curve y=0.5*x^2 and toolpath on this curve.

 

spline.pngy=0.5*x*x

 

 

OOTB mill01_3ax postprocessor for linear motion output:

 

N320 ;Cutting

N330 X.174 Y.015

N340 X.347 Y.06

N350 X.521 Y.136

N360 X.694 Y.241

N370 X.868 Y.377

N380 X1.042 Y.543

N390 X1.25 Y.781

N400 X1.458 Y1.063

N410 X1.667 Y1.389

N420 X1.91 Y1.824

N430 X2.153 Y2.317

N440 X2.396 Y2.87

N450 X2.674 Y3.574

N460 X2.951 Y4.355

N470 X3.264 Y5.326

N480 X3.576 Y6.395

N490 X3.889 Y7.562

N500 X4.236 Y8.972

N510 X4.583 Y10.503

N520 X4.965 Y12.327

N530 X5. Y12.5

N540 ;Departure Move

N550 G0 Z10.

 

And with spline motion:

N320 ;Cutting

N330 X.174 Y.015

N340 BSPLINE SD=3 X.441 Y.059 PL=0.0

N350 X1.038 Y.443 PL=.057701

N360 X1.769 Y1.474 PL=.094265

N370 X2.705 Y3.482 PL=.120348

N380 X3.669 Y6.563 PL=.270964

N390 X4.437 Y9.767 PL=.308153

N400 X4.872 Y11.86 PL=.148569

N410 X5. Y12.5 PL=0.0

N420 ;Departure Move

N430 G0 Z10.

 

 

Of course, with POLY it can be like single motion, I no need polinom coefficient from CADCAM for this case, just from my head, but I dont know how get it from NX.....

 

Re: the ploy programming

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

For Siemens Sinumerik you can use:

ASPLNE

BSPLINE

CSPLINE

ASPLINE and CSPLINE - little bit similar, through points. BSPLINE use inputs point like poles.

And you can use POLY interpolation, where

x=a1*x^3+a2*x^2+a3*x+xe, same for Y and Z (see programming manual).

But.

For BSPLINE you can get from NX full info about control points and weights for each points, NX will divide curved motion into spline segments with defined tolerance.

But I dont know any method to get poly coefficients for polinom.

For example, I have law-defined curve y=0.5*x^2 and toolpath on this curve.

spline.png

 

OOTB mill01_3ax postprocessor for linear motion output:

 

N320 ;Cutting

N330 X.174 Y.015

N340 X.347 Y.06

N350 X.521 Y.136

N360 X.694 Y.241

N370 X.868 Y.377

N380 X1.042 Y.543

N390 X1.25 Y.781

N400 X1.458 Y1.063

N410 X1.667 Y1.389

N420 X1.91 Y1.824

N430 X2.153 Y2.317

N440 X2.396 Y2.87

N450 X2.674 Y3.574

N460 X2.951 Y4.355

N470 X3.264 Y5.326

N480 X3.576 Y6.395

N490 X3.889 Y7.562

N500 X4.236 Y8.972

N510 X4.583 Y10.503

N520 X4.965 Y12.327

N530 X5. Y12.5

N540 ;Departure Move

N550 G0 Z10.

 

And with spline motion:

N320 ;Cutting

N330 X.174 Y.015

N340 BSPLINE SD=3 X.441 Y.059 PL=0.0

N350 X1.038 Y.443 PL=.057701

N360 X1.769 Y1.474 PL=.094265

N370 X2.705 Y3.482 PL=.120348

N380 X3.669 Y6.563 PL=.270964

N390 X4.437 Y9.767 PL=.308153

N400 X4.872 Y11.86 PL=.148569

N410 X5. Y12.5 PL=0.0

N420 ;Departure Move

N430 G0 Z10.

 

 

Of course, with POLY it can be like single motion, I no need polinom coefficient from CADCAM for this case, just from my head, but I dont know how get it from NX.....

 

Re: the poly programming

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

For SIEMENS Sinumerik you can use different kind of splines:

ASPLINE

BSPLINE

CSPLINE

A- and C-SPLINE little bit similar, through points, BSPLINE use points as poles.

And you can use POLY where

x=a1*x^3+a2*x^2......

same for Y and Z

 

I have law-defined spline y=0.5*x*x,

 

And if you will use OOTB mill3ax postprocessor for BSPLINE will be:

 

N320 ;Cutting

N330 X.174 Y.015

N340 BSPLINE SD=3 X.441 Y.059 PL=0.0

N350 X1.038 Y.443 PL=.057701

N360 X1.769 Y1.474 PL=.094265

N370 X2.705 Y3.482 PL=.120348

N380 X3.669 Y6.563 PL=.270964

N390 X4.437 Y9.767 PL=.308153

N400 X4.872 Y11.86 PL=.148569

N410 X5. Y12.5 PL=0.0

N420 ;Departure Move

N430 G0 Z10.

 

But - for POLY motion it will be one motion, one line for nc-programm. I dont know, how get poly coefficients from NX..

 

 

 

Highlighted

Re: the poly programming

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

To get poly-line NC output you must fulfill the following prerequisites:

  1. own nurbs or sinumerik_spline NX license
    • nurb_output_enabler and sinumerik_spline are part of the 5-axis add-on license or any 5-axis machining license bundle
  2. change output in the operation to nurbs or sinumerik spline
  3. have a post-processor supporting nurbs or sinumerik splines

Without one of these you will not be able to get poly-line NC output.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.2, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0

Employees of the customers, together we are strong Smiley Wink
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide

Learn online





Solution Information