Benbox Laser Machines/CO2 Lasers/3D Printers

General Category => Inspiration => Topic started by: mrehmus on May 26, 2017, 05:45:08 PM

Title: Do you know about the free designs at Epilaser?
Post by: mrehmus on May 26, 2017, 05:45:08 PM
https://www.epiloglaser.com/resources/sample-club.htm (https://www.epiloglaser.com/resources/sample-club.htm) to download some nice files. But, as usual, there are many many vectors and I have not found a way to connect them into a single object. Research continues

Title: Re: Do you know about the free designs at Epilaser?
Post by: mrehmus on May 26, 2017, 06:26:09 PM
I brought the vectors into QCAD and scaled them, then loaded them into Cut2D to organize them into polylines, then  into BCL where it had only 19 drawing objects to deal with. A success I think.
Title: Re: Do you know about the free designs at Epilaser?
Post by: Administrator on May 26, 2017, 08:10:25 PM
Can I see the resulting .dxf file?

It does indeed sound like success.
Title: Re: Do you know about the free designs at Epilaser?
Post by: mrehmus on May 26, 2017, 08:17:00 PM
This is it. Takes a looong time for BCL to generate the G-Code. but the DXF file is over 8 megabytes unzipped. I had to zip it to get it uploaded. BCL is working on it as we speak.
Title: Re: Do you know about the free designs at Epilaser?
Post by: Administrator on May 26, 2017, 08:52:12 PM
I can't load that DXF file at all. I was able to analyze it using my DXF structural debugger (a new feature I have added in ver 2.0 of BCL) and there are, as you said, only 19 lightweight Polyline objects. I will have to dig deeper into this file and see why BCL cannot load it.

BTW -- the three Units of Measurement shown in QCAD are all different and they should be set all the same, however, this is a minor issue and not the major problem with this DXF file.
Title: Re: Do you know about the free designs at Epilaser?
Post by: mrehmus on May 26, 2017, 10:05:38 PM
It is apparent that the file will not load. Glad you have some tools to analyze it. It is quite large so I'd expect a LOT of G-Code to be produced when it does work.
Title: Re: Do you know about the free designs at Epilaser?
Post by: Administrator on May 27, 2017, 08:24:00 AM
I had Paul do a detailed analysis your DXF file. We are in the process of adding more debugging capabilities into ver 2.0 of BCL so users will be able to see what I'm about to tell you, for yourself, if you use this debugging tool once I release 2.0.

Here is what Paul discovered:

There are only 19 polylines, but some of them have a very large number of points. Most have about 1000 but there are ones with 20,000, 30,000 and 64,000 points.
 
This is just way too many to handle efficiently.
 
Firstly, converting all the numeric data from these to strings and writing them into the toolpath array structure is vey slow. This is whatís causing the time out at the moment, itís just getting bogged down in this process and blocking the UI thread for too long.
 
But even without that (if I comment out that code) the drawing canvas is very sluggish. It needs to draw over 100,000 separate line objects and the Windows WPF form just doesnít handle that many too well.
 
It looks like the DXF was generated by some automatic process that converted curves (maybe traced or generated from text or splines) into polylines. The resolution this was done at is way too high. Each vertex object is less than a 1000th of a mm long.
 
So either the drawing needs to be kept in splines and let BCL deal with the splines, or the conversion to polylines needs to be done at a much lower resolution (or lower smoothness, or less points per inch).

In summary, the DXF file is not usable by BCL in its current state.
Title: Re: Do you know about the free designs at Epilaser?
Post by: Zax on May 27, 2017, 09:15:52 AM
Illustrator is the worst program for generating DXF files, it's a design program and not a CAD program so it expects everything to be printed. In Inkscape you can easily reduce points, I don't know if QCAD does that but it would help.

It did open in T2Laser, I selected Force Override on the units to get the sizes correct but wow that's a lot of unnecessary points.
Title: Re: Do you know about the free designs at Epilaser?
Post by: mrehmus on May 27, 2017, 05:20:41 PM
The copy of Inkscape I have will not output a new enough DXF that BCL will accept it. How do I change that or did I somehow obtain an older copy of the program?
Title: Re: Do you know about the free designs at Epilaser?
Post by: Administrator on May 27, 2017, 06:03:49 PM
You have to save it in a CAD program such as QCAD or LibreCAD or NanoCAD.
Title: Re: Do you know about the free designs at Epilaser?
Post by: mrehmus on May 27, 2017, 06:50:59 PM
I have done that and it did load a create g-code. 849.24 line count, total distance nearly 589 meters and a 4+ hour time. I think there has to be a better method. Maybe I'll just get T2L to outline the image file I can create of the file.
Title: Re: Do you know about the free designs at Epilaser?
Post by: Zax on May 27, 2017, 07:09:33 PM
You can trace the image or load the DXF to T2Laser, just set force override units to make sure the size is correct as the header seemed to be incorrect.