Go Down

Topic: Arduino CNC GRBL: using Inkscape to create DXF files (Read 3109 times) previous topic - next topic

travis_farmer

I put this in the Bar, as it primarily involves Inkscape, as the Ardino hardware has not yet arrived.

has anybody used Inkscape to create DXF files? i have a DXF to GRBL converter, but whatever i use to open the DXF file, it shows nothing.

All i want to do is learn how to create the DXF files correctly, so i can convert them to GRBL. I can export from Inkscape to DXF, but i don't think i am doing it correctly. either i have the sizing incorrect, or i really don't know what i am doing (the later is most likely).

Thoughts? ideas? suggested tutorials? Suggested anything, that doesn't include adding the idea to the circular file? :D

I am just trying to make sure i know what i am doing first, while i wait for the parts to arrive.

~Travis
My GitHub: https://github.com/travisfarmer?tab=repositories
rfid_reader (Library), ServerTempCtrl (Project)

Robin2

Inkscape can write HPGL files which are very close to GCode. I wrote a Python program to convert from HPGL to GCode.

I wanted to mill some very simple shapes from thin brass sheet on my small lathe. It worked OK but then I discovered electro-etching which is a lot less trouble. I can cut an etch mask from self-adhesive vinyl with my Silhouette Portrait cutter.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

travis_farmer

Inkscape can write HPGL files which are very close to GCode. I wrote a Python program to convert from HPGL to GCode.

I wanted to mill some very simple shapes from thin brass sheet on my small lathe. It worked OK but then I discovered electro-etching which is a lot less trouble. I can cut an etch mask from self-adhesive vinyl with my Silhouette Portrait cutter.

...R
would that just do two vertical points though (pen up, pen down)?
sounds very interesting, but i just want to make sure i don't limit the capabilities (beyond what a $50 kit from eBay already limits).

Could be useful if i mount a laser engraver head on it though...

~Travis
My GitHub: https://github.com/travisfarmer?tab=repositories
rfid_reader (Library), ServerTempCtrl (Project)

larryd

Laser sounds good but is very difficult to do well.
Also emits seriously bad gases.

If you don't get a ready made unit, you will be very sorry, but I think this was implied already.


.
No technical PMs.
The last thing you did is where you should start looking.

travis_farmer

Laser sounds good but is very difficult to do well.
Also emits seriously bad gases.

If you don't get a ready made unit, you will be very sorry, but I think this was implied already.


.
Hmm, no laser then.

as for a ready made unit, i gain zero trial-and-error knowledge on how they work if i buy one all made. besides, for just experimenting, i can't really justify that kind of money right now.

As Arduino is a DIY community, i am curious as to why you are crapping on my DIY CNC machine? is it me or the parts you don't trust?

~Travis
My GitHub: https://github.com/travisfarmer?tab=repositories
rfid_reader (Library), ServerTempCtrl (Project)

Robin2

would that just do two vertical points though (pen up, pen down)?
I guess so. But I was working on the assumption that Inkscape just produces a 2D drawing.

It would be straightforward to repeat a movement (or series of movements) at different depths if you could not mill all the way through in one pass.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

travis_farmer

I guess so. But I was working on the assumption that Inkscape just produces a 2D drawing.

It would be straightforward to repeat a movement (or series of movements) at different depths if you could not mill all the way through in one pass.

...R
I have an old version of SolidWorks that was given to me due to it being outdated. but i have not found a way to generate GRBL code from there.

~Travis
My GitHub: https://github.com/travisfarmer?tab=repositories
rfid_reader (Library), ServerTempCtrl (Project)

larryd

The motor, drivers and controller is 1% of CNC.
The important part is the lead screws and bearing surfaces and control software is the other 99%.

I have a scope, soldering station, signal generators, powers supplies, analyzes, all purchased.
What you do with them is what DIY is about.
Same with CNC.

Enough said.

.
No technical PMs.
The last thing you did is where you should start looking.

travis_farmer

apparently i am too stupid to build my own CNC.
I can tell when i have worn out my welcome, i guess.
My GitHub: https://github.com/travisfarmer?tab=repositories
rfid_reader (Library), ServerTempCtrl (Project)

larryd

This is nothing to do with you.

Do you think perhaps we are speaking from a great deal of practical experience.


.
No technical PMs.
The last thing you did is where you should start looking.

TKall

No disrespect.  It's like building your own TV when you only really want to watch Judge Judy.

travis_farmer

I'm not trying to watch Judge Judy (nor would i anyway). i am trying to learn how to build my own CNC machine. using it is entirely an after thought. i like to build stuff. i built a DCC++ train controller, but have yet to build a layout. i have just a circle of track.

When i try to get help, i get responses that it is a bad idea, with absolutely no specifics as to what part was the bad idea.
My GitHub: https://github.com/travisfarmer?tab=repositories
rfid_reader (Library), ServerTempCtrl (Project)

TKall

Mine came in semi-kit form and it was clear that building one from scratch would require a fairly sophisticated shop.  But, if your goal is to build a CNC machine and not use a CNC machine it would sure be a challenging project.

These guys have some cool stuff you may find helpful: https://www.8020.net/

larryd

Sounds like you are having a grumpy week end. ;)

Anyway, if you proceed, make sure you use backlash nuts with the lead screws.



.

No technical PMs.
The last thing you did is where you should start looking.

Robin2

I have an old version of SolidWorks that was given to me due to it being outdated. but i have not found a way to generate GRBL code from there.
I know nothing about SolidWorks and I have never put in the time to learn proper 2D Cad, never mind 3D. I do my 2D drawing with LibreOffice 4.3 Draw which I think is better than InkScape and which can export SVG files that Inkscape can use. I had a problem with the SVG files from a newer version of LibreOffice.

I reckon it would help if you explain the sort of tasks you want your CNC to do.

I added 3 stepper motors (X, Y and Z axes) to a small lathe (Sieg C1). I wrote a simple Arduino program to control them. And I wrote a Python program for my PC to allow manual control and to interpret simple GCode and convert it to numbers of steps for the motors (actually the total time for a move and the time between steps for each motor) which it sends to the Arduino. It seems to work properly but I have actually used it very little. I had started adding a sensor to detect the position of the chuck so as to synchronize the feed for screw cutting - but like a lot of my things the need evaporated before I got that finished :)

Making a robust machine that can handle the heavy loads for metal cutting would be a major task.

I wouldn't worry too much about backlash. You can make your program allow for that by adding some extra steps when the direction changes - as long as the backlash is consistent.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

Go Up