Commit Graph

6635 Commits

Author SHA1 Message Date
Przemo Firszt
1ad481b435 FEM: Migrate _CommandFemFromShape to FemCommands and add new is_active type
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-13 21:41:03 +02:00
Przemo Firszt
217103affb FEM: Migrate _CommandPurgeFemResults to FemCommands and add new is_active type
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-13 21:41:03 +02:00
Przemo Firszt
044c16d218 FEM: Migrate _CommandNewMechanicalAnalysis to FemCommands
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-13 21:41:02 +02:00
Przemo Firszt
f1f67b2298 FEM: Add FemCommand class and use it in _CommandFrequencyAnalysis
FemCommand class will gather all common functions/propertied od FEM gui
commands. That should allow to reduce some common code.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-13 21:41:01 +02:00
Yorik van Havre
60ac7e4cb8 Sketcher's GCS solver fixed for eigen3.3 2015-10-13 16:38:35 -03:00
Abdullah Tahiri
dc224265fa Sketcher: Bug fix: Constraints dissapear after a sketch loses support
=====================================================================

Issue:
http://freecadweb.org/tracker/view.php?id=2292

Constraints dissapear after a sketch loses support

Steps To Reproduce:
1. Make a sketch on a face.
2. Constrain it
3. Select "reorient sketch"
4. Do you want to lose support? Yes
5. Click cancel on the reorientation dialog.
6. Enter edit mode: No constraints...

Why?
GeoUndef not checked when deleting all external geometry (on dettaching from the support).

Solution:
Check for GeoUndef.
2015-10-13 21:32:55 +02:00
wmayer
1d04ce9ea0 + port SurfaceFit to Eigen3 and add unit tests 2015-10-13 20:03:47 +02:00
Jose Luis Cercos Pita
d63348acf9 Started the GZ tool 2015-10-13 18:39:19 +02:00
Jose Luis Cercos Pita
925b861fc0 Generated the User Interface for the GZ tool 2015-10-13 18:38:54 +02:00
wmayer
5cc7f8b10c + remove Py_TPFLAGS_BASETYPE flag for all generated Python bindings because they can't be sub-classed in Python 2015-10-12 19:59:58 +02:00
wmayer
706d159339 + fixes #0001368: Subclassing Matrix silently fails 2015-10-12 18:29:00 +02:00
Przemo Firszt
aac2b26c11 FEM: Don't call _ViewProviderMechanicalMaterial in headless mode
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:59:07 +02:00
Eivind Kvedalen
e2650860cc Spreadsheet: Expressions using a spreadsheet cell address are now correctly renamed when rows/columns are removed/inserted. 2015-10-11 09:41:16 +02:00
Eivind Kvedalen
29695a8ae7 Spreadsheet: Removed unused function. 2015-10-11 09:41:15 +02:00
Eivind Kvedalen
a80ccb9451 Spreadsheet: Renaming an alias will now traverse the document and update expressions referencing it. 2015-10-11 09:41:15 +02:00
Eivind Kvedalen
9fe3b0146a Spreadsheet: Added alias as tooltip. Made background of cell light yellow if an alias is defined for it. Can be overridden by setting a background color. 2015-10-11 09:41:14 +02:00
Eivind Kvedalen
e334ac3aed Spreadsheet: Added direct alias command. 2015-10-11 09:41:14 +02:00
Przemo Firszt
27cfcc5995 FEM: Add licence and module info to _Command files
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:42 +02:00
Przemo Firszt
9b816905f1 FEM: Move _CommandNewMechanicalAnalysis class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:41 +02:00
Przemo Firszt
cf8ef4d9bc FEM: Move _CommandFemFromShape class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:41 +02:00
Przemo Firszt
dfb2335421 FEM: Move _CommandMechanicalJobControl class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:40 +02:00
Przemo Firszt
7a0c300aa3 FEM: Move _CommandPurgeFemResults class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:39 +02:00
Przemo Firszt
039b632758 FEM: Move _CommandQuickAnalysis class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:39 +02:00
Przemo Firszt
fc12db7b26 FEM: Remove get_results_object from MechanicalAnalysis.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:38 +02:00
Przemo Firszt
ad68cad1bf FEM: Move _CommandFrequencyAnalysis class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:38 +02:00
Przemo Firszt
dec1563c95 FEM: Move _CommandMechanicalShowResult class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:37 +02:00
Przemo Firszt
d6392b751a FEM: Move _FemAnalysis class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:36 +02:00
Przemo Firszt
c5d0fd8d4b FEM: Move _ViewProviderFemAnalysis class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:36 +02:00
Przemo Firszt
0f71211602 FEM: Move _JobControlTaskPanel class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:35 +02:00
Przemo Firszt
e3a7a7955e FEM: Move _ResultControlTaskPanel class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:35 +02:00
wmayer
a4d1dbe5f0 + rework BoundingBox class and its Python binding 2015-10-11 00:18:53 +02:00
wmayer
716130c39e + fix error message in PySide check macro 2015-10-10 10:08:24 +02:00
wmayer
9aa5f7b3a5 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-10-10 09:49:05 +02:00
wmayer
f295ac470a + fix warning 2015-10-10 09:48:45 +02:00
Bernd Hahnebach
48d67aa4cd FEM: fix beamsection property in CalculiX file writer 2015-10-09 17:39:40 +02:00
Bernd Hahnebach
41852c4c50 FEM: use MechanicalMaterial instead App::MaterialObjectPython in TestFem 2015-10-09 08:19:24 +02:00
Bernd Hahnebach
a7f96cb838 FEM: only change MechanicalMaterial object if taskd is accepted 2015-10-09 08:19:24 +02:00
Bernd Hahnebach
57b65cf405 FEM: add space to licence according flake8 2015-10-09 08:19:24 +02:00
Bernd Hahnebach
177e0d2665 FEM: typo in GUI 2015-10-09 08:19:23 +02:00
Bernd Hahnebach
b51155e289 FEM: use generic get_elset methods in CalculiX file writer 2015-10-09 08:19:23 +02:00
Bernd Hahnebach
6ece75789b add config for arcanist 2015-10-09 08:19:23 +02:00
wmayer
c133457da5 + when running a bound macro check if file exists, proper unicode handling of macros in customize dialog 2015-10-08 12:37:30 +02:00
wmayer
52957ffcb5 + When adding new commands to custom toolbar set user data if required in order to move them up/down 2015-10-08 11:13:10 +02:00
wmayer
70d86ce907 + add security checks to SoBrep nodes 2015-10-07 23:08:03 +02:00
wmayer
7ca6bb4072 + Prefer prefix ++/-- operators for non-primitive types 2015-10-07 14:29:49 +02:00
wmayer
b7be7aec13 + Prefer prefix ++/-- operators for non-primitive types 2015-10-07 13:38:17 +02:00
wmayer
5a78a6ab79 + Prefer prefix ++/-- operators for non-primitive types 2015-10-07 11:32:38 +02:00
wmayer
4909d628f5 + fixes #0002287: Entry Point Not Found IsWow64Process 2015-10-07 10:24:35 +02:00
Eivind Kvedalen
b68ae65f56 Sketcher: Fixed keeping sign of constraints. 2015-10-06 21:26:22 +02:00
wmayer
f53a691bba + Prefer prefix ++/-- operators for non-primitive types 2015-10-06 21:16:44 +02:00