From 9966927e5cd35cf8fb4d6925eb27880e9e974a92 Mon Sep 17 00:00:00 2001 From: Rosia E Evans Date: Thu, 12 Oct 2023 11:58:06 +0100 Subject: [PATCH] Adds program argument to set static folder in preparation for separation of posts and code --- Resources/Input/Newer Work/CNCMachine.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Resources/Input/Newer Work/CNCMachine.md diff --git a/Resources/Input/Newer Work/CNCMachine.md b/Resources/Input/Newer Work/CNCMachine.md new file mode 100644 index 0000000..97c0513 --- /dev/null +++ b/Resources/Input/Newer Work/CNCMachine.md @@ -0,0 +1,18 @@ + +# CNSelfie + +This was my first project created at my univeristy's robotics society. Created as an interactive robot for kids coming to university open days, +it would display a camera view and detect outlines then when a photo was taken with it it would generate gcode from these lines to direct +the society's CNC machine to draw out what it saw. The idea being that kids could have drawings of themselves made by a robot they could take home. + +It was finished over the course of two weeks in collaboration with a friend at the society. + +## Overview +The program worked using [OpenCV](https://opencv.org/). OpenCV would detect sharp edges and produce an black and white image, this would then by converted into a vector +which was then converted into gcode as paths for the CNC machine. I found a [library](https://github.com/PadLex/SvgToGcode) for converting between vectors and gcode but found it didnt have all the functionality I needed +so ended up adding alot of extra methods and rewriting a few of them. + +This GCode was then sent by [Universal Gcode Sender](https://github.com/winder/Universal-G-Code-Sender) to our CNC machine. + +## Gallery +fkuck