Commit Graph

327 Commits

Author SHA1 Message Date
wmayer
e8d0485f94 Qt: fix failure for Qt version < 5.15 2023-11-21 23:10:03 +01:00
wmayer
132b077983 Qt: define Q_DISABLE_COPY_MOVE only if needed 2023-11-21 23:10:03 +01:00
Adrián Insaurralde Avalos
94f7398f36 Add OndselSolver as git submodule
also update github actions to pull submodules
2023-11-13 12:17:20 -05:00
Yorik van Havre
1c18768634 Merging the Help module (#11008)
* Adding the Help module - fixes 10527, fixes #10512

* Aded Help to pre-commit

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-16 11:17:06 -05:00
David Carter
442bca834e Material: Material handling enhancements
Rework of the material handling system.

This first part concntrates on a rework of the material cards.
Rather than use a fixed list of possible properties, properties can
be defined separately in their own files and mixed to provide a
complete list of possible properties. Properties can be inherited.

The cards then provide values for the properties. These can also
be inherited allowing for small changes in cards as required.

The new property definitions are more extensive than previously.
2 and 3 dimensional arrays of properties can be defined. Values
are obtained by calling an API instead of reading from a dictionary.

For compatibility, a Python dictionary of values can be obtained
similar to how it was done previously, but this is considered a
deprecated API and won't support the newer advanced features.

The editor is completely reworked. It will be able to edit older format
material cards, but can only save them in the new format.

For testing during the development phase, a system preference can
specifiy wether the old or new material editors are to be used. This
option will be removed before release.
2023-09-25 11:04:15 -04:00
David Carter
6624fa3775 Material: Material handling enhancements
Rework of the material handling system.

This first part concntrates on a rework of the material cards.
Rather than use a fixed list of possible properties, properties can
be defined separately in their own files and mixed to provide a
complete list of possible properties. Properties can be inherited.

The cards then provide values for the properties. These can also
be inherited allowing for small changes in cards as required.

The new property definitions are more extensive than previously.
2 and 3 dimensional arrays of properties can be defined. Values
are obtained by calling an API instead of reading from a dictionary.

For compatibility, a Python dictionary of values can be obtained
similar to how it was done previously, but this is considered a
deprecated API and won't support the newer advanced features.

The editor is completely reworked. It will be able to edit older format
material cards, but can only save them in the new format.

For testing during the development phase, a system preference can
specifiy wether the old or new material editors are to be used. This
option will be removed before release.
2023-09-25 11:04:01 -04:00
PaddleStroke
b7a6558c72 Assembly: Initial implementation (#10427)
* Assembly: Initial implementation.
* Disable Assembly wb as it's WIP.
* Stub code for handling assembly import.

Co-authored-by: sliptonic <shopinthewoods@gmail.com>
Co-authored-by: Paddle <PaddleStroke@users.noreply.github.com>
2023-08-31 12:30:10 -05:00
Chris Hennes
ee7779455a Test: Begin QuantitySpinBox QTests 2023-08-12 10:23:43 -07:00
andrea
170c2b9957 removed old OCC <7 references
removed OCC <7 references
2023-08-04 21:22:40 -06:00
Adrián Insaurralde Avalos
3b6dbeb27e Rename cmake flag for unit tests to ENABLE_DEVELOPER_TESTS
To differentiate from the previously existing BUILD_TEST that controls building the Test WB
2023-08-02 00:49:29 +00:00
Adrián Insaurralde Avalos
2a1d4d4994 fix use ccache by default on most systems 2023-07-27 08:31:04 -04:00
wmayer
713bc349a5 Qt6: fix possible build failure
* add CMake definitions 'QT_NO_KEYWORDS' to avoid the Qt definition of the 'slots' macro that causes a conflict when including Python headers
* drop QT3_SUPPORT define
2023-07-20 08:58:56 -05:00
wmayer
08e239e9f7 CMake: improve handling of shiboken/PySide
* fix syntax error with message()
* if shiboken/PySide cannot be found print a warning instead of fatal error. Especially for Qt6 builds a self-compiled shiboken6/PySide6 is required that isn't necessarily installed into the system directories so that the (system) Python interpreter may fail to find them
2023-07-20 08:58:56 -05:00
Adrián Insaurralde Avalos
1d7fb46f89 Add FREEECAD_USE_CCACHE cmake option
Defaults to ON except for conda compilation on windows
2023-07-18 11:46:04 -04:00
sliptonic
fecc5d954e Merge pull request #9797 from mosfet80/patch-5
clean FindCoin3DDoc.cmake
2023-07-10 09:59:09 -05:00
sliptonic
127afb981f Merge pull request #9773 from adrianinsaval/defaultEnableFlatMesh
cmake: enable BUILD_FLAT_MESH by default
2023-07-10 09:54:58 -05:00
Adrian Insaurralde Avalos
0ef101d817 Add cmake option FREECAD_USE_EXTERNAL_FMT to turn on/off system fmt use
defaults to ON
2023-07-02 01:38:26 -04:00
mosfet80
d1130c3120 check correct Eigen3 required version
https://wiki.freecad.org/Third_Party_Libraries say minimum eigen3 are v3.0
2023-06-30 10:14:38 -04:00
mosfet80
af2253f16e Merge branch 'FreeCAD:master' into patch-5 2023-06-30 08:04:30 +02:00
Adrián Insaurralde Avalos
0bd56851ac update libpack download hint [skip ci] 2023-06-27 13:49:16 -04:00
mosfet80
c82a0f79c7 clean FindCoin3DDoc.cmake
clean FindCoin3DDoc.cmake
2023-06-20 00:00:58 +02:00
Adrián Insaurralde Avalos
93f9a34b40 cmake: enable BUILD_FLAT_MESH by default 2023-06-14 12:07:06 -04:00
Chris Hennes
67638c3701 CMake: Remove last vestige of raytracing 2023-06-06 07:37:15 -05:00
wmayer
cd4ac3c853 fixes #9523: CMake Error at cMake/FreeCAD_Helpers/SetupEigen.cmake 2023-05-17 14:39:11 +02:00
sliptonic
ed961dd834 remove dependency on robot 2023-05-12 09:20:20 -05:00
wmayer
8cc0b6ad39 Gui: Create .qm out of .ts files 2023-05-07 08:52:49 +02:00
wmayer
cdca28fd5a Core: add CMake functions to create .qm out of .ts files 2023-05-07 08:39:55 +02:00
luzpaz
129d5882a7 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
Pesc0
876601d34d Remove all PyQt references 2023-03-31 10:36:04 +02:00
Andrew
a75f194af7 Remove unused mod complete 2023-03-27 19:45:57 +02:00
wmayer
706b259cee Image: remove module 2023-03-22 16:25:19 +01:00
wmayer
616c72e7e4 CMake: add Qt's WinExtra module 2023-03-13 18:14:11 +01:00
Bernd Waibel
8fde3e3cd0 properly report Shiboken and PySide if found
The patch fixes a small issue, with the PrintFinalReport macro, where
Shiboken and PySide where not properly reported.

Closes: https://github.com/FreeCAD/FreeCAD/issues/8573
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
2023-02-21 14:57:01 -06:00
Chris Hennes
b3766e5c42 cMake: Add manual find_package() for fmt 2023-02-20 21:42:55 -06:00
Pesc0
9d7c8b1326 Cleanup root directory 2023-02-18 16:09:56 -06:00
Chris Hennes
1900613b6f Core: FetchContent zip download instead of git 2023-02-18 12:43:48 -06:00
Chris Hennes
59c95496b4 Core: Add libfmt via FetchContent 2023-02-18 12:43:48 -06:00
luzpaz
08b3bf4462 Fix various trailing whitespace issues 2023-02-16 09:30:22 -05:00
berniev
6e67ec9cc0 Still more improvements to Report Summary
Final Report doesn't distinguish system settings

Added ability to have 'sections' to group stuff
Added value function to display options as ON / OFF / value / -undefined-
Added sections System, Config, Libraries
Added a bunch of data to System and Config. Moved some out of Libraries as appropriate.
2023-02-10 20:29:16 -07:00
Chris Hennes
30e464d82a cMake: Clean up old Mac Python search 2023-02-09 17:57:47 -07:00
luzpaz
b4780be1d1 Fix whitespace issues 2023-02-05 16:39:58 +01:00
wmayer
681b8091ad CMake: make sure to add RPATH to area-native library 2023-02-02 16:56:15 +01:00
berniev
d5e1b3f441 Further efficiencies to Summary Report
Changed existing function to macro to access list of lines
Added conditional macro to save most of the if() else() endif()
Output sorted for improved comprehension
Moved build message out (nothing to do with report)
SLOC -~30%
2023-01-30 18:10:52 -07:00
Chris Hennes
53aedb17f4 cMake: Correct PySideTools paths on Windows 2023-01-30 10:36:33 -07:00
berniev
b0ae66b94c Remove obsolete cmake code (<3.16.3) 2023-01-29 17:29:08 -07:00
berniev
243ad94fb2 Simplify usage in Final Report and move Libpack copy stuff out
Added report function to separate logic from presentation and automate layout
Removed Libpack stuff to its own cmake file CopyLibpackDirectories.cmake
Added call in main CMakeLists.txt to libpack stuff
2023-01-28 08:41:34 -07:00
berniev
8c36e83ff2 Update minimum python version
https://wiki.freecadweb.org/FreeCAD_1.0_Development_Cycle
2023-01-24 21:43:45 -07:00
wmayer
ad1663245b PySide: [skip ci] fix typo 2023-01-01 11:01:13 +01:00
wmayer
f26bf54876 PySide: in PySide6 QWebEnginePage has been moved to QtWebEngineCore 2023-01-01 10:31:13 +01:00
wmayer
1d7369e321 QtTest: [skip ci] enable Qt testing framework 2022-12-01 13:57:00 +01:00