Commit Graph

5843 Commits

Author SHA1 Message Date
DaviKaur
bb17b6acbd Materials: New Glass Materials 2015-10-31 13:01:39 +01:00
wmayer
622324a6af + include pcl bspline fit into Reverse Engineering module 2015-10-30 22:06:34 +01:00
Yorik van Havre
1917abc22e Arch: added IFC export preference option to choose triangulation style for non-planar shapes 2015-10-28 17:24:43 -02:00
Przemo Firszt
ba658c5866 FEM, Tests: Fix FEM tests
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-26 18:35:43 +00:00
Przemo Firszt
6f7706dac1 FEM: Move writing inp section headers to front of function
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-26 17:17:23 +00:00
Bernd Hahnebach
777cc2521b FEM: print in brackets 2015-10-26 13:13:57 +01:00
Bernd Hahnebach
57ae76a317 FEM: fix in ccxfilewriter for ccxelset if multiple materials and beam mesh 2015-10-26 13:13:56 +01:00
Bernd Hahnebach
3131a3800d FEM: edge load ccxwriter fix if duplicate edges in refshapes 2015-10-26 13:13:55 +01:00
Bernd Hahnebach
0c8b872435 FEM: ccxwriter, much more exact results for cload on edges 2015-10-26 13:13:55 +01:00
Bernd Hahnebach
1fdcef9996 FEM: cload in ccxwriter, some changes in preparation for adding better edge load calculation 2015-10-26 13:13:54 +01:00
Bernd Hahnebach
b6c6699cc1 FEM: add defs to make the code better reuseable for cload on edges 2015-10-26 13:13:53 +01:00
Bernd Hahnebach
17a499065f FEM: small changes in shellth and beamsec task panel 2015-10-26 13:13:52 +01:00
triplus
461e8c0bdc OpenSCAD IncreaseTolerance (edges and faces support) 2015-10-26 11:48:20 +01:00
wmayer
4295d6f8bd + fixes #0002306: Allow *.py files in the Customize/Macros/Macro dropdown 2015-10-26 09:42:27 +01:00
wmayer
cbbf6a16c5 + use right namespace for template instantiation to fix linker errors on Windows 2015-10-25 23:06:21 +01:00
wmayer
c7e5ef5bc1 + need dummy class for FeaturePython class to work 2015-10-25 22:42:50 +01:00
wmayer
2180f02f1c + fix comment, convert native separators to UNIX separators 2015-10-25 14:16:38 +01:00
Przemo Firszt
b9c02c9aaf FEM: Use brackets for print
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:30 +01:00
Przemo Firszt
fcd2e43ec1 FEM: Use eigenmode number to decide if we're dealing with frequency analysis
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:29 +01:00
Przemo Firszt
7bb36a2dc7 FEM: Fix invalid check for frequency analysis
eigenmode = 0 for static and it's greater than 0 for frequency analysis.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:29 +01:00
Przemo Firszt
a8cb3f79b1 FEM: Remove imported but not used FreeCADGui
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:28 +01:00
Przemo Firszt
b47eb1fce7 FEM: Do not activate FEM wb from ccxFrdReader
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:27 +01:00
Przemo Firszt
e047b17a73 FEM: Make sure result_object exist before accesing it
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:26 +01:00
Przemo Firszt
fb4b6dc3e6 FEM: Initialise result_object to None to fix crash on empty results
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:25 +01:00
Przemo Firszt
661a1ef17c FEM: Fix invalid check for empty resutls
Even when readResult was not producing any resuts the check was passing
fine as len({'Nodes': {}, 'Tet10Elem': {}, 'Results': []}) is 3

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:25 +01:00
Przemo Firszt
9e794a9cab FEM: Add new properties to FEM preferences
The new properties are NumberOfEigenmode, EigenmodeHighLimit and
EigenmodeLowLimit. All 3 are linked with analysis object properties.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:24 +01:00
Przemo Firszt
39747dd9bb FEM, Tests: Make sure eigenmode parameters are always the same.
The parameters were taken from FEM prefs, so the test could fail.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:23 +01:00
Przemo Firszt
8adba58977 FEM: Add EigenmodeHighLimit property to analysis object
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:22 +01:00
Przemo Firszt
94c706ec44 FEM: Add EigenmodeLowLimit property to analysis object
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:22 +01:00
Przemo Firszt
138a83bcd9 FEM: Add NumberOfEigenmode property to analysis object
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:21 +01:00
Przemo Firszt
e08ac08398 FEM: Add WorkingDir property
that allows to set individual directory to be used for each analysis
object

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:20 +01:00
Przemo Firszt
d51a613710 FEM: Use AnalysisType in FemTools by default
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:19 +01:00
Przemo Firszt
a4c8a562ff GUI: improve App::PropertyPath directory selector
Editing direcotry in lineEdit was open to escaped character problems
i.e. \t or \n which can be pert of notmal directory path were converted
to tab or new line. Also leaving the lineEdit without hitting Enter was
discarding changes.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:19 +01:00
Przemo Firszt
cf4e7167d7 App: Fix typo in description of PropertyFloatConstraint
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:18 +01:00
wmayer
a3c50a24c4 + check input of approxSurface for obviously wrong values 2015-10-25 12:46:02 +01:00
wmayer
2f44dbfc7e + move module Python stuff into C++ class 2015-10-24 18:16:17 +02:00
wmayer
4187bef893 + move module Python stuff into C++ class 2015-10-24 18:04:53 +02:00
wmayer
38cf9bfab6 + do error checking of input values and use keywords conforming with attributes of BSplineSurface 2015-10-24 15:40:24 +02:00
wmayer
52b48147ab + extend Python interface of approxSurface 2015-10-23 17:56:24 +02:00
wmayer
5e9a1565f6 + fix documentation 2015-10-23 16:15:23 +02:00
wmayer
a5ef29a145 + improve whitespaces, replace floats with doubles 2015-10-23 15:32:54 +02:00
wmayer
a0c54f7080 + fix bug in B-Spline approximation 2015-10-23 13:52:58 +02:00
wmayer
bdf24ffb1a + remove unused line in CMake file 2015-10-23 11:08:22 +02:00
Abdullah Tahiri
52b79c1764 Sketcher: Bug fix: unable to move geometry after addition of a constraint
=========================================================================

