Commit Graph

35 Commits

Author SHA1 Message Date
luz paz
c726b69d7e PD: remove trailing whitespace 2022-11-10 10:32:04 +01:00
Chris Hennes
6f230d7404 PD: PR6497 move return statement to new line 2022-03-29 12:37:21 -05:00
Uwe
fc151aa8b5 [PD] Workbench and Command: remove unused includes 2022-02-20 21:55:15 +01:00
Ajinkya Dahale
e305dbd49c PartDesign: Add new need active body dialog with option to choose body (#4949)
* [PD] Add new need active body dialog

Intended for use wherever an active body is needed but none exists. The dialog
contains a list with the bodies present in the document, with an extra option to
make a new body. Custom text can be provided if needed.

This commit also replaces the warnings used by "new sketch" and "primitive"
command with this new dialog.

Addresses issue #4288.
2021-09-16 12:27:46 -05:00
donovaly
2834075d6a [PD] rename icons to match Wiki files
For the What#s this feature we need to have a uniform naming of the features and its icons. For some PD icons this is not the case and since we are in feature freeze, this is the right time to address this.
(I see the same is already done for Mesh.)
2021-02-11 12:47:25 +01:00
wmayer
d0d92b0801 force strict ISO C++ (-Wpedantic)
for Fem, Import, PartDesign, Robot, Sketcher, TechDraw
2019-09-18 14:18:07 +02:00
Zheng, Lei
11a93a0578 PartDesign changes
* Mostly for supporting in-place editing

* Add new SubShapeBinder that support cross coordinate system,
  external, and sub-object binding
2019-08-17 15:15:47 +02:00
wmayer
32c527c5a6 PVS: V547 Expression is always true/false 2019-03-12 18:33:26 +01:00
wmayer
2bb5797568 PVS: V595 The pointer was utilized before it was verified against nullptr 2019-02-17 20:55:52 +01:00
triplus
43b081947f Improved icon themes support 2019-02-13 10:42:46 -02:00
luz.paz
604811596f Crowdin: cont... 2019-02-11 16:22:13 +01:00
wmayer
41b278a05b fixes #0003256: additive elements do not use color of Body 2018-06-10 10:12:32 +02:00
luz.paz
b6b9f61548 Misc. typos
Inspired by @normandc per https://gitter.im/FreeCAD/FreeCAD?at=5a729c6ece68c3bc742df205
2018-02-07 09:40:03 +01:00
luzpaz
467ef55788 Misc. typos discovered via crowdin
should close several crowdin issues.
2017-08-28 11:50:33 -03:00
triplus
bab75bbcb7 PDN - what's this and command names improvements 2017-08-06 20:47:09 +02:00
Ian Rees
ac2f9f8902 Make Body object on creation of Sketch/Primitive 2017-04-06 19:26:19 +02:00
Ian Rees
05b5b48af8 Refactor PartDesign create primitive commands 2017-04-06 19:26:19 +02:00
Sergo
256791d42e stop profile based and primitives if file is in undetermined workflow 2017-03-07 13:51:42 -03:00
Stefan Tröger
d2764a3c7a PartDesign: Adopt python interface to body group 2017-01-04 16:01:58 +01:00
Stefan Tröger
bc133e4de2 PartDesign: Primitives are attachable directly
With the recently introduced AttachExtension the PartDesign primitives can be attachable by themself and don't need anymore the helping coordinate system datum. This simplyfies the code and the TreeView largely
2016-12-07 06:41:40 +01:00
DeepSOIC
b74b92fe23 PartDesign: Gui: fix primitive command what's this string 2016-09-13 18:54:54 +04:00
Sergo
52b98f9cf2 PD ui: Fix Primitive combobuttons icons remember last choice 2016-08-22 16:08:20 +02:00
wmayer
1b1c0316d4 + do not allow to create primitives while a task panel is open to avoid mess on the undo/redo stack 2016-04-24 18:27:24 +02:00
Alexander Golubev
c782a11aab PartDesign/Gui: Move various utility stuff from Workbench to a separate file
Also do some header cleanup.
2016-04-12 18:12:17 +02:00
Alexander Golubev
444986e88a PartDesign/Gui: move body commands to a separate file 2016-04-12 18:12:16 +02:00
Alexander Golubev
8c5d514b18 PartDesign: Body rework - add BaseFeature property and make Tip always point to solid 2016-04-12 18:12:16 +02:00
Stefan Tröger
6067c64060 allow subtractive primitive only if base available 2016-04-12 18:12:07 +02:00
Stefan Tröger
49eb5467f7 add gui for remaining primitives 2016-04-12 18:12:07 +02:00
Stefan Tröger
fec86abc09 visualize the primitive add/sub shape in edit 2016-04-12 18:12:07 +02:00
Stefan Tröger
a7396dcb74 adopt code to new getBody parameter 2016-04-12 18:12:07 +02:00
Stefan Tröger
0385734339 primitive bug fixes, add cylinder and sphere 2016-04-12 18:12:07 +02:00
Stefan Tröger
8fdde38e75 add coordinate system datum 2016-04-12 18:12:07 +02:00
Stefan Tröger
cf83242f5b fix basic additive box 2016-04-12 18:12:07 +02:00
DeepSOIC
439f392e88 Fix crash when adding datum and there's no active body
Plus fix double messageboxes about the lack of the body,
2016-04-12 18:12:07 +02:00
Stefan Tröger
52c8a19d4d basic infrastructure for part design primitives 2016-04-12 18:12:06 +02:00