Commit Graph

19 Commits

Author SHA1 Message Date
Uwe
213e5b4b76 [PD] Datums: remove unused includes 2022-02-19 19:32:00 +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
Abdullah Tahiri
7b0a501c0a PartDesign: 3rdParty to PCH 2019-05-02 07:12:27 +02:00
DeepSOIC
350d2320bc PartDesign: fix #2758 Datum Point persistence, again 2018-04-14 15:48:56 +02:00
DeepSOIC
ba069d9125 PartDesign: fix #0002758 Datum point moves to (0,0,0) when reopening the file
OCC has a peculiarity, that when saving single vertexes, it burns in placement into vertex coordinates. In loaded shape, Placement is zero. This caused datum point placement reset to zero, and its shape had nonzero  coordinates.

This fix keeps placement property from resetting, and reconstructs a new vertex upon load.
2018-04-04 17:43:15 +02:00
wmayer
cb73d010bb + port to OCC 7.0 2016-05-14 16:53:27 +02:00
wmayer
ab43e18b00 + remove 'using namespace Attacher' inside header file 2016-04-13 15:57:49 +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
305151be34 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
DeepSOIC
8babf7c2dc PartDesign: transfer Datums to become AttachableObjects
Crude and quick, needs cleanup.
2016-04-12 18:12:12 +02:00
Stefan Tröger
eba61e360d make origin work correct with multiple parts 2016-04-12 18:12:08 +02:00
Stefan Tröger
b4dd0072ab fix selection error on datum exception
and add user feedback for failed selections
2016-04-12 18:12:08 +02:00
Stefan Tröger
8af2eeb245 allow origin lines in datum features 2016-04-12 18:12:05 +02:00
jrheinlaender
6355b5fd43 Some code cosmetics 2016-04-12 18:11:55 +02:00
jrheinlaender
ef31d1ca20 Allow datum point and line from circular reference 2016-04-12 18:11:55 +02:00
jrheinlaender
5aa16e7807 Allow datum points and lines to have offsets from their references 2016-04-12 18:11:55 +02:00
jrheinlaender
be85d85800 Allow creating a datum plane tangential to a cylinder and parallel to another plane 2016-04-12 18:11:52 +02:00
jrheinlaender
c7d4ab22b9 Simplified datum features by making use of the placement property 2016-04-12 18:11:50 +02:00
jrheinlaender
857ede8847 Moved generic Datum class to Part module to avoid Sketcher dependency on PartDesign 2016-04-12 18:11:49 +02:00