tomate44
48bf133ea6
convert Geom_TrimmedCurve to subclass
2020-09-20 18:25:39 +02:00
tomate44
053c918e60
Part: remove uIso and vIso methods. Methods from base class GeomSurface will be used instead
2020-09-20 18:25:39 +02:00
vejmarie
f5710fb5cf
Fix MacOS build with boost 1.73 and updated Homebrew packages
2020-09-19 19:35:39 +02:00
donovaly
a44f8ffd42
[PD] simplify item handling
...
according to https://github.com/FreeCAD/FreeCAD/commit/2b676020
"QListWidget::takeItem() returns a pointer to the removed item. So a previous call of QListWidget::item() is superfluous"
2020-09-18 17:30:09 +02:00
Zheng, Lei
e8f5c66435
Gui: fix property editor transaction closing
2020-09-18 13:56:20 +02:00
wmayer
dea2fad512
Web: [skip ci] when dropping local file on StartPage then open it instead of downloading it
2020-09-18 13:14:09 +02:00
donovaly
03c2c76963
[PD] make sections sortable
...
- allow to sort loft sections by dragging: https://forum.freecadweb.org/viewtopic.php?f=19&t=50222
- fix bug of uninitialized options: https://forum.freecadweb.org/viewtopic.php?f=19&t=50221
- use better code for the context menu of the listWidget (the same we use in other placed of PD)
- add missing tooltip for mirror feature
2020-09-17 23:59:15 +02:00
wmayer
e8b5cfced7
MeshGui: [skip ci] expose highlightSegments() to Python
2020-09-17 18:25:14 +02:00
wmayer
b9e5bce0f0
PD: improve reference highlighting of a pipe
...
This change allows to highlight the spline, auxiliary spine, profile and sections of a pipe.
This gives the user a much better feedback of what external shapes are already used to build the pipe
2020-09-17 16:19:38 +02:00
wmayer
a3fda6f9ed
PD: [skip ci] fixes for pipe task panel
...
+ Add/Remove are checkable buttons so if user unchecks it then disable highlighting of spine
+ Avoid superfluous char* -> QString conversion
2020-09-17 14:04:36 +02:00
wmayer
2b676020d2
PD: fixes for pipe task panel
...
+ fix Qt4 build failure
+ fix handling of adding items to spine/auxiliary spine/sections to allow to remove them again
+ QListWidget::takeItem() returns a pointer to the removed item. So a previous call of QListWidget::item() is superfluous
2020-09-17 11:35:41 +02:00
donovaly
5d96f01cf7
[PD] add context menus to sweep Dialog
...
- elements in the list of edges/spines/sections can now be deleted by pressing DEL and there is a context menu for this action
see https://forum.freecadweb.org/viewtopic.php?f=19&t=50222&p=431021#p431021
2020-09-17 00:45:43 +02:00
wmayer
a028ea94cc
PartDesign: [skip ci] hide base feature of pad after it successful recompute
2020-09-16 17:18:49 +02:00
wmayer
ff0f8b0d85
Gui: [skip ci] fix crash in DocumentObjectData::updateChildren() when canceling a pending task
2020-09-16 13:41:03 +02:00
vocx-fc
7a93bcb151
Draft: small fixes to the closest function.
...
Correct the Pythonic style for the changes made in ea16bb9394 .
2020-09-16 13:09:57 +02:00
vocx-fc
c79f890112
Draft: move getDXF to draftfunctions submodule
...
Update the appropriate interface in `Draft.py`.
2020-09-16 13:09:13 +02:00
Roy-043
f04849446a
Arch: Minor improvements to testWallMultiMatAlign unit test.
2020-09-16 13:08:45 +02:00
Roy-043
1e4593aac0
Arch: Arch_Wall fix MultiMaterial alignment bug (unit test)
...
Added the testWallMultiMatAlign unit test. Have kept the testWall test. Changed the code to 'import FreeCAD as App'.
2020-09-16 13:08:45 +02:00
Roy-043
8ef5e8e333
Arch: Arch_Wall fix MultiMaterial alignment bug.
2020-09-16 13:08:45 +02:00
Roy-043
2cf9f395c1
Draft: Again revised the 5 scale unit tests. No longer relying on the math module.
...
Also avoided the use of a Boolean 'result' variable.
2020-09-16 13:07:50 +02:00
Roy-043
30fd275089
Draft: Revised the 5 Draft.scale unit tests. No longer using scale_vector_from_center.
...
The old Draft.scale unit tests uses the scale_vector_from_center function from Draft.scale. This obviously didn't make sense.
2020-09-16 13:07:50 +02:00
Roy-043
687461cf15
Draft: added 5 scale unit tests to test_modifications
...
The added functions are test_scale_part_feature_arcs, test_scale_part_feature_lines, test_scale_rectangle, test_scale_spline and test_scale_wire.
When comparing vectors and floats a tolerance of 1e-8 is used, but only for the midpoints of the arcs in test_scale_part_feature_arcs is this tolerance required. Scaling a part feature is not possible with the Draft_Scale command, but Draft.scale does support it.
2020-09-16 13:07:50 +02:00
wmayer
53a500ecf5
PartDesign: make sure to remove selection gate when closing task panel
2020-09-16 12:15:19 +02:00
wmayer
32d69af308
Fem: make sure to remove selection gate when closing task panel
2020-09-16 12:15:01 +02:00
wmayer
be22fb0bc5
Part: do not use local event loop in sweep and thickness panel
2020-09-16 12:14:04 +02:00
donovaly
5abb45f7cf
[PD] fix wording for skew prisms
...
the UI and the property is not consistent. In the dialog we use the term angle upon user feedback while the property still has the name "skew" in it.
I simply forgot this change in my PR that implemented skew prisms.
This is now corrected by this PR.
2020-09-15 22:13:26 +02:00
sliptonic
2921a0c64b
Merge pull request #3861 from Russ4262/profile_reset_fix
...
[Path] Fixes #4433 - `Cut Side` reset with certain Base Geometry changes
2020-09-15 14:12:01 -05:00
sliptonic
6ab2b2e088
Merge pull request #3862 from Russ4262/pocketshape_fix
...
[Path] PocketShape - fix improper path generation
2020-09-15 14:09:57 -05:00
sliptonic
aa9bde8066
Merge pull request #3813 from xform3/feature/base_geometry_multi_object_select
...
[Path] Enable for selection of multiple objects in Base Geometry list
2020-09-15 13:54:54 -05:00
sliptonic
a723fd7cbe
Merge pull request #3849 from Schildkroet/deburr+dressup
...
[Path] Fixed DeburrOp not moving to safe height
2020-09-15 12:48:33 -05:00
sliptonic
9925e5c99f
Merge pull request #3870 from vocx-fc/Path_fix_CMakeLists
...
Path: add missing postprocessor to CMakeLists
2020-09-15 12:47:17 -05:00
wmayer
42d643c8f7
PD: whitespace improvements
2020-09-15 14:20:24 +02:00
wmayer
5635f87d0e
PD: do not use active document in task dialogs because this is error-prone
...
and optimize string creation in TaskSketchBasedParameters::getFaceReference
2020-09-15 14:13:23 +02:00
wmayer
1c730a7f00
PD: do not use active document in task dialogs because this is error-prone
2020-09-15 13:21:32 +02:00
mwganson
74e4a3e976
[Part Design] allow for preselecting loft sections and pipe spines prior to invoking command
2020-09-15 10:48:09 +02:00
vocx-fc
b0f6920b4e
Path: use 4-space indentation, and keep lines short
2020-09-15 00:56:17 -05:00
vocx-fc
645336ffd4
Path: add missing postprocessor to CMakeLists
2020-09-14 22:18:00 -05:00
wmayer
7459f87c88
Part: [skip ci] Coverity: Uninitialized scalar field
2020-09-14 19:30:21 +02:00
wmayer
d13a187a6f
App: [skip ci] Coverity: 'Constant' variable guards dead code
2020-09-14 19:06:27 +02:00
wmayer
6199fbb25e
Base: [skip ci] Coverity: Uncaught exception
2020-09-14 18:34:25 +02:00
wmayer
3a8a28ce92
Gui: [skip ci] Coverity: Uncaught exception
2020-09-14 17:21:50 +02:00
wmayer
c3d35c65fe
dxf: [skip ci] Coverity: Buffer not null terminated
2020-09-14 14:37:20 +02:00
wmayer
d3d8ea841d
Gui: [skip ci] Coverity: Uninitialized pointer field
2020-09-14 14:08:21 +02:00
wmayer
3dce94d589
TechDraw: [skip ci] Coverity: Dereference null return value
2020-09-14 14:04:18 +02:00
wmayer
e5a3ba0ce8
TechDraw: [skip ci] Coverity: Uninitialized scalar variable/Uninitialized scalar field
2020-09-14 13:54:55 +02:00
hrobeers
aaf12da9d0
[OpenSCAD] consistent FreeCADGui imports, fixes headless CSG import
2020-09-14 13:28:40 +02:00
wmayer
d205122160
Gui: [skip ci] fixes #0004422 : PartDesign value input does not accept trailing slash
2020-09-14 10:37:46 +02:00
wmayer
2c744264d6
Gui: several fixes for expression search box:
...
+ rename method setMatchExact() to setExactMatch()
+ move handling of user-defined parameters to class ExpressionParameter
+ Qt::MatchExactly is not supported by QCompleter, use Qt::MatchStartsWith instead
+ add possibility to change match behaviour via context-menu
2020-09-13 18:35:46 +02:00
Zheng, Lei
d6748a030f
Gui: enable search box in stand alone TreeView dockable
2020-09-13 18:35:02 +02:00
Zheng, Lei
4f5a2e923c
Gui: allow change ExpressionCompleter filter mode
...
Fixes #4428
Filter mode set to Qt::MatchContains for tree view search and link
property editor object search.
Other usage of the completer (e.g. property editor, speadsheet) defaults
to Qt::MatchContains, but can be changed using parameter,
BaseApp/Preferences/Expression/CompleterMatchExact
2020-09-13 18:35:02 +02:00