N1290 X565.788 Y519.58 Z-8. R1.8 K1.114
N1295 G01 Y500.393 F2000.
function onLinear(_x, _y, _z, feed) {
var x = xOutput.format(_x);
var y = yOutput.format(_y);
var z = zOutput.format(_z);
Solved! Go to Solution.
Solved by Laurens-3DTechDraw. Go to Solution.
N6690 X838.575 Y303.574 Z-6.889 R1.8 K21.158
N6695 Y303.676 Z-6.551 R1.8 K37.282
N6700 X838.574 Y303.711 Z-6.2 R1.8 K114.795
limpkin wrote:
So I seem to have found a solution, however I guess it's considered as cheating 🙂
simply calling forceXYZ(); at the start of each function
var sOutput = createVariable({prefix:"S", force:true}, rpmFormat);
Laurens Wijnschenk
3DTechDraw
AutoDesk CAM user & Post editor.
René for Legend.
Hello,
i need to force the output of G01, G02, G03 etc.
My used modified postprocessor always delete the next same G01 for example.
e.g.
G01 Z2 F7
Z1
Z-1.5 F5
Z2 F11.7
Z-1.5 F7
G03 X-55.063 Y34.75 I-12.25 J0
G01 Z-2.3 F5
I need it like this:
G01 Z2 F7
G01 Z1
G01 Z-1.5 F5
G01 Z2 F11.7
G01 Z-1.5 F7
G03 X-55.063 Y34.75 I-12.25 J0
G01 Z-2.3 F5
Pls help...
Greetz
EDIT:
Problem solved here:
Bonjour a tous,
j ai le meme probleme avec un post pro num ,j ai bien mis " force:true" mais il me manque toujours le XY .
je vous met ci joint le fichier programme ainsi que mon post pro
pouvez vous m aider
Merci d avance
Hello @arnaud.robillard
I guess that the issue is on the line with the G02/G03 ?
If so then you will need to open your post, search for the onCircular command.
Then you will need to change the following lines :
if (isFullCircle()) { if (properties.useRadius || isHelical()) { // radius mode does not support full arcs linearize(tolerance); return; } switch (getCircularPlane()) { case PLANE_XY: writeBlock(gAbsIncModal.format(90), gPlaneModal.format(17), gMotionModal.format(clockwise ? 2 : 3), iOutput.format(cx), jOutput.format(cy), feedOutput.format(feed)); break;
As you can see for the XY plane, no coordinates are output after the potential G90 G17 G2/G3 it will be I J F.
But not X,Y,Z
You will need to change this to
Hope it helps.
______________________________________________________________
If my post answers your question, please click the "Accept as Solution" button. This helps everyone find answers more quickly!