Commit Graph

17004 Commits

Author SHA1 Message Date
0penBrain
286a692ca9 [Sketcher] Move general settings widget enable/disable logic in TaskSketcherGeneral so ...
... all options are freely accessible in the preferences editor ...
 ... eg. no need to check 'Show Grid' to customize grid size or snap
 Also remove the sparse automatical saving to preferences from sketcher Task pane ...
 ... (some settings were saved, some not)
2020-05-27 19:25:47 +02:00
0penBrain
399f5de906 [Sketcher] Fix catching of rendering order change
model()->layoutChanged signal didn't work at all, was never emitted by widget
 Replaced with an eventFilter catching ChildRemoved to further emit the signal
2020-05-27 19:25:47 +02:00
0penBrain
4c9fc11cb6 [Sketcher] Fix saving/loading of rendering order
Wasn't working at all
 Now saved only from preferences editor
2020-05-27 19:25:47 +02:00
0penBrain
9862670cf2 [Sketcher] Simplify general settings management 2020-05-27 19:25:47 +02:00
0penBrain
5b76419d58 [Sketcher] Fix grid size initialization ; fixes #4055 2020-05-27 19:25:47 +02:00
0penBrain
cd2f5a00e8 [Sketcher] Add missing 'Auto remove redundant' to preferences 2020-05-27 19:25:47 +02:00
Gabriel Wicke
974648d37a Path: Add .flake8 config for path module
Per recent discussion on coding styles:
https://forum.freecadweb.org/viewtopic.php?f=15&t=46845&sid=0500747f06605e659ccd00795c2155ab
2020-05-27 09:41:49 -07:00
Yorik van Havre
43c4f9af3d Draft: Added a border around the Draft grid (can be disabled in prefs) 2020-05-27 18:02:04 +02:00
Bernd Hahnebach
f4736e0dd5 FEM gmsh mesh, set SecondOrderLinear standard to False 2020-05-27 17:57:05 +02:00
Bernd Hahnebach
38d77a804a FEM: material task panel, resize input widgets if task panel is resized 2020-05-27 17:56:56 +02:00
Yorik van Havre
8752bc126a Arch: Fixed use of IfcOpenShell serializer 2020-05-27 14:56:53 +02:00
Abdullah Tahiri
6f3160db3e Sketcher: Enable undo when trimming
===================================

Reported here:
https://forum.freecadweb.org/viewtopic.php?p=311853#p312647
2020-05-26 19:28:35 +02:00
Abdullah Tahiri
4de7acff64 Sketcher: Root point selected when endpoint in external geometry point
======================================================================

fixes #3831

Solver Interface getPointId method is only intended for normal geometry, and returns -1 if geoid is out of range, which was misinterpreted as root point selection.
2020-05-26 14:14:00 +02:00
Bernd Hahnebach
5421ea0027 FEM: fix some Python object task panels if ther is no analysis 2020-05-26 13:55:45 +02:00
Bernd Hahnebach
a3a7ef8de6 FEM: material common obj, fix category attribute 2020-05-26 08:27:27 +02:00
Russell Johnson
a337653d2b Path: Add missing CoolantMode input to GUI 2020-05-25 18:50:32 -05:00
sliptonic
30dcafc590 Merge pull request #3461 from Russ4262/3D_Surface_updates
Path:  3D Surface and Waterline updates and fixes.
2020-05-25 18:16:31 -05:00
sliptonic
388bfbdc81 Merge pull request #3502 from dubstar-04/fixes/op-visibility
[Path] - Don't reset the operations visibility state during document recompute
2020-05-25 12:33:23 -05:00
sliptonic
f1354fe01f Merge pull request #3500 from dubstar-04/feature/setOrigin
[Path] - Feature/Origin Selection
2020-05-25 12:32:57 -05:00
Bernd Hahnebach
31865b60a6 FEM: elmer electric force object, change type 2020-05-25 17:59:59 +02:00
Bernd Hahnebach
8198208c97 FEM: electic force object, add unit tests 2020-05-25 17:56:38 +02:00
sliptonic
f4b0d78bec Merge pull request #3490 from Russ4262/PathProfileOpenEdgeUpdate
Path: PathProfile - Improve open-edges, messaging, Final Depth initial guess ...
2020-05-25 10:00:26 -05:00
HoWil
dfdcd5351b FEM electric force equation object, implement in elmer writer 2020-05-25 15:46:02 +02:00
HoWil
52da15b815 FEM: add elmer electric force equation object 2020-05-25 15:46:00 +02:00
wmayer
300e887480 Handle clang 10 warnings:
+ fix -Wtautological-bitwise-compare
+ fix -Wimplicit-int-float-conversion
+ fix -Wmisleading-indentation
+ fix -Wrange-loop-construct
+ suppress -Wdeprecated-copy of 3rd party libs
2020-05-25 15:34:43 +02:00
carlopav
6d4dc1c834 Draft: Edit arc by 3 points bugfix 2020-05-25 13:37:55 +02:00
carlopav
b6b48b43ec Draft: bugfix on Edit BezCurve 2020-05-25 13:37:55 +02:00
carlopav
f4a47d0ecf Draft: Edit bugfix in Wire/BSpline curve editing 2020-05-25 13:37:55 +02:00
carlopav
caf6606d5f Draft: Edit support for Part Sphere
.
2020-05-25 13:37:55 +02:00
carlopav
d9e2f4f46c Draft: Edit support for Part Cone 2020-05-25 13:37:55 +02:00
carlopav
1b263a6a8f Draft: reordered supported edit objects and support for PartCylinder 2020-05-25 13:37:55 +02:00
carlopav
a98e2076db Draft: Edit reordering 1
Started a general refactor to handle all the conversion between global and object coordinate system inside the main methods and just use object coordinates inside object functions.
Draft: Edit reordering 2

