Commit Graph

24380 Commits

Author SHA1 Message Date
UR-0
b9669db146 satisfy Travis 2021-03-07 11:24:20 +01:00
UR-0
63bc55a221 [FEM] make ccx_dat_file object (from ccx_Result) ReadOnly 2021-03-07 11:24:20 +01:00
Chris Hennes
c39764e395 [GUI] Migrate Application to std::bind 2021-03-07 08:47:01 +01:00
Chris Hennes
dc96a08201 [GUI] Remove deprecated code from Application
Strip out anything that was only active for Qt <5.9 or Python <3.6.
2021-03-07 08:47:01 +01:00
Chris Hennes
3788105210 [Core] Remove deprecated code for 0.20 2021-03-07 08:44:57 +01:00
donovaly
4484e0969f [Main] set Coin environment variable
as discussed in https://forum.freecadweb.org/viewtopic.php?f=10&t=56386&start=10 we need to set this environment variable for Coin on Windows
2021-03-07 08:14:50 +01:00
Benjamin Nauck
be7cc40106 [Base] Remove unused std::make_unique back port
std::make_unique was introduced in c++14, so no need to have it back
ported anymore.
2021-03-06 21:20:32 +01:00
Benjamin Nauck
8a2cfc268e [Base] Remove includes to StdStlTools.h as that's not needed anymore
std::make_unique was introduced in c++14, so no need to use the back
ported version
2021-03-06 21:20:32 +01:00
Chris Hennes
cf8d37b18d Add forwards-compatibility definitions 2021-03-06 21:15:41 +01:00
Chris Hennes
e1c056c837 Add output of Pivy version 2021-03-06 21:15:22 +01:00
Chris Hennes
4e40f21e5d Default PCL to OFF on MSVC as well
PCL was already defaulted to OFF on Linux, this changes the default to OFF on MSVC
as well. This can be reverted once the primary LibPack for Windows includes a version
of FLANN that compiles under C++17 (the last official release of FLANN, 1.9.1, does
not, but the HEAD in their Git repository does).
2021-03-06 21:12:22 +01:00
Chris Hennes
66e179f3d2 Modify Travis to test without setting QT5, etc. 2021-03-06 21:11:53 +01:00
Chris Hennes
4e5c852a9b Modify Python checks when cMake >= 3.12 2021-03-06 21:11:34 +01:00
Chris Hennes
e6b6d54cad Add Python 3.6 requirement 2021-03-06 21:11:09 +01:00
Chris Hennes
c237fae4aa Drop build-system support for Qt4 and Python 2
Also increase minimum CMake, GCC, and Clang versions to match
Ubuntu 18.04 LTS. This sets our minimum supported version of the C++
standard to C++17.
2021-03-06 21:10:44 +01:00
UR-0
7499d0b37b fixes not handled exception in "task_mesh_gmsh.py"
error = sys.exc_info()[0].strip()
<class 'AttributeError'>: type object 'RuntimeError' has no attribute 'strip'
Furthermore reporting "value" instead of "type" gives more useful error messages
2021-03-06 21:00:23 +01:00
Benjamin Nauck
93d2758fbd [Spreadsheet] Use std::shared_ptr instead of boost::shared_ptr
There's no need to use boost version when stl has support for shared_ptr
2021-03-06 19:32:03 +01:00
Benjamin Nauck
7422a64c84 [Sketcher] Use std::shared_ptr instead of boost::shared_ptr
There's no need to use boost version when stl has support for shared_ptr
2021-03-06 19:32:03 +01:00
Benjamin Nauck
b6a5716b6a [Sandbox] Use std::shared_ptr instead of boost::shared_ptr
There's no need to use boost version when stl has support for shared_ptr
2021-03-06 19:32:03 +01:00
Benjamin Nauck
8017d00e78 [Robot] Use std::shared_ptr instead of boost::shared_ptr
There's no need to use boost version when stl has support for shared_ptr
2021-03-06 19:32:03 +01:00
Benjamin Nauck
d812313edd [Points] Use std::shared_ptr instead of boost::shared_ptr
There's no need to use boost version when stl has support for shared_ptr
2021-03-06 19:32:03 +01:00
Benjamin Nauck
8441f0f690 [Path] Use std::shared_ptr instead of boost::shared_ptr
There's no need to use boost version when stl has support for shared_ptr
2021-03-06 19:32:03 +01:00
Benjamin Nauck
7bacc68533 [MeshPart] Use std::shared_ptr instead of boost::shared_ptr
There's no need to use boost version when stl has support for shared_ptr
2021-03-06 19:32:03 +01:00
Benjamin Nauck
1384903af8 [Fem] Use std::shared_ptr instead of boost::shared_ptr
There's no need to use boost version when stl has support for shared_ptr
2021-03-06 19:32:03 +01:00
Benjamin Nauck
82e423735f [Assembly] Use std::shared_ptr instead of boost::shared_ptr
There's no need to use boost version when stl has support for shared_ptr
2021-03-06 19:32:03 +01:00
Benjamin Nauck
d69bbaa51b [Gui] Use std::shared_ptr instead of boost::shared_ptr
There's no need to use boost version when stl has support for shared_ptr
2021-03-06 19:32:03 +01:00
Benjamin Nauck
079ffa5b0f [App] Use std::shared_ptr instead of boost::shared_ptr
There's no need to use boost version when stl has support for shared_ptr
2021-03-06 19:32:03 +01:00
Benjamin Nauck
0032f4e298 [Path] Switch from boost::tuple to std::tuple
It's better to use the standard lib when possible
2021-03-06 19:31:06 +01:00
Benjamin Nauck
1f3627c938 [Gui] Switch from boost::tuple to std::tuple
It's better to use the standard lib when possible
2021-03-06 19:31:06 +01:00
Benjamin Nauck
358cb01a9c [App] Switch from boost::tuple to std::tuple
It's better to use the standard lib when possible
2021-03-06 19:31:06 +01:00
Chris Hennes
73dd71dadc [OpenSCAD] Add unit tests for importing primitives 2021-03-06 13:31:09 +01:00
wmayer
e4ec3d5532 Fem: [skip ci] set backend of matplotlib to Qt5Agg 2021-03-05 21:25:27 +01:00
wmayer
4090999cf3 Gui: in document observer classes replace boost::bind with std::bind 2021-03-05 14:59:26 +01:00
wmayer
2433b36f70 Gui: harmonize API of Gui document observer classes with App document observer classes 2021-03-05 14:53:44 +01:00
wmayer
9e39b41ca6 App: in document observer classes replace boost::bind with std::bind to fix build failure with C++17 2021-03-05 13:26:26 +01:00
donovaly
2a405a506f Win installer update for FC 0.20dev 2021-03-05 12:23:12 +01:00
Chris Hennes
e814172116 Fix regex in translation extraction script 2021-03-04 19:18:23 +01:00
wmayer
c3b6ce0064 travis: remove Qt4 & Py2 support from the build matrix 2021-03-04 18:52:35 +01:00
wmayer
9add6e2c9a Revert "[PartDesign] Add Material property to Body"
This reverts commit 92db97a26dbdd5c2210df39dd08a716faf6102f6.

