Tangential cutter in development

Did your motor move when you just do G1 E10? Do you have the units (whatever units you want) and the steps per unit tuned?

Some other things I noticed:

The decimal places are nuts. Usually we see 3-4 after the decimal.

The parenthesis comments haven’t given us trouble in a long time. It is weird to see them inline (penetrate). You might try removing them just to make sure they aren’t giving you any problems.

Haha. You replaced all the A’s with E’s. :slight_smile:

Such a modification of the g-gode did not fix the problem - there is no movement in the “E” axis

(HeEder)
(GenerEted by gcodetools from InkscEpe.)
(Using defEult heEder. To Edd your own heEder creEte file “heEder” in the output dir.)
M3
(HeEder end.)
G21 (Ell units in mm)

(StErt cutting pEth id: pEth846)
(ChEnge tool to TEngent knife)

G00 Z5.000000
G00 X121.732390 Y23.840980

M302 P1

G01 E2.61
G4 S2
G01 Z-0.125000 F500.0(PenetrEte)
G01 X91.360798 Y41.405890 Z-0.125000 F2000
G4 S2
G01 E3.58 F4000

G01 X59.673129 Y26.344310 Z-0.125000 F2000
G4 S2
G01 E1.36 F4000

G01 X66.993010 Y60.657270 Z-0.125000 F2000
G4 S2
G01 E2.328 F4000

G01 X42.876575 Y86.139750 Z-0.125000 F2000
G4 S2
G01 E0.10 F4000

G01 X77.772100 Y89.781410 Z-0.125000 F2000
G4 S2
G01 E1.07 F4000

G01 X94.554991 Y120.592030 Z-0.125000 F2000
G4 S2
G01 E-1.15 F4000

G01 X108.801730 Y88.529750 Z-0.125000 F2000
G4 S2
G01 E-0.184 F4000

G01 X143.290560 Y82.089270 Z-0.125000 F2000
G4 S2
G01 E-2.40 F4000

G01 X117.200010 Y58.632030 Z-0.125000 F2000
G4 S2
G01 E-1.44 F4000

G01 X121.732390 Y23.840980 Z-0.125000 F2000
G00 Z5.000000

(End cutting pEth id: pEth846)

(Footer)
M5
G00 X0.0000 Y0.0000
M2
(Using defEult footer. To Edd your own footer creEte file “footer” in the output dir.)
(end)

single GO E360 commands; G1 E0 F4000 are working properly.
pause settings after G1E also do not change anything

Inkscape produces very small amounts of angle change to the “E” axis. They don’t seem to be appropriate for star clipping … I’ll see what it is like for a rectangle.

Rectangle:
Header)
(Generated by gcodetools from Inkscape.)
(Using default header. To add your own header create file “header” in the output dir.)
M3
(Header end.)
G21 (All units in mm)

(Start cutting path id: rect846)
(Change tool to Tangent knife)

G00 Z5.000000
G00 X39.655075 Y87.571640

G01 A0.0
G01 Z-1.000000 F500.0(Penetrate)
G01 X108.638390 Y87.571640 Z-1.000000 F4000.000000
G01 A-1.5707963267948966
G01 X108.638390 Y38.828950 Z-1.000000
G01 A-3.141592653589793
G01 X39.655075 Y38.828950 Z-1.000000
G01 A-4.71238898038469
G01 X39.655075 Y87.571640 Z-1.000000
G00 Z5.000000

(End cutting path id: rect846)

(Footer)
M5
G00 X0.0000 Y0.0000
M2
(Using default footer. To add your own footer create file “footer” in the output dir.)
(end)

Angle “A” values should be a multiple of 90 degrees

How to change it in the G-Code tools plugin so that the generated angles are appropriate for a given shape?

Those E values are in radians, not degrees. 1.57 is half of pi.

You can adjust your steps/mm for E (make them 180/3.14 larger). Or convince inkscape to output degrees.

How can you convince Inkskap to degrees?

I have a gear ratio of 1:36 on the engine, currently I have 640 degrees / 360 degrees.
640 * 180 / 3.14 = 640 * 57.33 = 36687.90 (astronomical number of steps for the “E” axis)

I have no idea how to make inkscape output in radians. I don’t know how you got the tangential cuts out of inkscape in the first place :slight_smile:

Marlin doesn’t care what units you use. It needs to know how many steps to flip when you ask for G1E1, from E=0. How many times does it have to flip that output?

If your gcode is in radians, then you need:

36687.9*180.0/3.14159=2102063.6

That is huge. I suspect you will run into some trouble with a number that big. But the first step is to try it and cut in the air and see if it comes close to moving it in a star or square shape.

Inkscape G-code tools has a Tangent Knife tool. There, in the options, among other things, is the 4th axis scale.
There I put the calculated value 57.296321247 and the generated code for the A axis is given in degrees. I replace the A axis with E and after each movement of the E axis I insert a delay G4 S1. This seems to work for Marlin. There is only a small problem … How for a rectangle to reverse the cutting motion to be clockwise. Now Inkscape generated the code with a cutting motion counterclockwise with the knife tangent but inverted 180 degrees. I know I can convert E - to E + but for complex shapes this won’t work.

Can you just set the E=0 with the knife pointing the other way?

36 / 5 000

Wyniki tłumaczenia

Simple did not think about it thanks!

Sorry to dredge an old topic but how are people homing the tangential cutter?

Crud, replying to an OLD topic, I need to pay more attn!

If you have details to add, maybe put them in the relevant new thread:

no, I am on it too. I was just saying I thought bart wasnt updating grbl32 anymore. that is all.
bad edit.