summaryrefslogtreecommitdiff
path: root/gerber/utils.py
AgeCommit message (Collapse)AuthorFilesLines
2021-06-13Repo re-org, make gerberex tests runjaseg1-458/+0
2019-08-01Update utils.pyC4dmium1-0/+4
2017-09-16Implement quickhull to remove scipy dependencyKliment Yanev1-3/+112
2016-11-18Finish adding square hole support, fix some primitive calculations, etc.Hamilton Kibbe1-5/+2
2016-11-06Merge upstream changesHamilton Kibbe1-4/+4
2016-08-06Manually mere rendering changesHamilton Kibbe1-6/+35
2016-07-20Manually merge change 6f876edd09d9b81649691e529f85653f14b8fd1cGarret Fick1-2/+16
2016-04-23Correctly find the center for single quadrant arcsGarret Fick1-0/+6
2016-02-27Fix critical issue with rotatin points (when the angle is zero the y would ↵Garret Fick1-4/+7
be flipped). Render AM with outline to gerber
2016-02-27RS274X backend for rendering. Incompelte stillGarret Fick1-0/+6
2016-01-28Cleanup, rendering fixes.Hamilton Kibbe1-3/+3
fixed rendering of tented vias fixed rendering of semi-transparent layers fixed file type detection issues added some examples
2016-01-21Fix a bunch of rendering bugs.Hamilton Kibbe1-6/+35
- 'clear' polarity primitives no longer erase background - Added aperture macro support for polygons - Added aperture macro rendring support - Renderer now creates a new surface for each layer and merges them instead of working directly on a single surface - Updated examples accordingly
2015-12-22Add PCB interfaceHamilton Kibbe1-1/+15
this incorporates some of @chintal's layers.py changes PCB.from_directory() simplifies loading of multiple gerbers the PCB() class should be pretty helpful going forward... the context classes could use some cleaning up, although I'd like to wait until the freecad stuff gets merged, that way we can try to refactor the context base to support more use cases
2015-10-10Allow files to be read from strings per #37Hamilton Kibbe1-15/+5
Adds a loads() method to the top level module which generates a GerberFile or ExcellonFile from a string
2015-04-07Add unspecified FS D leading zeros formatPaulo Henrique Silva1-7/+10
FS D leading zero format (probably form Direct) is an unspecified coordinate format where all numbers are specified with both leading and trailing zeros.
2015-03-05Fix parsing for multiline ipc-d-356 recordsHamilton Kibbe1-0/+53
2015-02-18Python 3 tests passingHamilton Kibbe1-2/+1
2015-02-18Get unit conversion working for Gerber/Excellon filesHamilton Kibbe1-0/+8
Started operations module for file operations/transforms
2015-02-08Fix write_gerber_value bugHamilton Kibbe1-0/+5
2015-02-02testsHamilton Kibbe1-0/+10
2015-01-14Fix for cases whee the coordinate precision is decreased.Paulo Henrique Silva1-2/+5
If we parse a file with 5.5 INCH format and ask to write it back as 2.4 INCH we are going to loose precision and write_gerber_value was not handling these cases write.
2014-12-15Fix parsing for very short (less 20 lines) files.Paulo Henrique Silva1-2/+7
2014-11-10Bunch of small fixes to improve Gerber read/write.Paulo Henrique Silva1-2/+6
2014-10-26Merge changes from upstreamHamilton Kibbe1-196/+210
2014-10-19Test updateHamilton Kibbe1-8/+9
2014-10-07fix excellon renderHamilton Kibbe1-1/+1
2014-10-06add excellon file writeHamilton Kibbe1-190/+195
2014-09-28added ExcellonFile classHamilton Kibbe1-42/+66
2014-09-28Added excellon support and refactored projectHamilton Kibbe1-2/+38
2014-09-28Add Excellon supportHamilton Kibbe1-3/+51
2014-09-25Create utils.pyhamiltonkibbe1-0/+130
Start moving Gerber/Excellon number formatting to utility module