Fixed Editing of Part objects according to the new refactor
Draft: fix in autogroup function for dimensions


Draft: fixed Polygon editing when inscribed or circumscribed


Draft: Edit support for Ellipse object


.


Draft: Edit docstrings


Draft: Edit reordering 3


Draft: Fixed Edit for structure object

And also refactor Edit methods that control special object display during editing.
Draft: Fixed edit for arch wall object
2020-05-25 13:37:55 +02:00
carlopav
61dd57407e Draft: Split Draft Edit into 4 modules
One for interaction handling and 3 for object editing functions, divided between Draft, Part, Arch
2020-05-25 13:37:55 +02:00
carlopav
8d23cd676a Draft: Cleanup of Draft Edit 2020-05-25 13:37:55 +02:00
vocx-fc
035a63c68b Draft: move functions to draftgeoutils.geometry 2020-05-25 13:35:34 +02:00
vocx-fc
339be2f4bb Draft: move functions to draftgeoutils.faces 2020-05-25 13:35:34 +02:00
vocx-fc
63800d7aac Draft: move functions to draftgeoutils.sort_edges 2020-05-25 13:35:34 +02:00
vocx-fc
632b72e7cd Draft: move functions to draftgeoutils.intersections 2020-05-25 13:35:34 +02:00
vocx-fc
c995ce562c Draft: move functions to draftgeoutils.edges 2020-05-25 13:35:34 +02:00
vocx-fc
add48977f9 Draft: move general functions to draftgeoutils.general
New package for organizing the geometrical utility functions of
the workbench, `draftgeoutils`.

The first submodule is one that deals with general operations.
2020-05-25 13:35:34 +02:00
paul lee
bd02e1bb9d [ArchWall] Fix Align Right with Multi-Material invalid case problem 2020-05-25 13:34:46 +02:00
Abdullah Tahiri
c1ca01b0e7 Sketcher: projection - remove unused variables and function 2020-05-24 15:22:16 +02:00
shermelin
2017eb46ac Added corner cases
- deal with exchange of minor/major axis
- projected ellipse = circle builds a circle
- projected is a segment
2020-05-24 15:21:47 +02:00
shermelin
74bd67623f First test of ellipse projection
- general case implemented

TODO:
- catch and implement limit cases (parallel, orthogonal, inverted
  major/minor, circle...
2020-05-24 15:21:47 +02:00
wmayer
8ac6b12ee5 PartDesign: [skip ci] fix wrong property values in UI file
set step size of angle property to 1.0
2020-05-24 12:18:19 +02:00
wmayer
00be985c97 PartDesign: [skip ci] set group name for chamfer properties 2020-05-24 11:25:15 +02:00
wmayer
53dbc5fc2d PartDesign: [skip ci] set minimum width of labels to align the spin boxes properly in the chamfer panel 2020-05-24 11:12:08 +02:00
Bernd Hahnebach
3b97299979 FEM: writer base, improve warning 2020-05-24 09:19:27 +02:00
Bernd Hahnebach
2dde97c0c4 FEM: add some comments to material and calculix solver object 2020-05-24 09:19:27 +02:00
Bernd Hahnebach
7638fa7244 FEM: typo 2020-05-24 09:19:25 +02:00