There is no need to make this a static property because it can be added at runtime via Python or the GUI
2021-03-04 18:50:57 +01:00
Yorik van Havre
78ce247a29 Merge pull request #4549 from chennes/lgtmFixDraftLocalizeVectors
[Draft] Fix localize_vectors double definition
2021-03-04 12:27:05 +01:00
howetuft
6061b8fa8b [PartDesign] Add Material property to Body 2021-03-04 12:19:50 +01:00
wmayer
4e2e787f19 CMake: fix build and install location of Qt help files 2021-03-04 12:16:53 +01:00
wmayer
215eeb0afa PD: [skip ci] in the helix dialog use step size of 5 degree for the angle 2021-03-04 11:09:54 +01:00
donovaly
feabd1af30 [PD] use same helix angle step as for other features
All other PD features use a step size of 1.0 for angles.

(Personally also for me a step of 5 is not convenient)
2021-03-04 11:08:41 +01:00
donovaly
21d4a37e1f [PD] set App constraints for their Gui counterparts
based on Werner's work yesterday, this PR takes care of the missing PD features to use the constraints already defined in App
2021-03-04 11:03:24 +01:00
00001000bit
aba35b86f6 Update icon for Sketcher Constraint Block
The existing icon for the sketcher constraint for "constraint block" is easily confused with the icon for the diameter constraint. A small modification to add a 2nd cross bar will visually distinguish it.
2021-03-04 10:23:10 +01:00
Benjamin Nauck
085846db24 Tools: Remove super old DistTools module
Back in 2004 the "new" build tools was introduced 2668c74b58
which are located in `src/Tools/fcbt/`. The new tools split up this file
into `src/Tools/fcbt/DistTools.py` and `src/Tools/fcbt/FilesTools.py`
which is why the both `DistTools.py` doesn't match up 1:1.

I've found no references in the repo to the version in `src/Tools/` so
I think it's safe to remove.
2021-03-03 21:53:02 +01:00
wmayer
cffe8d19fd PD: [skip ci] in the helix task dialog use the value range defined in the helix feature 2021-03-03 17:40:11 +01:00
donovaly
fc36ab6c64 [PD] set constraints for helix properties
at the moment it is possible by a click to set e.g. -1 turn which would cause an error
2021-03-03 17:25:40 +01:00
Chris Hennes
ed01a60cf0 [GUI] Tweak wording and translatability of Credits 2021-03-03 17:18:56 +01:00