4th axis tangent to path XY
Nothing, you can ignore those warnings.what do i wrong?
It is more likely that I made a mistake in the tangentkins file. I will try to have a look at it tonight.
Please Log in or Create an account to join the conversation.
Annoyingly I had it working, but got in a tangle with save/compile/test and can't figure out which combination worked (the problem is a pointer indirection issue on the HAL pin variable)
I have run out of brainpower for tonight (01:42 here), I will look at it again tomorrow.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Latest iteration locked my Virtual Machine completely. I am beginning to wonder if it is a VM problem. I will have to try doing this on the real EMC2 dev machine, not in a VM while I play around on the internet on my Mac.
Trust me, it isn't difficult, I am just getting too distracted and messing up.
It basically comes down to one mis-placed "*" in the file. Normally the HAL pin pointers live in a struct, and you hal_malloc them. I am trying to avoid the struct definition because it it only one pin, but perhaps I have to do it that way.
Tomorrow, I promise.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- bvandiepenbos
- Offline
- Senior Member
-
- Posts: 72
- Thank you received: 0
I need to try out this tangent kinematics module!
Sounds like it will do some of what I was thinking...steering a cutter, however my tool would be a chisel shape for engraving.
In addition to keeping tool tangent to XY direction I want to be able to turn tool from tangent either direction in real time.
This would allow my engraving machine to "carve" variable widths with same tool.
In addition would want to be able to 'wag' tool back and forth as it moves in XY... to produce zig-zag cuts.
Does this make any sense?
Would this be dificult to add to the kins module?
If it could then maybe the chisel/tools angle and 'wag' can be controlled in gcode with custom M codes?
Thanks.
~*Brian
sorry for butting in on your thread, should I start another instead?
Please Log in or Create an account to join the conversation.
It could be as easy as just changing a line in that code so that the tangent angle is added on to A rather than over-riding it.Would this be dificult to add to the kins module?
I think your idea might be better done in the preprocessor, though.
Please Log in or Create an account to join the conversation.
- bvandiepenbos
- Offline
- Senior Member
-
- Posts: 72
- Thank you received: 0
what do you mean by a processor?
~*Brian
Please Log in or Create an account to join the conversation.
It would cut the current line at angle A to the path.but the angle needs to vary in real time as part is being cut (the whole job does not get cut at same angle)
G1 X3 A5
G1 Y5 A-10
(for example)
Wiggly lines are more difficult. The kins module doesn't really know enough to do it.
what do you mean by a processor?[/quote[
Preprocessor, the software that creates the G-code.
Please Log in or Create an account to join the conversation.