Commit Graph

805 Commits

Author SHA1 Message Date
wmayer
f85c76f6d9 replace tabs with spaces 2016-07-15 10:44:19 +02:00
Sergo
ca3deae602 refuse to create partdesign objects if no active body in document 2016-07-15 10:35:52 +02:00
Ian Rees
7e1cb6b445 Clean up warnings due to missing 'override'. 2016-06-16 14:14:52 +02:00
Stefan Tröger
005f04ff71 Travis: Add SMESH7 dependencies for OSX 2016-06-15 22:34:10 +02:00
wmayer
8c108fbf8d + make sure strings in PartDesign & Sketcher commands can be translated 2016-05-24 18:16:02 +02:00
wmayer
d6ffe12db1 + consistent context-menu to double-click event for ViewProviderBody 2016-05-22 18:47:13 +02:00
DeepSOIC
218c81b7cc PartDesign: deactivate a container on double-click if already active
Before, it was impossible to deactivate a container (Part, Body) via gui
(or it wasn't obvious).
2016-05-21 01:31:06 +03:00
DeepSOIC
02bdaea6f7 PartDesign: fixes for new body creation
Upon creation, new bodies used to steal bits from other parts and
bodies, if they were accidentally selected. Extra checks have been added
to make that much less likely.
2016-05-21 01:31:06 +03:00
Stefan Tröger
30f87e885e PartDesign: Implement voted tool ordering 2016-05-18 23:54:59 +02:00
Stefan Tröger
609da4749a fixes #0002512 Allow multi-face part design tools 2016-05-18 23:54:18 +02:00
Stefan Tröger
30d763a67a PartDesign: Fix loft preview 2016-05-18 23:54:03 +02:00
Stefan Tröger
42cb9ee8cd PartDesign: Fix pipe preview display
When a base feature was available the preview mode did not show the pipe and also set the visibility of the pipe to false
2016-05-18 23:53:49 +02:00
Stefan Tröger
bad7901b66 PartDesign: Handle pipe external references 2016-05-18 23:53:33 +02:00
wmayer
cb73d010bb + port to OCC 7.0 2016-05-14 16:53:27 +02:00
wmayer
9b4793788a + fix warnings 2016-05-08 06:19:32 +02:00
Mateusz Skowroński
ef795a6ad4 Fix Tab order in TaskDatumParameters dialog. 2016-05-07 23:02:04 +02:00
Mateusz Skowroński
0aaa3c19c3 Fix layout in TaskDatumParameters dialog. 2016-05-07 23:01:47 +02:00
DeepSOIC
b84850cfed Attacher: UI: another fix of status label
When no references were filled in, and modes were switched, it falsely
claimed 'Attached'. This has been fixed.
2016-05-07 11:24:41 +02:00
DeepSOIC
03b974246c Attacher: add superPlacement to UI
Expose superPlacement as X,Y,Z,yaw,pitch,roll quantity boxes. With partial expression support.
2016-05-07 11:24:41 +02:00
DeepSOIC
ac20612f6b Attacher: UI improve status message display
Before, message used to display 'Selection accepted', when attachment
actually failed. Shouldn't happen anymore.
2016-05-07 11:24:41 +02:00
DeepSOIC
dd3675d9ae Attacher: rework UI
* Remove hint system on buttons. Buttons show currently selected
reference type, instead.
* Change button's caption to "Selecting..." when selecting.
* internal logic rearrangements
2016-05-07 11:24:41 +02:00
DeepSOIC
92ccefa1d2 Attacher: use getModeName() instead of eMapModeStrings[]
getModeName() does range checking. eMapModeStrings[] will crash if out
of range.
2016-05-07 11:24:41 +02:00
DeepSOIC
39249581eb Attacher: change suggestion routine interface
When another bit of information was needed to be extracted from mode
suggestion routine, it felt like listMapModes had too many arguments.
So, the arguments have been collapsed into a struct. This triggered a
few namespace-related changes, which lead to massive search-and-replace
changes all over FreeCAD.

So the only functional change carried out is the addition of reference
types readout to info returned by suggestor.
2016-05-07 11:24:41 +02:00
DeepSOIC
2c5fccaf5f Attacher: for reachable modes, display what's to add
For grayed out modes in list, show what's needed to get to the mode.
Like so:
"Normal to edge (add Vertex)"
2016-05-07 11:24:41 +02:00
DeepSOIC
a0e99c425e Attacher: display modes that can be reached
Attachment mode list used to display only the modes that fit current
references. Now, modes that can be reached by adding more references are
listed too, but grayed out.
2016-05-07 11:24:41 +02:00
Enmar Abrams
bb800e768d Fix crash from unviewed parametrized datum plane 2016-04-27 11:25:03 +02:00
wmayer
fe87a73530 + do not allow to create primitives while a task panel is open to avoid mess on the undo/redo stack 2016-04-24 18:27:24 +02:00
wmayer
9ae9e3d380 + fix typos + improve whitespaces 2016-04-24 18:11:02 +02:00
wmayer
d1bc34441d + fix various gcc & clang warnings 2016-04-24 16:21:19 +02:00
wmayer
1f3fe37700 + fix crash on abort of adding primitives 2016-04-24 14:17:01 +02:00
DeepSOIC
2639b6b5fb Attacher: list ref. combinations in UI 2016-04-21 20:55:42 +03:00
DeepSOIC
47de5ea462 Attacher: change label in UI
"Attachment mode:" instead of "Available modes:"
2016-04-21 20:55:42 +03:00
DeepSOIC
5f8bcc6e12 Attacher: use the new strings in UI
* user-friendly mode names
* tooltips
2016-04-21 20:55:42 +03:00
DeepSOIC
f7b1b0416c Attacher: split Attacher3d and AttacherPlane
Even though they share all the functionality now, I split them, to allow
independent user-friendly mode names.
2016-04-21 20:55:42 +03:00
wmayer
71243d8d7b + fix whitespace & cmake warning 2016-04-17 11:38:56 +02:00
wmayer
6422ba5bcb + disconnect boost signals on destruction 2016-04-16 15:38:04 +02:00
wmayer
dac8dfa317 + issue #0002504: Crash in pad function after undoing some operations 2016-04-16 15:16:00 +02:00
wmayer
dfa5972b4b + fix various warnings with VC12 2016-04-16 12:02:58 +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
Mateusz Skowroński
596155061f QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
2016-04-15 11:54:59 +02:00
Mateusz Skowroński
b6bace2cc4 Fix files encoding. Go from ISO8859-1 to UTF-8. 2016-04-15 10:22:08 +02:00
wmayer
f439a88c69 + remove 'using namespace Part' inside header file 2016-04-13 16:20:31 +02:00
wmayer
ab43e18b00 + remove 'using namespace Attacher' inside header file 2016-04-13 15:57:49 +02:00
wmayer
b6892c5424 + add missing license text 2016-04-13 15:20:41 +02:00
wmayer
6380881b58 + fix warnings:
-Wsign-compare, -Wunused-variable, -Wunused-function, -Wswitch
+ fix Qt issues
2016-04-13 14:26:38 +02:00
Stefan Tröger
1bc2caebb4 remove unneeded orig files 2016-04-12 19:10:19 +02:00
Stefan Tröger
71ec726161 Fix test cases by adopting to new behavior
Pad now does not have a Sketch property anymore but a profile property. Also due to changes in PropertyLinkSubList it ispossible that PropertyLinks get an empty list assigned, this must be supportet now.
2016-04-12 18:12:24 +02:00
Stefan Tröger
c40d25c87f PartDesign: Fix body command 2016-04-12 18:12:23 +02:00
Stefan Tröger
97a51686c7 PartDesign: Adopt primitive preview
The preview was developed when the "one feature only" visibility rule was not yet introduced. This commit maks it work again.
2016-04-12 18:12:23 +02:00
Stefan Tröger
303578efc6 PartDesign: Fix attachment external references 2016-04-12 18:12:23 +02:00