Commit Graph

14425 Commits

Author SHA1 Message Date
Markus Lampert
9e0f0eeeb4 Enable op base feature pre-selection for multiple base models. 2018-11-06 12:01:18 -03:00
Markus Lampert
4ca516ee4d Maintain stock bound box extension values across refreshs 2018-11-06 12:01:18 -03:00
Yorik van Havre
a3efe18e71 Arch: Fixed bug in windows snapping 2018-11-05 20:00:56 -02:00
Yorik van Havre
cdf9625af1 Draft: fixed snapping to WPProxies 2018-11-05 19:28:20 -02:00
apeltauer
abf4d4ddf2 Change the name of the Wire object
After changing the name from DWire to Wire the test fails, because an element with the name DWire does not exists.
The name change came in with commit "917b5a505e8d5798a05c3c05cc7b4e052b2d05d5"
in file "src\Mod\Draft\Draft.py"
2018-11-05 19:24:02 +01:00
wmayer
f94445f9a9 add PS action to dumpToFile 2018-11-05 19:22:52 +01:00
Yorik van Havre
d32502d414 Arch/Draft: Fixed py3 bugs in text rendering 2018-11-05 11:47:54 -02:00
wmayer
135c67155d remove trailing spaces 2018-11-05 11:55:14 +01:00
wmayer
e8d5075b43 + minor fix in Document unit tests 2018-11-05 11:21:50 +01:00
wmayer
a67ee5648c remove trailing spaces 2018-11-05 10:53:01 +01:00
wmayer
0e9334aec2 remove leftover of boost.signals headers 2018-11-05 00:03:36 +01:00
Clemens Weissbacher
b6bafdf995 py3: Arch: fix TypeError exception 2018-11-04 14:51:38 -03:00
Markus Lampert
ebb4a8cc31 Added tool controller to custom op 2018-11-04 14:50:04 -03:00
Markus Lampert
a4fb7b6c95 Also restore position of base op when dressup is deleted. 2018-11-04 14:50:04 -03:00
Markus Lampert
fe916e3b58 Insert dressups at the same position in the operations list as the parent op is/was 2018-11-04 14:50:04 -03:00
Markus Lampert
210576f53e Moved Deburr out of experimental features. 2018-11-04 14:50:04 -03:00
pekkaroi
cf578c8899 Path: PathSurface task panel update 2018-11-04 14:49:21 -03:00
pekkaroi
f25db4278d generalized optimization algorithm 2018-11-04 14:49:21 -03:00
pekkaroi
14df76cbc2 Path: Optimize output of OCL dropcutter algo. 2018-11-04 14:49:21 -03:00
Abdullah Tahiri
da890f2863 Sketcher: Allow driven constraints when autoredundancy removal and autorecomputes active
==========================================================================================

https://forum.freecadweb.org/viewtopic.php?f=3&t=31998#p266626
2018-11-04 14:46:37 -03:00
DeepSOIC
0cd1066abc Part: Attacher: fix blocking error message
fix #3662
for now, just allow accepting attachment even if attachment is faulty
2018-11-04 14:45:49 -03:00
Abdullah Tahiri
eac4352b75 Sketcher: Trim bug
==================

Trim tool fails to generate coincidence upon trimming an arc of ellipse at the end of the arc.

https://forum.freecadweb.org/viewtopic.php?f=3&t=31594&start=50#p266765
2018-11-04 14:43:24 -03:00
Abdullah Tahiri
20faec46ec Sketcher: Fillet radius estimation improvement 2018-11-04 14:43:24 -03:00
Abdullah Tahiri
3e85954f6d Part: Geometry tangent with Vector3d overload 2018-11-04 14:43:24 -03:00
Abdullah Tahiri
f202961a6c Sketcher: SketchObject Debug disabled by default 2018-11-04 14:43:24 -03:00
Abdullah Tahiri
c454e1c908 Sketcher: Add DEBUG macro to SketchObject 2018-11-04 14:43:24 -03:00
Abdullah Tahiri
01bac7854f Sketcher: Intercurve fillet Improvement and delete constraint on point fix
==========================================================================

Intercurve fillet uses endpoint constraints for improved accuracy, but before this
commit was only considering a coincident constraint. Now it also considers an endpoint
tangency or perpendicular.

