Commit Graph

5080 Commits

Author SHA1 Message Date
Przemo Firszt
df9cf537af App: fix typo
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-09 13:07:49 -03:00
Przemo Firszt
9388f372dc FEM: Change FEM results selection to radio buttons
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-09 13:07:49 -03:00
Przemo Firszt
f15a9e729d FEM: Add reset_mesh_color and reset_mesh_deformation functions
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-09 13:07:49 -03:00
Przemo Firszt
9b08de7253 FEM: Remove unused property
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-09 13:07:49 -03:00
Przemo Firszt
936059c974 FEM: Optimise check_prerequisities
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-09 13:07:49 -03:00
Przemo Firszt
ceaf34206a FEM: Remove old results before loading new set
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-09 13:07:49 -03:00
Przemo Firszt
1f8b964c20 FEM: Fix problem with using old displacement value after recalculation
Reported-by: bernd
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-09 13:07:49 -03:00
Yorik van Havre
17c5294840 New splashscreen 2015-06-09 11:36:19 -03:00
Yorik van Havre
2afde97bb8 Draft: small bugfix in Drawing view 2015-06-08 19:05:37 -03:00
Yorik van Havre
f6f77a770c Arch: Fixed encoding in IFC import - fixes #2149 2015-06-06 12:52:44 -03:00
Ian Rees
33e0441c39 Cleaning up compile warnings, mainly in Sketcher
fabs() instead of std::abs(), add cmath include
2015-06-04 18:12:39 +02:00
DeepSOIC
9e73137623 Part: new tools - JoinFeatures (Connect, Embed and Cutout)
Attributions:
Mark (quick61) - icons
Yorik - help with internationalization
Everyone who appeared in forum thread "A new Part tool is being born...
JoinFeatures!" - for endorsement!
http://forum.freecadweb.org/viewtopic.php?f=22&t=11112
2015-06-04 09:47:59 +02:00
Ian Rees
c73be756e4 Add #include that's required with Homebrew 2015-06-04 09:54:20 +12:00
wmayer
e4aa1a521c + Use update mechanism for CmdSketcherToggleConstruction 2015-06-03 19:12:48 +02:00
wmayer
d0c4deb570 + Use update mechanism for CmdSketcherToggleDrivingConstraint 2015-06-03 18:31:30 +02:00
wmayer
95a0633774 + Extend Command framework to allow to update QAction 2015-06-03 18:30:36 +02:00
Yorik van Havre
8c40c9b610 Arch: fixed Label encoding in IFC export 2015-06-02 19:58:59 -03:00
wmayer
092f10f49c Expose attribute to Python to access icon of view provider 2015-06-02 16:21:56 +02:00
Przemo Firszt
6f472719e0 FEM: Rename animateNodes to applyDisplacementToNodes
Also animateNodes is now applyDisplacementToNodes.
The funcions are not doing animation, but are responsible
for deforming mesh.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:35:34 +01:00
Przemo Firszt
4702b72cb1 FEM: Remove not used setColorStress function
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:35:34 +01:00
Przemo Firszt
1b5ff48484 FEM: Add curly brackets to one line for/if or if/if commands
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:35:34 +01:00
Przemo Firszt
c3c79596fc FEM: Disable Show result button if there are no results in analysis
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:35:34 +01:00
Przemo Firszt
92baddfce9 FEM: Add Purge FEM results button
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:35:34 +01:00
Przemo Firszt
c703fe8294 FEM: Simplify setting FEM results when user selected None
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:35:34 +01:00
Przemo Firszt
2eb5562d76 FEM: Fix problem with Show button not reverting mesh deformation
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:35:34 +01:00
Przemo Firszt
bc5e94edca FEM: Don't use bool as variable name
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:35:21 +01:00
Przemo Firszt
3eea4daf89 FEM: Don't check is Show is checked after slider has been moved.
Slider is disbled is Show is not ticked, so that check is redundant.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:35:10 +01:00
Przemo Firszt
2c8675f24d FEM: Switch to reading analysis stats from AnalysisStats object
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:28:44 +01:00
Przemo Firszt
cab75ef79a FEM: Add AnalysisStats object
This commit add a new object to Analysis: AnalysisStats. AnalysisStats
contains list with 15 values (an example):
-0.000776373	<-- minimum X displacement
-7.74494e-06	<-- average X displacement
0.000774115	<-- maximum X displacement
-0.00416267	<-- minimum Y displacement
-0.00204191	<-- average Y displacement
0		<-- maximum Y displacement
-0.000775108	<-- minimum Z displacement
1.09288e-05	<-- average Z displacement
0.000775122	<-- maximum Z displacement
0		<-- minimum Abs displacement
0.00214509	<-- average Abs displacement
0.00430481	<-- maximum Abs displacement
0.390598	<-- minimum Von Mises Stress
0.93509		<-- average Von Mises Stress
1.47765		<-- maximum Von Mises Stress

