Commit Graph

1697 Commits

Author SHA1 Message Date
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
70399e6c9c fixes #0003302: PDN cloned object have duplicated 'Unnamed' ghost on every file reopen 2018-01-30 19:26:06 +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
wmayer
4d36757636 improve whitespaces 2018-01-22 20:06:12 +01:00
Abdullah Tahiri
01e6cde7aa PartDesign: Fix bug of mirror transformation of multiple features
fixes #3317

This code ensures that an individual transformation or a multi-transformation have a proper
base feature and next feature.
2018-01-22 19:56:58 +01:00
Abdullah Tahiri
663e4ee369 PartDesign: Extension of Pocket Feature to have two dimensions
fixes #2915
2018-01-20 16:15:38 +01:00
DeepSOIC
27701ae852 PartDesign: #2683 add Refine property
resolves #2683

Adds Refine property to sketch-based and transformation features. The
property is initialized according to preferences, and can be altered in
property editor on per-feature basis.
2018-01-20 13:58:39 +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
50c280fdb6 fixes #0003141: Unexpected behaviour using pad to face on padded shape binder 2018-01-05 19:35:21 +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
wmayer
8e3b2d7e84 show base feature's placement on load if not part of a body 2017-12-20 22:01:24 +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
56111a0810 Typos: user-facing and trivial
Several typos and uniformity fixes.
Note: 
*SCL/SimpleDataTypes.py is a upstream stepcode file whose fiz has been submitted upstream and accepted.
*the header of Tools/generateBase/generateMetaModel_Module.xsd  had redundant data. It has been removed. Please double check it.
2017-12-02 14:00:57 +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
bd59cea7f3 fix Shaft Wizard due to renamed property 2017-11-17 12:18:24 +01:00
luzpaz
00a7610ed5 Part Design: Gear.py typo fix
[skip ci]
2017-11-16 14:32:42 +01:00
luzpaz
987b8db0b5 More typos, grammar fixes, uniformity 2017-11-15 10:46:43 -05: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
wmayer
b01c503c2c fixes #0003159: ShapeBinder is part of solid 2017-11-09 23:21:06 +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
5a2acd5645 avoid that transform children of a multi-transform stay touched after recompute 2017-10-06 14:56:18 +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