gerber with zero width objects loading but not showing at plot

Issue #557 resolved
Cyrill S. Kouzmine created an issue

Just cloned Beta branch d4f9413 (this repo, not your personal qt6).

Loading file (exported from Eagle 7.2, grbl274x cam) and it doesn’t plotted.

There is item in project tree exist and enable, but on plot are is nothing.

(BTW in qt6 version this file is correctly plotting, geometrying and cutting – thit is why i was previously trying that version)

DEBUG][MainThread] on_fileopengerber()
[DEBUG][Dummy-4] open_gerber()
[DEBUG][Dummy-4] AppObject.new_object()
[DEBUG][Dummy-4] Calling object constructor...
[DEBUG][Dummy-4] FlatCAMObj.visible()
[DEBUG][Dummy-4] 0.032120 seconds before initialize().
[DEBUG][Dummy-4] Gerber units found = IN
[WARNING][Dummy-4] Line ignored (3): %OFA0B0*%
[DEBUG][Dummy-4] Gerber format found. (%FSLAX25Y25*%)
[DEBUG][Dummy-4] Gerber format found. Gerber zeros = L (L-omit leading zeros, T-omit trailing zeros, D-no zero supression)
[DEBUG][Dummy-4] Gerber format found. Coordinates type = Absolute (Absolute or Relative)
[WARNING][Dummy-4] Line ignored (5): %IPPOS*%
[DEBUG][Dummy-4] Starting macro. Line 7: %AMOC8*
[DEBUG][Dummy-4] Continuing macro. Line 8.
[DEBUG][Dummy-4] Continuing macro. Line 9.
[DEBUG][Dummy-4] End of macro. Line 9.
[WARNING][Dummy-4] Joining 5 polygons.
[DEBUG][Dummy-4] Union by buffer...
[WARNING][Dummy-4] Union(buffer) done.
/home/kika/build/flatcam/flatcam/appParsers/ParseGerber.py:1571: ShapelyDeprecationWarning: Iteration over multi-part geometries is depr
ecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
for p in self.solid_geometry:
[DEBUG][Dummy-4] New object with name: 1533gen.dim. 0.039917 seconds executing initialize().
[DEBUG][Dummy-4] FlatCAMObj.GerberObject.convert_units()
[DEBUG][Dummy-4] parseGerber.Gerber.convert_units() --> Factor: 25.4
[DEBUG][Dummy-4] parseGerber.Gerber.scale()
[DEBUG][Dummy-4] 0.002720 seconds converting units.
[DEBUG][Dummy-4] parseGerber.Gerber.bounds()
[DEBUG][Dummy-4] Moving new object back to main thread.
[DEBUG][MainThread] on_object_created()
[DEBUG][MainThread] on_object_created --> OC.append()
[DEBUG][MainThread] GerberObject.set_ui()
[DEBUG][MainThread] set_ui --> FlatCAMObj.to_form()
[DEBUG][MainThread] build_ui--> FlatCAMObj.build_ui()
[DEBUG][Dummy-5] plotting_task --> GerberObject.plot()
[DEBUG][Dummy-5] plot --> FlatCAMObj.plot()
[DEBUG][MainThread] register_recent()
[DEBUG][MainThread]    gerber
[DEBUG][MainThread]    /home/kika/docs/eagle-local/projects-local/1533gen-flatcam/1533gen.dim
[DEBUG][Dummy-5] 0.115905 seconds adding object and plotting.

Comments (5)

  1. Marius Stanciu

    Hi,

    I don’t work on this repository, which means that I also don’t work on the Beta branch. Here I only push from time to time the changes I make in my own repository. Any bug that appear on the version pushed to this Beta branch I will try to fix in my own repository and those fixes will be available when I push everything here. Pushing here counts as a new release and they are done not very often. Last push here (last release 8.994) was in the winter of 2020.

    Some people contribute patches for issues found on the current release of FlatCAM Beta (which as said, is held in the Beta branch). There is bound to be overlaps between bugs that I already solved but maybe people are unaware of them being already fixed and will try fixing them on their own. But that’s fine, even if the bugs are already solved it helps people learn about this software therefore no work is really for nothing, overall everybody gains.
    Bugs/improvements published here are not lost, they get included in my working copy in a harmonized way. The contributers are listed in the Help → About page.

    Bottom line: many bugs in Beta branch may already be solved in the my working copy. If your issue is already solved in my working copy then there is nothing I can help you with, I don’t duplicate work.
    Best regards,
    Marius

  2. Cyrill S. Kouzmine reporter

    Yes, thanks. I am apologize for the fact that I confused and did not understand all repos, branches, qt and python versions.

  3. Log in to comment