Uwe
539a6bf58d
[Part] extend BRepOffsetAPI_MakeOffsetFix and use it for padding
...
BRepOffsetAPI_MakeOffsetFix provides already a workaround for an OCC bug. To use it for Pad/pocket, only the Init feature has to be added
we take the same implementation like it if for BRepOffsetAPI_MakeOffset
2022-04-09 06:43:46 +02:00
mwganson
731ed820b5
Part:Improve support for Links
2022-04-08 17:42:42 +02:00
wmayer
049d8ae06c
Part: implement persistence methods of all geometry classes and raise exception if needed (but no assert(0))
2022-04-08 11:48:10 +02:00
wmayer
fb1f4433c6
Part: [skip ci] use Py::None()
2022-04-08 10:58:10 +02:00
0penBrain
fbea5fdca5
[CrashFix] Core: fix crash when dumping content of a Surface
2022-04-08 10:55:31 +02:00
0penBrain
760237c8f7
[CrashFix] Core: fix crash when Surface is null
2022-04-08 10:55:31 +02:00
mwganson
d41395bbd1
Part: CheckGeometry handle non-ascii characters in object names when generating advanced shape content
2022-04-06 05:08:39 +02:00
Syres916
54eb842c11
[Part] Helix Default Segment Length to 0.0
...
See https://github.com/FreeCAD/FreeCAD/issues/6559
2022-04-04 00:46:59 +02:00
Yorik van Havre
cb9dda7084
Merged crowdin translations
2022-03-31 11:41:28 +02:00
Uwe
4408c66ceb
[Part] repair line endings
...
for an unknown reason MSVC complained suddenly about the line endings in this file
2022-03-30 23:48:54 +02:00
Chris Hennes
0a65575c2c
Part: PR6497 move return statement to new line
2022-03-29 12:37:00 -05:00
Chris Hennes
48619ec5cb
Part: PR4556 Step 3: sort QGridLayout by row-col
2022-03-28 10:43:22 -05:00
Uwe
66e4c37a25
fix some occurrences where size() is misused as Boolean
...
- as suggested by @wwmayer: 4d51d1d0b1 (r69648152)
2022-03-27 21:38:15 +02:00
wmayer
2ef7af2ead
Part: include header with export macros
2022-03-24 21:02:01 +01:00
wmayer
97330443a2
All: modernize C++11
...
* replace deprecated headers
2022-03-23 22:44:18 +01:00
wmayer
068c0e5a98
Part: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
Yorik van Havre
1dd773e7b3
Translations: Merged crowdin strings
2022-03-23 10:37:50 +01:00
Uwe
fe213a48f0
[Part] remove unused Xerces
2022-03-20 19:37:20 +01:00
wmayer
c9a0fae9db
lgtm: [skip ci] FIXME comment
...
Change FIXME or remove it
2022-03-20 16:51:23 +01:00
Uwe
8f894ebefe
[Part] remove Python.h from headers
...
seems not to be necessary anymore
2022-03-20 14:16:55 +01:00
Uwe
d355b9d9e2
[Part] fix TaskFaceColors dialog
...
fixes these issues:
- the actual or chosen color is never displayed in the dialog's color button (it was there but with zero transparency)
- after a color has been set one does not see it (because the changed faces were still highlighted and got the highlight color)
2022-03-20 05:41:34 +01:00
Uwe
e7f1fd5444
[Part] TaskFaceColors: remove unused includes
...
- also some code style fixes by MSVC and sorting
2022-03-19 15:16:09 +01:00
Uwe
66a5cd1a49
[Part] Section cut: add missing color handling for the cut faces
...
- the color was not handled at all and thus was often criticized
2022-03-18 17:05:47 +01:00
Uwe
b98ada4c07
[Part] Section Cut: add missing handling of valueChanged
...
- when the user changed the value without moving the slider (e.g. by clicking), nothing happened
2022-03-18 06:26:12 +01:00
wmayer
89e4455057
Part: [skip ci] print warning only if eof bit is not set, i.e. ignore it for empty files
2022-03-17 20:24:06 +01:00
wmayer
9160f06e1c
Base: rename BaseExceptionFreeCADError to PyExc_FC_GeneralError
2022-03-17 14:45:48 +01:00
wmayer
d69defaa3c
Py: replace BaseExceptionFreeCADError with more suitable exception types
2022-03-17 13:54:23 +01:00
Yorik van Havre
6efe74a554
Merged crowdin translations
2022-03-14 12:21:01 +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
Uwe
4d08cefe0e
[Part] Section Cut: respect App::Part placement
...
if object to be cut are within an App::Part container the container placement needs to be respected
- also fix a performance issue
2022-03-14 03:32:09 +01:00
wmayer
edd346cc3d
Part: Fix several coverity issues:
...
* CID 350581: Structurally dead code
* CID 350620: Structurally dead code
* CID 350563: Big parameter passed by value
* CID 350552: Uncaught exception
* CID 305193: Uncaught exception
* CID 350556: Uninitialized scalar field
* CID 350579: Uninitialized pointer read
2022-03-13 16:06:40 +01:00
wmayer
68b92c504f
Fix several coverity issues:
...
* CID 350617: Dereference after null check
* CID 350585: Out-of-bounds read
* CID 350624: Resource leak
* CID 332701: Uncaught exception
* CID 350642: Uninitialized scalar field
* CID 350590: Uninitialized scalar field
* CID 350629: Uninitialized scalar variable
* CID 350602: Uninitialized scalar variable
* CID 350564: Uninitialized scalar variable
* CID 350548: Uninitialized scalar variable
2022-03-13 12:12:49 +01:00
Uwe
1e852e6d6b
[Part] remove unused variable
...
MSVC complained about it
2022-03-12 15:44:27 +01:00
mwganson
72e06ae529
Part: 2doffset fix crash by chacking for null shape before adding with builder.Add()
2022-03-12 02:48:22 +01:00
wmayer
c3828d6225
Part: refactor PropertyPartShape::SaveDocFile and PropertyPartShape::RestoreDocFile
...
Set exception mask of std::istream::failbit | std::istream::badbit to istream to make sure it raises an exception for corrupted input files.
See: https://forum.freecadweb.org/viewtopic.php?p=536747
2022-03-11 22:06:38 +01:00
marioalexis
b9028eb8a9
Part: Some updates in CompoundFilter.py
2022-03-10 03:07:07 +01:00
wmayer
8d3c66cf18
Core/Mod: modernize C++11
...
* use nullptr
2022-03-09 21:55:31 +01:00
marioalexis
8723f0b96d
Part: Check geometry in Part_ExplodeCompound command
2022-03-09 15:41:30 +01:00
Uwe
d1fc159f4c
[Part] change sGroup for Section Cut
...
as discussed here: https://forum.freecadweb.org/viewtopic.php?p=577536#p577536
2022-03-09 11:43:23 +01:00
Uwe
907ef395f4
[Part] Section Cut: fix cut object naming issue
2022-03-09 03:04:13 +01:00
Uwe
e3e455cd5c
[Part] Section Cut: fix for tooltip handling
2022-03-09 01:52:16 +01:00
wmayer
9e91a8991e
Gui: Optimize includes to reduce compile time
2022-03-09 01:25:29 +01:00
Uwe
068f02c4b7
[Part] Section Cut: also handle normal Link objects
...
Link objects within App::Part containers were already handled but not Link objects outside
2022-03-08 06:25:35 +01:00
Uwe
bda12907de
[Gui] rename the Qt header list
2022-03-07 20:35:38 +01:00
wmayer
1ca7429705
Gui: Optimize includes to reduce compile time
2022-03-07 20:29:18 +01:00
wmayer
4977e55e51
App: Optimize includes to reduce compile time
2022-03-07 15:53:58 +01:00
Yorik van Havre
7653a9473d
Merged crowdin translations
2022-03-07 14:55:22 +01:00
Uwe
f602fc872b
[Part] Section cutting: fix read of cut state of existing cuts
...
- it is now also possible to determine the Flip state correctly
2022-03-07 02:45:36 +01:00
wmayer
58a719e207
Base: move ILogger sub-classes to their own source files in order to reduce including stream classes in client code
2022-03-06 10:13:47 +01:00
wmayer
95c70e7f4c
App: use forward declarations
2022-03-04 21:09:46 +01:00