Commit Graph

28 Commits

Author SHA1 Message Date
wmayer
54076efb64 Part: [skip ci] fix typo 2022-07-29 18:50:35 +02:00
Uwe
e790566fd4 [Part] SectionCutting.cpp: attempt to fix CI compiler error 2022-07-04 10:13:36 +02:00
Uwe
3aa4955e94 [Part] fix MSVC compiler warning
about redefinition of content of basic.h, see https://forum.freecadweb.org/viewtopic.php?f=10&t=69988
2022-07-04 02:14:27 +02:00
Uwe
01b4352693 [Part] SectionCutting: remove unused include
- also uniform line endings 8automatically done by MSVC)
2022-07-03 18:52:04 +02:00
luz paz
a0c0b2616c Fix various typos 2022-06-01 18:03:40 -04: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
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
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
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
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
wmayer
1ca7429705 Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +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
Uwe
e583eec264 [Part] fix a comment on SectionCut 2022-02-24 04:49:29 +01:00
Uwe
ccbc0863a9 [Part] remove unused precompiled headers 2022-02-15 05:57:27 +01:00
Uwe
f0f30b47f6 [Part] try to fix compilation error without precompiled headers 2022-02-15 05:46:40 +01:00
Uwe
ab6ac65455 [Part] more simplification of SectionCut code 2022-02-15 05:06:14 +01:00
Uwe
217af3d0e0 [Part] fix signal blocking in SectionCut code
- add missing signal blockSignals
- assure the desired UI objects get blocked
2022-02-15 04:47:47 +01:00
Uwe
8e1cf21208 [Part] improve SectionCut code
- get rid of potentially unsafe static_casts
- fix logic mistake
2022-02-15 04:30:08 +01:00
Uwe
098b773208 [Part] simplify a but the SectionCut code 2022-02-15 02:49:05 +01:00
Uwe
7250097f39 [Part] improve SectionCutting code
all changes as suggested in 05a9c88ab2
2022-02-14 14:09:53 +01:00
wmayer
5cb2c315a2 Part: section cut window is not bound to 3d viewer widget 2022-02-13 19:33:19 +01:00
0penBrain
aed8864cd9 Modernize signal/slot connection for real :) 2022-02-08 17:51:36 +01:00
Uwe
d938733eaf [Part] SectionCutting: remove another unused variable
strangely MSVC did not report me these, the CI does
2022-02-05 14:45:34 +01:00
Uwe
819f89941b [Part] SectionCutting: remove unused variable 2022-02-05 14:09:13 +01:00
Uwe
bb204842f2 [Part] feature to make persistent section cut views (#4118)
* [Part] feature to make persistent section cut views

* one aim is to have a feature to make real cuts, not hollow ones like with clipping
* the second one is to have a persistent view, so an object in the tree that can be further exported, meshed etc.

For a detailed description with examples see https://forum.freecadweb.org/viewtopic.php?f=17&t=52441
2022-02-05 01:57:57 +01:00