Commit Graph

8053 Commits

Author SHA1 Message Date
wmayer
ca343c43ab fix scan coverity issues: unchecked dynamic_cast 2017-04-11 12:45:02 +02:00
Abdullah Tahiri
7e69c6699d Part Design: Keep body transparency when adding a new feature
=============================================================

Prior this commit, if a body has transparency (let's say 55%) and a new feature is added, the transparency is lost until you update it again in the body.

This prevents to actually see through while editing the feature (e.g. while setting the length of a pad) and is very annoying as the user
is required to go back to the body properties, where the old value (e.g. 55%) would still be there and change it to another value (56%) to effect it.
2017-04-11 10:41:27 +02:00
Yorik van Havre
1529409de6 AddonManager: Disabling list sorting for now - fixes #3003 2017-04-10 17:56:32 -03:00
Abdullah Tahiri
fd7ec2f42e BSpline: Comb representation factor with hystheresis to avoid continuous comb variations on geometrically independent geometry 2017-04-10 18:55:23 +02:00
Abdullah Tahiri
ea698474d5 Sketcher: addGeometry list addition using copy to avoid copying tags 2017-04-10 18:55:23 +02:00
Abdullah Tahiri
8e4ac4dd70 Sketcher: Carbon Copy - Allow cross-body sketcher links
=======================================================

The instructions are shown on the status bar.

press CTRL to allow cross-body link

press ALT to by-pass directional requirements

press CTRL+ALT to allow a cross-body link and by-pass directional requirements
2017-04-10 18:55:23 +02:00
Abdullah Tahiri
17098d011c Sketcher: Carbon Copy - Correct inverted logic (worked but it is not clear) 2017-04-10 18:55:23 +02:00
Abdullah Tahiri
1b5082201e Sketcher: Carbon Copy enable checks when not in a body 2017-04-10 18:55:23 +02:00
wmayer
1a97aa2e26 fixes #0002994: Validate Sketch's missing coincidence tool finds false positives 2017-04-10 17:17:40 +02:00
Abdullah Tahiri
4fd2e0df3c Sketcher: using copy in addGeometry instead of clone to avoid that python users inadvertendly generate two geometries with the same Geometry tag 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
fdf040f5b7 Sketcher: Carbon Copy
=====================

Carbon copy checks for parallel planes, translated origin and rotated axes, so that it can provide flipping detection when using reverse mappings.

This commit enables you to press CTRL will activating the tool in order to bypass this checks. Without the checks you will get a sketch exactly as the one
you want to copy, there are no corrections at all. This enables you to copy a profile on a new plane at a different direction for example for lofting purposes.
2017-04-10 08:57:25 +02:00
Abdullah Tahiri
1810164d60 Part: hiding tag handling functions as protected until a need for them is clear 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
1ea45da51b Part: Modify python copy to use c++ copy() instead of clone() 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
2bd65d9439 Sketcher: Fix sketchobject copy/clone 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
621c1d74f1 Part: Geometry refactoring copy/clone 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
e8a0776778 Sketcher: Updated resource file 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
58a891ab94 Sketcher: Bspline knot multiplicity icons 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
03d242e202 Sketcher: New function to reuse of python exception message text in the UI 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
52a0ad6e04 Part: Geometry assignTag function 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
19565c3270 Sketcher: Carbon Copy - inform user of the limitations and disallow selection 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
d96c1a8fa9 Sketcher: Carbon Copy - refactoring of code 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
1c26996b11 Sketcher: Carbon Copy aware of sketch orientation and location 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
f9a9cc4eaf Sketcher: Carbon copy using copy instead of clone 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
f9dd6cace1 Part: Geometry creation of copy method to distinguish from clone 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
182b647493 Sketcher: CarbonCopy link values via expression engine 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
11a0970b91 Sketcher: SketchObject basic carbon copy functionality - without expressions engine 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
0ad91f79bd Sketcher: Carbon Copy toolbar command 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
6917d314b8 Sketcher: Updating resource file 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
3d67071659 Sketcher: Carbon copy icons 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
3cfef62381 Sketcher: Carbon copy Python command 2017-04-10 08:57:25 +02:00
triplus
a618b0e862 Reusable Draft Snap toolbar commands
- Reusable Draft Snap toolbar commands
- Use default size for toolbar/toolbuttons
2017-04-09 19:01:06 -03:00
asiersarasua
4d71a55661 Fix typos 2017-04-09 18:29:11 +02:00
Ian Rees
6be7148405 Improve Python docstrings in Part and MeshPart 2017-04-09 12:00:24 +12:00
Yorik van Havre
d265bcaeb0 Draft: Added InPlace property to shape2Dviews 2017-04-08 16:09:24 -03:00
wmayer
aae7ebef24 expose Geometry::getTag to Python 2017-04-08 16:56:59 +02:00
wmayer
35884fd3c2 fix -Wsign-compare 2017-04-08 13:57:29 +02:00
wmayer
3663cfbd0e add method to create new tag id 2017-04-08 13:31:28 +02:00
wmayer
e13b810954 fix warning of unused variable 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
5e65fa4319 Sketcher: Only Reference constraints allowable on construction points like bspline knots 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
d27599bfdc Sketcher: Increase/Decrease knot multiplicity toolbar commands adapted to provide more meaningful error messages 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
ceace33db4 Sketcher: SketchObject Modifyknotmultplicity adapted to raise exceptions on errors 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
9e2eea6bbd Sketcher: Adapt increase multiplicity toolbar command to use unique identifier 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
3060e28c81 Part: Geometry - implement missing setHandle functions and refactoring 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
86932a6f01 Sketcher: Decrease multiplicity command adaptation to unique identifier 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
bc71a0fc82 Sketcher: Adapt modify knot multiplicity code to preserve the unique identifier 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
1c34aca8ac Part: Add unique identifier to Geometry 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
5e28c49417 Sketcher: Clear knot selection after multiplicity operation 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
5072938482 Sketcher: OCC checks for knot functionality 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
dc34f7e9fb Sketcher: Dropdown toolbar button for increase/decrease BSpline knot multiplicity 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
f6f92b428d Sketcher: BSpline Decrease knot multiplity toolbar command 2017-04-08 12:58:06 +02:00