Commit Graph

19745 Commits

Author SHA1 Message Date
wmayer
33e87d5b2b Mesh: change pointer to mesh object when copying or swapping segments 2020-02-27 18:45:35 +01:00
Bernd Hahnebach
9ab7f49541 FEM: small update in coding conventions 2020-02-27 15:59:50 +01:00
Bernd Hahnebach
72d3a94ce8 FEM: better help messages at self weight 2020-02-27 15:12:54 +01:00
Bernd Hahnebach
802832f1dd FEM: do not guard module imports if the module will be imported in gui mode only 2020-02-27 13:25:44 +01:00
Bernd Hahnebach
0e62b053ff FEM: use numerical data type for gravity 2020-02-27 12:35:15 +01:00
Bernd Hahnebach
a3d18bc01e FEM: change gravity in unit tests files to the new gravity constant 2020-02-27 11:48:37 +01:00
Bernd Hahnebach
80439638c7 FEM: fix import 2020-02-27 11:45:51 +01:00
Bernd Hahnebach
ab0df09a1c FEM: more Python import cleaning 2020-02-27 08:33:39 +01:00
Bernd Hahnebach
e68221c63b FEM: Python imports coding conventions 2020-02-27 08:33:32 +01:00
Bernd Hahnebach
1458f7e881 FEM: pep8 2020-02-27 08:32:23 +01:00
sliptonic
0d0af0e2ba Merge pull request #3081 from Schildkroet/master
[Path] Added GUI support to PathDeburrOp for direction selection
2020-02-26 22:29:45 -06:00
sliptonic
4b62adb8e2 Merge branch 'master' into master 2020-02-26 17:11:00 -06:00
Bernd Hahnebach
3d4013bf47 FEM: constants, use new module in elmer and ccx 2020-02-26 20:58:45 +01:00
Bernd Hahnebach
dbbab7aeb7 FEM: constants, add new module 2020-02-26 20:58:34 +01:00
Bernd Hahnebach
f9f5a7de32 FEM: improve imports 2020-02-26 20:58:26 +01:00
sliptonic
778c269bcd Merge pull request #3068 from Russ4262/Profile_Open_Edges
[Path] ProfileEdges: New feature - profile open edges
2020-02-26 13:55:50 -06:00
Patrick Felixberger
e4e4d9fecd Removed version info 2 2020-02-26 19:56:18 +01:00
Patrick Felixberger
3a36200064 Removed version info 2020-02-26 19:52:53 +01:00
Patrick Felixberger
75869dbdea Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2020-02-26 19:30:53 +01:00
wmayer
6693ea723f TechDraw: [skip ci] fix -Wextra-semi -Winconsistent-missing-override 2020-02-26 18:44:45 +01:00
wmayer
a5be62b86a Fem: [skip ci] fix several coding flaws:
* improve implementation of TaskFemConstraintForce::onButtonDirection
* use QSignalBlocker to tmp. suppress signals instead of dis- and re-connecting
* directly access object from SelectionObject
* don't do type checks by class name but by typeid
2020-02-26 14:15:12 +01:00
wmayer
1b57cd3ae2 Fem: [skip ci] improve implementation of TaskFemConstraintForce::onButtonDirection 2020-02-26 12:50:10 +01:00
donovaly
e2d2101996 [FEM] highlight also selected transformable surfaces
this makes it much easier to find the surfaces that are transformable
2020-02-26 08:24:16 +01:00
Bernd Hahnebach
c1e7bb3a08 FEM: transform task panel, use doc identifier instead of App.ActiveDocument 2020-02-26 08:14:01 +01:00
Russell Johnson
e82b24550b ProfileEdges: New feature - profile open edges
Open edges, exterior or interior, can now be used to generate paths.

The new feature behaves as though the parent face is vertically oriented (standing).  It is preferred that the user select upper (top) edges.  Selecting bottom edges in some cases may not produce a path.

Path ends calculations might need slight adjustment in the code.  Path ends are *near* perpendicular to ends of edge.

Cut direction seems sporadic, but the `Direction` property will switch the direction of cut.  The `CW` and `CCW` direction labels might not align with the actual direction.  Additional algorithm modification is necessary to enforce fidelity to the labels.

