wmayer
a33ac38508
disable tip handling in PD view providers when start or finish editing
2018-02-10 00:46:30 +01:00
wmayer
a81a785b52
proper handling of setting and reverting preview mode in PD view provider
2018-02-10 00:42:10 +01:00
wmayer
a20e13b8ae
avoid superfluous transaction on PD primitive creation
2018-02-09 23:10:40 +01:00
wmayer
d5c890c50e
in ViewProviderBody::updateData make sure a view provider exists
2018-02-09 22:14:44 +01:00
Abdullah Tahiri
d455600b65
Part Design: Avoid feature modification during initialization
...
=============================================================
The values for the primitives are set after the connections to the slots "onchange" are connected.
This causes a river of onChanges at feature level which set the properties and modify the feature (to the same values).
Moving the connections at the end of the function just solves this issue.
2018-02-09 16:01:19 +01:00
luz.paz
f3098d5acb
Crowdin: fix case for 'partdesign'
...
ref: https://crowdin.com/translate/freecad/564/en-fr#6500374
also through in a random typo fix
2018-02-07 09:45:34 +01: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
wmayer
337619f245
make green for tip a bit darker
2018-02-01 19:30:25 +01:00
Abdullah Tahiri
758745f0be
PartDesign: Highlight body tip
...
==============================
It generates a small green icon on the treeview for those features being the tip of the body.
2018-02-01 19:15:48 +01:00
wmayer
865593b66a
fixes #0002559 : Body becomes visible upon changing DisplayModeBody
2018-01-30 15:58:32 +01:00
Abdullah Tahiri
f64760b8a3
PartDesign: OnDelete basefeature fixing and visualization
...
=========================================================
fixes #3084
fixes #3061 (at least what it is understood in the analysis as being a bug, the visualization left).
Basically when deleting a feature, if it is the base feature (feature with which it will merge or cutout), the dependent objects'
base feature is made to be the base feature of the object being deleted. This code pre-existed at body level, but was not being called (see below).
Additionally, if the visible object is not the one being deleted, we leave that one visible. If the visible object is the one
being deleted, we make the previous object visible.
Deletion from the tree of a feature is handled by Document.removeObject, which has no clue about what a body is. Therefore, Bodies, although an
'activable' container, know nothing about what happens at Document level with the features they contain.
The Deletion command StdCmdDelete::activated, however does notify the viewprovider corresponding to the feature (not body) of the imminent deletion
(before actually doing it). Consequently, the only way of notifying a body of the imminent deletion of one of its features so as to do the clean up
required (moving basefeature references, tip management) is from the viewprovider of the feature being deleted.
2018-01-22 22:03:18 +01:00
Abdullah Tahiri
663e4ee369
PartDesign: Extension of Pocket Feature to have two dimensions
...
fixes #2915
2018-01-20 16:15:38 +01:00
wmayer
a701c71ed8
add option to compute vertex normals from the triangulation instead of the u,v nodes
...
This is a workaround for issue #0003180 : Wrong normal of part object
2018-01-14 15:55:01 +01:00
luz.paz
8690d870a5
Misc. typos
...
+ stepcode typo submitted upsream https://github.com/stepcode/stepcode/pull/372
2018-01-07 18:41:29 -02:00
wmayer
f6ff4ed590
improve UpToFace option of pad/pocket for datum planes
2018-01-06 17:36:14 +01:00
wmayer
ac88edc3dc
allow to move PD objects via drag and drop to a body
2018-01-04 00:11:28 +01:00
wmayer
d24379d822
add option to getBodyFor to suppress dialog to set workflow style to modern
2018-01-03 21:35:03 +01:00
wmayer
22b117fd83
+fixes #0003095 : Manual migration from 0.16 models to 0.17 models not possible
2018-01-03 19:43:17 +01:00
wmayer
12ab805088
fix typo
2018-01-03 18:51:32 +01:00
wmayer
70d094994a
fix crash in ViewProviderBody::setVisualBodyMode due to missing view provider
2018-01-03 17:59:45 +01:00
wmayer
14d06fe84c
fix typo and improve whitespaces
2018-01-03 17:52:32 +01:00
wmayer
433f366304
fix function assertActivePart by creating the part container
2018-01-03 15:27:35 +01:00
luzpaz
c1152f2a2c
PartDesign: typos
2017-12-25 11:04:43 +01:00
Yorik van Havre
564f977dbd
Fixed gradient in last commit
2017-12-07 18:54:47 -02:00
Yorik van Havre
04e4e59ada
Bitacovir's new clone icon
2017-12-07 18:50:22 -02:00
Unknown
25afe3227c
SVG Cleanup: tweaked <dc:description> tags for changed clone icons
...
Follow-up to changes made in 71836f4b37
+ remove agryson from the 2 icon properties
2017-12-02 14:02:14 +01:00
luzpaz
56af703746
Fix Techdraw UI typo found via crowdin + misc. typos
...
Ref: https://crowdin.com/translate/freecad/27911/en-eu#6503377
2017-11-26 15:48:20 +01:00
wmayer
046954a05b
fix coverity issues
2017-11-18 18:07:00 +01:00
luzpaz
6f1691fec9
PartDesign: Fix previous commit + more typos
2017-11-18 12:50:26 +01:00
wmayer
ca36e884bd
fix German translation
2017-11-12 16:37:06 +01:00
wmayer
74d1aa72ea
fix German translation
2017-11-11 22:47:12 +01:00
Yorik van Havre
71836f4b37
Less copyright-harmful clone icons for Draft and PartDesign
2017-11-06 19:38:36 -02:00
Peter Lama
926b844409
Rename superPlacement property to AttachmentOffset
...
The name Attachment Offset gives a better picture of what the
property does.
2017-11-05 16:41:25 +01:00
wmayer
71fbfa952f
add 2d features to body for drag and drop
2017-11-05 12:37:46 +01:00
wmayer
d5d3513a56
remove pointless Section option from boolean operation in PD
2017-11-04 13:46:42 +01:00
Yorik van Havre
cfe2d134a2
Updated translations from crowdin
2017-10-23 18:32:02 -02:00
Markus Lampert
322598decf
Fixed whitespace inconsistency.
2017-10-22 11:24:58 -07:00
wmayer
7c4dc0d669
allow the user to proceed if default settings for revolution/groove raises an exception
2017-10-18 12:52:04 +02:00
wmayer
6e898575c2
various fixes:
...
+ fix invalid cast
+ some minor optimizations
+ improve exception handling
2017-10-18 12:33:41 +02:00
Unknown
772c5b1970
Doxygen Typos
...
+ doxy whitespace formatting
+ added more misc. typos
+ grammar fixes
[skip ci]
2017-10-15 16:27:42 +02:00
Unknown
ad457ba96b
Misc. Typos
2017-10-09 19:59:33 +02:00
wmayer
16d4105a05
automatically set the tip after creating transform features to avoid messing up the history
2017-10-06 10:20:26 +02:00
luzpaz
ab8f8919b6
Misc. typos
...
+ some are doxy others are just comment code.
+ some minor whitespace and grammatical tweaks.
+ app/SCL/* typos have also been submitted upstream (https://github.com/stepcode/stepcode/pull/366 ). So it's ok to merge them in to master.
2017-10-04 17:59:11 +02:00
wmayer
8a17c4e079
fixes #0002862 : Check for shape type before using selection as base feature
2017-10-02 00:56:47 +02:00
wmayer
397d7b74c0
handle editing of view provider of base feature
2017-10-01 19:32:11 +02:00
wmayer
98c6e0e2b0
implement clone command for part design
2017-10-01 18:25:55 +02:00
wmayer
5a1a88568a
harmonize creation of linear pattern inside a multi transform to direction creation of linear pattern
2017-09-29 23:57:31 +02:00
wmayer
2244292552
fix crashes when aborting linear pattern panel due access of null pointers
2017-09-29 21:22:48 +02:00
wmayer
7ae850d756
fixes #0003179 : PDN + AdditiveBox + MultiTransform (with LinearPattern)
2017-09-29 19:55:42 +02:00
wmayer
3769d38e89
fix dangling pointer when cancelling multi-transform task panel
2017-09-29 19:18:34 +02:00