Commit Graph

10465 Commits

Author SHA1 Message Date
Pekka Roivainen
06b135ccfd Polishing PathDrilling 2017-05-10 22:57:14 +02:00
Pekka Roivainen
cae4ec9bbc Added support for Arch Panels. Added possibility to add custom features to drill 2017-05-10 22:57:14 +02:00
Pekka Roivainen
3dc3a1bf26 Drilling refactoring and cleanup 2017-05-10 22:57:14 +02:00
Pekka Roivainen
c8f0e0720e enable removing of drilled features in BaseList. Activate Find All button 2017-05-10 22:57:14 +02:00
wmayer
17135addb6 add optional parameter to TopoShape.check() to run bop check 2017-05-10 22:40:12 +02:00
Yorik van Havre
281fad5ff9 py3: App: files A-C ported to python3 2017-05-10 20:49:10 +02:00
WandererFan
fdb6bc01a7 Fix #2971 segfault on hide() current page from Python 2017-05-10 17:43:48 +02:00
WandererFan
62e657f71e Fix #2972 Export Pdf Page Not in Foreground
exposes TechDrawGui.exportPageAsPdf(page,file)
also adds TechDrawGui.exportPageAsSvg(page,file)
2017-05-10 17:43:48 +02:00
WandererFan
6cb5372ad3 Fix Dimension double child collection
if a dimension references 2 geometries in a View - ie
Vertex-Vertex - only count it as 1 child of View
2017-05-10 17:43:48 +02:00
WandererFan
235f0a93c6 DrawGeomHatch improvements
-draw & align dash patterns correctly on all QPainters using QGPathItem
-Allow patterns to start with space
-ensure horiz & vert lines pass through pattern origin
-Scalable complex patterns
2017-05-10 17:43:48 +02:00
WandererFan
5cef451f95 Prevent ghost centre marks in ViewDetail 2017-05-10 17:43:48 +02:00
WandererFan
9ef6b76977 implement detail view highlight in base view 2017-05-10 17:43:48 +02:00
WandererFan
0ce1a6f730 fix confusing class name 2017-05-10 17:43:48 +02:00
WandererFan
bf4a80dad5 clean up GeomHatch feature, gui & dialog
Refactor code, allow dialog to edit feature, update graphics on change
prep for dash line start positioning.
2017-05-10 17:43:48 +02:00
WandererFan
c2033723a9 Correct property names in Prefs 2017-05-10 17:43:48 +02:00
WandererFan
c44ae84402 Apply HiRez mods to ViewClip 2017-05-10 17:43:48 +02:00
wmayer
61ad4c5e8d make creation of sub-elements in selection view more flexible 2017-05-10 15:01:36 +02:00
wmayer
5d0ce221a3 fix implementation of Module attribute 2017-05-10 11:23:34 +02:00
wmayer
2ea183e629 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
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
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
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
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