Seth Hillbrand
0b2d4d4879
Revise Copyright statement to align with TLF
Recommendation is to avoid using the year nomenclature as this
information is already encoded in the git repo. Avoids needing to
repeatly update.
Also updates AUTHORS.txt from current repo with contributor names
10 months ago
Seth Hillbrand
e9bc8cfe9d
Give Clipper1 a Viking funeral
Clears out the last spot where we were only using Clipper1 (how'd I
miss that?) and remove all calls to the Clipper1 structures
10 months ago
Jeff Young
7a4b3602b9
Reduce dependency on dynamic_cast.
(3DViewer crosses compile boundaries when run from
CvPCB.)
10 months ago
jean-pierre charras
1f608ec2b0
3D viewer: add option to use board editor copper colors for copper layers.
This is useful to analyze multilayers boards
1 year ago
Seth Hillbrand
77797103f7
Add ability to embed files in various elements
Schematics, symbols, boards and footprints all get the ability to store
files inside their file structures. File lookups now have a
kicad-embed:// URI to allow various parts of KiCad to refer to files
stored in this manner.
kicad-embed://datasheet.pdf references the file named "datasheet.pdf"
embedded in the document. Embeds are allowed in schematics, boards,
symbols and footprints. Currently supported embeddings are Datasheets,
3D Models and drawingsheets
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6918
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2376
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17827
1 year ago
Seth Hillbrand
cc850d0da0
Split out LSEQ/LSET from LAYER_ID
Separate the layer grouping classes for easier modification
1 year ago
Jon Evans
b36312ff24
Disable lazy-loading of 3D models on macOS
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17198
2 years ago
jean-pierre charras
8754f6867f
3D viewer: fix some graphic issues:
Avoid issue when a copper layers thickness is 0 (min value is now 1 micrometer)
Fix incorrect rendering of plated graphic items and vias (vertical walls not drawn)
2 years ago
Alex Shvartzkop
85b1978408
Use 64-bit type to represent microseconds.
int and long are 32-bit on Windows, causing overflows.
2 years ago
Marek Roszko
6b12a12b3e
On second thought rename PROJECT_PCBNEW to PROJECT_PCB
2 years ago
Marek Roszko
7e8b18035f
Eliminate the conditional pcbnew/cvpcb definition of PROJECT
2 years ago
Jeff Young
da1405ec6a
Draw off-board pads when drawing off-board silk.
2 years ago
Jeff Young
c1a988e3ff
Handle plated vs non-plated copper for copper other than pads.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5569
2 years ago
Jeff Young
78f70b45e6
Minor readability improvements.
2 years ago
Jeff Young
4bfebb4744
Use standard names.
2 years ago
Jeff Young
8d06a794f4
Simplify code.
DrawAllCameraCulled() can handle up to 4 knockout lists, and any
of them can be null, so don't dance around how we call it.
2 years ago
Jeff Young
c0ce543464
Use standard KiCad abbreviations for TH and NPTH.
2 years ago
Jeff Young
7e70ceaa03
Don't trim non-physical layers to board-outline.
If the user wants a realistic render, then they'll turn off
non-physical layers entirely.
2 years ago
Marek Roszko
7505fd0f37
Profile can live in core
2 years ago
Jeff Young
0c37e3c443
Remove realistic-mode (and duplicated settings from preferences).
Most of these settings are now available in the appearances panel.
It was concluded in a Zulip discussion that any missing items can
be added back in time if people find they need them (ie: complain).
Also hooks up 3DViewer to the common language framework.
2 years ago
Jeff Young
f45760062b
ADDED: appearances manager for 3D viewer.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12413
2 years ago
Jeff Young
cb7f314f4b
Handle through-hole via walls along with pads.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14757
2 years ago
jean-pierre charras
e0e2bcf20a
Ensure 3D shapes are always shown in footprint settings dialog.
Fixes #14371
https://gitlab.com/kicad/code/kicad/issues/14371
3 years ago
Jeff Young
d16b23d16e
Name shortening and line-break reduction.
3 years ago
jean-pierre charras
5b8cf96736
3D viewer: catch an exception thrown when a fp library is not found in table,
when the 3D viewer try to rebuild the 3D shape of a footprint.
Fixes #12524
https://gitlab.com/kicad/code/kicad/issues/12524
3 years ago
Marek Roszko
c50b4fb04f
Add relative to footprint 3d model path resolution
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2073
3 years ago
Jeff Young
6f49b57f9b
Cleanup & performance enhancements.
3 years ago
Jeff Young
65185f53a1
Rotate fp zones before comparing with library versions.
Also includes some performance fixes to not copy around triangulation
data when it's not needed.
Fixes https://gitlab.com/kicad/code/kicad/issues/10143
4 years ago
Jeff Young
0dc857b5ab
Clean up pad handling in 3D viewer.
Most importantly, create F_Cu/B_Cu layers if they're otherwise empty
but we have plated pads to render on them.
Fixes https://gitlab.com/kicad/code/kicad/issues/10207
4 years ago
Jeff Young
9582457fef
Be explicit about literal wide-strings.
4 years ago
Marek Roszko
e4dbfcd92d
Swap out some wxSize for VECTOR2I
4 years ago
Ian McInerney
9e6446a8dc
Use enums for 3d Viewer settings instead of ints
4 years ago
Jeff Young
68d2630d08
Flatten a layer of indirection out of 3D config settings.
4 years ago
Seth Hillbrand
ccd3a1e6a9
3d-viewer: Don't special-case Paste
Paste layers should be clipped in Realistic mode. Verifying that paste
doesn't extend beyond the board area should be left to DRC, or
non-realistic mode if you need a 3d view of it.
Fixes https://gitlab.com/kicad/code/kicad/issues/9460
4 years ago
Jeff Young
6c0110ecd3
Naming conventions.
There's nothing "legacy" about the OpenGL 3D renderer.
4 years ago
jean-pierre charras
e1bbb717f6
3D viewer: ensure 3D shapes are loaded when switching 3D shapes visibility option to ON.
Fixes #8959
https://gitlab.com/kicad/code/kicad/issues/8959
4 years ago
jean-pierre charras
e00f609bdd
3D viewer: add a bit more activity messages during 3D scene building.
4 years ago
jean-pierre charras
a43ca978df
3D viewer: do not build the board 3D data during 3D frame creation, but after.
Building the 3D data is time consuming, so creating the data after the 3D
frame is shown is better, and the build activity is visible, especially on Linux.
4 years ago
Jeff Young
5c21f93803
Consistency in progress and error messages.
4 years ago
Jeff Young
096e342386
Prefix TRACK, ARC and VIA.
4 years ago
luz paz
f968fc8719
Fix source comment / documentation typos
4 years ago
Marek Roszko
03cf2b517f
Enum class PAD_ATTR_T
Renamed such that python stays the same
5 years ago
david-beinder
e0f69ad28b
3D viewer: Fix gap between plating and annulus copper
Hide transition by ending layer copper withing the annulus of the cylinder. Also always use hole wall thickness and set more realistic solder mask thickness
5 years ago
Dominik Wernberger
e2aa7be4b3
Added a lot of consts and refactored a few lines
5 years ago
Wayne Stambaugh
1c7a5c46e5
3D Viewer: member variable and method naming improvements.
A few build improvements thrown in for a good measure.
5 years ago
Wayne Stambaugh
710e621c6a
3D Viewer: remove all instances of "c" prefix from file names.
5 years ago
Wayne Stambaugh
8416c1fc37
3D Viewer: remove all instances of "C" prefix from object names.
5 years ago
Wayne Stambaugh
4d128b819a
3D viewer code cleaning round 3.
5 years ago
Jeff Young
7f360a7188
Some renaming in 3D code for better SNR. Also formatting fixes.
5 years ago
Mario Luzeiro
8b9be2e129
3D-Viewer: fixes generations of layer lists
Fixes https://gitlab.com/kicad/code/kicad/issues/6385
5 years ago