jean-pierre charras
9f5316e38f
Remove code related to Gerber job file old format writer, as this format does not exist now.
...
This old format is now officially replaced by a JSON syntax.
2018-04-09 09:26:01 +02:00
jean-pierre charras
7f6e26e55a
DrawGraphicText: remove a static variable, and replace it (when needed) by a new parameter in argument list.
...
It make this function thread-safe (as far as wxString is thread-safe)
2018-04-07 19:57:26 +02:00
jean-pierre charras
7b4a8d7eb5
Gerber job file: update file format due to a recent change.
...
Please: note the gerber JSON file format is currently a moving target, although most of the format is now fixed.
Most, but not all.
2018-03-21 12:40:10 +01:00
Jeff Young
683be7155e
Mirror-image coordinate system on back of board for PNP.
...
Also converts any delimiters in tokens to underscores.
Fixes: lp:1679205
* https://bugs.launchpad.net/kicad/+bug/1679205
2018-03-20 16:57:42 +00:00
jean-pierre charras
2ff74cb3fc
Add support for .gbrjob new file format (JSON format) in Gerbview
...
Add experimental code to generate .gbrjob files in the new JSON file format
2018-03-19 15:14:20 +01:00
jean-pierre charras
243ce6979b
Fix a minor coding style and minor potential issue.
2018-03-12 08:34:21 +01:00
Seth Hillbrand
c69db6cf8f
Adding rounded rect and custom pad shapes to VRML export
...
Fixes: lp:1753552
* https://bugs.launchpad.net/kicad/+bug/1753552
2018-03-06 16:40:08 -08:00
Jeff Young
3d77ed9e9d
Replace Cancel button with Close in Generate Pos dialog
...
Fixes: lp:1548123
* https://bugs.launchpad.net/kicad/+bug/1548123
2018-02-18 17:07:09 -05:00
jean-pierre charras
de72ef8518
Fix code after renaming files
2018-02-16 20:27:57 +01:00
jean-pierre charras
a5a6c4a012
Fix code after renaming files
2018-02-16 20:27:16 +01:00
jean-pierre charras
35a7f7a7b4
rename files: replace module by footprint in dialog filenames
2018-02-16 20:27:14 +01:00
jean-pierre charras
9c22303551
Pcbnew: Fabrication Outputs: Footprint position (.pos) file CSV format : double quote ref, value and package name.
...
It avoid issues with texts containing a comma, as fields are separated by comma in csv file.
Fixes: lp:1747186
https://bugs.launchpad.net/kicad/+bug/1747186
2018-02-03 21:30:09 +01:00
jean-pierre charras
8552f3fedf
fix code after renaming files
2018-01-29 22:00:44 +01:00
jean-pierre charras
4c5bd01887
Rename a few files
2018-01-28 22:02:31 +01:00
jean-pierre charras
e499d337d8
rename files: update filenames in sources
2018-01-28 19:12:26 +01:00
jean-pierre charras
888a9e7371
VRML export: add support of S_POLYGON in DRAWSEGMENT export.
2018-01-24 16:06:31 +01:00
jean-pierre charras
875a2b0e10
Fix incorrect vrml export of footprint edge type S_POLYGON.
2018-01-24 14:59:17 +01:00
jean-pierre charras
270a63daac
DRAWSEGMENT, S_POLYGON shape: remove useless copies or conversion to std::vector<wxPoint> of SHPE_POLY_SET polygon shape.
...
Rename GetPolyPoint() to BuildPolyPointsList(), because GetPolyPoint() looks like an accessor, but it is not an accessor.
(Using it as accessor can creates a *very long calculation time* for very basic access to polygon vertices)
Fixes: lp:1745050
https://bugs.launchpad.net/kicad/+bug/1745050
2018-01-24 14:22:43 +01:00
jean-pierre charras
59c527c40c
Excellon drill file generation: allows 4 digits in mantissa in Tool Information command when units are inches.
...
Fixes: lp:1738657
https://bugs.launchpad.net/kicad/+bug/1738657
2017-12-20 17:49:25 +01:00
Simon Richter
a9ccf1161b
Fix quotes in UI messages
...
This replaces all single and angle bracket quotes in UI messages with
double quotes, for consistency.
Sorry to all translators.
2017-12-15 07:33:07 -05:00
Tomasz Włostowski
f34b86d39e
pcbnew: made zone filling algorithm thread-safe.
...
- moved zone filling algo outside ZONE_CONTAINER class
- const'ified methods that don't need to modify zone's properties
- cleanup: m_FillMode -> enum
2017-12-05 14:54:57 +01:00
Oliver
b80449b069
Fixes for 3D model offset
...
- Display offset units in 3D preview window (inches or mm)
- Fix offset in 3D renderer
- Fix offset in Raytracing renderer
- Fix offset in STEP export
- Fix offset in VRML export
2017-11-20 17:46:03 -05:00
jean-pierre charras
bdc6a5950b
rename plot_common.h to class_plotter.h, a better name, consistent with other class definitions.
2017-11-16 15:53:30 +01:00
Wayne Stambaugh
f3908bd87c
Revert premature commit of 17ab319b
, "Fixes for 3D model offset".
...
This reverts commit 17ab319b99
.
2017-11-11 20:04:46 -05:00
Wayne Stambaugh
652b969193
GTK+ file dialog wildcard improvements.
...
The GTK+ file dialog is case sensitive however it does support regular
expressions. Most of the file dialog wildcards are lower case so only
files with the lower case extensions will show up in the file dialog.
This code adds a method to convert file extensions of any case to the
appropriate (sch -> [sS][cC][hH]) regular expression on GTK+ builds so
all file extension case combinations will show up in the file dialog.
A note to developers: make sure to add a file extension when setting
when setting the default file argument. If you do don't set an
extension, the GTK+ file dialog will happily append the regular
expression as the file extension which is surely not what you want.
There are still a few known places (mostly gerbview) where there are
some complex wildcard code that has not been converted.
Fixes lp:1720542
https://bugs.launchpad.net/kicad/+bug/1720542
2017-11-11 19:32:26 -05:00
Oliver
17ab319b99
Fixes for 3D model offset
...
- Display offset units in 3D preview window (inches or mm)
- Fix offset in 3D renderer
- Fix offset in Raytracing renderer
- Fix offset in STEP export
- Fix offset in VRML export
2017-11-11 15:08:08 -05:00
Maciej Suminski
c9b791ca2a
GenCAD exporter: added origin settings
...
Added an option to the exporter dialog allowing the user to choose
either the absolute or the auxiliary origin. Also, the ORIGIN field in
the exported file can be set to contain the information about the origin
point or set to (0, 0) for compatibility with other CAD tools.
2017-11-10 15:18:59 +01:00
Marvin Schmidt
69974b73db
Remove some extra semicolons
2017-11-09 19:52:18 +01:00
Tomasz Włostowski
90ab5860dc
refactoring: removed dependency of libpcbcommon on 3d-viewer.
2017-11-03 20:01:42 +01:00
jean-pierre charras
c536364f05
Fix a few coverity warnings. very minor other changes.
2017-11-02 18:18:57 +01:00
Maciej Suminski
bbe947e0f8
GenCAD exporter: quote and escape strings
2017-10-24 23:10:40 +02:00
Maciej Suminski
bb68dad77c
GenCAD exporter: clear shape name maps when export is finished
...
Otherwise the maps could contain stale data leading to a crash
2017-10-24 23:10:40 +02:00
Maciej Suminski
125781c7e1
GenCAD exporter: two level map for shape names
...
Previously the component to shape map contained
a lot of duplicated strings. Now the map stores
the component shape hash used for getting the
name from another map.
2017-10-24 23:10:40 +02:00
Maciej Suminski
13fc4c3c99
GenCAD exporter: export options made static
2017-10-24 23:10:40 +02:00
Maciej Suminski
b53b7e3bc4
GenCAD exporter: generate matching DEVICE names
2017-10-24 23:10:40 +02:00
Maciej Suminski
82759f9cd0
GenCAD exporter: simplify shape matching
2017-10-24 23:10:40 +02:00
Maciej Suminski
019dca38c4
GenCAD exporter: generate shapes per footprint and reuse them
2017-10-24 23:10:40 +02:00
Maciej Suminski
847bede635
GenCAD exporter: changed 'flip components' to 'flip pads'
...
Such option might be useful for older CAM350 versions, but it should be verified.
2017-10-24 23:10:40 +02:00
Maciej Suminski
d5fa28efe4
GenCAD exporter: option to export bottom components using MIRRORX
2017-10-24 23:10:40 +02:00
Maciej Suminski
2fce0d1235
GenCAD exporter: custom shape pads
2017-10-24 23:10:40 +02:00
Maciej Suminski
9b5dd3e629
GenCAD exporter: support for trapezoidal pads
2017-10-24 23:10:40 +02:00
Maciej Suminski
6ba33c8489
GenCAD export: added a switch to generate unique pin names
2017-10-24 23:10:40 +02:00
Maciej Suminski
c3c5205393
GenCAD exporter: settings dialog
2017-10-24 23:10:40 +02:00
Maciej Suminski
a73fa0790c
GenCAD exporter: emit bottom modules using 'MIRRORX' directive to flip
2017-10-24 23:07:12 +02:00
Maciej Suminski
c5b2169104
GenCAD exporter: fixed arcs
2017-10-24 23:07:12 +02:00
Maciej Suminski
a06aed5305
GenCAD exporter: support for rounded rectangular pads, fixed oval pads
2017-10-24 23:07:12 +02:00
Maciej Suminski
63ddb1dbbc
GenCAD exporter: fixed pad stacks for vias
2017-10-24 23:07:12 +02:00
jean-pierre charras
9b4eddb744
Update gerber job file to latest format
2017-10-20 13:55:42 +02:00
jean-pierre charras
4e8ad8516a
Update gerber job file format and job file extension.
...
Gerber job file extension is now .gbrjob, according to latest changes in Gerber job file spec.
2017-09-20 18:14:20 +02:00
Maciej Suminski
cca63801bf
Renamed D_PAD::{Set,Get}PadName() to D_PAD::{Set,Get}Name()
2017-09-19 18:23:50 +02:00