Those values will be used to set field values in FEM results dialog
instead of currently used values returned by setNodeColorByResult
function.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:28:44 +01:00
Przemo Firszt
99c7da8610 FEM: simplify reading lines from frd file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:28:44 +01:00
Przemo Firszt
5ecda048a0 FEM: replace input with frd_file in ccxFrdReader.py
input is a built-in function name and should not be used as variable name

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:28:44 +01:00
Przemo Firszt
5f272f74e4 FEM: use is instead of == for None in ccxFrdReader.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:28:44 +01:00
Przemo Firszt
4218d91aea FEM: replace deprecated has_key in ccxFrdReader.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:28:44 +01:00
Przemo Firszt
425e7ca8d6 FEM: white space fixes in ccxFrdReader.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-02 11:28:44 +01:00
J.L. Cercos-Pita
5d7265b512 Corrected the wetted surface units 2015-06-01 12:00:30 -03:00
J.L. Cercos-Pita
c1b30e9b8e Updated the spreadsheets to the new module 2015-06-01 12:00:29 -03:00
J.L. Cercos-Pita
96df2ef3d2 Fixed the locales 2015-06-01 12:00:29 -03:00
J.L. Cercos-Pita
0135f39961 Fixed the locales in the Hydrostatic tools 2015-06-01 12:00:29 -03:00
J.L. Cercos-Pita
43735f20a8 Fixed the problems with the group separator in some locales 2015-06-01 12:00:29 -03:00
J.L. Cercos-Pita
a9685303f4 Extended the locale fixe to the stored variables into the Ship instance 2015-06-01 12:00:29 -03:00
J.L. Cercos-Pita
4856bd5f10 Fixed the problems with the group separator in some locales 2015-06-01 12:00:29 -03:00
J.L. Cercos-Pita
9729d8a67e Updated the areas computation tool to the new spreadsheet 2015-06-01 12:00:29 -03:00
J.L. Cercos-Pita
6cd54c0b2c Fixed 'Axes' object has no attribute 'get_frame' error (see http://matplotlib.org/api/api_changes.html) 2015-05-31 19:28:16 +02:00
wmayer
8e7b43bb7b + fixes #0002134: FreeCAD crashes when the window is restored and a plot is shown 2015-05-31 17:29:30 +02:00
wmayer
42d5955ee2 + fix some warnings 2015-05-30 20:59:25 +02:00
wmayer
1c49a99976 + fix wrong default of ContinueMode in settings panel 2015-05-30 20:42:33 +02:00
wmayer
eb081144c5 + fix whitespaces 2015-05-30 20:30:12 +02:00
Abdullah Tahiri
77db323ea5 Sketcher Improvement: Always enable geometry creation
==============================================================================

Now you can switch from one tool to the next just by clicking on the next tool
2015-05-30 16:39:34 +02:00
Abdullah Tahiri
435662a220 Sketcher Driving/Reference and Construction/Normal single buttons icons
=======================================================================
2015-05-30 16:39:33 +02:00
Abdullah Tahiri
c4f08644d8 Sketcher: UI Improvement Smart button for constraints and geometry toogle/creation
==================================================================================

Geometry button:
- if no object selected, the legacy toggle icon has a new functionality, switch to/from creating in construction mode
- if object selected, it has the legacy functionality
- the button can be clicked during "continuos creation mode" to switch from creating to/from creating in construction mode

Constraint button:
- The button is not selectable if nothing is selected (it would be impossible to determine the effect)
- When constraints are selected, the button toggles the constraints to/from Driving.
- When geometry is selected, the button switches from/to reference mode, the change is apparent from the color of the constraint icons.

Continuous creation mode:
- Default changed so that it is active unless you change it in settings

Updated terminology
2015-05-30 16:39:32 +02:00