Commit Graph

5866 Commits

Author SHA1 Message Date
Bernd Hahnebach
393d04697e FEM: split FemShellThickness into separate modules 2015-11-05 17:31:02 +01:00
Bernd Hahnebach
41786331f3 FEM: use unix linefeeds in InitGui.py 2015-11-05 17:31:02 +01:00
wmayer
50189747c0 + (hopefully) fix build failure with occ 6.9.1 2015-11-05 17:06:04 +01:00
wmayer
ea252c7426 + implement mechanism to allow only a single application instance 2015-11-05 15:56:50 +01:00
wmayer
143add5d1b + move GuiApplication class into its own source files 2015-11-04 22:04:48 +01:00
wmayer
d8a98bd365 + optimize B-spline approximation 2015-11-04 14:39:20 +01:00
wmayer
7a1e85edbc + check if pcl is built opennurbs support 2015-11-04 12:16:35 +01:00
Przemo Firszt
79d4591b58 FEM: Fix typos in property definitions
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 20:04:23 +00:00
Przemo Firszt
80a6842bcc FEM: Replace invalid ElementNumbers with NodeNumbers
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 20:04:23 +00:00
Przemo Firszt
ed6533a568 FEM: Add EigenmodeFrequency property to result object
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 20:04:23 +00:00
Przemo Firszt
7922106965 FEM: Add Eigenmode property to result object
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 20:04:23 +00:00
Przemo Firszt
7dea41b87c FEM: Add simple dat file reader
It's a simple CalculiX dat file reader used to extract eigenmode
frequencies after freqyency analysis.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 20:04:23 +00:00
Przemo Firszt
d679498d70 FEM: Remove redundant base_name variable
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 20:04:23 +00:00
wmayer
123f182c96 + support of drag'n'drop for custom view provider 2015-11-03 16:21:51 +01:00
wmayer
3ae14cb798 + extend interface of Document.setEdit() according to the doc string 2015-11-03 12:36:29 +01:00
Przemo Firszt
f070e179a4 FEM: Replace GetString with GetFloat/GetIntiger for eigenmode parameters
Reported-By: bernd
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 10:50:15 +01:00
wmayer
0d3637ad38 + optimize B-spline approximation 2015-11-03 00:55:15 +01:00
wmayer
b09a2e6f2c + allow in approxSurface() to also pass points object 2015-11-02 17:36:45 +01:00
wmayer
a403140364 + double check that internal data is valid when leaving edit mode of sketcher view provider 2015-11-02 12:42:18 +01:00
wmayer
c23d6090f5 + fixes #0002321: Build failure on current (71be79e) master 2015-11-01 18:07:56 +01:00
wmayer
27e77fd6ce + add toggle action to context-menu of spline view provider 2015-10-31 16:10:26 +01:00
wmayer
c02d8017c5 + ignore colour information of ply point files 2015-10-31 16:09:38 +01:00
wmayer
27917795a4 + reorder include files to fix re-definition of macro BOOST_PARAMETER_MAX_ARITY 2015-10-31 13:32:01 +01:00
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