Commit Graph

29 Commits

Author SHA1 Message Date
ᴩʜᴏɴᴇᴅʀᴏɪᴅ
8af563804c SPDX [ 49 ][ Src / Mod / PartDesign ] (#26715) 2026-02-07 22:53:31 -06:00
pre-commit-ci[bot]
25c3ba7338 All: Reformat according to new standard 2025-11-11 13:49:01 +01:00
Markus Reitböck
5b6a0b1852 PartDesign: use CMake to generate precompiled headers on all platforms
"Professional CMake" book suggest the following:

"Targets should build successfully with or without compiler support for precompiled headers. It
 should be considered an optimization, not a requirement. In particular, do not explicitly include a
 precompile header (e.g. stdafx.h) in the source code, let CMake force-include an automatically
 generated precompile header on the compiler command line instead. This is more portable across
 the major compilers and is likely to be easier to maintain. It will also avoid warnings being
 generated from certain code checking tools like iwyu (include what you use)."

Therefore, removed the "#include <PreCompiled.h>" from sources, also
there is no need for the "#ifdef _PreComp_" anymore
2025-09-23 22:39:36 +02:00
Max Wilfinger
bee89d0447 PartDesign: Update UI strings for consistency and correct for new fuctions and typos
Closes: #22128
2025-08-04 20:15:04 +02:00
Kacper Donat
b68da9d844 GUI: Add UI for Up To Shape feature
Add UI for Up To Shape feature and overall refactor of Pad / Pocket.
2024-06-10 18:05:21 +02:00
André Althaus
f662357537 Change PartDesign Pad and Revolution tree icons
Use the same icons as the toolbar buttons.
2024-05-17 09:09:46 +02:00
wmayer
ca1cb21498 PD: modernize C++: use equals default 2023-08-22 13:31:17 +02:00
Uwe
61d54b6078 [PD] Pad and Pocket: remove unused includes 2022-02-19 17:57:11 +01:00
wmayer
45c3cee264 PD: open transaction when calling item of context-menu of sketch based features 2021-10-22 20:01:43 +02:00
wmayer
3653d7ed11 fixes 0003148: PartDesign does not allow colouring of single faces for non-primitives 2018-09-24 19:30:36 +02:00
Stefan Tröger
d7e52f11a7 PartDesign: Fix context menus 2016-04-12 18:12:23 +02:00
Alexander Golubev
e3c00ce650 PartDesign/ViewProviderPad: removed a TODO 2016-04-12 18:12:16 +02:00
Alexander Golubev
5ee0cea467 PartDesign/Gui: start to unify view providers code
- Moved all common code for part design features view providers to a base
   class.
 - Move shared code for Sketch based features to newly created
   ViewProviderSketchBased class
 - Add ViewProviderSketchBased to initialization
 - Make Pad and Pocket ViewProviders to use the shared code
 - Minor fixes to TaskFeatureParameters and some derived classes
2016-04-12 18:12:15 +02:00
Alexander Golubev
143760c8d3 PartDesign/ViewProviderPad: removed unfinished reimplementation of doubleClick()
This one resulted in non proper reject of pad dialog. Because the
command transaction haven't started.
2016-04-12 18:12:15 +02:00
jrheinlaender
2d080dd92b Prevent unnecessary error messages while loading a part 2016-04-12 18:11:52 +02:00
jrheinlaender
bc7dff7339 Moved unsetEdit() to ViewProvider to avoid code duplication in all feature ViewProviders 2016-04-12 18:11:50 +02:00
jrheinlaender
8682b5f490 Switch to PartDesign workbench as soon as a PartDesign feature is edited 2016-04-12 18:11:49 +02:00
jrheinlaender
e184c9f229 More work on highlighting and hiding/showing 2016-04-12 18:11:48 +02:00
wmayer
834c0a642d + include missing header files 2015-07-01 13:02:29 +02:00
wmayer
17b7003ea7 + fixes #0001549: crash with Draft move tool while sketch is in edit mode 2014-05-20 15:25:03 +02:00
wmayer
6f2f417976 + Fix undo/redo issue with pad 2014-02-12 16:15:24 +01:00
jriegel
a97f53a5e7 Fully implement Units in PartDesign Pad 2014-02-09 16:23:06 +01:00
jmaustpc
9da66cbb02 Add and display PartDesign Tree icons
created Partdesign_Hole, Tree_PartDesign_Pad, and
Tree_PartDesign_Revolution SVG icons
Referenced the above in the PartDesign.qrc file
Modified the ViewProviders to display the Tree_icons
for Chamfer, Fillet, Draft, Groove, Hole, LinearPattern,
Mirrored, MultiTransform, PolarTransform, Revolution,
Scaled, Pad and Pocket.
PartDesign_Hole has not been implemented yet however
the ViewProvider has been, so I added the icon
2013-03-19 11:11:51 -03:00
unknown
9c974969f5 Fix possible crash in various view providers, fix formatting of Coin debug output, fix warning and compiler errors with Coin2 in SoDatumLabel 2012-07-18 10:40:36 +02:00
wmayer
6a9dff8129 + do some code clean up
+ adjust type id according to inheritance of view providers

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5111 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-10 16:40:14 +00:00
jriegel
72bfc3c74b + Add fillet dialog
+ fix undo/redo bug in edit PartDesign features 
+ partially clean up module dependency in ViewProvider base class

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5108 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-09 23:23:10 +00:00
wmayer
c7985e5c06 + rework edit modes
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5102 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-08 21:15:49 +00:00
wmayer
60e103c962 + fix crash in ViewProviderPad::onDelete
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5032 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-17 08:15:25 +00:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00