Josh Coalson
a8ae56e06a
Part: Rename AttachExtension::Support property to AttachmentSupport, to avoid name conflict with base features. Fixes #7052
2024-03-04 18:22:43 +01:00
wmayer
ca1cb21498
PD: modernize C++: use equals default
2023-08-22 13:31:17 +02:00
luz paz
c726b69d7e
PD: remove trailing whitespace
2022-11-10 10:32:04 +01:00
berniev
2d4c5a4cfb
Mod: use emplace_back
2022-08-05 10:36:16 +02:00
Kuzemko Aleksandr
07f4267112
[PartDesign] Add individual QString for menu text which exposes text to translation
...
Closes https://github.com/FreeCAD/FreeCAD-translations/issues/125
2022-05-05 23:00:24 +02:00
Uwe
c1fbf28e22
[PD] Datums: remove unused includes
2022-02-19 19:32:00 +01:00
wmayer
4ec45b545e
boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated
2020-06-12 17:51:33 +02:00
wmayer
f70a267d77
issue #0004258 : FreeCAD crashes on "Edit datum" in PartDesign when datum in Part [skip-ci]
2020-01-30 16:07:17 +01:00
luz.paz
d38f18af23
PartDesign: [skip ci] fix header uniformity
...
This PR fixes header uniformity across all PartDesign WB files
2019-12-22 00:58:38 +01:00
wmayer
9177b4057c
remove dependency of datum element if creation of copy fails
2019-06-15 12:23:47 +02:00
wmayer
9a7f97c827
Fix usage of Reference dialog:
...
+ fix memory leak by using QDialog on the stack
+ open a transaction where needed when making a copy to avoid mess with undo/redo
+ set proper title and use main window as parent
+ replace class name Dialog with PartDesignGui::DlgReference
2018-12-03 17:54:05 +01:00
Unknown
772c5b1970
Doxygen Typos
...
+ doxy whitespace formatting
+ added more misc. typos
+ grammar fixes
[skip ci]
2017-10-15 16:27:42 +02:00
wmayer
eb02efa004
do not use translated text for icon names
2017-04-15 12:58:35 +02:00
DeepSOIC
0d81472fa8
PartDesign: fix non-selectable datum features
2017-03-15 10:32:43 -03:00
Stefan Tröger
9a3b952fb9
PartDesign: Port body to be a origin group
2017-01-04 16:01:58 +01:00
Stefan Tröger
6356636b04
PartDesign: Fix crash on datum abort
2016-12-08 08:17:31 +01:00
Stefan Tröger
214722b435
PartDesign: prevent double deletion of TempVis
2016-12-07 06:41:40 +01:00
Stefan Tröger
b758df7193
Port attachment UI to Part for general use
...
Furthermore change PartDesign primitives to use the new task dialog
2016-12-07 06:41:40 +01:00
Sergo
be249f902d
PD: add SelectionFilterGate to filter dependents, fix mirror taskview
2016-10-15 17:41:56 +02:00
Sergo
99076944af
PartDesign: points are selectable for Datum support
2016-09-30 11:09:01 -03:00
Sergo
46a218ed24
PartDesign: fix Datum editing, showing/hiding objects
2016-09-30 11:09:01 -03:00
wmayer
664cf65d26
fix -Wextra in PartDesign
2016-09-22 18:34:56 +02:00
wmayer
de7978434d
fix Coverity issues
2016-08-19 22:51:33 +02:00
wmayer
fbf72553f3
+ fix warnings
2016-05-08 06:19:32 +02:00
Mateusz Skowroński
58daa046f1
Fix layout in TaskDatumParameters dialog.
2016-05-07 23:01:47 +02:00
DeepSOIC
abf4ddf9f7
Attacher: UI: another fix of status label
...
When no references were filled in, and modes were switched, it falsely
claimed 'Attached'. This has been fixed.
2016-05-07 11:24:41 +02:00
DeepSOIC
2f6aaf3742
Attacher: add superPlacement to UI
...
Expose superPlacement as X,Y,Z,yaw,pitch,roll quantity boxes. With partial expression support.
2016-05-07 11:24:41 +02:00
DeepSOIC
ebd5414a61
Attacher: UI improve status message display
...
Before, message used to display 'Selection accepted', when attachment
actually failed. Shouldn't happen anymore.
2016-05-07 11:24:41 +02:00
DeepSOIC
a392927750
Attacher: rework UI
...
* Remove hint system on buttons. Buttons show currently selected
reference type, instead.
* Change button's caption to "Selecting..." when selecting.
* internal logic rearrangements
2016-05-07 11:24:41 +02:00
DeepSOIC
f947101938
Attacher: use getModeName() instead of eMapModeStrings[]
...
getModeName() does range checking. eMapModeStrings[] will crash if out
of range.
2016-05-07 11:24:41 +02:00
DeepSOIC
505ec6a26d
Attacher: change suggestion routine interface
...
When another bit of information was needed to be extracted from mode
suggestion routine, it felt like listMapModes had too many arguments.
So, the arguments have been collapsed into a struct. This triggered a
few namespace-related changes, which lead to massive search-and-replace
changes all over FreeCAD.
So the only functional change carried out is the addition of reference
types readout to info returned by suggestor.
2016-05-07 11:24:41 +02:00
DeepSOIC
2b057ef192
Attacher: for reachable modes, display what's to add
...
For grayed out modes in list, show what's needed to get to the mode.
Like so:
"Normal to edge (add Vertex)"
2016-05-07 11:24:41 +02:00
DeepSOIC
e6911adc50
Attacher: display modes that can be reached
...
Attachment mode list used to display only the modes that fit current
references. Now, modes that can be reached by adding more references are
listed too, but grayed out.
2016-05-07 11:24:41 +02:00
wmayer
6b4821a855
+ fix crash on abort of adding primitives
2016-04-24 14:17:01 +02:00
DeepSOIC
4a1a1480ce
Attacher: list ref. combinations in UI
2016-04-21 20:55:42 +03:00
DeepSOIC
cdc507fa36
Attacher: use the new strings in UI
...
* user-friendly mode names
* tooltips
2016-04-21 20:55:42 +03:00
Mateusz Skowroński
b5519922d8
QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
...
This change is Qt4/Qt5 neutral.
2016-04-15 11:55:12 +02:00
Mateusz Skowroński
3df6064e85
QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
...
This change is Qt4/Qt5 neutral.
2016-04-15 11:54:59 +02:00
wmayer
08df5cbc59
+ remove 'using namespace Part' inside header file
2016-04-13 16:20:31 +02:00
Stefan Tröger
6bf31e841e
PartDesign: Fix attachment external references
2016-04-12 18:12:23 +02:00
Stefan Tröger
7dea66872e
Datums not selectable during edit
2016-04-12 18:12:22 +02:00
Alexander Golubev
0cfc0cd424
Fix warnings introduced in new PartDesign
...
Mostly unused wariables and compare of signed & unsigned
2016-04-12 18:12:21 +02:00
Stefan Tröger
3bd09ea570
change point of reference feedback for datums
...
On datum creation it is better to ask the user on OK than on tool activation, as he might hit cancel (and then the created references are till there) or even more important, he could add additional external references within the dialog. The disadvantae is that if the user sets "cross reference" ge gets asked again every time he opens and leaves the dialog.
2016-04-12 18:12:20 +02:00
Alexander Golubev
1a26f7551f
PartDesign: add Origin to the Body and unstrap the module from the Parts
2016-04-12 18:12:18 +02:00
Alexander Golubev
2c2d155ee9
OriginGroup: add new abstraction layer between the Part and the GeoFeatureGroup
2016-04-12 18:12:18 +02:00
Alexander Golubev
797d6d3a11
App/Origin: big refactoring
...
- Rebase App::Origin on App::DocumentObject
- Keep all control over the Origin structure inside the Origin and it's
ViewProvider
- Add OriginFeature class as common base for App::Plane and App::Line
- Rebase App::Plane and App::Line on top of newly created class and
move to the file.
- Change Origin's ViewProvider API associated with temporary display
- Lots of associated changes to files
- Several minor fixes
- Lots of new bugs
2016-04-12 18:12:18 +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
8c5d514b18
PartDesign: Body rework - add BaseFeature property and make Tip always point to solid
2016-04-12 18:12:16 +02:00
DeepSOIC
72c70bcc50
Datum UI: fixes
...
* fix messagebox not popping when clicking OK but status is error
* accept preselection
* unify code for all datum commands
* edit selected datum if type matches, instead of creating new one
2016-04-12 18:12:13 +02:00
DeepSOIC
4e57b1a2ec
Datum UI: fixes
...
* fix highlighting of reference buttons when active
* fix selection of whole objects
* fix some other logic
2016-04-12 18:12:13 +02:00