Commit Graph

7749 Commits

Author SHA1 Message Date
wmayer
d8ad50d11d + move global function to namespace 2016-05-07 12:21:21 +02:00
DeepSOIC
c1f22cbd8d Attacher: fix wrong superPlacement read-onlyness
It reacted to changes to unrelated properties. Fixed.
2016-05-07 11:24:41 +02:00
DeepSOIC
abf4ddf9f7 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
651be3dcd1 Attacher: make positionBySupport return if attached or not
Needed as reliable way of testing if attachment is working or not.
2016-05-07 11:24:41 +02:00
DeepSOIC
2f6aaf3742 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
472af4bf59 App: fix ObjectIdentifier causing link errors
Add missing AppExport to hash_value().
2016-05-07 11:24:41 +02:00
DeepSOIC
b3e9c6b9a9 Attacher: make Placement read-only when attached
Read-onlyness of Placement and superPlacement properties is now
dynamically controlled by MapMode property value.
2016-05-07 11:24:41 +02:00
DeepSOIC
ebd5414a61 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
a392927750 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
f947101938 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
505ec6a26d 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
9d19bf023a Attacher: new modes: Inertia CS, Inertia axes
Modes added:
3D and plane attachment: Inertia CS
Line attachment: Inertia axes
This commit may serve a good example of how to add new attachment modes.
2016-05-07 11:24:41 +02:00
DeepSOIC
d12141d1fb Attacher: new mode: center of mass (point attacment) 2016-05-07 11:24:41 +02:00
DeepSOIC
71f5a8f980 Attacher: fix typo in tooltip 2016-05-07 11:24:41 +02:00
DeepSOIC
2b057ef192 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
e6911adc50 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
wmayer
096d285de6 + add headers needed for pending pull request 2016-05-07 11:22:42 +02:00
blobfish
3a8eb09635 Core: Gui: DAGView: adding surface specific property link to model recognizition. See following note.
this alters the dagview specific to the surface workbench,
    but it isn't dependent on the surface workbench.
2016-05-07 10:29:19 +02:00
blobfish
86bf399682 Core: Gui: DAGView: delay retrieval for python features. see following note.
This doesn't work on document restore!
2016-05-07 10:29:03 +02:00
blobfish
973dda6f88 Part: ModelRefine: adding basis surface to cylinder. 2016-05-07 09:45:39 +02:00
wmayer
2ccf588392 + fixes #0002133: Bad file name copying.lib 2016-05-06 19:33:16 +02:00
wmayer
237bf8332c + fixes #0001674: Allow clearing keyboard shortcuts for actions 2016-05-06 19:04:26 +02:00
wmayer
7e01d0128b + issue #0002525: Line color of shapes are always black 2016-05-06 13:57:13 +02:00
wmayer
4eada9a4f0 + fixes #0002401: Freecad 0.16, sketcher doesn't allow save as 2016-05-05 21:49:54 +02:00
wmayer
4ee2057576 + fixes #0002392: tiny character encoding problems 2016-05-05 21:13:34 +02:00
wmayer
524cdec261 + suppress warnings with MSVC 2016-05-05 18:39:17 +02:00
wmayer
133ff16d0a + avoid code duplication 2016-05-05 18:38:36 +02:00
wmayer
f5b48a636d + fixes #0002518: Propertylink enhancement. 2016-05-05 17:12:17 +02:00
wmayer
cc88b376e1 + fixes issue #0002224: Drawings break on reopen. Template not found 2016-05-05 11:11:08 +02:00
Johannes Obermayr
1e061b5c02 Fix boost::any bug with Boost 1.54.
and set BOOST_MIN_VERSION to 1.48.

