Commit Graph

11023 Commits

Author SHA1 Message Date
wmayer
e8d14012f5 fix implementation of Module attribute 2017-05-10 11:23:34 +02:00
wmayer
03bf3ac606 Expose method to Python to get property name of main geometry
fix inheritance of MeshFeaturePy
fix inheritance of PartFeaturePy
remove useless test() method
implement getPyObject in GeoFeature in case a sub-class doesn't implement it
2017-05-10 10:36:22 +02:00
Yorik van Havre
19b14520e9 Draft: New button to modify working plane during Wire drawing 2017-05-09 23:36:41 -03:00
Yorik van Havre
84a9f74633 Added a 'show' option to the Selection View's context menu 2017-05-09 19:55:40 -03:00
Yorik van Havre
4174aac5ab Arch: Changing the Length of a Wall now affects its baseline 2017-05-09 19:32:48 -03:00
wmayer
0ad2e47f4d add command to merge point clouds 2017-05-08 21:50:03 +02:00
DeepSOIC
164b8c7f93 Draft: use viewer.redraw() in interactive operations
improves responsiveness of Draft on Windows dramatically
2017-05-08 11:44:41 -03:00
DeepSOIC
1137d5e6a8 Gui: expose ViewerPy.redraw() method 2017-05-08 11:44:41 -03:00
Yorik van Havre
73f2307390 Draft: Fixed encoding in importDXF message - issue #3019 2017-05-08 10:51:04 -03:00
Jean-Marie Verdun
4355b2864c Compute the document before inserting STEP file.
Consider that inserted Tree Element are computed and remove the Touched flag
before recomputing lately the document
This is accelerating the STEP file
2017-05-07 21:45:31 +02:00
Jean-Marie Verdun
6642022bea Step Reader Improvements
Call new functions which allows to allocate in a single call Object into the document instead of multiple calls
Put into a Compound, STEP Compound instead of a Sub Tree which was creating far
too much object (aka replicate what CAD Assistant and EDrawings are doing when
opening a complex STEP tree)
2017-05-07 21:37:48 +02:00
wmayer
1543566716 fix memory leak in DocumentObject::execute and return ASAP on errors 2017-05-07 16:21:41 +02:00
Abdullah Tahiri
91a6dd7285 Base::Type extension to get Type by key 2017-05-07 16:06:39 +02:00
wmayer
3e862bd557 Add addObjects to add multiple objects in one step 2017-05-07 16:06:39 +02:00
wwmayer
77386684fb Merge pull request #742 from looooo/gui_1
py3: Gui: files P-Z ported to python3
2017-05-07 13:29:58 +02:00
Yorik van Havre
4f044dcbe4 py3: Gui: files P-Z ported to python3 2017-05-06 20:11:31 +02:00
looooo
a3539c5168 py3: resolve dangling-pointer issues 2017-05-06 17:23:27 +02:00
Yorik van Havre
aa3f9288d6 py3: Gui: files A-P ported to python3 2017-05-06 17:23:27 +02:00
looooo
226dd17e5f py3: path: some fixes to make path py3-compileable 2017-05-06 17:11:52 +02:00
looooo
6ba65d4d63 py3: Fem: PyGui: use relative imports for PyGui 2017-05-06 15:30:46 +02:00
triplus
d27afa1ac7 Improved persistent toolbars start logic 2017-05-06 15:22:24 +02:00
wwmayer
65c7138231 Merge pull request #740 from DeepSOIC/gesture_fix1
Gesture navigation style fixes
2017-05-06 14:03:33 +02:00
DeepSOIC
6e39a78721 Gui: GestureNav: disable rotation when over a dragger 2017-05-06 12:48:26 +03:00
DeepSOIC
2d614154a4 Gui: GestureNav: fix constant hand cursor 2017-05-06 02:15:45 +03:00
Yorik van Havre
297b20e9b5 Arch: small fix to last commit 2017-05-05 12:52:17 -03:00
Yorik van Havre
aa65230d4c Arch: Fixed multilayer wall colors + added control in wall creation panel + fixed default roles 2017-05-05 12:45:41 -03:00
Yorik van Havre
37a62b4096 Draft: Fixed snapping to intersection of Arch axes 2017-05-05 10:42:48 -03:00
Abdullah Tahiri
2c5bc5d69a Exception: FUNCSIG instead of PRETTY_FUNCTION for Microsoft compiler 2017-05-05 15:15:49 +02:00
wwmayer
af2f37e5bb Merge pull request #733 from triplus/BootPhase
Boot phase reference point
2017-05-05 13:55:51 +02:00
triplus
bd64f4c038 Boot phase reference point 2017-05-04 20:03:34 +02:00
looooo
bf5f3484f6 Test: simplified command to run single test 2017-05-04 00:19:37 +02:00
Abdullah Tahiri
1091511c77 Base::Exception extension
=========================

