jean-pierre charras
c327768a93
bitmap2component: update format of all generated files.
Especially, the .kicad_sym is now used.
Fixes #8937
https://gitlab.com/kicad/code/kicad/issues/8937
4 years ago
Jeff Young
f221220fe2
Rename layer ids file.
It hasn't had anything to do with colors or visibility for some time
now.
4 years ago
Wayne Stambaugh
cb72da294a
More NULL expunging.
4 years ago
luz paz
f968fc8719
Fix source comment / documentation typos
4 years ago
Fabien-B
d96577932d
Bitmap2Component: Fix footprint attributes. Fix #7496
5 years ago
Seth Hillbrand
6598182b28
Cleanup
5 years ago
Jeff Young
dff5173baf
Exorcise some instances of "modedit".
5 years ago
Marek Roszko
eeac3cb4d5
Nix some more common.h includes
5 years ago
Marek Roszko
1d559108c8
Move LOCALE_IO out of common.h
5 years ago
Seth Hillbrand
4d2e953f42
Cleanup: Replace C-only deprecated headers
This replaces headers deprecated by C++14 with their equivalent
replacement
6 years ago
Jeff Young
a25368cc6b
Improve spelling.
The groundwork here is thanks to kunda1.
Fixes: lp:1831510
* https://bugs.launchpad.net/kicad/+bug/1831510
6 years ago
jean-pierre charras
29e9b9f792
bitmap2component: set polygons outlines thickness to 0.0 in kicad_mod export format.
Previoulsy set to 0.01 mm. Set it to 0 does not really change the look,
but it avoid to draw a lot of not useful segments when drawing polygons.
6 years ago
jean-pierre charras
6a9eb4576d
Fixes in bitmap2cmp: enhancements and fixes.
* Better messages, more easy to translate
* Error messages are now displayed.
* Move start code to bitmap2cmp_main.cpp.
6 years ago
jean-pierre charras
6695209246
Bitmap2component: add button to export to the Clipboard.
It is useful mainly in Pcbnew, to import a logo from Bitmap2component,
without the constraint to create a file and use the fp editor.
Also a bit of cleanup code.
Fixes: lp:1820829
https://bugs.launchpad.net/kicad/+bug/1820829
7 years ago
jean-pierre charras
8e2d82ebdb
bitmap2component: minor enhancements and fixes.
7 years ago
Seth Hillbrand
5cfa37da09
bitmap2component: Handle mask/alpha
Use alpha and mask components of bitmaps to set boundaries for the image
tracing.
Fixes: lp:1815216
* https://bugs.launchpad.net/kicad/+bug/1815216
7 years ago
Simon Wells
24d293ab8d
bmp2cmp: include cleanup
10 years ago
jean-pierre charras
178cf0dc25
Polygon calculation (zones filling): use fast mode when possible (in fact most of time) and strictly simple polygon option only in critical cases (in fact in plot Gerber functions mainly).
In polygon calculations (combining polygons, fracture) the mode of calculation (fast or strictly simple polygon option) as no more a default value, because choosing the best mode is better to optimize the calculation time.
10 years ago
Jean-Pierre Charras
81e2f2e22e
boost::polygon from bitmap2component
10 years ago
jean-pierre charras
f0a52644ea
Pcbnew: fix Bug #1413701 (Segfault on highlight "unconnected" net 0 in Pcbnew ). Also, remove now useless code and other very minor fixes.
11 years ago
unknown
8876fdf4af
Misc minor fixes (Fix some minor compil warnings).
11 years ago
unknown
b411b240f2
bitmap2component: Add a layer selection to export a logo for Pcbnew from a Cirilo Bernardo's patch.
Apply patch from Cirilo Bernardo with some minor changes: mainly allows also the solder mask layer and keep ref and value fields on the silk layer.
11 years ago
unknown
eec819a274
Bitmap2component: old .emp output format removed (patch from Cirilo Bernardo)
11 years ago
Dick Hollenbeck
4578ea8b9e
1) Add 32 Cu Layers.
2) Change from legacy Cu stack to counting down from top=(F_Cu or 0).
The old Cu stack required knowing the count of Cu layers to make
sense of the layer number when converting to many exported file types.
The new Cu stack is more commonly used, although ours still gives
B_Cu a fixed number.
3) Introduce class LSET and enum LAYER_ID.
4) Change *.kicad_pcb file format version to 4 from 3.
5) Change fixed names Inner1_Cu-Inner14_Cu to In1_Cu-In30_Cu and their
meanings are typically flipped.
6) Moved the #define LAYER_N_* stuff into legacy_plugin.cpp where they
can die a quiet death, and switch to enum LAYER_ID symbols throughout.
7) Removed the LEGACY_PLUGIN::Save() and FootprintSave() functions.
You will need to convert to the format immediately, *.kicad_pcb and
*.kicad_mod (=pretty) since legacy format was never going to know
about 32 Cu layers and additional technical layers and the reversed Cu
stack.
12 years ago
jean-pierre charras
91c53a947a
bitmap2component: add management of image resolution: Is read from file, when exists, and can be modified in bitmap2component.
It also fix issue #747631
12 years ago
jean-pierre charras
3b423cb12d
Pcbnew fix Bug #1192203 (I hope ...)
Bitmap2component: add export for .kicad_mod new footprint file format, and export polygon descr for page layout description (.kicad_wks file)
13 years ago
Lorenzo Marcantonio
204d085b64
More cleanup on layer code usage
Better description for entities on right click menu and panel
Typo fixes and some comment reformats
13 years ago
Lorenzo Marcantonio
9fd79dfa91
Implemented the LAYER_NUM typedef (LAYER was already taken as a class name...) to represent a layer number.
13 years ago
Dick Hollenbeck
210a7036db
switch all <math.h> includes to <cmath> includes on an attempt to dodge some abiguous references to atan2()
13 years ago
Dick Hollenbeck
b8a0ab4c52
switch to <> for includes from "" per conversation with Jean-Pierre and Wayne, adjust search paths
14 years ago
Dick Hollenbeck
cc097762c7
Temporarily reverse out the evolving support for finer Board Internal Units (BIU)s.
14 years ago
Vladimir Ur
09a61396ba
Some code restyling: VECTOR_PCB is an array. Cleanup uncontrolled definitions of abs, max, etc. max is now overloaded function and MAX is a macro.
14 years ago
Dick Hollenbeck
9f69193a62
formatting and compiler warnings
14 years ago
jean-pierre charras
2476bc7f62
bitmap2component: code cleanup.
14 years ago
jean-pierre charras
51a845470b
bitmap2component: use BOOST:POLYGON instead of KBool, and minor enhancements.
14 years ago
jean-pierre charras
84572d371d
Pcbnew: fix bug I recently created: footprint lib incorrectly saved (first module can be lost)
15 years ago
Dick Hollenbeck
636b2d301e
function comments, fix ones in *.cpp files until they can be deleted if they exist in the headers
15 years ago
Wayne Stambaugh
fc0864befa
Schematic component library object code cleaning and refactoring.
* Break classes_body_item.cpp(.h) into more reasonable size bites.
* Rename classes_body_item.cpp(.h) to lib_draw_item.cpp(.h)
* Fix some unsatisfied header file dependencies.
* Add stubs to component library draw item base classe to handle editing
internally.
* Lots of code cleaning.
15 years ago
jean-pierre charras
9cf56261b6
give an icon to bitmapt2component frame
16 years ago
jean-pierre charras
5ecb22b51d
bitmap2component: better user interface (using wxWidgets) and more bitmaps file format import
16 years ago
Dick Hollenbeck
658ff6051f
fix warnings
16 years ago
jean-pierre charras
ac11d86c2f
Added an experimental tool to create logos from .bmp bitmaps. Added Potrace library to convert bitmaps to polygons
16 years ago