Fixes:
- http://freecadweb.org/tracker/view.php?id=0002505
- http://forum.freecadweb.org/viewtopic.php?f=13&t=15310
- http://forum.freecadweb.org/viewtopic.php?f=3&t=15400
- http://forum.freecadweb.org/viewtopic.php?f=10&t=14108
2016-05-02 18:31:08 +02:00
wmayer
5edeb99828 + add methods to get/set scene graph, add parameter to set window title of viewer 2016-05-01 17:50:40 +02:00
wmayer
f8d21c4b8e + restore old layout for split views 2016-05-01 16:50:50 +02:00
wmayer
3ae1d9ae12 + fix whitespaces, fix bug with more than three views 2016-05-01 16:19:50 +02:00
wmayer
61376ef135 + improve whitespaces
+ fix sequence protocol and fix crash
2016-05-01 15:49:00 +02:00
wmayer
e331bdbc5d Squashed commit of the following:
commit 89eb699e69c05dda0ebecf4aa22acc85386ede8f
Author: looooo <sppedflyer@gmail.com>
Date:   Wed Apr 27 21:43:16 2016 +0200

    added close function

commit 2acc25adbc9df47194934ef4db18383919248c7d
Author: looooo <sppedflyer@gmail.com>
Date:   Wed Apr 27 21:12:18 2016 +0200

    some additions to the split-view-bindings

commit ec366d154a96a71c7716900f4de1c109a9160df8
Author: looooo <sppedflyer@gmail.com>
Date:   Sun Apr 24 20:55:26 2016 +0200

    SplitView: Antia-Aliasing, getViewer, handlinging of deletion
    added anti-aliasing for the SplitView3DInventor class
    added method getViewer to the AbstractSplitView
    delete python-object when c++ object gets deleted

commit 7225cd836b0001d302c9e14328b5eb7dd489cdb1
Author: looooo <sppedflyer@gmail.com>
Date:   Sun Apr 24 15:28:57 2016 +0200

    added function Gui.createViewer([int])->Viewer/SplitViewer
2016-05-01 15:46:53 +02:00
wmayer
e50950f070 + force FreeCAD to always show icons in menus if available (this overwrites system settings) 2016-04-30 18:52:13 +02:00
Yorik van Havre
a07ad8dcf1
Arch: Added pref option to not copy units to clipboard in survey mode 2016-04-30 11:38:19 -03:00
Yorik van Havre
eca3ce2dde
Arch: Fixed rebars to work with PartDesignNext 2016-04-30 10:47:05 -03:00
Yorik van Havre
a38a78f6d6
Allow to enter empty values in PropertyFloatList and PropertyIntegerList - issue #2535 2016-04-29 23:00:11 -03:00
wmayer
9ee892eb35 + add method to show parts of a mesh transparent 2016-04-29 18:15:31 +02:00
wmayer
d57b57d7ba + add method to set a viewer for Mesh selection 2016-04-29 18:14:28 +02:00
wmayer
ace71bab58 + fix bug in PolyPickerSelection to get an updated rendering content when changing to Image mode 2016-04-29 18:13:25 +02:00
wmayer
9a38d631d6 + add overloaded constructor of SelectionObject 2016-04-29 18:10:44 +02:00
wmayer
330df84419 + for picking of alignment save point plus normal 2016-04-29 17:56:46 +02:00
wmayer
f83506c510 + rename BrushSelection class to FreehandSelection 2016-04-29 17:43:43 +02:00
wmayer
00eaab0522 + add new class ParameterSerializer to load and save parameter files 2016-04-29 17:43:07 +02:00
wmayer
af72ae09c1 + implement TopoEdge.isSeam(face) 2016-04-28 11:08:28 +02:00
Yorik van Havre
d6c8d6c62c
added FreeCADGui.listCommands() method 2016-04-27 22:42:22 -03:00
Enmar Abrams
c12c4368cc Fix crash from unviewed parametrized datum plane 2016-04-27 11:25:03 +02:00
Yorik van Havre
76ce101a9b
Removed myself from bloody annoying travis emails... 2016-04-26 22:10:36 -03:00