Commit Graph

21253 Commits

Author SHA1 Message Date
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
Syres916
fe2664ec65 [Gui] Material, Appearance, make Chrome colour..
..lighter and therefore more realistic. See discussion on French forum https://forum.freecadweb.org/viewtopic.php?f=12&t=46581
2020-05-25 13:38:30 +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
looooo
85bfe116e1 win: fix path to freecad library 2020-05-25 13:33:58 +02:00
triplus
d4ea5b8919 Use newer Eigen to suppress warnings 2020-05-25 13:32:09 +02:00
triplus
472a29f73a Travis suppress excessive Clang/Eigen warnings
Issue is likely fixed in the latest version of Eigen, for now i don't feel backporting Eigen is worth the effort, hence disabling the warning.
2020-05-25 13:32:09 +02:00
triplus
c17d5ae328 Travis upgrade to GCC 10 and Clang 10
Upgrade to latest and greatest toolchains.
2020-05-25 13:32:09 +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
wmayer
5bdb40d50e PartDesign: [skip ci] set an alias PartDesign_Body_Create_New.svg for PartDesign_Body.svg 2020-05-24 08:58:45 +02:00
wmayer
8d821fe5f0 Sketcher: [skip ci] do not rename object identifier of an expression on undo/redo 2020-05-23 21:30:02 +02:00
wandererfan
5f46999f94 [Draft]Post-review changes 2020-05-23 11:22:14 -04:00
wandererfan
bdc9b6d455 [Draft]Trap missing ViewObject attribute
- sometimes VO does not have DiffuseColor
  attribute
2020-05-23 11:22:14 -04:00
wandererfan
ff323ebdb5 [Draft]Additional modes for PathArray 2020-05-23 11:22:14 -04:00
joha2
f90a88ce3c FEM: add methods to to edit mesh groups:
- add addGroup, addGroupElements, removeGroup to C++ mesh class
- expose the methods to Python
- add a unit test class
- update test commands file
- add test to fem test app module
2020-05-23 14:56:15 +02:00
Bernd Hahnebach
3ec7cf95ca FEM: unit tests, add print to test command creation method 2020-05-23 14:56:10 +02:00
Bernd Hahnebach
6bd1cbe7f1 FEM: writer base, change print from error to warning 2020-05-23 13:06:01 +02:00
Bernd Hahnebach
aa368eefef FEM: unit test information, update 2020-05-23 13:05:58 +02:00
Abdullah Tahiri
e4a5d8b862 PartDesign: Chamfer feature corrections and improvements
========================================================

- Correction to mustExecute() to account for the new properties
- Make properties not used by the mode as read-only.
- Gui: apply() only for construction mode valid features
2020-05-23 12:24:08 +02:00
Armandas Jarušauskas
e1240fb18d PartDesign: Chamfer direction flipping support 2020-05-23 12:24:08 +02:00
Armandas Jarušauskas
d2d26ab8d0 PartDesign: Chamfer icon art - flip icon 2020-05-23 12:24:08 +02:00
Armandas Jarušauskas
de02063f05 PartDesign: Chamfer - updated parameter validation code. 2020-05-23 12:24:08 +02:00
Armandas Jarušauskas
262841bb3c PartDesign: Chamfer with multiple creation modes 2020-05-23 12:24:08 +02:00
Bernd Hahnebach
3231bac1c2 FEM: cmake, fix file move 2020-05-23 10:43:06 +02:00
Bernd Hahnebach
68aefb88b5 FEM: move test informations and test commands into femtest 2020-05-23 10:37:10 +02:00
Bernd Hahnebach
477f4d2bdc FEM: unit tests, code improvements 2020-05-23 09:34:56 +02:00
Bernd Hahnebach
5dcd19872c FEM: unit test, fix not closed documents 2020-05-23 09:12:45 +02:00
Bernd Hahnebach
815f60ff73 FEM: test informations, update 2020-05-23 09:12:41 +02:00