Bugs item #3602163, was opened at 2013-01-25 14:03
Message generated for change (Settings changed) made by thepurlieu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=409538&aid=3602163&group_id=33921

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: OSHPark (oshpark)
>Assigned to: Julian Lamb (thepurlieu)
Summary: Polygon/area fills without a specified start location

Initial Comment:
I've encountered an issue with gerbers from the DesignSpark/EasyPC/Pulsonics 
family.

Their polygon fills don't include the starting coordinate, but instead assume 
the plotter will start at whatever the last coordinate was.  For example:

X16Y198D02*
G36*
Y141D01*
X55*
G75*
G02X40Y198I97J57*
G01*
X16*
G37*

Gross.  I've submitted this as a bug to NumberOne Systems, since I think it's 
incorrect-- or at least ambiguous-- behavior.

If you load the attached file "Bad-Polygon-Fills.ger", it will look okay.  
Gerbv actually parses and draws this properly in the UI.  Now save / export the 
gerber and reload it.  Mutilated polygon city.

I don't know what the right fix is. Should the current photo plotter position 
be recorded as the polgyon start if there isn't one inside the polygon 
definition?

----------------------------------------------------------------------

>Comment By: Julian Lamb (thepurlieu)
Date: 2013-01-26 17:36

Message:
Hello,
   I haven't actually seen this variant before, and after reviewing the
spec I'd definitely say this should be reported as a "bug" with the
offending software.  It looks like gerbv renders it correctly since it
effectively uses the first D01 point after the G36 as the first point of
the polygon.  The renderer will then auto-close the polygon, effectively
creating that last line automatically.
   Ideally, the gerbv exporter should clean this up, so I will leave this
bug open to document that.  I can't promise a quick fix though, since there
doesn't look to be a trivial fix and I frankly don't have much time to hack
on gerbv these days. :(

Cheers--
Julian

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=409538&aid=3602163&group_id=33921

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Gerbv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gerbv-devel

Reply via email to