Commit Graph

12853 Commits

Author SHA1 Message Date
wmayer
495c048ece add helper class to tmp. block a boost signal/slot connection 2017-12-21 22:22:33 +01:00
wmayer
5b358e1bd9 show base feature's placement on load if not part of a body 2017-12-20 22:01:24 +01:00
wmayer
60b8b0da67 fix broken transparency mode of mesh objects 2017-12-19 23:24:30 +01:00
wmayer
a1901cb20e add feature to extend given surface 2017-12-19 13:23:39 +01:00
Yorik van Havre
f3c4721772 Arch: Fixed missing walls in IFC export 2017-12-17 16:32:18 -02:00
Unknown
cb87fb505d FEM: typos 2017-12-16 16:36:17 +01:00
Yorik van Havre
bbdab351ac Arch: bugfix in Panel in non-GUI mode 2017-12-16 10:06:11 -02:00
Yorik van Havre
500ac97147 AddonManager: Check if thread is already running 2017-12-16 10:03:41 -02:00
Unknown
7d36590917 Typo fixes
[skip ci]
2017-12-16 09:45:15 -02:00
Bernd Hahnebach
34fc08c3c3 FEM: fem command package, rename it to commands 2017-12-16 09:43:41 -02:00
Bernd Hahnebach
792ad0da13 FEM: fem interface package, rename it to inout 2017-12-16 09:43:41 -02:00
Bernd Hahnebach
2146c58138 FEM: Python modules ui panels, move them to resources folder 2017-12-16 09:43:41 -02:00
Bernd Hahnebach
99dd55f79c FEM: task panels, move them into the view provider modules 2017-12-16 09:43:41 -02:00
Bernd Hahnebach
506e171af3 FEM: Gui cmake, remove init gui module since it will be compied with all Python modules 2017-12-16 09:43:41 -02:00
Bernd Hahnebach
139704ff4c FEM: netgen, add command only if FEM is build with netgen 2017-12-16 09:43:41 -02:00
Yorik van Havre
64800bc322 Arch: Fixed wrong wall/structure extrusion direction 2017-12-16 09:43:02 -02:00
Yorik van Havre
8da9887ec2 AddonManager: Disable Install button immediately 2017-12-15 16:16:37 -02:00
Yorik van Havre
2c0bb8d341 Arch: fixed Arch Material not working in console mode 2017-12-15 16:06:42 -02:00
Yorik van Havre
88e953d154 Arch: Bugfix in stairs 2017-12-15 16:05:06 -02:00
wmayer
2817331905 add VTK related commands only if VTK was found at configure time 2017-12-14 14:07:07 +01:00
Yorik van Havre
f13f128b05 Merge pull request #1163 from berndhahnebach/bhbdev110
FEM: cmake, use only one cmake file for Python packages and modules
2017-12-14 10:45:36 -02:00
Bernd Hahnebach
8d5ab68f00 FEM: cmake, use only one cmake file for Python packages and modules 2017-12-13 22:00:45 +01:00
wmayer
50f306f2bb Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2017-12-13 19:13:34 +01:00
wmayer
3fb789cf7c move Placement.isNull to Placement.isIdentity
add isNull for backward compatibility
2017-12-13 19:13:18 +01:00
Yorik van Havre
31a33149c1 Draft: Fixed bug in DXF import 2017-12-13 15:20:22 -02:00
wmayer
7991e1ae7e fix invalid syntax 2017-12-13 17:24:39 +01:00
wmayer
df0a3ded78 rename Placement.isNull to Placement.isIdentity
implement Rotation.isNull and Rotation.isIdentity
2017-12-13 17:00:38 +01:00
wmayer
77174809db use getRawValue in property editor to avoid normalizing the rotation axis 2017-12-13 17:00:38 +01:00
wmayer
ab908bf22d preserve length of rotation axis 2017-12-13 17:00:38 +01:00
wmayer
3692861136 improve whitespaces 2017-12-13 17:00:38 +01:00
plgarcia
c42330ef0a Add a function to compare 2 double allowing approximation errors 2017-12-13 17:00:38 +01:00
plgarcia
a0ea3ceec9 Improvement of rotations
Rotation:
-	Add a private attribute Vector to store the direction of the rotation, and manage not to erase this direction when the angle id 0.
-	Add a private attribute to store the angle as defined (no modulo etc)
-	Keep the quaternion for calculations

