wmayer
6fecb87053
+ fix documentation
2015-10-23 16:15:23 +02:00
wmayer
abec1c4b1d
+ improve whitespaces, replace floats with doubles
2015-10-23 15:32:54 +02:00
wmayer
67d8469069
+ fix bug in B-Spline approximation
2015-10-23 13:52:58 +02:00
wmayer
1c90c3794d
+ remove unused line in CMake file
2015-10-23 11:08:22 +02:00
Abdullah Tahiri
e1dd86f0a9
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
fc128d357d
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
4fb15f2a1b
FEM: Move module loading to InitGui.py
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-22 11:20:03 +01:00
wmayer
60c8180079
+ fix initialization order in initFemGui
2015-10-22 11:11:47 +02:00
wmayer
abd6e8c438
+ proper exception handling of FemGui module
2015-10-22 11:01:21 +02:00
wmayer
62da38339f
+ allow to set parameters for surface triangulation from outside
2015-10-21 23:18:53 +02:00
wmayer
e7a3dc48e8
+ 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
wmayer
169b2e356e
+ clean-up, fix and new methods added in unit test module
2015-10-19 21:51:43 +02:00
Przemo Firszt
28abf3585b
FEM: remove comment lines for _CommandNewMechanicalAnalysis.py
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:08 +02:00
Przemo Firszt
ffdc7a45df
FEM: change purge_results to operate on analysis document
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:08 +02:00
Przemo Firszt
499630034b
FEM: improve enabling/disabling commands
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:07 +02:00
Przemo Firszt
f76933eb87
FEM: Migrate _CommandMechanicalMaterial to FemCommands
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:07 +02:00
Przemo Firszt
ddb20e7329
FEM: Remove Frequency Analysis from GUI
...
Separate Frequency analysis button is no longer required.
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:06 +02:00
Przemo Firszt
35632147ad
FEM: Add new analysis properity AnalysisType
...
To run frequency analysis user have 2 options:
1. Run normal aalysis, set "frequency" and start ccx
2. Set Analysis Type in Analysis object properties to "frequency" and
use Quick Analysis
With that workflow we no longer need a separate button for frequency
analysis. Also it's much easier to prepare & run a dediacted analysis
for frequency calculiations and separate analysis objects for
different load cases.
2015-10-19 21:28:05 +02:00
Przemo Firszt
2c21325353
FEM: Remove not used OutputDir analysis property
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:05 +02:00
Przemo Firszt
f33f573199
FEM: Change the way set_analysis_type works - use FEM prefs
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:04 +02:00
Przemo Firszt
26d18db2d3
FEM: Make sure ccx working dir is set
...
Also TestFem and check_prerequisities are corrected
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:04 +02:00
Przemo Firszt
b79cc695a1
FEM: Add AnalysisType to Prefs and use it in analysis control window.
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:03 +02:00
Przemo Firszt
d5cf69b646
FEM: Make sure it's clear what failed when ccx is not set and cannot be found
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:02 +02:00
Przemo Firszt
d8488027d7
FEM: Fix WorkingDir problem
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:01 +02:00
Przemo Firszt
23dd479cb9
FEM: Typo + move debug print to be the first command in calculixStarted
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:01 +02:00
Przemo Firszt
6116231e32
FEM: Rename pushButton_generate to pb_run_ccx
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:00 +02:00
Przemo Firszt
14740f9202
FEM: Rename pushButton_edit to pb_edit_inp
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:59 +02:00
Przemo Firszt
7c0a53596c
FEM: Rename pushButton_write to pb_write_inp
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:58 +02:00
Przemo Firszt
50bcdaa90f
FEM: Rename label_Time to l_time
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:58 +02:00
Przemo Firszt
cf7f82c48a
FEM: Move known_analysis_type definition to class definition
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:57 +02:00
Przemo Firszt
f0951065c9
FEM: print should use brackets for python3 compatibility
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:56 +02:00
Przemo Firszt
cfc2a4d1f2
FEM: Fix invalid exception raise call
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:55 +02:00
Przemo Firszt
ac0f3a650d
FEM: Test ccx binary before use
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:54 +02:00
Przemo Firszt
554f4f5fc9
FEM: Add documentation to FemTools
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:54 +02:00
Przemo Firszt
da7d499595
FEM: Constraints should be enabled only when there is an active analysis
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:53 +02:00
Przemo Firszt
eda566e572
FEM: Use fem-constraint-pulley and fem-constraint-gear icon names
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:52 +02:00
Przemo Firszt
0b310174ee
GUI: Add completer to directory selector
...
Directory selector now suggest directory names
Probably similar fixes should be applied to FileChooser in File mode
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:51 +02:00
Przemo Firszt
8c93b29737
GUI: Fix invalid selection mode in PropertyPathItem::createEeditor
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:51 +02:00
wmayer
e416ec0dc3
+ add more unit tests for bounding box
2015-10-19 17:27:55 +02:00
wmayer
861dc86093
+ make FEM beam section and shell thickness ready for drag and drop
2015-10-19 14:48:07 +02:00
wmayer
eff27994e5
+ Do not rely on active document but active analysis object
2015-10-18 22:36:36 +02:00
wmayer
5e48d2ec33
+ make Python API of Selection consistent to C++ API
2015-10-18 19:50:47 +02:00
wmayer
969b43bb64
+ improve active document handling
2015-10-18 19:35:15 +02:00
wmayer
00cdea7b74
+ allow to activate an analysis object from context-menu
2015-10-18 16:10:32 +02:00
wmayer
9257e9471f
+ allow that an object cannot be set to edit mode
2015-10-18 16:09:25 +02:00
wmayer
337a36ceb8
+ write out nodes sorted by id to abaqus file
2015-10-18 12:32:09 +02:00
Przemo Firszt
a0d8042bff
FEM, Tests: Add setting static analysis
...
The tests from GUI were failing if FEM prefs were set to frequency analysis
Debugged by: sgrogan
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-17 12:20:48 -03:00
Przemo Firszt
b4352a18d1
FEM, Tests: Include detailed information in test report after failure
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-17 12:20:48 -03:00
Przemo Firszt
7554d2a8a8
FEM, Tests: Close files as soon as possible
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-17 12:20:48 -03:00
wmayer
ad96714fe8
+ issue #0002245 : BRep File cannot be written
2015-10-17 17:13:27 +02:00