1. Enable automatic storing of information (function, file, line) when throwing the exception via macro:

Examples:

THROWM(Exception, "BSpline GeoId is out of bounds.")
THROWM(ValueError, "BSpline GeoId is out of bounds.")

THROW(AbortException)

Output:

a) Python Console (what()):
App.ActiveDocument.Sketch004.modifyBSplineKnotMultiplicity(16,3,0)
Traceback (most recent call last):
File "<input>", line 1, in <module>
Base.FreeCADError: FreeCAD exception thrown (BSpline GeoId is out of bounds.)

b) ReportException (report()):
Exception (Thu Apr 27 19:15:24 2017): BSpline GeoId is out of bounds. in bool Sketcher::SketchObject::modifyBSplineKnotMultiplicity(int, int, int) in src/Mod/Sketcher/App/SketchObject.cpp:4102

2. Extend the basic framework so as to allow more control over the mangling of the message introduced by the user, setting the basis to allow, where needed,
 to preserve the original message while allowing full legacy behaviour.

3. Supporting FileDialog reporting as legacy
2017-05-03 22:08:10 +02:00
Abdullah Tahiri
c974e9d752 Exception: Add CADKernelError exception for specialized OCC exception propagation to App::DocumentObject 2017-05-03 22:08:10 +02:00
wmayer
378a1e4f58 Qt5: workaround for undocking of mdi view
fix minor issues reported by clang static analyzer
2017-05-03 22:01:46 +02:00
wwmayer
1a9c878b60 Merge pull request #729 from DeepSOIC/PickRadius_fix1
PickRadius support for View3DPy.getObjectInfo()
2017-05-03 17:59:47 +02:00
Yorik van Havre
0fc9e2be04 Arch Multimaterial 2017-05-03 11:52:24 -03:00
DeepSOIC
b4b882fb5b Gui: PickRadius support for View3DPy.getObjectInfo()
requested by Chris_G in forum thread "ActiveView.getObjectInfo ignores
pickRadius ?"
https://forum.freecadweb.org/viewtopic.php?f=22&t=22196
2017-05-03 16:51:36 +03:00
Keith Sloan
a328e1fe73 Support of OpenSCAD offset command 2017-05-02 15:53:30 +02:00
wwmayer
192dbf1f08 Merge pull request #725 from m0n5t3r/path-helix-sort-duplicates
[path] Remove duplicate first drill job in PathHelix
2017-05-02 13:51:27 +02:00
Sabin Iacob
6acbdad01d [path] Remove duplicate first drill job in PathHelix 2017-05-02 07:10:00 +03:00
Abdullah Tahiri
7bee2c5412 Sketcher: Visualization of horizontal alignment constraint 2017-05-01 23:35:13 +02:00
Abdullah Tahiri
40c6d4be1a Sketcher: Vertical alignment constraint command 2017-05-01 22:39:37 +02:00
Abdullah Tahiri
cfc2d86c2e Sketcher: Horizontal alignment constraint command 2017-05-01 22:39:08 +02:00
wmayer
d02a34c03b Qt5 port: workaround to keep multi-sampling when undocking mdi window 2017-05-01 18:53:58 +02:00
wmayer
9ec00ebce8 correct method name 2017-05-01 17:51:19 +02:00
wmayer
ad06765804 if set display node name in scene inspector panel 2017-05-01 17:45:42 +02:00
wmayer
f76a9a773e add SwitchBoard node class 2017-05-01 17:42:03 +02:00
wmayer
d679bba659 Revert "Sketcher: Constraint Node restructuring to enable independent hidding of driving/driven constraints"
This reverts commit 5b2e2b3d2f.
2017-05-01 16:17:20 +02:00
wmayer
7628f2bbb6 Revert "Sketcher: Edit Controls' checkboxes to independently hide/show driving/non-driving constraints"
This reverts commit 03a9d58db6.
2017-05-01 16:16:49 +02:00
wmayer
d25d7a2be2 Revert "Sketcher: hidding constraints - fix entry into empty sketch"
This reverts commit e94a86dd70.
2017-05-01 16:16:13 +02:00