Open full view…

Crash on changr tool diameter

Sun, 02 Jan 2022 09:57:00 GMT

Good afternoon. I spent two days reading the topics, but did not find a solution to the problem. So.... I have Win10, FlatCAM 8.994 beta x64. I bought a laser to install on my CNC machine and I want to use it to illuminate a negative photoresist. From the available tools, it seemed to me that "PAINT" is optimal. I'm trying to master it and stumbled, as it seems to me, on a mistake. 1. I load gerber into a newly launched application. 2. I Choose Paint Tool. 3. Select Object type GERBER 4. Tool 0.15, V-type. 5. The "Laser_Lines" method. When I click the "Generate Geometry" button, the message "[ERROR] Geometry could not be painted completely" appears in the TCL Shell window. Then a lot of such messages come out, and at the end "New object with name: PI_SK-17V4WM_MESBOARD.GBL_mt_paint. 12.010995 seconds executing initialize(). 
[ERROR] Failed." After these events, the application does not work normally, a restart of FlatCAM is required. And if you try to change the diameter of the tool, the application crashes. You may already know about it. I didn't find it. PS Could you describe the sequence of actions that you consider optimal according to your idea, for laser illumination of a negative photoresist? Some simplified example would be very useful to those like me who have not yet fully mastered your application. PPS Sorry for my yandex-english Thanks

Marius Stanciu
Sun, 02 Jan 2022 10:11:41 GMT

Hi, I'm boarding a plane now so I'm doing a fast answer. Try to change the parameters and see if that will yield a correct resul try to use a different method of painting other than laser- lines.

Mon, 03 Jan 2022 14:46:50 GMT

Yes, I have tried other methods - there are no problems. I wanted to clarify with laser lines - is this method of calculating trajectories still under development or am I setting some parameters incorrectly?

Marius Stanciu
Mon, 03 Jan 2022 15:56:04 GMT

Because the geometry of a Gerber file is different from PCB to PCB there are some corner cases where things might not work. That is one of the reasons why there are many paint methods. The `combo` method tries to go through them choosing the first that works. What the `laser-lines` method of painting tries to do is to create lines that sort-of 'follow' the traces creating lines as long as possible. This is so the laser moves as fast as possible minimizing the ramp-up and ramp-down acceleration portions. When a trace is more vertical then that trace is painted with vertical lines, if the trace is more horizontal (it evaluates the bounding box) then that trace is painted with horizontal lines.

Marius Stanciu
Mon, 03 Jan 2022 15:58:25 GMT

It will help if you can post here a Gerber file (Google Drive, MEGA, Dropbox etc link) so I can evaluate and see what is failing. Also all the settings in the Paint Tool (Plugin) window.

Mon, 03 Jan 2022 18:01:15 GMT

About the laser - I understand, thank you. Link: https://cloud.mail.ru/public/vb2U/5DaJvFbwp