Commit Graph

6081 Commits

Author SHA1 Message Date
wmayer
718982cdcf + fixes #0002223: Units not displaying correctly 2015-09-14 15:57:35 +02:00
wmayer
c135ca40a5 + fixes #0002222: Number of normals in exported VRML is wrong 2015-09-14 14:45:34 +02:00
wmayer
694c409caf + minor changes 2015-09-13 23:24:12 +02:00
wmayer
b9865ed4f1 + fixes #0002209: Files that have a dot in name do not get the extension 2015-09-13 21:25:18 +02:00
wmayer
d3281a66eb + fix whitespace, fix notification of changed property in view provider 2015-09-13 18:46:06 +02:00
wmayer
337a84328d + fixes #0002160: Customised keyboard shortcuts: D, U conflict 2015-09-13 18:29:21 +02:00
wmayer
9f5283d001 + fixes #0001941: Refresh Property Editor 2015-09-13 15:53:59 +02:00
wmayer
043dc1616d + fixes #0002197: Buggy Placement dialog when using Euler angles 2015-09-13 15:17:44 +02:00
wmayer
8cee8992ab Merge branch 'install' 2015-09-13 10:28:23 +02:00
Przemo Firszt
140272b9d3 Travis: Add sudo make install
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-12 20:22:21 +01:00
Yorik van Havre
216a747978 Draft: bumped minimum dxf lib to 1.39 2015-09-12 15:20:51 -03:00
Yorik van Havre
ac84b8171e Draft: Added fix from Draft-dxf-importer issue 6 2015-09-12 14:32:50 -03:00
Yorik van Havre
83988ca831 Draft: Added wiki instructions URL to DXFimporter download fail message 2015-09-12 14:28:25 -03:00
wmayer
9fb882b103 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-09-12 12:41:56 +02:00
sgrogan
3274f42bb0 [PATCH] fix missing drawing vs fem 2015-09-12 12:41:31 +02:00
Jon Nordby
e81c4cf62a Path: Basic .rml postprocessor for Roland Modela MDX
Jog, drill, linear and arc motions works.
Tested on machine with some trivial projects,
dimensions and feedrate speeds verified.

Safe-Z/clearance command currently not respected (defaults to max height, super conservative).
2015-09-11 18:54:19 -03:00
Yorik van Havre
7189c727bc Merge remote-tracking branch 'jonnor/path-cli-fixes' 2015-09-11 18:51:17 -03:00
wmayer
29b2c9ab6c + improve code style 2015-09-11 22:00:25 +02:00
Abdullah Tahiri
47c0859c1b Sketcher: Bug fixes: inability to create links to external geometry
=================================================================

First bug: Inability to create links to external geometry as described here:
http://forum.freecadweb.org/download/file.php?id=16668

Second bug: FC crashes on changing the support after having imported external geometry as described here:
http://forum.freecadweb.org/viewtopic.php?f=10&t=12380

and solving this ticket:
http://www.freecadweb.org/tracker/view.php?id=2225

Solution to first bug:

If for some reason a sketch ends up having a list of external geometries (property) that can not be recreated (rebuilt),
they remain latent, do not show the external elements in the elements widget or in the screen and prevent adding the
elements again.

In cases where the saved file contains invalid external geometry links (which will give raise to a handled exception that would prevent external geometry creation),
this condition gets detected during restore and the invalid links are deleted before external geometry creation, so as to allow the rest of external links to be recreated.

Solution to second bug:

It is also related to invalid external links (the link was existing, but upon change on the support, it is possible that an external edge is no longer valid, reduction of edges in support).
This situation is detected upon entering into edit mode, and the invalid ones are deleted.

