I Have had a problem determining and or defining the "AREA WIDTH". I just cant get past this issue to create the gcode. The lines are always outside the object except when area width is "0"

I have deleted all my previous attempts, there not working.

Equipment: Win XP, -3040 Chinese CNC, parallel port connection and older computer.All purchased to work with the 3040cnc, then they got smart and converted to USB and made things simpler on newer machines. it is what it is.I need help creating a usable SVG. DFX. or whatever file to properly convert to Gcode to mill one object with 5 parts. I have been doing something wrong and I need to correct the problem.I have followed the list above enough without success.

Is there a complete step by step from a owner operator SVG or DXF, Not an image, to gcode. I have tried following the image conversion and eliminating the image conversion steps to no end. I'm not doing it again, until I figure this out.

I'm a little frustrated with this. It can't be this complex, is it?

I can draw my design in 2 minutes now without thinking anymore, Iv'e made it to many times.

I have 1 design and 1 project and no Idea why I can't get it working correctly with all the online tutorials.Are their settings in inkscape I'm missing? Doc Properties are set "inch". Do the conversions work better with MM insted of IN. If anyone would like to help me past this, Id'e be most happy .Not sure this is the right place for this. so move me if needed Brynn

I don't have a fast answer for you. If you wanted to spend some time, to help me understand certain things, there's a chance that I might see the answer. But there's a good chance we'll end up with both of us not knowing what to do. However, I'm willing to try.

Which tutorials have you followed?

You mentioned "image conversion". Do you mean using auto trace? Or did you manually trace? I'd be glad to check out your SVG file, if you like. If so, you mentioned needing gcode to mill 5 parts. I would need to know which parts are which, because your image looks like it has more than 5 objects.

You mentioned following "the list above". I'm not clear what that means. I did notice that you posted this in a new topic, even though it sounds like part of the other topic you posted recently. That's not a huge problem, but let me know if the forum is malfunctioning.

I've started working my way through the list. I mean with a drawing in Inkscape - just a simple star. But I see the Gcode Tools > Area dialog has several tabs. Is that where you're stuck, not knowing what to set in that dialog? If you know what to set, tell me, and I'll keep working through the list.

For units, I would keep the same units everywhere. Set Inkscape to whatever units you're going to use in all the dialogs and with the machines. With the recent new version 0.92.x there is a new DPI. So if you open a drawing that you made with an older version of Inkscape, you'll need to scale it, to make sure it's the right size. I seem to recall you started this project some time ago. So this might be an issue to fix. Although as far as making a test run, I don't think the DPI change would prevent getting the gcode. It's just you would end up with either a little bit larger or a little bit smaller result. (I keep forgetting which way it goes.)

I notice in your signature you've ruled out problems with certain hardware. Have you ruled it out by being able to use the hardware successfully with other projects? I would consider that to be stronger evidence, than if you performed some kind of electronic diagnostic on the machines.

And finally, is the problem that you aren't getting any gcode? Or you're getting gcode, but it's not correct? Or that you're stuck somewhere in the list of steps?

I know that this is being used successfully to create gcode and mill projects. Almost every tutorial I have found starts with an image and passes right over Area setting with little to no explanation. I am also using Gcode Version 1.7 not 1.4 and I know the Gcode program file morphed into a more usable program without new - updated tutorials with the new categories not listed in Ver. 1.4 ...

The bit size is, set with the Fill and Stroke-"Stroke Style", bit size .125 in., at least that's the consensus on multiple videos showing how to set bit size with inkscape. -I knew I was not that computer illiterate to not be able to follow instructions.

Clarification, I would appreciate you asking, mainly because of the clarity you provide when asking questions and giving response. I seem to miss the complete question and only get a partial answer and more questions.

I've been a real burnout this last month, disassembling, moving and rebuilding a farm is a real work out.

This has always been my favorite explanation of setting the AREA .

