Commit Graph

5947 Commits

Author SHA1 Message Date
Bernd Hahnebach
329cf56adf FEM: add SMESH supported volumes to Python API of FemMesh 2015-11-19 19:00:52 +01:00
wmayer
6f8adef286 + PLate surface approximation 2015-11-19 18:52:19 +01:00
wmayer
027a560fbc + add Python binding to Plate surface 2015-11-19 15:27:35 +01:00
Przemo Firszt
f0689be4d7 FEM, Tests: Fix line end problem in compare_inp_files
Add new function to force unix line ends and use it in compare_inp_files
and compare_stats.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-19 10:26:24 +01:00
DeepSOIC
1de6e977df API: Update docu strings of methods of BSplineCurve
Mainly exposing argument types and meanings, but also updating a few
descriptions by copy-paste-editing documentation of corresponding
OpenCASCADE.
2015-11-19 02:53:48 +03:00
Przemo Firszt
d40cbdec01 FEM: Use exisitng mesh property as link to mesh in result objects
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-18 11:22:02 +00:00
Przemo Firszt
985f476a73 FEM: Tidy up long lines and spacing
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-18 11:21:27 +00:00
wmayer
e6cafe2206 + set object name to tool buttons with popup menu 2015-11-17 18:39:23 +01:00
wmayer
8011cbfa2c Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-11-17 12:22:30 +01:00
wmayer
dec2a2f6cd + fix inconsistencies in using DynamicProperty class 2015-11-17 12:22:07 +01:00
wmayer
6ea05d01b9 + fix build failure with gcc 2015-11-16 23:21:47 +01:00
wmayer
b7a80c910c Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-11-16 22:48:00 +01:00
wmayer
ba053abec9 + support of adding/removing dynamic properties in property editor 2015-11-16 22:47:29 +01:00
Bernd Hahnebach
2943188610 FEM: fix mixed line endings in VP FemMesh 2015-11-16 19:19:01 -02:00
Bernd Hahnebach
72a0060cfb FEM: Mesh VP fix FreeCAD crash if not supported face is added to VP 2015-11-16 19:19:01 -02:00
Bernd Hahnebach
63189bd854 FEM: add some documentation to FemTools 2015-11-16 19:19:01 -02:00
Bernd Hahnebach
90a9c387c4 FEM: substitute some camel style variable names in frdReader 2015-11-16 19:19:01 -02:00
Bernd Hahnebach
5df389f57a FEM: use proper command to create a Mechanical Anaylsis with all properties 2015-11-16 19:19:01 -02:00
fandaL
5b10de8d05 FEM: frd import mesh 2015-11-16 19:18:11 -02:00
Przemo Firszt
3fdd98d4c1 FEM, Tests: Force unix line ends for comparing calculation stats
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-16 19:15:44 -02:00
Yorik van Havre
6ba8b864d5 Arch: Fixed flipped Space names 2015-11-16 16:11:32 -02:00
wmayer
0ec8dd48b1 + property editor handles case when dynamic property is removed 2015-11-16 15:24:36 +01:00
wmayer
2d09b48662 + fix undefined behaviour in determining grid length for planar meshes 2015-11-16 11:59:41 +01:00
Przemo Firszt
bdb45f1e9f FEM: Fix Von Mises calculation formula and update FEM test results
Reported-by: fandaL
Fixed-by: fandaL
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-14 14:53:37 +01:00
Przemo Firszt
f5c03c222d FEM: Use format to avoid error is the message is not pure string
Traceback (most recent call last):
  File "/home/przemo/software/FreeCAD/build/Mod/Fem/TestFem.py", line
229, in test_new_analysis
    ret = self.compare_stats(fea, static_expected_values)
  File "/home/przemo/software/FreeCAD/build/Mod/Fem/TestFem.py", line
147, in compare_stats
    fcc_print(sf_content)
  File "/home/przemo/software/FreeCAD/build/Mod/Fem/TestFem.py", line
55, in fcc_print
    FreeCAD.Console.PrintMessage(message + '\n')
