Polylines with real arcs for CNC Router?

Here is another sample you might want to try.

This is what i draw in SU:

This is what shows up in Torchmate:

As you can see, there is no arcs and yet there is still dislodging of the position of one of the components. Take note however that i did not create these components straight up but actually was playing around with a bunch of them and only deleted the rest and kept these to use for testing.

Here is the file:
Sample for Testing.skp (12.1 KB)

Check it out and then upload the DXF so i can test it out in Torchmate - if its not too much trouble for you.

I modified your example

Sample for Testing.skp (31.2 KB)

testing.dxf (1.6 KB)

I have looked at that before (sketchucam), but If I remember rightly because the code is generated in SU the circles and arcs are a series of lines. One of the videos on the link seems to support that by the looks of the output code. (Struggling to see on my phone)
True, you can increase the number of segments to improve the circle, but at cost of quality and because each segment generates a line of code, in my opinion, unnecessarily bloats the file. I mentioned that early on in the thread with TIG.

So that would probably be 99 lines of code for a fairly smooth 96 side circle with a starting line and lead in/lead out command
If it were a true circle from a successful dxf in the code I use it would simply be something like this, there’s a lot of difference:

XGIN
XG0 x100 y0 z-18 T101
XAR2 x100 y0 r100 g2
XGOUT

The modified SKP file you sent me is made with your SU2018 - i have SU2017. So i could not open it.

But the DXF file worked. The only thing that is different is the top and bottom rectangles are black while the sides are red. I’m guessing that was the modification you made.

Nonetheless, your extension has passed all the tests thus far. This is good news.

Here is a sketchup 8 version

All I did was assign layers to the groups

Sample for Testing.skp (30.4 KB)

ā€œSample for Testing.dxfā€ works for me too.

Thinking about some of the geometry I would use to create programs to cut jigs (that usually gets done in Draftsight) I’ve put a geometries together quickly including offset arcs together in this file. It would be interesting to try, if it works I could maybe design jigs in SketchUp directly: FLAT 2D.skp (48.0 KB)

Thanks again

Assuming this thread is coming to a close, if you do decide to rework your extension then please refer back to this thread and send IanT and I a message to inform us about your decision.

Thank you.

My decision will be dependent on how many users would be interested and what users are willing to pay. So far I have only 2 interested users.

So far I have been simply curious to see if my solution would work outside the cabinet making industry.

No problem.

It would be understandable if you did not make it available if only IanT and I so far have showed interest. Perhaps it would be handy if other users that were interested would post their interest so that you can get an idea of how many of us there are.

But by the looks of it, it doesn’t seem like there is anyone out there. I guess most people just don’t use SU for CAM.

Too bad - no pun intended.

I understand your concerns on the popularity of such a feature, thanks for your input so far.

So I understand a little better where the exporter currently sits, is it part of the Cabmaker extension, and that I could theoretically use from the box, as it were?

I don’t know how easy for you it would be to take the exporter out of a current package, if that’s what you would do to offer as a stand-alone extension, but I’d imagine the price you’d ask would be lower? Although I don’t really know what’s involved in making it happen.

Seen as though there are only 2 of us at present, you’re welcome to private message me a price of what you think would be reasonable for the extension, if you even think it’s wortwhile doing. I’ve got by so far, but as I’ve shown it would be of use.

Thanks again

1 Like

I second that.

You can bookmark this thread to remember us and if you decide to rework and sell the extension then please do send the both of us a message.

Take care.

1 Like

Well you can add me as interested in this solution. A while back I sent a .dxf of a section of balustrade to a metal worker to see if he could cut a pattern with his plasmacam.
image

His reply included the following:
" I was able to open it enough to get an idea of what you want, but for me to quick draw and cut I need the object DFX, solid or outline, not a cut or print path DFX.
Also the shape you need to compensate for your cutters, make the shape you want incorporates offsets."

While I don’t require this type of output often at all, it would seem to be a logical addition to Sketchup, a program widely used for things like 3d printing.

Shep

You will need to provide a sketchup model - then you need to test and see if the DXF will work.

Sure, I’m a veg on the cam end so I can only try to resend to the 3rd party for plasmacam testing. But I’m happy to do whatever I’m able.
Thanks much,
Shep
Railing part symetrical outline only.skp (260.5 KB)

I think you’d be surprised by how much interest there would be in a good quality exporter for this sort of work.
It’s not just cnc, it’s laser cutters, vinyl cutters, plotters etc etc
Many people love to design in sketchup but have to jump through hoops to get their designs to the machine they want.
To be able to simply draw what you want in SU and output in a format that can be read by your machine in one step would be a godsend to many. I can’t remember if the Phatboys? plugin was mentioned earlier, but from memory it wasn’t that great and may not be up to date anymore.
I would certainly be interested in such a plugin.

5 Likes

So now there is four users interested. This is just from the users currently visiting the forum and who have seen this thread. If we currently interested users make up 10 to 20 percent of the total interested users then your looking at around 20 to 40 total people that could be interested in your extension.

Furthermore, your extension at present fixes the mirroring of arcs and displacement of all objects that are showing up in CAM software. However, it could also fix Autocads inability to join arcs into polylines. If this is so, then it would increase the amount of interested users yet even more.

Now i say it could fix the polyline formation problem in Autocad because as of yet all the test samples you uploaded were already polylines. I dont know why this is so. Does your exporter automatically join the edges and arcs into polylines or are you joining them with a different program?

If you are joining them with a different program then the test to determine if your exporter allows for the formation of polylines in Autocad would be wise to carry out.

So here is the same exploded rounded square with real arcs. Assuming you can, export to a DXF while keeping the model exploded, and upload it so that i can test it out to see if it works with the Autocad Polyline function.

Autocad Polyline Test.skp (12.2 KB)

My exporter works from the outer loop of faces. If edges are made from arc curve then I convert that into a true arc. I want to end up with a single polyline because it represents a single tool patch for CNC complete with correct direction.

You don’t want to be welding segments together.

Understood. So this means the exporter is specialized for CNC and not just general DXF exports for Autocad.

I guess it makes sense to streamline the process and reduce the workload of generating the polylines in some other program.

But i am curious though. Does your exporter allow for nested components directly within SU or does one have to use an external program like Autocad or Draftsight afterwards to create the components?

I ask this because my Torchmate CAM software makes use of nested components - which allows for quick assigning of toolpaths of multiple objects in arrays, like a bunch of circles arranged into a circle.

Here is the modified example and the DXF

test.dxf (864 Bytes)
Autocad Polyline Test.skp (18.0 KB)

Yes - I believe I mentioned before that one choice is block inserts. Essentially - if you create a group then I honor the layer name and assign the layer name to the polyline. If you create a component then I create a block from the components definition and insert the block based on the component’s instance transformation. I also honor the component’s layer name

I would recommend that you do not include spaces in the layer name as many CAM software can’t handle the spaces.