Note that there is still the possibility for the user to remap an invalid sketch BEFORE editing, if the remapping is successful, it may not be necessary to delete links (all depends on the
specific case).
2015-09-11 21:25:58 +02:00
wmayer
185735ca2c + fixes #0002258: Silent uninstall blocks on MessageBox, fixes #0002056: Support silent (de)installation using NSIS 2015-09-11 19:43:20 +02:00
wmayer
4d776eb03f + fix warning in smesh headers 2015-09-11 18:52:26 +02:00
wmayer
731b2567b3 Mod/Sandbox: Remove -Wunused-result warnings. 2015-09-11 18:42:25 +02:00
wmayer
9da3580b3d WildMagic: Remove -Wunused-result warnings. 2015-09-11 18:20:49 +02:00
wmayer
5ef9039f5e zipios++: Remove -Wunused-result warnings. 2015-09-11 18:11:11 +02:00
wmayer
470880ebed Mod/Robot: Removed -Wreorder warnings. 2015-09-11 16:48:36 +02:00
wmayer
7f0c5b5f23 Mod/Robot: Removed -Wunused-variable warnings. 2015-09-11 16:14:17 +02:00
wmayer
df4c99f157 Mod/Robot: Removed -Wsign-compare warnings. 2015-09-11 16:09:11 +02:00
wmayer
1f1660a860 Mod/Robot: Removed -Wunused-result warnings. 2015-09-11 15:45:21 +02:00
wmayer
98ab26ce12 Mod/Sketcher: Removed -Wreorder warnings. 2015-09-11 15:34:34 +02:00
Eivind Kvedalen
b4ee6b9be6 Mod/Spreadsheet: Removed unused method. 2015-09-11 15:24:12 +02:00
Eivind Kvedalen
e0f3ab2473 Mod/Spreadsheet: Removed -Wsign-compare warnings. 2015-09-11 15:23:37 +02:00
wmayer
4d9af51470 Mod/Path: Removed-Wuninitialized warnings. 2015-09-11 15:19:18 +02:00
Eivind Kvedalen
1f93879a0c Mod/Path: Removed -Wunused-but-set-variable warnings. 2015-09-11 15:16:02 +02:00
Eivind Kvedalen
cbee95494e Mod/Path: Removed -Wunused-function warnings. 2015-09-11 15:13:58 +02:00
wmayer
c05baee29a + fix warnings in Fem 2015-09-11 15:11:55 +02:00
Eivind Kvedalen
6d84d419c2 Mod/Fem: Removed -Wunused-variable warnings. 2015-09-11 14:52:32 +02:00
wmayer
99348d3a5b + fix cmake issue caused by patch 2015-09-11 14:47:47 +02:00
wmayer
ec898944af + don't use hardcoded height in PropertyItemDelegate::sizeHint 2015-09-11 10:35:48 +02:00
Johannes Obermayr
9bceab911b Robot: Fix last -Wreturn-type warning.
Since getTypeName() returns None for None and default both must be handled the same way in other switches.

After applying following bug will be fixed:
http://www.freecadweb.org/tracker/view.php?id=2212
2015-09-11 07:18:07 +02:00
Johannes Obermayr
79ae0091ad libarea doesn't depend on parts from CMAKE_INSTALL_LIBDIR
Fixes:
 -- Installing: /home/abuild/rpmbuild/BUILDROOT/FreeCAD-0.15.99+git20150727.1925-1.1.x86_64/usr/lib64/FreeCAD/lib/area.so
 CMake Error at src/Mod/Path/libarea/cmake_install.cmake:53 (file):
   file RPATH_CHANGE could not write new RPATH:

     /usr/lib64/FreeCAD/lib

   to the file:

     /home/abuild/rpmbuild/BUILDROOT/FreeCAD-0.15.99+git20150727.1925-1.1.x86_64/usr/lib64/FreeCAD/lib/area.so

   No valid ELF RPATH or RUNPATH entry exists in the file;