TypeError: can only concatenate list (not "str") to list

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-14 14:53:36 +01:00
wmayer
3797c51eea + properly handle case of degenerated bounding box when creating mesh grid 2015-11-14 14:08:01 +01:00
wmayer
e876520bdd + do not set edit mode for spreadsheet 2015-11-14 02:18:29 +01:00
wmayer
0cddf520d0 + make isReadOnly & isHidden of PropertyContainer non-virtual 2015-11-14 02:07:57 +01:00
Eivind Kvedalen
68fc3b5917 QuantitySpinBox: Make sure Python code is emitted also when expressions are not used.
In that case, the property should be set directly.
2015-11-13 20:26:13 +01:00
DeepSOIC
f0b3c2ba35 API: update distToShape built-in docu
It was way too short, and incorrect
2015-11-13 18:13:20 +03:00
wmayer
2a2b40e50e + fix memory leaks 2015-11-13 16:06:43 +01:00
wmayer
1e1fc10748 + Code cleanup:
+ do not include header of itself
+ do not include unneeded header files
+ removed unneeded forward declarations
+ do not translate C string to get a QString
+ break too long lines
+ replace tabs with spaces
+ use virtual keyword on destructors
2015-11-13 15:47:03 +01:00
wmayer
e0b61273e8 + Add selected sketches to one Face, implement specialized view provider for Face 2015-11-13 13:38:24 +01:00
wmayer
c082cc47a1 + Add parametric feature to create face from sketches 2015-11-12 19:44:24 +01:00
Bernd Hahnebach
8226b3a529 FEM: allow to make a mesh from shape without an analysis 2015-11-12 13:39:51 +01:00
Bernd Hahnebach
c12676bde9 FEM: fromShape not needed modul loading deleted 2015-11-12 13:37:11 +01:00
Przemo Firszt
a83b6243bd FEM: Update except catch to python3
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-11 22:41:12 +00:00
Przemo Firszt
81c24f611f FEM: Windows workaround to avoid blinking terminal window
Reported-by: wmayer
Tested-by: wamyer, sgrogan
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-11 22:21:21 +00:00
Przemo Firszt
b6c51af3c3 FEM: Fix unexpected error with ccx_* unset if Popoen fails
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-11 22:20:34 +00:00
Przemo Firszt
cc2f7c7291 FEM: Cheange margins in TaskPanelMechanicalAnalysis for Analysis Type
Reported-by: wmayer
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-11 21:47:36 +00:00
Mateusz Skowroński
eee9881c22 Fix file encoding. Go from ISO8859-1 to UTF-8. 2015-11-11 18:54:42 +01:00
wmayer
f45d02c912 + support of linear b-spline/bezier curves and planar b-spline/bezier surfaces to get direction 2015-11-11 18:27:26 +01:00
Bernd Hahnebach
8c8b134a15 FEM: use ConsolePrints instead off print in beamsection and shellthickness 2015-11-11 09:14:50 +01:00
Bernd Hahnebach
c115dd74a4 FEM: use new selection observer class for material reference shape selection 2015-11-11 09:14:50 +01:00
Bernd Hahnebach
025eac1e3d FEM: separate selection observer class from _TaskPanel shellthickness and beamsection 2015-11-11 09:14:49 +01:00
wmayer
e941532723 + don't switch tab when creating new web page 2015-11-10 17:32:55 +01:00
wmayer
b02a86a439 + Allow to open link in new web view 2015-11-10 16:40:04 +01:00
Eivind Kvedalen
e72dc31954 PartDesign: Fixed similar issue compared to #2302 with unit handling when using an expression for the chamfer size. 2015-11-09 21:37:24 +01:00
Eivind Kvedalen
533514e8d3 PartDesign: Fixed issue #2302 with unit handling when using an expression for the fillet radius. 2015-11-09 21:37:08 +01:00
wmayer
6a3d7fac55 + fix documentation of task dialog 2015-11-09 19:22:19 +01:00