Existing properties, `UseComp` and `OffsetExtra` are observed with open faces.  Negative values for `OffsetExtra` have not been tested - only zero and positive.
2020-02-25 19:13:07 -06:00
wmayer
43e6be9020 Part: [skip ci] the number of domains returned by TopoShape::getDomains must match with number of faces
If a face cannot be meshed then an empty domain is added
2020-02-26 00:55:07 +01:00
Bernd Hahnebach
a6b22b3251 FEM: transform task panel, pyton fix 2020-02-26 00:10:58 +01:00
wmayer
78040f7711 Fem: [skip ci] fix segmentation fault when opening contraint transform panel
The segmentation fault is caused when NameDispl has less elements than the RefDispl property
2020-02-25 23:44:22 +01:00
wandererfan
0825e5ece4 [TD]Support Landmark Dim in Section and Detail 2020-02-25 17:21:00 -05:00
wandererfan
96e8f752be [TD]Landmark Dims initial impl 2020-02-25 17:21:00 -05:00
wmayer
03dc6edb99 Mesh: [skip ci] improve writing mesh formats in ASCII format 2020-02-25 21:30:01 +01:00
Bernd Hahnebach
c8ea17681a FEM: constraint VP, comments 2020-02-25 20:45:49 +01:00
donovaly
520cfd8953 [FEM] constraint contact: sort out already available function
additionally add some comments in TaskFemConstraint.cpp
2020-02-25 19:59:01 +01:00
Bernd Hahnebach
75d082cb1b FEM: move errors in own module 2020-02-25 19:53:23 +01:00
wmayer
fba86d171c Gui: [skip ci] fix regression in Document::setEdit()
For more details see: https://forum.freecadweb.org/viewtopic.php?f=19&t=43629&p=371972#p371972
2020-02-25 17:10:42 +01:00
plgarcia
d222f7b55f Change backup policy
1 - Reports the error to the user in a popup.
2 - Names of the backups include the timstamp instead of a number. Names have more sense and the files can be sorted by names what is also the age order.
3 - Behaviors when changing configuration improved, the number of files present on the system was not reduced when reducing the number of backups or backups deactivated.
2020-02-24 23:06:26 +01:00
wmayer
9466fdff9e App: refactor code to support various backup policies 2020-02-24 23:06:26 +01:00
donovaly
d19d5b5fce FEM: constraint dialogs: sort out commonly used function
additionally remove double code from TaskFemConstraintForce.cpp
2020-02-24 20:12:10 +01:00
Bernd Hahnebach
f13db9f63a FEM: gmsh tools, typo 2020-02-23 17:15:13 +01:00
donovaly
6ffef47ee8 remove doubled code
(is there already a few lines up)
2020-02-23 16:45:35 +01:00
donovaly
af7941a559 TaskFemConstraintFluidBoundary.cpp: squash GCC compiler warning 2020-02-23 16:45:35 +01:00
donovaly
d6f3c794cd [FEM] make the Fluid Boundary dialog behave like the other dialogs
- allows highlighting and multiple selection
2020-02-23 16:45:35 +01:00
wmayer
bdd8d257d9 PartDesign: [skip ci] optimize when removing items from dress-up features 2020-02-23 14:58:48 +01:00
donovaly
da6352c43d [PD] only recompute once per deletion action
see https://forum.freecadweb.org/viewtopic.php?f=19&t=43383&p=370357#p370357
2020-02-23 12:43:11 +01:00
Zheng, Lei
c6bb533541 PartDesign: fix DressUp base shape checking 2020-02-23 11:04:54 +01:00
wmayer
8832356802 Part: [skip ci] add option to set two-side rendering of Part shapes 2020-02-22 12:09:26 +01:00
Wilfried Hortschitz
f43391524b Fix saving values for Infinity and Capacitance BCs 2020-02-22 09:42:26 +01:00
donovaly
3afa603a1e [FEM] TaskFemConstraintForce.cpp: squash GCC warning 2020-02-22 09:27:18 +01:00
donovaly
288456ee4b [FEM] fix special Dlg issue with deletion
- if an existing constraint has only one item, the item could under some circumstances not be deleted by pressing Del
2020-02-21 18:00:58 +01:00
donovaly
3574182c13 TaskFemConstraintForce.ui: add tooltips and remove unnecessary spacer 2020-02-21 17:47:15 +01:00