Commit Graph

15157 Commits

Author SHA1 Message Date
sliptonic
2623500ec7 Merge pull request #3068 from Russ4262/Profile_Open_Edges
[Path] ProfileEdges: New feature - profile open edges
2020-02-26 13:55:50 -06:00
wmayer
d401d761cb TechDraw: [skip ci] fix -Wextra-semi -Winconsistent-missing-override 2020-02-26 18:44:45 +01:00
wmayer
7558b6e7cc 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
79d00af254 Fem: [skip ci] improve implementation of TaskFemConstraintForce::onButtonDirection 2020-02-26 12:50:10 +01:00
donovaly
fe337cbbed [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
9192ff086d FEM: transform task panel, use doc identifier instead of App.ActiveDocument 2020-02-26 08:14:01 +01:00
Russell Johnson
98eaca97f9 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
039f35651a 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
8b154d94c8 FEM: transform task panel, pyton fix 2020-02-26 00:10:58 +01:00
wmayer
7eaede5482 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
d1d7098ad6 [TD]Support Landmark Dim in Section and Detail 2020-02-25 17:21:00 -05:00
wandererfan
cb2a3d529c [TD]Landmark Dims initial impl 2020-02-25 17:21:00 -05:00
wmayer
4eacc3f28a Mesh: [skip ci] improve writing mesh formats in ASCII format 2020-02-25 21:30:01 +01:00
Bernd Hahnebach
c2269ef092 FEM: constraint VP, comments 2020-02-25 20:45:49 +01:00
donovaly
995f860e9f [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
e86ec2848e FEM: move errors in own module 2020-02-25 19:53:23 +01:00
donovaly
d813e5abf1 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
2aeeefd763 FEM: gmsh tools, typo 2020-02-23 17:15:13 +01:00
donovaly
8a25be1fba remove doubled code
(is there already a few lines up)
2020-02-23 16:45:35 +01:00
donovaly
9ad52812a0 TaskFemConstraintFluidBoundary.cpp: squash GCC compiler warning 2020-02-23 16:45:35 +01:00
donovaly
ec213a4d98 [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
950943f15e PartDesign: [skip ci] optimize when removing items from dress-up features 2020-02-23 14:58:48 +01:00
donovaly
fc66ea1778 [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
2fee0c3b0c PartDesign: fix DressUp base shape checking 2020-02-23 11:04:54 +01:00
wmayer
b97f37cf9a Part: [skip ci] add option to set two-side rendering of Part shapes 2020-02-22 12:09:26 +01:00
Wilfried Hortschitz
c5a1e4e0c1 Fix saving values for Infinity and Capacitance BCs 2020-02-22 09:42:26 +01:00
donovaly
3d5e3b3664 [FEM] TaskFemConstraintForce.cpp: squash GCC warning 2020-02-22 09:27:18 +01:00
donovaly
f60ca91e83 [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
334af3b30c TaskFemConstraintForce.ui: add tooltips and remove unnecessary spacer 2020-02-21 17:47:15 +01:00
donovaly
a5a5ef517b [FEM] fix direction handling in Force dialog
- the direction handling did not work because of yesterdays' PR from me
2020-02-21 17:47:15 +01:00
donovaly
320499f714 [PD] enable selection of fillets etc. using arrow keys in Dlg
see https://forum.freecadweb.org/viewtopic.php?f=19&t=43383&p=370758#p370758
2020-02-21 09:27:00 +01:00
Bernd Hahnebach
1ff55c55a9 FEM: commands, add some comments 2020-02-20 22:33:14 +01:00
Bernd Hahnebach
57dc8c5875 FEM: code improvement in command manager 2020-02-20 22:33:14 +01:00
Bernd Hahnebach
8b21b3c1a5 FEM: code formating 2020-02-20 22:33:14 +01:00
wmayer
49475112b3 Cloud: [skip ci] add build option to compile Cloud module 2020-02-20 22:10:17 +01:00
wmayer
a2adf2110b Mesh: add gmsh for remeshing a mesh created from CAD 2020-02-20 18:20:11 +01:00
Bernd Hahnebach
ae30bb4cb9 FEM: pep8 2020-02-20 18:17:23 +01:00
HoWil
ce30e9217f FEM: Add ElectricInfinity- and CapacitanceMatrix- boundary condition for Elmer 2020-02-20 18:08:01 +01:00
donovaly
4c368c7c21 FEM: change behavior of Force dialog to the one of all other constraint dialogs 2020-02-20 18:07:52 +01:00
wandererfan
2f58af7af6 [TD]fix application of SectionLine preference 2020-02-20 09:39:23 -05:00
Bernd Hahnebach
0f8c763c47 FEM: result task panel use single quotes instead of double ones 2020-02-20 08:19:41 +01:00
Bernd Hahnebach
69378940b9 FEM: result task panel, pep8 2020-02-20 08:06:59 +01:00
Bernd Hahnebach
6ced131b6d FEM: result obj, pep8 2020-02-20 05:49:14 +01:00
wandererfan
41ae2518dc [Part]Handle CJK font names for ShapeString 2020-02-19 13:11:01 -05:00
Bernd Hahnebach
6c7a46ab93 FEM: writer base, add some comment for elemnt faces constraints 2020-02-19 17:56:49 +01:00
Bernd Hahnebach
47c717431c FEM: constraint tie, get the faces data in writer base class 2020-02-19 17:56:47 +01:00
Bernd Hahnebach
7b6d44ded8 FEM: constraint tie, add input file writing unit test 2020-02-19 17:56:45 +01:00
Bernd Hahnebach
73194c6f75 FEM: constraint tie, add example 2020-02-19 17:56:43 +01:00
UR-0
f4b3b3760c FEM: constraint tie, add Gui command, icon, implement task panel
Added plausibility checks to ViewProvider's accept()

tie code formating
2020-02-19 17:56:39 +01:00
UR-0
458a27f2fc FEM: constraint tie, implement object and ccx writer 2020-02-19 17:56:39 +01:00