Hi,
i am not sure if i did understand it right. You want to have a dedicated axis with an servo, which is giving you the angular orientation on the XY Plane (Z-Axis). I am not sure how this could work with G2 and G3, since this is normally interpolated and calculated by the maschine. However for Lines you can use the S_Ang or E_Ang Parameters, which are giving you the direction of the line. Please check the Postprocessor WIKI. However you need to generate a special Postprocessor and if this is not enough maybe you need to adapt some lines of code. If you know exactly what you want to do I can point you to the lines where you need to change a bit.
Regards
Christian
--
--
You received this message because you subscribed to the Google
Groups-group "dxf2gcode-users".
To post a message, send mail to dxf2gco...@googlegroups.com
To unsubscribe, send mail to dxf2gcode-use...@googlegroups.com
See http://groups.google.de/group/dxf2gcode-users?hl=en for more options
and the dxf2gcode project page at http://code.google.com/p/dxf2gcode/
---
You received this message because you are subscribed to the Google Groups "dxf2gcode-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dxf2gcode-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dxf2gcode-users/5e46d615-3a13-4d69-bbae-b6e1ade30bd3n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dxf2gcode-users/000201d709ad%24c4d95a90%244e8c0fb0%24%40googlemail.com.
Here find the link to the function which is doing the G-Code for Drag Knife.
Top Level here with start and end code:
https://sourceforge.net/p/dxf2gcode/sourcecode/ci/master/tree/source/dxf2gcode/core/shape.py#l478
For Arcs and Lines imported from DXF here:
https://sourceforge.net/p/dxf2gcode/sourcecode/ci/master/tree/source/dxf2gcode/core/arcgeo.py#l406
https://sourceforge.net/p/dxf2gcode/sourcecode/ci/master/tree/source/dxf2gcode/core/linegeo.py#l187
For the use of the existing Parameters check the Wiki:
https://sourceforge.net/p/dxf2gcode/wiki/Postprocessor%20Configuration/
Refer to those, but those are only calculated an forward for ARC’s not for lines. You will see that in the previously linked files for LINE and ARC.:
"%AngS"
The starting angle of an Arc in deg.
"%-AngS"
The negative starting angle of an Arc in deg.
"%AngE"
The end angle of an Arc in deg.
"%-AngE"
The negative end angle of an Arc in deg.
Here you can find the Postprocessor, if you want to add other variables or similar and make them useable in the way the current prostprocessor does …
regards
Christian
PS: If you make it in the way that it’s still compatible with the existing function I would be able to update the branch with it …
To view this discussion on the web visit https://groups.google.com/d/msgid/dxf2gcode-users/CACz8syR%3Diqhrj2FonPi7hSGYiCUJQxYjxsuBoKLgATF4fR66hQ%40mail.gmail.com.