Commit Graph

32 Commits

Author SHA1 Message Date
luz paz
2f1ff7928b Part: remove trailing whitespace 2022-11-15 14:19:30 -06:00
Uwe
fa21e3129f [Part] SectionCutting: cut long lines
- following our latest Clang coding style
2022-11-05 20:40:18 +01:00
berniev
47ac049e14 Mod: use emplace_back 2022-08-05 10:36:16 +02:00
Uwe
922f6b83d6 [Part] [skip CI] SectionCutting: silence MSVC compiler warning
- also fix a typo
2022-07-30 00:20:30 +02:00
wmayer
fc72a7979b Part: [skip ci] fix typo 2022-07-29 18:50:35 +02:00
Uwe
b95995f23c [Part] SectionCutting.cpp: attempt to fix CI compiler error 2022-07-04 10:13:36 +02:00
Uwe
e20cc5a017 [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
196010dd10 [Part] SectionCutting: remove unused include
- also uniform line endings 8automatically done by MSVC)
2022-07-03 18:52:04 +02:00
luz paz
a526451afd Fix various typos 2022-06-01 18:03:40 -04:00
Uwe
8a8fe98454 fix some occurrences where size() is misused as Boolean
- as suggested by @wwmayer: 70714eedc9 (r69648152)
2022-03-27 21:38:15 +02:00
Uwe
2ef424bda8 [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
b6f985c861 [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
4b3735e4d9 [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
15ee1fdd4e 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
7de25e8c37 [Part] Section Cut: fix cut object naming issue 2022-03-09 03:04:13 +01:00
Uwe
d1fae66f55 [Part] Section Cut: fix for tooltip handling 2022-03-09 01:52:16 +01:00
Uwe
9f73e0b3eb [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
8f786ea6ef Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +01:00
Uwe
a8bae676ce [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
c533286d00 [Part] fix a comment on SectionCut 2022-02-24 04:49:29 +01:00
Uwe
701609f004 [Part] remove unused precompiled headers 2022-02-15 05:57:27 +01:00
Uwe
3d25e8fc10 [Part] try to fix compilation error without precompiled headers 2022-02-15 05:46:40 +01:00
Uwe
285218ecbe [Part] more simplification of SectionCut code 2022-02-15 05:06:14 +01:00
Uwe
e6f91e9f5d [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
e0fdd4394f [Part] improve SectionCut code
- get rid of potentially unsafe static_casts
- fix logic mistake
2022-02-15 04:30:08 +01:00
Uwe
1197ef7fc9 [Part] simplify a but the SectionCut code 2022-02-15 02:49:05 +01:00
Uwe
942618ce72 [Part] improve SectionCutting code
all changes as suggested in 05a9c88ab2
2022-02-14 14:09:53 +01:00
wmayer
b0d8ed1bf2 Part: section cut window is not bound to 3d viewer widget 2022-02-13 19:33:19 +01:00
0penBrain
73f2c1434a Modernize signal/slot connection for real :) 2022-02-08 17:51:36 +01:00
Uwe
eecc2eacae [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
a7b1557bcb [Part] SectionCutting: remove unused variable 2022-02-05 14:09:13 +01:00
Uwe
cc53e381c6 [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