This fixes issue:
http://www.freecadweb.org/tracker/view.php?id=2281

Discussed in:
http://forum.freecadweb.org/viewtopic.php?p=101910#p101910

How to reproduce?
With Auto-Update mode unchecked, execute the sequence in the bug tracker. You will reach to a geometry assembly successfully solved that can not be moved.

Why?
The coincident constraint is partially redundant within the meaning of redundancy of the solver.
The solve within "addconstraint" in SketchObjectPy.cpp causes the geometry to move to meet the coincident constraint.
At the end of the solve, the initial solution used in diagnostics is no longer valid (the geometry moved). This causes a subsequente move not to be executed.

The Solution:
Recalculate just the initial solution after the addition.
2015-10-23 00:13:20 +02:00
Abdullah Tahiri
682c79840f Sketcher: Solver information: Bug fix
=====================================

When the solver converged (but did not succeed) or when the solver succeded but the solution is not OCC-valid, no error message was shown in the solver messages dialog.
2015-10-22 23:48:04 +02:00
Przemo Firszt
564d9abd63 FEM: Move module loading to InitGui.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-22 11:20:03 +01:00
wmayer
84547aa75c + fix initialization order in initFemGui 2015-10-22 11:11:47 +02:00
wmayer
bdb0b54a3c + proper exception handling of FemGui module 2015-10-22 11:01:21 +02:00
wmayer
96fb93f394 + allow to set parameters for surface triangulation from outside 2015-10-21 23:18:53 +02:00
wmayer
35edaa7e5a + support of Python feature classes without an execute() method
+ if execute() method of Python feature is missing or if it returns false call the execute() method of the C++ feature
+ fix SketchObjectPython
2015-10-21 00:22:40 +02:00