Commit Graph

5904 Commits

Author SHA1 Message Date
Przemo Firszt
3e20529210 FEM: Remove redundant base_name variable
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 20:04:23 +00:00
wmayer
919d47015a + support of drag'n'drop for custom view provider 2015-11-03 16:21:51 +01:00
wmayer
06d3926603 + extend interface of Document.setEdit() according to the doc string 2015-11-03 12:36:29 +01:00
Przemo Firszt
d2469cac6e 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
466d1a60b1 + optimize B-spline approximation 2015-11-03 00:55:15 +01:00
wmayer
2d4d60d2ab + allow in approxSurface() to also pass points object 2015-11-02 17:36:45 +01:00
wmayer
85ac79aaf2 + double check that internal data is valid when leaving edit mode of sketcher view provider 2015-11-02 12:42:18 +01:00
wmayer
caec2d98a0 + fixes #0002321: Build failure on current (71be79e) master 2015-11-01 18:07:56 +01:00
wmayer
71be79e09e + add toggle action to context-menu of spline view provider 2015-10-31 16:10:26 +01:00
wmayer
ff320f465f + ignore colour information of ply point files 2015-10-31 16:09:38 +01:00
wmayer
77f148350b + reorder include files to fix re-definition of macro BOOST_PARAMETER_MAX_ARITY 2015-10-31 13:32:01 +01:00
DaviKaur
0120942c46 Materials: New Glass Materials 2015-10-31 13:01:39 +01:00
wmayer
212e2bf19c + include pcl bspline fit into Reverse Engineering module 2015-10-30 22:06:34 +01:00
Yorik van Havre
e7d16c5f62 Arch: added IFC export preference option to choose triangulation style for non-planar shapes 2015-10-28 17:24:43 -02:00
Przemo Firszt
fc8e2eed64 FEM, Tests: Fix FEM tests
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-26 18:35:43 +00:00
Przemo Firszt
50ab6a3111 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
cc3fee5f9c FEM: print in brackets 2015-10-26 13:13:57 +01:00
Bernd Hahnebach
02be8e65ab FEM: fix in ccxfilewriter for ccxelset if multiple materials and beam mesh 2015-10-26 13:13:56 +01:00
Bernd Hahnebach
13e7841b41 FEM: edge load ccxwriter fix if duplicate edges in refshapes 2015-10-26 13:13:55 +01:00
Bernd Hahnebach
e5adec94b7 FEM: ccxwriter, much more exact results for cload on edges 2015-10-26 13:13:55 +01:00
Bernd Hahnebach
9c0bcb7a7c FEM: cload in ccxwriter, some changes in preparation for adding better edge load calculation 2015-10-26 13:13:54 +01:00
Bernd Hahnebach
7b1a4f1297 FEM: add defs to make the code better reuseable for cload on edges 2015-10-26 13:13:53 +01:00
Bernd Hahnebach
c74a8392de FEM: small changes in shellth and beamsec task panel 2015-10-26 13:13:52 +01:00
triplus
6fe2923d52 OpenSCAD IncreaseTolerance (edges and faces support) 2015-10-26 11:48:20 +01:00
wmayer
8fa41edc04 + fixes #0002306: Allow *.py files in the Customize/Macros/Macro dropdown 2015-10-26 09:42:27 +01:00
wmayer
e3221376e1 + use right namespace for template instantiation to fix linker errors on Windows 2015-10-25 23:06:21 +01:00
wmayer
15a6a463b3 + need dummy class for FeaturePython class to work 2015-10-25 22:42:50 +01:00
wmayer
a3cd03ac03 + fix comment, convert native separators to UNIX separators 2015-10-25 14:16:38 +01:00
Przemo Firszt
d58ccf7fd3 FEM: Use brackets for print
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:30 +01:00
Przemo Firszt
e3c081be54 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
098e46f686 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
304e71e371 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
cf979fa040 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
55bc72b7b4 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
bba3543efe 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
80b82dd955 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
3dcc189e8b 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
6ab7a434ac 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
068ba4793d 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
042ded01e0 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
fcf19ff8ec 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
26cd01e346 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
8055b189be 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
89b74a5231 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
15dbd1055a App: Fix typo in description of PropertyFloatConstraint
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:18 +01:00
wmayer
977411b4cc + check input of approxSurface for obviously wrong values 2015-10-25 12:46:02 +01:00
wmayer
b1ea3f70da + move module Python stuff into C++ class 2015-10-24 18:16:17 +02:00
wmayer
e82a780774 + move module Python stuff into C++ class 2015-10-24 18:04:53 +02:00
wmayer
c336f0757c + do error checking of input values and use keywords conforming with attributes of BSplineSurface 2015-10-24 15:40:24 +02:00
wmayer
fe7c3cda44 + extend Python interface of approxSurface 2015-10-23 17:56:24 +02:00