kachurovskiy / lathecode

Text format for lathe parts and other objects with circular symmetry
MIT License
10 stars 3 forks source link

[Bug] Finishing pass not being applied. #15

Closed Festivejelly closed 4 months ago

Festivejelly commented 4 months ago

Take this:

UNITS MM STOCK D16 TOOL RECT R0.2 L2 ; Using a rectangular grooving tool DEPTH CUT0.5 FINISH0.2

L0.5 D0 L5 D10 L5 D15

When I look at the generated gcode using my visualiser I can see that it only cuts as deep as 5.2mm ABS. Which means its not completing the finishing passes.

https://festivejelly.github.io/LatheGcodeVisualiser/

image

I can see on the planner it looks like it knew it should do it:

image

But it didnt generate the toolpath for it.

kachurovskiy commented 4 months ago

@Festivejelly I suggest to stop using D0 suffix in your lines :) If you specify L0.5 instead of L0.5 D0 it works as intended.

Festivejelly commented 4 months ago

@kachurovskiy Ahhh I was wondering why sometimes it worked and sometimes not, thats probably why,

Festivejelly commented 4 months ago

Can confirm this now works as of your commit so ill close. Cheers.