jean-pierre charras
3a62a59514
3d viewer: fix a (minor) bug when run from cvpcb or modedit: the footprint is now centered on Z axis
...
Better setup for lights, which gives a better rendering
2014-08-12 18:03:50 +02:00
Andrew Zonenberg
afd89c358e
1) EDA_DRAW_FRAME::m_showOriginAxis is never initialized in the constructor
...
2) LIB_RECTANGLE and related classes sscanf data read from a file using "%s"
without field limits, which can cause problems with malformed/really long
inputs.
3) If some of the optional fields in a lib line are missing, "tmp" can remain
uninitialized.
2014-08-12 09:39:44 -05:00
Andrew Zonenberg
ff79e4d2ff
3D viewer: Parallelized 3D model vertex normal calculations to use all available CPU cores for significant speedup.
2014-08-12 10:51:10 +02:00
Andrew Zonenberg
48c9a64612
Merged with lp:kicad
2014-08-12 04:17:19 -04:00
Maciej Suminski
b649578734
FIxed invisible layers problem after changing the number of layers (GAL).
2014-08-12 10:17:16 +02:00
Andrew Zonenberg
61052a8279
Fixed code style issue in existing code
2014-08-12 04:12:03 -04:00
unknown
84a985f8af
Pcbnew: Commit patch (with very minor changes) about SVG file export with the layers ordered from bottom to top. ( bug 1286646 ), from Thiadmer Riemersma.
2014-08-10 16:15:02 +02:00
jean-pierre charras
cd85ee626b
Cosmetic enhancement: change plot icon in menus.
...
3dviewer: back to double (from float) in class S3D_MASTER for 3 members (m_MatScale, m_MatRotation, m_MatPosition) which are used in dialogs and r/w file functions, which expect double.
Using float create minor but unwanted issues in r/w file functions.
S3D_MATERIAL: enable all color options: if a 3d shape has bad color parameters, the shape must be modified, not the 3d rendering.
The rendering now matches what we see in other vrml viewer like FreeCAD.
Some minor coding style fixes.
2014-08-09 20:18:04 +02:00
Maciej Suminski
468e9e4ac9
Initalize fields in TOOL_EVENT constructors.
2014-08-08 14:34:44 +02:00
Maciej Suminski
ca399b6401
Buried/blind vias indicate the layers they go through (GAL).
2014-08-06 13:53:02 +02:00
Maciej Suminski
490a73b62a
Fixed filled arcs drawing (GAL).
2014-08-06 13:51:46 +02:00
Maciej Suminski
bcdd3d7bb9
Items are either dragged by their origin or moved by a vector (depending on the number of selected items) (GAL).
2014-08-06 09:35:03 +02:00
Maciej Suminski
1b058cae1e
Disable highlight mode in the module editor (GAL).
2014-08-06 09:33:10 +02:00
Dick Hollenbeck
0c493d8035
KIWAY support in 5054 is stable enough to use in view of all other new features.
2014-08-05 22:46:11 -05:00
unknown
2f0ffdc7b5
3d-viewer: fix compil warning, by Mario Luzeiro, with some coding style fixes.
...
common.cpp: remove useless warning on wxWidgets < 3.0 about --with-gtkprint build option: on wxWidgets < 3.0 on Linux the print function does not work even with this build option.
2014-08-05 11:39:42 +02:00
unknown
af657fc87d
3d-viewer: fix compil warning, by Mario Luzeiro, with some coding style fixes.
2014-08-05 08:39:04 +02:00
Maciej Suminski
242d42cf1d
Changed 'line width change' & 'change arc posture' to TOOL_ACTIONs.
2014-08-04 14:23:19 +02:00
jean-pierre charras
cdffdc398e
Fix wx28 compatibility.
2014-08-04 15:06:32 +02:00
unknown
4a96813d42
Anti-aliasing patch for the 3D-Viewer from Martin Janitschke
2014-08-04 14:21:28 +02:00
jean-pierre charras
ff6d09d22c
Fix some case sensitive filename issues.
2014-08-04 14:17:33 +02:00
jean-pierre charras
5f63becff1
3D viewer: move helper functions from 3d_draw.cpp to 3d_draw_helper_functions.cpp. Add comments in .h sources. Better management of background color. coding style fixes.
2014-08-04 13:28:29 +02:00
Maciej Suminski
64a9ebc70e
Selected items do not disappear after rendering backend switch.
2014-08-04 10:43:26 +02:00
Maciej Suminski
fa08d9fdcf
Fixed module anchor drawing (GAL).
2014-08-04 10:42:20 +02:00
Maciej Suminski
03a17a284b
bugfix: modules are not selectable in the high contrast mode (GAL).
2014-08-04 10:06:24 +02:00
unknown
3f8c091092
export IDF without empty PLACEMENT section
2014-08-03 09:48:41 +02:00
Andrew Zonenberg
90ce21fa51
Added comment to ifdef for USE_OPENMP
2014-08-02 16:20:23 -04:00
Andrew Zonenberg
b6e85e0f82
Fixed a few code style issues, added #ifdef USE_OPENMP
2014-08-02 16:17:11 -04:00
Andrew Zonenberg
60330de551
3D model vertex normals are now calculated in parallel
2014-08-02 15:20:25 -04:00
jean-pierre charras
764369439e
Add comments. Fix bug #1351507 (pad color does not reflect, whether the pad is on front or back layer) and bug #1351388 (Adding a keepout area appears on the opposite layer than selected)
2014-08-02 12:29:10 +02:00
unknown
d9c76c0d49
3D viewer bug fixes
2014-08-02 09:46:47 +02:00
Brian Sidebotham
7b936f4d0c
3D-Viewer now requires GLEW include - add GLEW_INCLUDE_DIR
2014-08-01 22:27:20 +01:00
Maciej Suminski
94a46bf2df
Fixed pcbnew crash when a locked footprint is dragged from an edge of the screen.
2014-08-01 11:28:08 +02:00
unknown
73005087d5
3d_viewer fix translation and rotation issues (patch from Mario Luzeiro)
2014-07-31 09:01:30 +02:00
Michael Narigon
34b645daed
warnings
2014-07-30 22:04:34 -05:00
Dick Hollenbeck
3aa390b57a
WTF
2014-07-30 21:56:25 -05:00
jean-pierre charras
01a8442b35
3d viewer: minor code cleaning (remove useless #include )
...
dialog_track_via_size: set minimal size and make dialog resizable.
Update demo file.
2014-07-30 17:39:55 +02:00
jean-pierre charras
459ea885cd
Add patch for 3D viewer enhancements (better render + better vrml reader + x3d reader bug fix) from Mario Luzeiro, with few coding style issues fixed.
2014-07-30 11:34:48 +02:00
unknown
7a4ea8955e
3D viewer enhancements (better render + better vrml reader) from Mario Luzeiro
2014-07-30 11:01:25 +02:00
jean-pierre charras
1540368422
Minor fixes and changes:
...
Remove a minor warning message in Debug mode for 2 dialogs.
Pcbnew: update Gerber X2 file format (File Attribute) to very last X2 specification
Eeschema: Fix a minor bug in block selection (sometimes the last selected component was select instead of items in selected area)
and better drag behavior when draging an item by the drag hotkey.
2014-07-29 18:38:27 +02:00
Dick Hollenbeck
57e537699e
remove un-used member
2014-07-28 09:13:59 -05:00
Dick Hollenbeck
64e38bd741
KICAD_MANAGER_FRAME::SetProjectFileName() uses PROJECT::SetProjectFullName()
...
and forces absolute path.
2014-07-28 09:06:08 -05:00
jean-pierre charras
281ce25dd2
cvPcb: Remove a debug message displayed when saving .cmp file.
2014-07-28 14:16:14 +02:00
Maciej Suminski
6ba1410054
Fixed vanishing pads issue in the pad properties dialog (GAL).
2014-07-28 14:01:29 +02:00
Maciej Suminski
f51ad438b3
wxWidgets 2.8 compatibility fix.
2014-07-28 13:59:50 +02:00
Andrew Zonenberg
59be0f6ef7
1) Pad properties dialog can trigger divide-by-zero when "0" is entered as the pad size
...
2) PNS router incorrectly detects collisions with blind/buried vias that don't actually intersect the active layer
3) PNS router silently converts blind/buried vias to through-board vias when shoved
2014-07-28 11:32:15 +02:00
jean-pierre charras
33605eaaec
Eeschema fixes: fix Bug #1348983 save cmp file crashes cvpcb when eeschema is opened (backannotation crashes). Happens only when some footprint names are not set (blank names).
...
Also fix incorrect backannotation when footprint names contain spaces (put spaces in names is always a bad idea)
* Fix minor Bug #1349058 Choose component dialog: Search field loses focus after entering a character and internationalize the dialog.
* Fix a subtle bug which prevent eeschema to read the project config file when launched from kicad manager, and when kicad.pro is not found.
2014-07-28 11:24:15 +02:00
Andrew Zonenberg
e6fba84e13
Push-and-shove router now handles existing blind/buried vias properly. Can't yet create new ones.
2014-07-27 15:01:06 -04:00
Andrew Zonenberg
8c1dd1392e
Fixed divide-by-zero in D_PAD::ViewGetLOD()
2014-07-27 15:00:39 -04:00
jean-pierre charras
37757b5283
* Fix Bug #1348607 and a possible crash in libedit dialog component properties after moving up the first user field (which in not possible now).
...
* better info message in pcbnew when trying to delete a footprint in legacy library
2014-07-25 19:49:14 +02:00
jean-pierre charras
6cc3addc68
Fix overflow in track len calculations and display (Bug #1347878 ), in high-light tool.
2014-07-24 19:36:26 +02:00