tritao
7986ea0cba
PartGui: Convert XML bindings to Python bindings model.
2025-04-04 23:00:34 +02:00
Benjamin Nauck
d5447df72d
Part: Add #include <limits> where used
2025-03-31 23:52:08 +02:00
Andrea
85179089b1
[mod] clean
...
code clean
2025-03-31 11:01:39 -05:00
Jonathan Zirkle
ee6f757c57
Mod: Convert from dynamic to static casts ( #20452 )
2025-03-31 15:17:51 +02:00
Chris Hennes
e7156aa326
Merge pull request #20496 from hyarion/refactor/cppify-constants
2025-03-29 18:43:40 -05:00
Benjamin Nauck
aad5e58955
Part: Use std::numeric_limits and std::numbers instead of defines
2025-03-29 13:32:38 +01:00
mosfet80
96e8a9e83c
Remove old GCC<=8 ( #20508 )
...
GCC version is always greater than 8
2025-03-29 12:21:36 +01:00
Joao Matos
faabc3d7d6
Part: Remove XML binding files.
...
This PR removes the Part XML API bindings files now that we have
equivalent Python binding files.
2025-03-25 21:28:52 +01:00
Joao Matos
6083315b04
Part: Convert XML bindings to Python (Part 2)
2025-03-25 19:55:36 +01:00
Joao Matos
e825ebe99d
Part: Clean up XML bindings (Part 2)
...
This cleans up the XML bindings for Part in preparation for an upcoming
migration to Python bindings model.
2025-03-25 17:51:32 +01:00
tritao
ce8a545fb6
Part: Convert XML bindings to Python API bindings model.
2025-03-24 12:00:16 -05:00
tritao
d5a1098add
Part: Remove Py_UNICODE usage from Part.makeWireString and FT2FC.
2025-03-23 22:49:13 +01:00
Roy-043
996fbe5410
Part: remove rogue margins from ui file
...
Added margin=0. Same as in DlgExportStep.ui:
718ac63365/src/Mod/Part/Gui/DlgExportStep.ui (L17-L19)
2025-03-23 14:09:11 +01:00
Chris Hennes
69bbee9583
Part: Ensure ShapeHistory is fully initialized
...
Coverity issue 515690
2025-03-22 07:15:15 +01:00
Chris Hennes
5aa1842dcc
Part: Remove inefficient vector reserve()
...
Coverity issue 356645
2025-03-22 07:15:15 +01:00
Chris Hennes
0bfc459298
Part: Don't cast time_t to a potentially 32-bit type
...
Coverity (and possibly other static analyzers) detect when we attempt to use a time_t as what might be a 32-bit value, warning about Y2K38 safety. It is irrelevant in this case, but make the change to avoid the warning (so it doesn't hide any real problems).
2025-03-22 07:15:15 +01:00
mosfet80
3dd7a1cc52
Remove support to oldest occ <7.5 ( #20084 )
...
* remove support to oldest occ <7.5
The os ubuntu 22.04 not supported use occ 7.5.1.
There is a lot of code implemented to support even older versions.
The patch removes support for versions lower than occ 7.5.0
* .
* move include library
#pieterhijma change request :
* removed deprecated functions
get/setAngle functions has been removed with OCC 7.5
2025-03-21 13:06:47 +01:00
tritao
6c2c6847eb
CMake: Cleanup targets with transitive dependencies
2025-03-17 12:12:06 +00:00
Chris Hennes
5f623390fb
Merge pull request #20142 from bofdahof/ranges
...
Apply C++20 std::ranges (mainly to std::find)
2025-03-17 03:08:27 -05:00
Chris Hennes
4fcdac28fb
Merge pull request #19583 from hyarion/refactor/base-type
...
Refactor Base::Type
2025-03-17 00:03:22 -05:00
Chris Hennes
b89ad30bc0
Merge pull request #19917 from tritao/refactor-document-recompute
...
Core: Refactor code around document and feature recompute
2025-03-16 23:59:12 -05:00
bofdahof
de16fe094a
Part: apply std::ranges
2025-03-16 17:17:37 -05:00
Luz Paz
17102251e5
Fix various typos
2025-03-14 12:37:12 -04:00
Chris Hennes
dced463dc6
Merge pull request #19428 from tritao/base-tracy-profiler
...
Base: Add Tracy frame profiling support.
2025-03-14 04:12:05 +00:00
Joao Matos
7ae14d6bd5
Base: Add build support and instrumentation for the Tracy profiler.
2025-03-14 03:41:30 +00:00
Chris Hennes
c9e88a31f2
Merge pull request #19911 from jffmichi/fix_boolean_cut
...
Part: fix infinite recursion in boolean cut
2025-03-11 21:03:03 +00:00
Chris Hennes
be8b92182c
Merge pull request #19921 from mosfet80/QT_CLEAN
...
REMOVE old QT<= 5.14 code
2025-03-11 20:54:59 +00:00
Andrea
cd5c46ba18
Remove unnecessary check (duplicated)
...
before including the library, it is uselessly checked if the variable __QtAll__ and __InventorAll__ have been defined. The same check is performed again once the library is included
2025-03-10 21:53:00 +01:00
jffmichi
abacccb690
Part: fix infinite recursion in boolean cut
2025-03-06 02:33:56 +01:00
Andrea
da66720d3a
REMOVE old QT<= 5.14 code
...
Ubuntu 22.04 use qt 1.15.3.
In the code is still used qt code <5.10.
A cleanup was done by removing qT code version used in ubuntu 18.04.
2025-03-05 09:32:06 +01:00
Joao Matos
8710bbd825
Part/PartDesign/TechDraw: Simplify calls to DocumentObject::recomputeFeature.
2025-03-03 21:22:22 +00:00
Chris Hennes
7f1c43a335
Merge pull request #19636 from kadet1090/color-in-base
...
Base: Move App::Color to Base
2025-03-02 16:36:40 -06:00
mosfet80
5375025e8b
Clean AppPartPy.cpp
...
Python version is always greater than 3.9
2025-03-02 16:13:55 -06:00
Chris Hennes
cf477695f9
Merge pull request #19671 from kadet1090/placement-indicator
...
Gui: Add Show Placement helper
2025-02-25 17:40:58 +00:00
Benjamin Bræstrup Sayoc
755229df23
Build: suppress warnings from 3rd party libraries
...
Warnings from 3rd parties are not relevant and are only polluting the warning output. Marking these libraries as SYSTEM suppresses warning.
https://gcc.gnu.org/onlinedocs/cpp/Invocation.html#index-I
https://gcc.gnu.org/onlinedocs/cpp/System-Headers.html
2025-02-25 14:39:05 +00:00
André Althaus
84d850afc9
Always update the element map version if it's not valid or unknown
...
_Ver can contain "?" after loading and in some circumstances this is not
cleared (often by setValue()) before saving (MultiPattern children or empty Part::Feature).
When saved the same "?" is then written again to the file causing the
recomputing dialog to pop up again and again.
This not only checks for an empty _Ver but also explicitly for "?" and
then regenerating the version if necessary.
2025-02-24 17:00:18 +00:00
Joao Matos
cc6ffb44de
Core: Move PyCXX library to src/3rdParty.
2025-02-24 16:36:06 +00:00
Kacper Donat
62432046bf
Gui: Fix empty sketch plane rendering
2025-02-24 17:30:27 +01:00
Chris Hennes
2780c9b13e
Merge pull request #19397 from kadet1090/three-point-lighting
...
Add three-point lighting
2025-02-24 16:22:34 +00:00
Andrew
0aed23ca81
fixes #19582 Sketcher - cannot project BSpline from another sketch ( #19700 )
...
Also fixes some other types of external geo
---------
Co-authored-by: Andrew Shkolik <andrew.shkolik@selerix.com >
Co-authored-by: realthunder <realthunder.dev@gmail.com >
2025-02-24 10:17:24 -06:00
Benjamin Nauck
211b3209ac
Part: Use constant for Type::BadType instead Type::badType()
2025-02-24 08:30:18 +01:00
Benjamin Nauck
2c966f5020
Part: Use isBad() instead of comparing types with ==
2025-02-24 08:30:18 +01:00
Kacper Donat
2f35f1c561
Base: Add fromPercent and toPercent helpers
2025-02-23 22:51:13 +01:00
Kacper Donat
12a69fe296
Base: Add isNullOrEmpty string helper
...
This adds isNullOrEmpty string helper that cheks if string is... well
null or empty. It is done to improve readability of the code and better
express intent.
2025-02-21 15:04:43 +01:00
Benjamin Bræstrup Sayoc
dda05369c4
Base: remove unneeded includes
2025-02-18 11:07:57 -06:00
Kacper Donat
a72a63232a
Base: Move App::Color to Base
...
Every basic data type is stored in Base module, color is standing out as
one that does not. Moving it to Base opens possibilities to integrate it
better with the rest of FreeCAD.
2025-02-17 21:10:26 +01:00
tritao
cc21acb325
Part: Clean up XML bindings.
2025-02-17 10:18:01 -06:00
Joao Matos
27ebc68a11
CMake: Modernize build files using outdated Python variables.
2025-02-16 10:21:26 -06:00
Andrea
de9bd5e1ce
change MIN_boost_version
...
ubuntu version 20.04 is no longer supported.
The minimum boost version used for freecad is now 1.74 (ubuntu 22.04) https://launchpad.net/ubuntu/jammy/+package/libboost-system-dev
2025-02-15 13:33:32 -06:00
Chris Hennes
7412fce041
Merge pull request #19468 from hyarion/AIRCAP_fixCompoundCuts
...
Part: OCCWrapper: Fix compound cuts
2025-02-14 14:16:17 -06:00