Commit Graph

8850 Commits

Author SHA1 Message Date
wmayer
e9a46f658e + implement PropertyMaterialList 2016-05-07 14:41:24 +02:00
wmayer
2868bbd8c5 + move global function to namespace 2016-05-07 12:21:21 +02:00
DeepSOIC
754a56e61b Attacher: fix wrong superPlacement read-onlyness
It reacted to changes to unrelated properties. Fixed.
2016-05-07 11:24:41 +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
78bed4bb78 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
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
97f0e15175 App: fix ObjectIdentifier causing link errors
Add missing AppExport to hash_value().
2016-05-07 11:24:41 +02:00
DeepSOIC
4d7f802a13 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
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
22480effeb 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
701eba37be Attacher: new mode: center of mass (point attacment) 2016-05-07 11:24:41 +02:00
DeepSOIC
d1d8746518 Attacher: fix typo in tooltip 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
wmayer
176cc9f241 + add headers needed for pending pull request 2016-05-07 11:22:42 +02:00
blobfish
78b0d83189 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
85348e48cc 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
deed33e6f2 Part: ModelRefine: adding basis surface to cylinder. 2016-05-07 09:45:39 +02:00
wmayer
5b6e99a6fa + fixes #0002133: Bad file name copying.lib 2016-05-06 19:33:16 +02:00
wmayer
a43870675d + fixes #0001674: Allow clearing keyboard shortcuts for actions 2016-05-06 19:04:26 +02:00
wmayer
a1cccbc449 + issue #0002525: Line color of shapes are always black 2016-05-06 13:57:13 +02:00
wmayer
265894e142 + fixes #0002401: Freecad 0.16, sketcher doesn't allow save as 2016-05-05 21:49:54 +02:00
wmayer
5024af30f1 + fixes #0002392: tiny character encoding problems 2016-05-05 21:13:34 +02:00
wmayer
d9bd355892 + suppress warnings with MSVC 2016-05-05 18:39:17 +02:00
wmayer
0509fcfc9e + avoid code duplication 2016-05-05 18:38:36 +02:00
wmayer
7f1f9b1256 + fixes #0002518: Propertylink enhancement. 2016-05-05 17:12:17 +02:00
wmayer
fb30b1116a + fixes issue #0002224: Drawings break on reopen. Template not found 2016-05-05 11:11:08 +02:00
Johannes Obermayr
bd3f6f4052 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
1f77d98fab + add methods to get/set scene graph, add parameter to set window title of viewer 2016-05-01 17:50:40 +02:00
wmayer
902507b45d + restore old layout for split views 2016-05-01 16:50:50 +02:00
wmayer
f56dce7d1b + fix whitespaces, fix bug with more than three views 2016-05-01 16:19:50 +02:00
wmayer
88f472d411 + improve whitespaces
+ fix sequence protocol and fix crash
2016-05-01 15:49:00 +02:00
wmayer
c5aebfa872 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
8e19a2064f + 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
9378bbea62 Arch: Added pref option to not copy units to clipboard in survey mode 2016-04-30 11:38:19 -03:00
Yorik van Havre
ca4fa97d47 Arch: Fixed rebars to work with PartDesignNext 2016-04-30 10:47:05 -03:00
Yorik van Havre
a280c3ba39 Allow to enter empty values in PropertyFloatList and PropertyIntegerList - issue #2535 2016-04-29 23:00:11 -03:00
wmayer
0a209f53be + add method to show parts of a mesh transparent 2016-04-29 18:15:31 +02:00
wmayer
e579d49e6c + add method to set a viewer for Mesh selection 2016-04-29 18:14:28 +02:00
wmayer
9f6e75eccb + fix bug in PolyPickerSelection to get an updated rendering content when changing to Image mode 2016-04-29 18:13:25 +02:00
wmayer
3edf272cc8 + add overloaded constructor of SelectionObject 2016-04-29 18:10:44 +02:00
wmayer
c249c6fb9c + for picking of alignment save point plus normal 2016-04-29 17:56:46 +02:00
wmayer
e404c33e0f + rename BrushSelection class to FreehandSelection 2016-04-29 17:43:43 +02:00
wmayer
62ef3dd923 + add new class ParameterSerializer to load and save parameter files 2016-04-29 17:43:07 +02:00
wmayer
1736901e92 + implement TopoEdge.isSeam(face) 2016-04-28 11:08:28 +02:00
Yorik van Havre
e70f6e8a10 added FreeCADGui.listCommands() method 2016-04-27 22:42:22 -03:00
Enmar Abrams
bb800e768d Fix crash from unviewed parametrized datum plane 2016-04-27 11:25:03 +02:00