PaddleStroke
19ef989300
Part: add datum objects and commands to create them.
2024-12-13 18:04:10 +01:00
Kacper Donat
954b729b56
Gui: Use getObject<T>() helpers in classes
...
This commit is generated using regex based find and replace:
```
s/[\w:]+_cast\s*<([^>]+)\*>\s*\(\s*getObject\(\s*\)\)/getObject<$1>/
s/[\w:]+_cast\s*<([^>]+)\*>\s*\(\s*([^)]*)\s*->\s*getObject\(\s*\)\)/$2->getObject<$1>()/
```
To regenerate if needed.
2024-12-06 18:29:39 +01:00
PaddleStroke
b2f965c06e
ViewProviderOrigin: Renamed to ViewProviderCoordinateSystem
2024-11-27 12:15:53 +01:00
wmayer
5d451b1486
PD: fix shape appearance of datum features, shape binder and sub-shape binder
2024-04-09 22:15:51 +02:00
David Carter
ba20441935
Material: Material appearance
...
Uses new material system for appearance
Each feature object now has a property called ShapeMaterial that
describes its physical properties. If it has a shape, it has a
material.
The ShapeColor attribute is replaced by a ShapeAppearance attribute.
This is a material list that describes all appearance properties, not
just diffuse color. As a list in can be used for all elements of a
shape, such as edges and faces.
A new widget is provided to allow the user to select materials in a
consistent fashion. It can also launch the material editor with its
more advanced capabilities.
2024-04-04 07:39:58 -05:00
Florian Foinant-Willig
24934d7843
PartDesign: modernize type checking
2023-10-23 18:08:16 +02:00
wmayer
d305f306df
Core: Revert superfluous changes made with PR #9521
2023-10-09 15:06:45 +02:00
AgCaliva
b360b43ebe
Fixing DOMDocument redefinition
2023-09-16 00:38:41 -03:00
wmayer
c8abd4a6d4
Part: modernize C++: return braced init list
2023-08-19 11:35:41 +02:00
berniev
f4ffd15864
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
Uwe
dfecb337e7
[PD] remove more superfluous nullptr checks
2022-07-18 01:33:28 +02:00
Kuzemko Alexsandr
3d7eb87a4c
[Partdesign] Fix proposed by @0penBrain ( #32 )
...
*[PartDesign] Add Q_DECLARE_TR_FUNCTIONS to ViewProviderDatum.
*[PartDesign] Small fix for ViewProviderDatum::attach translation
2022-05-05 23:00:24 +02:00
Kuzemko Aleksandr
d9134798cc
[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
Zheng, Lei
8bec44934b
Fix mixed line endings
2022-04-26 12:52:55 -05:00
Chris Hennes
65aa374083
PD: PR6497 move return statement to new line
2022-03-29 12:37:21 -05:00
wmayer
d1d4b996e7
PD: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
8f786ea6ef
Gui: Optimize includes to reduce compile time
2022-03-07 20:29:18 +01:00
Uwe
213e5b4b76
[PD] Datums: remove unused includes
2022-02-19 19:32:00 +01:00
Uwe
24ebf4b4bb
[PD] ViewProviderDatum: sorting
2022-02-18 04:02:18 +01:00
Uwe
cf290cc319
[PD] ViewProviderDatum: add missing includes
2022-02-18 03:54:02 +01:00
Uwe
41e3c1b6bb
[Sketch] ViewProviderDatum/Primitive: remove unused includes
...
- also sort the includes
2022-02-18 03:38:49 +01:00
wmayer
2fdef5ca22
PD: make sure that Attachment editor shows up the context-menu of datum objects
2022-02-17 19:28:01 +01:00
luz.paz
dc8bf3dc39
PartDesign: [skip ci] fix header uniformity
...
This PR fixes header uniformity across all PartDesign WB files
2019-12-22 00:58:38 +01:00
Zheng, Lei
d00dd4724b
PartDesign: fix datum edit through external link
2019-08-30 14:53:03 +02:00
Zheng, Lei
cd2b7e297c
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
c3763479da
activate/create 3d view when setting or getting active objects
2019-07-05 18:53:35 +02:00
Abdullah Tahiri
d2d6a4bde2
PartDesign Gui: Extend ViewProviderDatum with Part::ViewProviderAttachExtension
2019-06-23 01:03:36 +02:00
Abdullah Tahiri
9d805452f9
Pixmap: Make bigger attachment icon
2019-06-23 01:03:35 +02:00
Abdullah Tahiri
d28ef3bd54
PartDesign: Extend Datums ViewProvider to overlay attachment status
2019-06-23 01:03:35 +02:00
wmayer
e96aafd6e1
do not use translated text for icon names
2017-04-15 12:58:35 +02:00
AjinkyaDahale
d0da403adc
fixes #2964 , #2968
...
0002964: PartDesign Datum geometry invisible in 3D view if no geometry
present in Body
0002968: Datum items invisible on opening saved files
2017-03-19 18:09:15 -03:00
Stefan Tröger
117ae4e6ab
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
Stefan Tröger
3e1ba47d61
Extensions: Handle new dynamic_cast's
2016-10-08 12:48:34 +02:00
Stefan Tröger
c0f243fa3b
Extensions: bring files in correct order
2016-10-08 12:48:34 +02:00
Stefan Tröger
6fa964c53f
Extensions: Introduce classes and port App groups
2016-10-08 12:48:34 +02:00
Sergo
5a383f4433
PartDesign: fix Datum editing, showing/hiding objects
2016-09-30 11:09:01 -03:00
Enmar Abrams
bb800e768d
Fix crash from unviewed parametrized datum plane
2016-04-27 11:25:03 +02:00
wmayer
d1bc34441d
+ fix various gcc & clang warnings
2016-04-24 16:21:19 +02:00
Mateusz Skowroński
a8d37dabbe
QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
...
This change is Qt4/Qt5 neutral.
2016-04-15 11:55:12 +02:00
Stefan Tröger
103ed524f5
PartDesign: Unify datum and shapebuilder visuals
2016-04-12 18:12:23 +02:00
Stefan Tröger
8cbf27dbd6
PartDesign: Fix context menus
2016-04-12 18:12:23 +02:00
Stefan Tröger
7e97cdaafe
Datums not selectable during edit
2016-04-12 18:12:22 +02:00
Alexander Golubev
4aaad7811f
PartDesign/ViewProviderDatum: minor enhancements
...
- added defaultSize constant
- fixed typo in margin{g,}Factor function name
2016-04-12 18:12:19 +02:00
Alexander Golubev
0be77b1884
PartDesign/Gui: make Datums use general material interface
...
- Make Datums colorable and transparent
- Change default datums color to yellow and transparency to 60%
- Rework Lines and Points datum view provider
- Add ViewProviderDatum::defaultBoundBox()
2016-04-12 18:12:19 +02:00
Alexander Golubev
68c78de00d
PartDesign/Gui: add origin sizing and rework datums sizing
2016-04-12 18:12:18 +02:00
Alexander Golubev
3ed51ac4bd
PartDesign: add Origin to the Body and unstrap the module from the Parts
2016-04-12 18:12:18 +02:00
Alexander Golubev
9347f66a9e
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
f6b0ed3a47
PartDesign: Body rework - add BaseFeature property and make Tip always point to solid
2016-04-12 18:12:16 +02:00
DeepSOIC
cd4dce2f1b
PartDesign workflow without part/body
...
PartDesign: make datum features work outside of body/part
PartDesign old workflow: remove a few messageboxes about no part
PartDesign: old workflow: multitransform without body
Still has visibility issues, but generally works.
2016-04-12 18:12:14 +02:00
Stefan Tröger
07099e1163
add coordinate system datum
2016-04-12 18:12:07 +02:00