hlorus
039242b964
[Measure] Make VP MeasureDistance only depend on properties
2024-06-11 17:57:01 +02:00
wmayer
859d47bac7
Measure: Fix exception handling
...
If a Base::Exception is thrown in Measurement::getShape() then it's handled by the catch(...) handler and
converted into a Base::RuntimeError. This behaviour hides the original Base::Exception.
Example:
Selecting a datum plane raises the error 'Measurement: Unknown error retrieving shape' because the
original Base::ValueError isn't forwarded.
2024-06-02 08:15:57 +02:00
wmayer
4185605d5e
clang/gcc: Add build option FREECAD_WARN_ERROR to force to make warnings into errors
2024-05-29 13:37:07 +02:00
hlorus
806610743d
[MeasureGui] Make initial measurement placement zoom independent
2024-05-27 11:07:19 -05:00
Chris Hennes
53da36a93a
Merge pull request #14011 from hlorus/measure-icons
...
Add measurement icons
2024-05-20 10:54:06 -05:00
wmayer
792cee1801
Mesure: Ignore ValueError exceptions in quick measure
2024-05-15 10:28:33 -04:00
hlorus
030cdcfa5e
MeasureGui: Add UMF folder icon
...
Co-Authored-By: Max Wilfinger <6246609+maxwxyz@users.noreply.github.com >
2024-05-14 17:55:21 +02:00
hlorus
b3ea58a503
MeasureGui: Add icons
...
Co-Authored-By: Max Wilfinger <6246609+maxwxyz@users.noreply.github.com >
2024-05-14 17:55:06 +02:00
hlorus
ae7a16f945
Measure Prefs: Set background default color to white
2024-05-14 17:53:56 +02:00
wmayer
3a16d73253
Measure: Fix quick measure
...
* Create QuickMeasure in C++ instead of Python to avoid that it will be garbage collected
* Handle exceptions in case of invalid selections
* Refactor QuickMeasure class
* Fix linter warnings
2024-05-13 11:22:52 -05:00
hlorus
2b9e9d6ca5
[MeasureGui] Add measurement value to label text
2024-05-13 10:47:10 -05:00
Chris Hennes
1028345ae6
Merge pull request #13811 from hlorus/remove_measure_prefs
...
[Measure] Remove unused properties from measure preferences
2024-05-13 10:39:18 -05:00
wmayer
374a663d2c
Measure: Fix memory leaks
2024-05-08 20:01:54 +02:00
Max Wilfinger
302a202fa6
Change default UMF colors ( #13781 )
2024-05-06 11:16:48 -05:00
PaddleStroke
497ffd3d01
Measure: QuickMeasure: deactivate solids measures of volume/area because it's slowing down selection.
2024-05-06 18:12:14 +02:00
PaddleStroke
e5780a5e3d
Core / Measure: Introduce QuickMeasure
2024-05-06 18:12:14 +02:00
hlorus
7d5ac7e797
[Measure] Remove unused properties from measure preferences
2024-05-03 11:36:48 +02:00
Adrián Insaurralde Avalos
368b91e035
Measure: write init message to log instead
2024-05-02 08:09:39 +02:00
wmayer
56f84c8042
Fix various compiler warnings:
...
* fix -Wunused-parameter
* fix -Wunused-function
* fix -Wunused-private-field
* fix -Wunused-variable
* fix -Winconsistent-missing-override
2024-04-30 16:59:31 +02:00
wandererfan
e070b61cdc
[Measure] Change icon
...
Co-Authored-By: Max Wilfinger <6246609+maxwxyz@users.noreply.github.com >
2024-04-29 09:27:22 -04:00
hlorus
36d16b2243
[Measure] Add features, viewproviders and preferences for unified measurement facility
2024-04-29 09:27:22 -04:00
liukaiwen
4f8fe8fd4a
[cmake] some definitions do not matter build now
2023-09-27 18:17:14 +08:00
wmayer
a3057e946b
Mod: modernize C++: use equals default
2023-08-22 11:16:49 +02:00
luzpaz
729685316e
Fix trailing whitespace, typos, headers
...
Fix trailing whitespace, typos, and header uniformity.
2023-01-23 00:34:37 +01:00
wandererfan
aeeb62d204
[Measure]fix angle returns supplementary value
2023-01-07 16:32:03 -05:00
Uwe
561bb7f747
[Measure] : remove unused headers
2022-12-14 03:53:30 +01:00
wandererfan
ad2de02d0c
[Meas]handle long subElement names in reference
2022-12-02 14:19:53 -05:00
luz paz
95d89622de
Fix header uniformity for various workbenches/directories
...
Also includes some trailing whitespace fixes
2022-11-29 04:48:57 +01:00
Uwe
424cd1d319
[Measure] remove a unused include
...
- also some sorting
2022-11-23 03:50:45 +01:00
wandererfan
075cbb64f0
[Measurement]apply globalPlacement to geometry
2022-11-14 16:38:06 -05:00
wandererfan
92819be7fd
[Measurement]support for 3 point angle
2022-11-04 08:28:13 -04:00
wmayer
2062f9ce87
clang: fix warnings [-Winconsistent-missing-override]
2022-08-09 17:36:25 +02:00
berniev
ddafb98813
Mod: Use override etc 2
2022-08-09 12:52:26 +02:00
berniev
da9ebc572f
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
berniev
2d4c5a4cfb
Mod: use emplace_back
2022-08-05 10:36:16 +02:00
Uwe
49f707e885
[Measure] Measurement.cpp: add missing include
2022-07-03 21:38:52 +02:00
Uwe
6fb7f614c7
[Part] Pa* to Pre*: remove unneeded includes
...
- also sort includes
2022-07-03 20:47:03 +02:00
wmayer
924d779fc7
Points: include header with export macros
2022-03-24 20:46:47 +01:00
wmayer
97330443a2
All: modernize C++11
...
* replace deprecated headers
2022-03-23 22:44:18 +01:00
wmayer
b5c71395f1
Measure: modernize C++11
...
* use nullptr
2022-03-23 19:26:15 +01:00
Uwe
ee0b9be87c
[Measure] remove unused file
2022-03-20 19:26:22 +01:00
Uwe
ccc5198815
[Measure] remove unused includes
2022-03-20 17:56:00 +01:00
Uwe
00ffc38850
[Measure] remove Python.h from headers
...
is not necessary anymore
2022-03-20 17:41:04 +01:00
wmayer
0054cbddaa
Fix coverity issue:
...
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
wmayer
032cea587d
Base: implement a lightweight smart pointer for PyObject like Py::Object to reduce includes of Python.h in header files
2022-03-04 15:51:51 +01:00
mosfet80
2746035850
Update CMakeLists.txt
...
Fix python include.
2022-02-05 17:59:20 +01:00
Dirk Olbrich
089d5abb6f
Fixes Xercesc include, harmonize XercesC_INCLUDE_DIRS statement ( #4960 )
...
* fix: typo for XERCESC_INCLUDE_DIRS
* fix: harmonize XercesC_INCLUDE_DIRS capitalization
2021-08-16 22:57:34 -05:00
Chris Hennes
7bbff520a0
Modify Python checks when cMake >= 3.12
2021-03-06 21:11:34 +01:00
wmayer
b7f9e351c5
Win: [skip ci] check if NOMINMAX is already defined before setting it
2020-11-11 13:34:42 +01:00
Zheng, Lei
d26f772035
TechDraw: Link related changes
...
* Support link and group objects
* Support view sync by implementing view provider API getMDIView()
* Use handleChangedPropertyType() for object migration instead of
reimplementing Restore() because of a lots of changes in
PropertyContainer::Restore().
* Various other small fixes.
2019-08-17 15:15:46 +02:00