Saving Axes Positions to a CSV file on Local Computer
-
Hiya, I am working on a custom 5-Axis 3D Printer that uses a Duet3 MB6HC as the control board. The board is running in standalone mode connected through ethernet. I am currently using DWC as the main form of communication with the board. The printer is designed to print on surfaces outside of its volume, so it could print on a cylindrical surface directly next to it. I am working on a calibration system for the printer and the algorithm needs a table of joint angles that correspond to each touch-off point.
Currently, my process consists of: manually moving a probe to the surface then recording the joint positions in an excel spreadsheet. Once all the points are recorded I input them into the calibration algorithm and get my results. I am already planning on automating the probing, but I would like to automate the joint position recording.
I have used M409 to retrieve the positions in the console, but I would like to do something similar where the positions are also saved to a local spreadsheet. Any ideas?
-
@gingergradstudent you could use curl to send a rr_model request to the Duet to retrieve the axis positions in JSON format, then use sed or a similar tool to convert them to CSV.
-
@dc42 It worked! Thank you!
-