delConstraintOnPoint with coincidentonly=false, was not checking endpoint perpendiculars and
would therefore fail to delete them.

https://forum.freecadweb.org/viewtopic.php?f=3&t=31594&start=30#p265731
2018-11-04 14:43:24 -03:00
Abdullah Tahiri
843f636d85 Sketcher: Expose mass datum commands to python 2018-11-04 14:41:20 -03:00
Abdullah Tahiri
7129b3ca0e Sketcher: Mass operations on dimensionals
=========================================

This commit introduces two functions to operate on all datum constraints exclusively:

- Make all datum constraints driving or not driving, depending on the argument.
- Move all datum constraints at the end of the constraint list.

The practical use an ongoing effort towards improving the block constraint behaviour, that will be defered to 0.19
2018-11-04 14:41:20 -03:00
Abdullah Tahiri
21f2e79021 Sketcher: Refactor code relating to dimensional constraint checks 2018-11-04 14:41:20 -03:00
Abdullah Tahiri
66bcaf5405 Sketcher: Made constraints aware of whether they are dimensionals or not
========================================================================

Centralise the knowledge on whether a constraint is dimensional or not within the constraint
2018-11-04 14:41:20 -03:00
marvellouschandan
1b8d40323d Indentation error solved 2018-11-04 14:38:45 -03:00
marvellouschandan
34ced24ad9 Resolved issue: Exporting rectangular section to ifc 2018-11-04 14:38:45 -03:00
Yorik van Havre
fc4ad4b28b Draft: Fixed py3 bug in getSVG 2018-11-04 15:36:07 -02:00
wmayer
07810aed49 fix blocking of SelectionObserver 2018-11-04 11:54:40 +01:00
luz.paz
c7785267a7 Misc. typos and whitespace
Found via `codespell -q 3 --skip="*.po,*.ts,./.git,./src/3rdParty,./src/CXX,./src/zipios++,./src/Mod/Assembly/App/opendcm,./ChangeLog.txt" -I ../fc-word-whitelist.txt` and `grep`. Excess whitespace auto-removed by Atom editor.
2018-11-03 16:13:06 -03:00
wmayer
57cfc06c4d fix gcc8 build failure 2018-11-02 18:57:43 +01:00
Yorik van Havre
80c6100dd8 Draft: Fixed wrong Placement of Draft Wire - fixes #3558 2018-11-01 14:42:52 -03:00
wmayer
b662ee77a7 Improve TaskAttacher dialog:
+ correct handling of active document
+ properly handle case if the view provider or document is deleted while the dialog is still open
2018-10-31 14:29:42 +01:00
wmayer
0a4eae24bc add/extend helper classes to safely access documents, document objects or view providers 2018-10-31 14:27:28 +01:00
wmayer
42601fc4e4 add/extend helper classes to savely access document, document objects or view providers 2018-10-31 11:24:45 +01:00
wmayer
c50f6aea53 add an assert to several Command methods to be notified in debug mode if no active document exists 2018-10-31 11:21:33 +01:00
wmayer
36271b4052 move from deprecated boost.signals to boost.signals2 library 2018-10-30 19:09:03 +01:00
wmayer
5536470348 improve whitespaces 2018-10-30 13:48:00 +01:00
Abdullah Tahiri
c04ee53aff Sketcher: Trimming support bug
==============================

OCCT Geom2dAPI_InterCurveCurve based intersector does not detect intersection with the endpoint of a tangent line:
https://tracker.dev.opencascade.org/view.php?id=30217

This is a work-around that introduces endpoints of secondary curves as intersections, and uses projection to reject
projections further away than precision::confusion().

fixes #2463
2018-10-30 13:41:40 +01:00
wandererfan
3ec9b798bf Fix BSpline/Circle conversion 2018-10-30 13:25:33 +01:00
wandererfan
47f4a9dacb Add formatter for gp_Pnt 2018-10-30 13:25:33 +01:00
wmayer
aca61e829d fixes -Winconsistent-missing-override 2018-10-30 13:21:59 +01:00
kreso-t
2e1524bc15 Path: Adaptive - set as standard feature
- i.e. removed from experimental features
2018-10-29 23:29:08 +01:00
kreso-t
4032bd302a Path: Adaptive - fix for path cleaning
- fix for side-effect introduced by last change
(completely collinear paths were filtered out)
2018-10-29 23:29:08 +01:00