Commit Graph

11021 Commits

Author SHA1 Message Date
Yorik van Havre
7fac74a211 Draft: New button to modify working plane during Wire drawing 2017-05-09 23:36:41 -03:00
Yorik van Havre
97e93f01ed Added a 'show' option to the Selection View's context menu 2017-05-09 19:55:40 -03:00
Yorik van Havre
6fb69c9e7c Arch: Changing the Length of a Wall now affects its baseline 2017-05-09 19:32:48 -03:00
wmayer
67cff74865 add command to merge point clouds 2017-05-08 21:50:03 +02:00
DeepSOIC
d835c11973 Draft: use viewer.redraw() in interactive operations
improves responsiveness of Draft on Windows dramatically
2017-05-08 11:44:41 -03:00
DeepSOIC
775563baae Gui: expose ViewerPy.redraw() method 2017-05-08 11:44:41 -03:00
Yorik van Havre
8f7e3c628f Draft: Fixed encoding in importDXF message - issue #3019 2017-05-08 10:51:04 -03:00
Jean-Marie Verdun
bb12ce3474 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
7efb99ad18 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
e9bd4f679f fix memory leak in DocumentObject::execute and return ASAP on errors 2017-05-07 16:21:41 +02:00
Abdullah Tahiri
f54d00ce60 Base::Type extension to get Type by key 2017-05-07 16:06:39 +02:00
wmayer
305c63290f Add addObjects to add multiple objects in one step 2017-05-07 16:06:39 +02:00
wwmayer
492a2a17b1 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
1fb606f65d py3: Gui: files P-Z ported to python3 2017-05-06 20:11:31 +02:00
looooo
b5f83cdfef py3: resolve dangling-pointer issues 2017-05-06 17:23:27 +02:00
Yorik van Havre
7e39fed862 py3: Gui: files A-P ported to python3 2017-05-06 17:23:27 +02:00
looooo
3299c363ab py3: path: some fixes to make path py3-compileable 2017-05-06 17:11:52 +02:00
looooo
2a9cfd7eee py3: Fem: PyGui: use relative imports for PyGui 2017-05-06 15:30:46 +02:00
triplus
22519c1a6c Improved persistent toolbars start logic 2017-05-06 15:22:24 +02:00
wwmayer
97aaac5ad4 Merge pull request #740 from DeepSOIC/gesture_fix1
Gesture navigation style fixes
2017-05-06 14:03:33 +02:00
DeepSOIC
7cf1cfb63e Gui: GestureNav: disable rotation when over a dragger 2017-05-06 12:48:26 +03:00
DeepSOIC
e1c68e59a6 Gui: GestureNav: fix constant hand cursor 2017-05-06 02:15:45 +03:00
Yorik van Havre
5353ad67ab Arch: small fix to last commit 2017-05-05 12:52:17 -03:00
Yorik van Havre
96ab2876b5 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
920fc9d9c4 Draft: Fixed snapping to intersection of Arch axes 2017-05-05 10:42:48 -03:00
Abdullah Tahiri
12d9140e60 Exception: FUNCSIG instead of PRETTY_FUNCTION for Microsoft compiler 2017-05-05 15:15:49 +02:00
wwmayer
727c6025b9 Merge pull request #733 from triplus/BootPhase
Boot phase reference point
2017-05-05 13:55:51 +02:00
triplus
4bf27344c8 Boot phase reference point 2017-05-04 20:03:34 +02:00
looooo
7dd0b9b4e6 Test: simplified command to run single test 2017-05-04 00:19:37 +02:00
Abdullah Tahiri
5cbeb1002e 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
c2eea67893 Exception: Add CADKernelError exception for specialized OCC exception propagation to App::DocumentObject 2017-05-03 22:08:10 +02:00
wmayer
ffa10bbf0c Qt5: workaround for undocking of mdi view
fix minor issues reported by clang static analyzer
2017-05-03 22:01:46 +02:00
wwmayer
810ec334d0 Merge pull request #729 from DeepSOIC/PickRadius_fix1
PickRadius support for View3DPy.getObjectInfo()
2017-05-03 17:59:47 +02:00
Yorik van Havre
f264f0fd41 Arch Multimaterial 2017-05-03 11:52:24 -03:00
DeepSOIC
624a3c4146 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
2d1c913300 Support of OpenSCAD offset command 2017-05-02 15:53:30 +02:00
wwmayer
81d0ad9324 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
fa1a5c486d [path] Remove duplicate first drill job in PathHelix 2017-05-02 07:10:00 +03:00
Abdullah Tahiri
d8d086b2f2 Sketcher: Visualization of horizontal alignment constraint 2017-05-01 23:35:13 +02:00
Abdullah Tahiri
af831520a3 Sketcher: Vertical alignment constraint command 2017-05-01 22:39:37 +02:00
Abdullah Tahiri
0848603051 Sketcher: Horizontal alignment constraint command 2017-05-01 22:39:08 +02:00
wmayer
df1da3f8d8 Qt5 port: workaround to keep multi-sampling when undocking mdi window 2017-05-01 18:53:58 +02:00
wmayer
4141611824 correct method name 2017-05-01 17:51:19 +02:00
wmayer
5232aa745f if set display node name in scene inspector panel 2017-05-01 17:45:42 +02:00
wmayer
c831d66589 add SwitchBoard node class 2017-05-01 17:42:03 +02:00
wmayer
77d6448da3 Revert "Sketcher: Constraint Node restructuring to enable independent hidding of driving/driven constraints"
This reverts commit aa9255509b9e89b10d8fe21d8d5daa2be7eb5bfb.
2017-05-01 16:17:20 +02:00
wmayer
2cb39de755 Revert "Sketcher: Edit Controls' checkboxes to independently hide/show driving/non-driving constraints"
This reverts commit cfd217071bbe83a44b3601b3df294924a9f3dc8d.
2017-05-01 16:16:49 +02:00
wmayer
57cfa6d836 Revert "Sketcher: hidding constraints - fix entry into empty sketch"
This reverts commit 38eef417110eed51073ad42a5ffa993cc90ab0ef.
2017-05-01 16:16:13 +02:00
Abdullah Tahiri
6595d5564f Sketcher: hidding constraints - fix entry into empty sketch 2017-04-30 10:06:15 +02:00
Abdullah Tahiri
a76286aa27 Sketcher: Edit Controls' checkboxes to independently hide/show driving/non-driving constraints 2017-04-30 10:06:15 +02:00