""6. Now we have a path of which area we want to cut.Next we need to calculate paths that will cover the area (these paths will be the cutter's trajectory).Go to Extensions -> Gcode tools ...Fill in Tool diameter in the Preferences tabThen go to Area tab, and fill in Area radius. What is Area radius or how can it been calculated?First of all Area radius must be in px (pixels) no mater which units you have been selected!There some ways to calculate Area radius:The easies way is: find the thickest part of the path and measure it by eye (Joke)The second easies way is: find the thickest part of the path and measure it with Bizier tool. When you draw apath with the Bizier tool status bar shows it last segment length.The hardest way is: convert path to dynamic offset (Ctlr+J), then press F2 and move the control point to makeyour path disappear. Then press Ctrl+Shif+X to open XML editor and find there inkscape:radius parameter, it'svalue is the exact value that you'll needSo anyway fill in Area radius.Choose Calculate Area curves at the bottom and press Apply.""

Logged

I have confirmed that, I do not have a Mach3 issue, works great. I have confirmed that, I do not have a 3040 cnc problem, works great. I do have a problem converting my drawing to gcode with inkscape.

""In the following exemple, it is not a string instrument, but a Cajòn (percussion box), which is supposed to have, according to the plan, a circular sound-hole with a 12 cm diameter.In my case, I didn't want to have a circular sound-hole, but something more funny, and I went for a footprint shape.Obviously, the total surface of the holes composing the footprints must be equivalent to a 12cm disk.1.Calculate the surface that we need to respect : 12 cm diameter = 113.1 cm². ""

Area Width by the 2 definitions below is a measurement of complete area (LxW) and across the surface at it's widest point, in my case it should be 9 inches, but this also does not work.

Areaar·e·aˈerēə/noun1.a region or part of a town, a country, or the world."rural areas of New Jersey"synonyms: district, region, zone, sector, quarter, precinct; More2.The extent or measurement of a surface or piece of land."the area of a triangle"synonyms: expanse, extent, size, scope, compass; More

WidthwidTH,witTH/SubmitnounThe measurement or extent of something from side to side."the yard was about seven feet in width"synonyms: breadth, broadness, wideness, thickness, span, diameter, girth"the width of the river"a piece of something at its full extent from side to side."a single width of hardboard"the sideways extent of a swimming pool as a measure of the distance swum.

screen shots coming.

Logged

I have confirmed that, I do not have a Mach3 issue, works great. I have confirmed that, I do not have a 3040 cnc problem, works great. I do have a problem converting my drawing to gcode with inkscape.

Oh yeah, I was aware of the Measure extension, which can find the area. But it seems like you'd have to use the Gcode extension, to get the cutting lines. Because the Measure extension will just give the area -- no cutting lines.

Actually, now that I look more closely at that thread in the cnc-club forum, the last several questions posted there have not been answered. The last 11 questions have not been answered. It doesn't look like they pay any attention to it anymore. The last time a question was answered, was over a year ago. I might try to PM someone, if it's allowed (I'm not sure, and I don't have IE open at the moment).

I think I'll take another look at your project later today. Maybe do some more trial and error. Just using some random numbers, I was able to get reasonable looking cutting lines, the other day. Not precise for your design, but just for a simple star. But if I can figure out which values go in which field, then we can plug in the values for your design.

I might have just had a brilliant idea Well I didn't have it all by myself. I searched that topic for "area", and found this reply: http://www.cnc-club.ru/forum/viewtopic.php?f=33&t=35&p=11543&hilit=area#p11543. It's from 2011, so it probably pertains to an earlier version of the gcode tools, or maybe even a development version. But there, he's explaining how to make the offset lines (which I assume are the cutting lines).

So I had a thought. What if we created our own offset lines? Then it doesn't matter where we put the "Area Radius" or what is "Area Width" or everything in Step 6. I think the whole reason for Step 6 is to create those offset lines.

Oh, yeah, yeah! I went back to the list, where the calculating the area is step....well it's also step 6, but it's a different tutorial. So after that step 6, step 7 is to open takes you through ungrouping the offset paths and getting them ready.

And then after that, step 10 is to open Gcodetools > Path to Gcode. When I opened it, I noticed that the 3 tabs in that dialog are absolutely identical to the last 3 tabs of the Area dialog. So I think the first 3 tabs of the Area dialog are for making those offset paths, and the last 3 tabs, which are the same as Path to Gcode, are for creating and outputting the gcode.

So what I'm thinking is to forget about the Area extension dialog completely. Make your own offset paths, and after they are ready, go to Path to Gcode dialog and enter whatever you need there, and it will create the gcode.

I'm going to work on an example of my own, then I'll show you what I did. I'm not sure if I will be able to produce gcode, only because I don't know what settings you have on your machines, which the Path to Gcode dialog needs. But I might guess, since it's just for practice. I'll post again shortly

3 -- I drew my own offset paths. Since the tool diameter is 10, and I thought that meant 10 pixels, but it probably means 10mm, I drew offset paths 10 px apart. But since there was some mention of overlap somewhere, I made the offset paths 9.5 px apart. It's a bit of a tedious process, and I can see why they tried to automate it with the first 3 Area dialog tabs.

Select path

Duplicate

I'm not sure if this is necessary, but since the Area dialog was making the offsets this way, I made mine this way -- set width to 0.3 px and set color to #999999ff

Dynamic Offset - drag approx distance

Open XML Editor, locate "inkscape:radius" on the right side and set that number to the offset distance you want, in the section below-right (the only other way I know to set a specific distance, is to set up a grid or guides or something, and use snapping) (I can give you detailed steps for that, if you want to do it that way) (although it might be hard to do if you don't have any perfectly horizontal or vertical paths)

Object to Path

Repeat #2 through #6 until you have all the offset lines you need

Make sure they all got converted to paths, then select all > Path menu > Combine

Path to Gcode tab -- Biarc Interpolation Tolerance - I left it as it was, which is 1.00000 -- Maximum Splitting Depth - don't know for sure what this is, but based on vague understanding, I changed from 4 to 2 -- Cutting Order - Subpath by Subpath (if I didn't Combine the outset paths above, I think I would choose Path by Path -- no clue what "Pass by Pass" means) -- Depth Function - d

Options tab -- Scale along Z axis - I left it set at 1.00000 -- Offset along Z axis - I left it set at 0.00000 -- Select all paths if nothing is selected (since I wasn't sure what to select, I checked this box and let Inkscape select what it needs) -- Minimum Arc Radius - I left it at whatever it was, which was either 0.05000 or -0.05000 (sorry I don't remember) -- Comment Gcode - I left it blank -- Get additional comments - I left it unchecked

Preferences tab -- File - I entered a name for the file, with .ngc on the end -- Directory - I entered the folder where I wanted the gcode file to be saved -- Z safe height - I left it as it was 5.00000 -- Units - mm -- Post-processor - I left it at None -- Additional post processing - I left it blank -- Generate log file - checked -- Path to log file - I entered the path where I wanted to save the log file

I'm not sure what any of those colors or arrows actually mean. But if you notice those places where there are a few arrows on one spot. It's because there are more than one node there. After using the Path Offsets, you have to do a good deal of cleanup, because it does sometimes put anything between 2, and something like 20 nodes on one spot, or it creates some kind of weird extra subpaths, sometimes.

Clearly I didn't get everything cleaned up. So be sure it's all cleaned up and there aren't any random extra subpaths here and there. And for this drawing, make sure all the nodes are smooth, except for those areas that form a v-shape.

In some places some of the arrows are actually pointing towards each other. I think it means that there's a tiny loop in the place where a lot of nodes are on top of each other, but I'm not sure. Or maybe it's because of being corner nodes where they should be smooth. Or maybe both. Or maybe the path somehow got broken there??

And here's the NGC file. I'm not sure if I can upload the log file, since it has no extension. I guess I could just make it a text file though.

Ok, so you can see that I made it so that the design (very inspirational blob shape, lol) would be proud, and the wood is cut away around it, because that's at least part of what you're doing, although I'm not sure if all of your project is that way.

I don't know if this would work on your machine. But I've heard of people who were able to switch out the wood cutting blade for a pen or pencil, and run their file so that it draws on paper for the first test. So you could use my file for that as a test.

Although, maybe not, since I used pixels instead of mm. That probably will throw everying off.... Although on the other hand, it's just a blob anyway. Maybe measurement isn't all that important for a first try?

I have been busy. I am walking 10 -15 miles a day at work, so I'm just a little tired when I get home.You have put a lot into this and I greatly appreciate this.This looks like it will work, so I will start in the morning.

I will start with this object. This should make a nice 5 blade rotor.Measure path _ Area.JPG(149.96 kB . 1280x1024)(viewed 444 times)

Logged

I have confirmed that, I do not have a Mach3 issue, works great. I have confirmed that, I do not have a 3040 cnc problem, works great. I do have a problem converting my drawing to gcode with inkscape.

I started working on this. I also noticed I have a growing memory retention issue. I have problems with keeping things in the correct order, so to combat this problem of age, I make step by steps and try to keep them someplace I can't lose them.

Again Brynn, thank you for all that you have helped me with I will get this straight. You know, I can build a round, vertical axis wind turbine with a drill press and table saw, but since my radio shack computer days drawing with Dos doing everything were doing here, this got more difficult, go figure.

Today I'm back to work, building a recreational farm and my 10 -15 mile daily hike at work..

Logged

I have confirmed that, I do not have a Mach3 issue, works great. I have confirmed that, I do not have a 3040 cnc problem, works great. I do have a problem converting my drawing to gcode with inkscape.

I guess I left out part of the explanation. After you do Path menu > Dynamic Offset, you will see that the path looks different. There are no longer regular nodes, but now there's a single, white, diamond-shaped handle at the top of the path (highest vertical point of the path).

Grab that handle and drag it with the mouse. Drag it approximately to where you need that offset path to be. Unfortunately, this is the ONLY way to set precise distance between offset paths.

Use Dynamic Offset, drag the handle until the path is close to what you need.... Actually it doesn't matter if you get it close to what you need or a million miles away. But you do have to drag is at least a tiny bit, to force the inkscape:radius attribute in the XML Editor to appear. At least that's what I've been told. Although it looks from your screenshot like you might be able to set the distance without dragging the path first.

You can try to change that zero to the distance you want. But if it doesn't work, you'll need to drag the path after all.

It might not be entirely obvious how to set the distance. Here's how:

-- click on inkscape:radius line to select it -- look in the section below that. You'll see the same number there, that you see to the right of "inkscape:radius" -- that's the number you need to set -- highlight it and type in the right number -- click the Set button

Note that if you're dragging the offset path inward, it will be a negative number.

Also, because Dynamic Offset changed it from a regular path to something different, that's why you have to take the step of Object to Path again, after you set the precise distance, to make it into a regular path once again.

Ok, I've gotten much better at generating accurate part paths and such in inkscape, here's my current workflow:

Create a New DocumentDefine the document size to be the dimensions of the blank I will useCreate the Object for the EXACT size you want... Essentially just draw anything you want cut.Do all of this in 1 layer (or a group of layers)For defining the general outline, I use a fine black lineFor defining areas to hog out, I use red transparentAdd orientation points, and define thickness (depth of cut, actually) of material I will use{1}Add a Cylindrical Cutter tool per set of orientation points.Change your tool widthChange your feed rateChange your plunge rateChange your step (this is the decimal depth to cut per pass)Create the cutpaths and areas to create said objectDo all of this in a different layer (or set). These layers need orientation points and tools defined.For cutting around the outside...Create a copy of the outside pathRedefine the stroke to be your tool width.This changed your objects width/height. Continue onRedefine the width/height to be 2x the tool width larger than the desired object(cutting a 1x1 square, with 0.125 tooling, you'd make the width/height 1.25)The previous step altered your stroke width, repeat the previous 3 steps until this doesn't happen.For cutting out pieces inside (and all the way through)...Create a copy of the path.Redefine the stroke to be your tool widthThis changed your objects width/height. Continue onRedefine the width/height to be the exact size of the hole you want cut outThat altered your stroke width, repeat the previous 3 steps until this doesn't happenFor hogging out areas, I've found 2 methodsgcodetools has a area toolpath calculator. While this works, I've found it finicky.Linked Offest Paths (more manual work, but better results) I'll detail this in a follow up update.

{1} You must repeat this for each depth you intend to cut. I've not used the variable depth options in gcode tools yetcreating a part workflow sheet.txt(2.02 kB - downloaded 25 times)

Logged

I have confirmed that, I do not have a Mach3 issue, works great. I have confirmed that, I do not have a 3040 cnc problem, works great. I do have a problem converting my drawing to gcode with inkscape.

Can you give me the SVG file of that rotor? I want to try and figure out why the cut lines are wrong.

I see that you just want to cut that out. So you don't need the Area extension, or any offset paths, right? Is this part of the other project - the one with the hearts? Out of curiosity, what are you making - the round piece with the hearts?

Regarding your note to self. A lot has changed since 2011, as far as Inkscape's gcodetools extensions. Have you used the steps in that note? Do they give a good result? Well, even if the extensions have changed, you could still use those steps (in your note) that aren't about options in the extension.

Regarding your concerns about mm/inch, I just happened to notice something in this thread, which I couldn't read before. It's a note you wrote on the SVG file in Inkscape, which you uploaded as a screenshot. I didn't have my glasses the first time I tried to read it, and it's too small for me to make it out. But now I've got my glasses and I can read it.

You mentioned that you didn't know what units were being used for the orientation points. I don't know why they don't have the units printed on the page, along with the number values. But anyway, in the Orientation Points dialog, it gives you a choice of units (mm or inch). So you could set it there, to whatever you want.

I would also comment that your orientation points show that the stock has a thickness of 0, which should be set to e.g. -6 for 6mm thick material (assuming that you are using a rotary spindle, as opposed to a laser/plasma, but I think you said chinese 3040 CNC so expect you are using a spindle).