2015-09-11 07:18:07 +02:00
Johannes Obermayr
2b9da837d7 Avoid build time on generated files from pyside-rcc and pyside-uic.
Fixes build compare:
[ 3218s] RPM file checksum differs.
[ 3218s] Extracting packages
[ 3232s] /usr/lib64/FreeCAD/Mod/Arch/Arch_rc.py differs (Python script, ASCII text executable, with very long lines)
[ 3232s] --- old//usr/lib64/FreeCAD/Mod/Arch/Arch_rc.py2015-01-21 20:26:34.000000000 +0000
[ 3232s] +++ new//usr/lib64/FreeCAD/Mod/Arch/Arch_rc.py2015-01-23 11:41:24.000000000 +0000
[ 3232s] @@ -2,7 +2,7 @@
[ 3232s]
[ 3232s]  # Resource object code
[ 3232s]  #
[ 3232s] -# Created: Wed Jan 21 20:26:34 2015
[ 3232s] +# Created: Fri Jan 23 11:41:24 2015
[ 3232s]  #      by: The Resource Compiler for PySide (Qt v4.8.4)
[ 3232s]  #
[ 3232s]  # WARNING! All changes made in this file will be lost!
2015-09-11 07:18:07 +02:00
Przemo Firszt
7446930f69 FEM: Fix invalid update_displacement reset call
Reset parameter is not an option, empty parameters list call does the resetting.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-10 14:04:38 +01:00
Abdullah Tahiri
53320b260e Sketcher: Renaming old get Coincident functions and introducing a extended one
==============================================================================

What is this?

method

getCoincidentPoints

actually only included (as indicated in the documentation comment) those points coincident by a single constraint.

That is not "all the coincident points".

However some methods currently using it are expecting exactly that (coincident points linked by a single constraint).

A new method is introduced:
const std::map<int, Sketcher::PointPos> getAllCoincidentPoints(int GeoId, PointPos PosId);

that provides all the points coincident with the given one, directly (via a single constraint) or indirectly (via multiple coincident constraints).

The old method is renamed to:
getDirectlyCoincidentPoints

So as to have a more meaningful name to differentiate between both methods.
2015-09-09 22:57:49 +02:00
Abdullah Tahiri
82e41125da Sketcher bug/feature request: arePointsCoincident/coincidence creation
======================================================================

1. SketchObject::arePointsCoincident upgraded to check for indirect coincidence.
2. Coincidence constraint creation now checks for indirect coincidences and avoids
creating redundant coincidence constraints (for example during box selection).
2015-09-09 22:56:14 +02:00
Abdullah Tahiri
224b3ec7d7 Sketcher: Improvement: Horizontal/Vertical Autoconstraint creation with External Geometry
=====================================================================================

This fixes a bug related to:
http://www.freecadweb.org/tracker/view.php?id=2093

that during creation of a geometric element if a vertical/horiz autoconstraint is to be enforced, it is not enforced if the endpoints of the geometric element under creation are
coincident with external geometry.

According to the discussion here:
http://forum.freecadweb.org/viewtopic.php?f=10&t=12254&sid=eacf5bdee068cb71cc54dc5a62a6849d&start=20#p99359

this fixes the bug.

It does not fulfil the request on the ticket as it was decided to still allow an explicit addition of a vertical/horizontal constraint, as
it may be needed in some cases and the user expects to be able to add them, even if it will lead to an overconstrained sketch.

How to reproduce?
1. Create a rectange
2. Pad it
3. Create a new sketch on a face
4. link two corners as "external geometry" (but not the ones of a diagonal)
5. Create a line coincident with the first and second corners, so that the line is horizontal or vertical

In master it will force horiz or vert leading to a overconstrained sketch.
With this patch, the horiz/vert will not be enforced in this case.
2015-09-09 22:50:36 +02:00
wmayer
003199d6df + fix possible loss of data with recovery function, show auto-save message in status bar 2015-09-09 18:49:45 +02:00
Przemo Firszt
32c96b4267 Tests, FEM: Add test for frequency analysis
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-09 12:17:12 -03:00
sgrogan
8cfc4b66be Remove Hardcoded Icons from Drawing and Mesh WB 2015-09-09 12:15:55 -03:00
Przemo Firszt
25b501e215 FEM: Add reset_all funcion to FemTools
reset_all groups purge_results, reset_mesh_color and reset_mesh_deformation

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-09 13:57:50 +02:00
Przemo Firszt
0ba28a5ba6 FEM: Add function documentation
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-09 13:57:49 +02:00