Login  Register

Some improvements for CAM usage

Posted by Effad on Sep 17, 2013; 4:30pm
URL: https://forum.librecad.org/Some-improvements-for-CAM-usage-tp5708789.html

Hello,

for CAM uses it is often important to draw lines / polylines / splines in a certain direction (so that the milling machine does not have to move around a lot).

To that end, I've played around a bit with LibreCAD and made the following improvements:
* The handle boxes have configurable color for start / intermediate / end, which allows the user to see the direction of an object
* A plugin (named cam), which allows to reverse the direction of lines and polylines.

The attached patch also contains a few other improvements (small refactorings).

Is this acceptable for inclusion into the main sources? And is posting patches here good practice?

Here are some further points of improvement I would like to work on, if people think it OK:
*  Unfortunately there is no way to access splines from plugins so I am thinking whether I should implement the "Reverse direction" feature directly in the main code.
* A "connect object" feature which allows to combine multiple single lines into a polyline and multiple polylines into a single (big) polyline and multiple splines into a single spline.

Best regards,
Robert

Patch: 0001-Direction-enhancements.patch