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
8 years ago
Wayne Stambaugh
f3908bd87c
Revert premature commit of 17ab319b
, "Fixes for 3D model offset".
This reverts commit 17ab319b99
.
8 years ago
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
8 years ago
Oliver
c932e4af1b
Added IGES replacement option
- If no STEP substitute is found, look for IGES
8 years ago
Oliver
30455092c8
Replace WRL files with STEP equivalent
- Use simple filename matching
- If a STEP file is found, use that instead
- Similar behaviour to the infamous StepUp tool
Fixes lp:1710796
https://bugs.launchpad.net/kicad/+bug/1710796
8 years ago
Wayne Stambaugh
15478bda41
Fix various STEP export dialog issues.
The file filter wild card was defined incorrectly causing the file picker
to not display *.stp and *.step file extensions. Change the wildcard per
wxFileDialog documentation.
Prevent the file extension from being forced to .stp even when the user
defined a different extension in the file picker.
Override TransferDataFromWindow to test for file existence and warn user
only once if a file overwrite can occur.
Minor STEP export dialog string and layout improvements.
Make kicad2step honor user's file extension rather than always setting it
to .stp.
Fixes lp:1709636
https://bugs.launchpad.net/kicad/+bug/1709636
8 years ago
jean-pierre charras
33e0758636
Fixes: lp:1696204 3D STEP export doesn't handle B.Cu rename
https://bugs.launchpad.net/kicad/+bug/1696204
8 years ago
Bernhard Stegmaier
df2ff50aa2
Fix OSX bundling issue.
Bundle kicad-ogltest as a console tool into the main KiCad bundle where
the other tools reside.
9 years ago
Mathias Grimmberger
097f89dcbc
Use wxSetAssertHandler() instead of changing wxTheAssertHandler
9 years ago
Simon Richter
7b4ea2a382
Mark kicad-ogltest as GUI binary for Windows and MacOS
9 years ago
Simon Richter
5d48d8a2f8
Fix signature of dummy Pgm() function
9 years ago
Simon Richter
c845a9c88d
Add missing GLEW and GLM include dirs for ogltest
9 years ago
Chris Pavlina
e8b811bab7
kicad-ogltest: use OPENGL_GAL
9 years ago
Chris Pavlina
23590d8d3f
kicad-ogltest: if version can't be interpreted, print it
9 years ago
Chris Pavlina
c8ef5208ee
Add initial ogltest tool for user testing
This tool is currently very rudimentary. I pushed it because I need to
collect responses from it from users with diverse graphics
configurations, so I want the tool to be in the nightly builds.
This affects no KiCad code.
9 years ago
jean-pierre charras
713d475df6
mark override 2 virtual methods.
9 years ago
Chris Pavlina
b535303a0a
kicad2step: unused variable
9 years ago
Chris Pavlina
527c98fe15
kicad2step: shadowed virtual because of wrong qualifiers
9 years ago
Cirilo Bernardo
960c139064
Fix UTF8 filename issues in kicad2step
9 years ago
Cirilo Bernardo
68bcdec87e
Workaround for non-ASCII filenames in Windows
9 years ago
jean-pierre charras
11dcb76fc9
Add -Wshadow compil option, if exists to warn about shadowed variables.
Swig auto generated .cxx file has a lot of shadowed variables, so this option cannot be used to compil all files.
9 years ago
Cirilo Bernardo
227ef64212
Fix coding style of 'sexpr' code in kicad2step
9 years ago
Cirilo Bernardo
4a1e2644a4
kicad2step was not accepting module names which are valid numbers.
Fixes: lp:1660841
https://bugs.launchpad.net/kicad/+bug/1660841
9 years ago
Cirilo Bernardo
d29f39dce4
Fix line number tracking in sexpr parser
9 years ago
Cirilo Bernardo
cf1003955d
Added more info to kicad2step parsing failures
9 years ago
Morgan Quigley
1b9c8676df
Fix bug in STEP import with curve intersections.
Set BRL precision to 10 nanometers to prevent floating point round errors
from creating arcs that leave gaps in the board outlines. Note: it may
be prudent to make this setting 100 nanometers if there are gerber export
issues.
Fixes lp:1652406
https://bugs.launchpad.net/kicad/+bug/1652406
9 years ago
Simon Richter
b0f9864bc4
Clean up warnings from exception handlers
The exception objects caught are either not referenced at all, or only in
debug builds. This avoids the warnings for the unused variables.
9 years ago
Cirilo Bernardo
451cbedd2c
Change KICADMODEL definition from struct to class for consistency
9 years ago
jean-pierre charras
2717c63c6a
Add missing override to 4 virtual methods in kicad2step.cpp.
9 years ago
Simon Wells
7a1d39ccc6
Add system to OCE includes, Change order of local includes for kicad2step
9 years ago
Simon Richter
59c81976dc
Explicitly mark overriding functions.
9 years ago
Simon Wells
44d3018125
Added explicit conversion from wxstring to cstring
9 years ago
Cirilo Bernardo
8b8626ceeb
Removed wxT() from kicad2step modules and made modifications to the STEP Export GUI
9 years ago
Cirilo Bernardo
34fef23bd4
Reworked cmdline options and added output filename option
9 years ago
Cirilo Bernardo
a9cb10c947
Added --no-virtual option to suppress inclusion of 3D models from components with the virtual attribute
9 years ago
Cirilo Bernardo
375741eeaa
Modified parser to skip drill specifications for SMD pads
9 years ago
Cirilo Bernardo
ad7302358b
Fixed install path for OSX
9 years ago
Cirilo Bernardo
1848a87844
Fixed build conditions to depend on KICAD_USE_OCE (formerly USE_OCE) and removed extra spaces
9 years ago
Cirilo Bernardo
11a44388ee
Added options to use Drill or Grid origin for outptu STEP file
9 years ago
Cirilo Bernardo
231b08e58f
Added kicad2step tool.
9 years ago
Cirilo Bernardo
809b0040ea
Added mroszko's SEXPR parser (ref: https://github.com/marekr/sexpr )
9 years ago
Cirilo Bernardo
d3771d53ef
Updated VRML exporter and fixed some VRML related bugs
9 years ago
Maciej Suminski
71aade6b51
Fixed a few warnings (mostly gcc6 -Wmisleading-indent).
9 years ago
Simon Richter
3e5443166e
Use wxIMPLEMENT_APP_CONSOLE for console apps
10 years ago
Cirilo Bernardo
8c116d1a21
Convert idf2vrml to use wxApp etc for option processing
10 years ago
Simon Richter
71bbddc30c
Drop <libgen.h> and <unistd.h>, no longer needed
10 years ago
Simon Richter
96ec9db5d6
Add missing C++ stdlib headers
The GCC standard library headers often include other headers, which makes
some code compile that forgets to include several headers.
10 years ago
Cirilo Bernardo
c2a60d14d7
3D: fix issues reported by Coverity scan
*** CID 143752: Incorrect expression (USELESS_CALL)
*** CID 143751: Incorrect expression (UNUSED_VALUE)
*** CID 143749: Uninitialized members (UNINIT_CTOR)
*** CID 143748: Uninitialized members (UNINIT_CTOR)
*** CID 143747: Uninitialized members (UNINIT_CTOR)
*** CID 143746: Uninitialized members (UNINIT_CTOR)
*** CID 143745: Uninitialized members (UNINIT_CTOR)
*** CID 143744: Uninitialized members (UNINIT_CTOR)
*** CID 143740: Null pointer dereferences (NULL_RETURNS)
*** CID 143739: Memory - corruptions (MISMATCHED_ITERATOR)
*** CID 143735: Integer handling issues (CONSTANT_EXPRESSION_RESULT)
*** CID 143734: Error handling issues (CHECKED_RETURN)
10 years ago
Cirilo Bernardo
37ada5d04a
Fix and improve IDF tools
The attached patch makes the following changes to the IDF
tool 'dxf2idf':
1. DXF units are now correctly scaled to mm
2. Polylines are now supported
3. LWPolylines are now supported
10 years ago
Cirilo Bernardo
978268250e
Removed temporary printout used for debug
10 years ago