PropertyGeo
-	Saves the rotation with angle and direction instead of saving the quaternion.
-	Attribute name chosen: Ox, Oy and Oz for the coordinates of the axis and A for the angle in radians. This has to be validated.
-	Backward compatibility with the saved files with quaternion (test presence of A to determine which of  the Quaternion (old way) or the direction and angle is stored (new way). New files can be opened by old FreeCAD and vice-versa.

The only side effect I can imagine is that it was possible to set a vector to 0, 0, 0 if the angle was not 0, what is somehow non sense. Now when setting to 0, 0 0 the last not null vector is kept. The vector can not be null any longer.
2017-12-13 17:00:38 +01:00
Yorik van Havre
e272f02e59 Arch: Fixed creation of Spaces in no-GUI mode 2017-12-13 11:21:33 -02:00
Yorik van Havre
351c0fde12 Draft: Fixed default precision value 2017-12-13 10:57:55 -02:00
Zheng, Lei
3eba89df13 Path.Area: improve code readability
Fix Coverity CID 169508
2017-12-13 12:40:13 +01:00
Bernd Hahnebach
7562afaa08 FEM: cmake, sort in cmake 2017-12-13 12:38:22 +01:00
Bernd Hahnebach
4c9db520dc FEM: constraint flow velocity, fix task panel 2017-12-13 12:38:22 +01:00
Bernd Hahnebach
f69f039769 FEM: constraint transform, fixes #3283 2017-12-13 12:38:22 +01:00
Bernd Hahnebach
531ad99b69 FEM: make objects module, better name for ccx tools solver def 2017-12-13 12:38:22 +01:00
Unknown
5e2159cb74 Typos, grammar & uniformiity
3rd party KDL typos have been submitted upstream https://github.com/orocos/orocos_kinematics_dynamics/pull/121
2017-12-13 00:10:46 -05:00
Abdullah Tahiri
89071f74b7 Sketcher: Wrong mapping of constraints to axes
==============================================

Expressions for remapping of geometry where simply wrong.

Surprisingly no bug reports were filed for this one.
2017-12-12 23:08:44 +01:00
Abdullah Tahiri
d64575a111 Sketcher: Merge, copy expressions
===================================

Support for copying expressions instead of hard values.

fixes #2936
2017-12-12 23:08:44 +01:00
Abdullah Tahiri
f2cca2e05a Sketcher Solver: Means to reset the initilization of movement
=============================================================

Just amazed it was working "so well" without never reseting to zero this.

It might bring advantages and close bugs... who knows!
2017-12-12 22:20:27 +01:00
Abdullah Tahiri
a309e417fc Sketcher: New Setting for improved dragging mode 2017-12-12 22:20:27 +01:00
Abdullah Tahiri
a014c1cbc1 Sketcher: Clean code and adapt previous solution only to non-relative cases
===========================================================================

Cleaning up ViewProviderSketch, as relative mode is never used for points.

Adapting the recalculation of the initial solution only to non-relative cases.

For relative movement cases (movePoint with relative=true) no cases where such a solution will be advantageous have been identified
and applying a similar solution involves changing the current behaviour too much, as to run the risk of introducing further bugs.

Decision to be revised if such cases where an advantage can be found are discovered.
2017-12-12 22:20:27 +01:00
Abdullah Tahiri
7b086ba8b2 Sketcher: jumping while dragging - force recalculate initial solution
=====================================================================

fixes #1734

Upon dragging, the initial solution is first calculated and them DogLeg is left with the work of solving for a solution next to the initial solution.

When the change is too big and the gradients are no longer accurate to continue dragging, the dragging flips and jumps.

The solution offered here is, not to update always the solution, as this also creates artifacts, but update it if the dragging goes beyond 20 times the initial dragging distance.

https://forum.freecadweb.org/viewtopic.php?f=3&t=7589#p203580

https://forum.freecadweb.org/viewtopic.php?f=3&t=7589#p203712
2017-12-12 22:20:27 +01:00
Unknown
b8200b9a9a Draft: crowdin tooltip typo fix
ref: https://crowdin.com/translate/freecad/548/en-cs#6500043
2017-12-12 21:57:44 +01:00
wmayer
ae6ce996ac fixes #0003281: STL object doesn't retain its rotation after change 2017-12-12 21:46:18 +01:00
WandererFan
e2655bc726 Allow user to modify Vertex size by parameter 2017-12-11 13:17:05 +01:00
DeepSOIC
bf752ea88f fix object.getGlobalPlacement
was confused by expressions in Placement of containers.
Fixes #3217 Sketcher not drawing at mouse position.
2017-12-11 12:48:07 +01:00