Commit Graph

10581 Commits

Author SHA1 Message Date
Abdullah Tahiri
c54c08cca4 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
588f1bd795 Sketcher: Merge, copy expressions
===================================

Support for copying expressions instead of hard values.

fixes #2936
2017-12-12 23:08:44 +01:00
Abdullah Tahiri
9b781f9c54 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
ad855c99e3 Sketcher: New Setting for improved dragging mode 2017-12-12 22:20:27 +01:00
Abdullah Tahiri
023e319b84 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
eff8529ec6 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
19254207c2 Draft: crowdin tooltip typo fix
ref: https://crowdin.com/translate/freecad/548/en-cs#6500043
2017-12-12 21:57:44 +01:00
WandererFan
87271d0cbb Allow user to modify Vertex size by parameter 2017-12-11 13:17:05 +01:00
wmayer
6a785f9afd fixes #0003262: normal vector returned by Face.normalAt(u,v) is not always a unit vector 2017-12-09 13:33:30 +01:00
Bernd Hahnebach
a8c31221ed FEM: mesh api, fix tolerance in get the nodes by a solid 2017-12-08 07:16:09 +01:00
Yorik van Havre
564f977dbd Fixed gradient in last commit 2017-12-07 18:54:47 -02:00
Yorik van Havre
04e4e59ada Bitacovir's new clone icon 2017-12-07 18:50:22 -02:00
Bernd Hahnebach
6388a323fc FEM: command module, use active analysis from command manager module 2017-12-07 17:12:39 +01:00
Bernd Hahnebach
65bc90d508 FEM: command module, use selection from command manager module 2017-12-07 17:12:39 +01:00
Bernd Hahnebach
6a5408b5db FEM: commands, fix nonlinear material command for new solver framework 2017-12-07 17:12:39 +01:00
Bernd Hahnebach
e7b813f178 FEM: command package, move equation commands into commtand class module 2017-12-07 17:12:39 +01:00
Bernd Hahnebach
76c6512267 FEM: command package, move command modules in one module in new command package 2017-12-07 17:12:39 +01:00
Bernd Hahnebach
8599dd59ba FEM: result package, move result tools module in new result package 2017-12-07 17:12:39 +01:00
Bernd Hahnebach
23d735c2a5 FEM: unit test, again add TestFem and import the test classes from new test package 2017-12-07 17:12:39 +01:00
Bernd Hahnebach
8cdc4d3296 FEM: test package, move unit test module in new test package 2017-12-07 17:12:39 +01:00
Bernd Hahnebach
bd3d50fa88 FEM: mesh package, move all mesh modules in new mesh package 2017-12-07 17:12:39 +01:00
Bernd Hahnebach
014f8cac3b FEM: package feminterface, move all import and export modules in new package feminterface 2017-12-07 17:12:39 +01:00
Abdullah Tahiri
eb40ddda4e Sketcher: Do not show support when entering sketch edit mode if it is a datum plane
=====================================================================================

https://forum.freecadweb.org/viewtopic.php?f=10&t=25700
2017-12-07 11:39:35 +01:00
Abdullah Tahiri
324c31d4e2 Sketcher: Fixing Polyline Arc Endpoint autoconstraints
======================================================

fixes #3091

Autoconstraints did not check whether the arc was CW or CCW, as such the autoconstraint on the second position was sometimes assigned to the start point.
2017-12-07 11:31:35 +01:00
Abdullah Tahiri
4006c6ee97 Sketcher: Fixes no horizontal/vertical on edge if previous horizontal/vert aligment on vertex
=============================================================================================

fixes #3257
2017-12-07 11:11:40 +01:00
Abdullah Tahiri
2e1d219377 Sketcher: Fix Polygon disappearing on creation with autoconstraints on
======================================================================

Fixes #3154

About the fix:
- If a non-zero vector is passed to seekAutoConstraint, it will suggest a vertical/horizontal constraint, which does not
make sense in the construction method.
- Passing a zero vector enables to treat it like a point, so for example point on object will be suggested, but not vertical/horizontal constraints.
2017-12-07 10:59:49 +01:00
Abdullah Tahiri
a680961406 Sketcher: BSpline, prevent 0 mm Radius for poles on creation
============================================================

https://forum.freecadweb.org/viewtopic.php?f=10&t=25701
2017-12-07 10:52:28 +01:00
WandererFan
750661de35 Fix #1947 non-ASCII in file path
- this also fixes file path part of #3139
- this needs work for Py3
2017-12-06 19:51:22 -05:00
WandererFan
640fce5d06 Fix #1939 Draft ShapeString with whitespace string 2017-12-06 19:51:22 -05:00
Unknown
c8c9b76f43 Misc. typos 2017-12-06 20:59:55 +01:00
Bernd Hahnebach
a22dca2ead FEM: mesh tools, typo in comment, thanks to reox 2017-12-06 20:08:55 +01:00
Bernd Hahnebach
18c7f94ae9 FEM: CalculiX ccx tools solver, use a better name for new objects 2017-12-06 20:07:14 +01:00
wmayer
52fe4cd2a7 issue #0003174: Import of simple shapes no longer works 2017-12-06 17:54:10 +01:00
Mateusz Skowroński
23cdde88e0 Fix some GCC 7 warnings:
* dynamic exception specifications are deprecated [-Wdeprecated]
* this statement may fall through [-Wimplicit-fallthrough=]
2017-12-05 17:22:00 +01:00
Markus Lampert
d2c307a1d2 Fixed StepDown value by removing special handling of legacy behaviour. 2017-12-05 16:34:19 +01:00
Markus Lampert
feeab3ce8c Remove automatic base features if OP was created with selected faces. 2017-12-04 01:40:24 -08:00
Markus Lampert
5f7faa25af Fixed hole detection for bottom faces. 2017-12-04 01:39:25 -08:00
Markus Lampert
fc5077f413 Fixed direct editing of point in GetPoint dialog. 2017-12-03 16:32:25 -08:00
Markus Lampert
25e92ca25b Added circular faces to drillable targets. 2017-12-03 15:08:20 -08:00
WandererFan
7588081afd Implement option for perspective drawing views 2017-12-03 19:17:53 -02:00
WandererFan
5bc256d3f2 Fix "still touched after recompute" and display 2017-12-03 19:17:53 -02:00
Yorik van Havre
95cc7a900b AddonManager: set focus back on WB list after updating 2017-12-03 16:49:19 -02:00
Markus Lampert
04ea26a66a Fix for missing base class initialisation during creation. 2017-12-02 11:06:45 -08:00
wmayer
93aa859944 fixes #0002745: The Disappearing Grid 2017-12-02 17:17:43 +01:00
Unknown
25afe3227c SVG Cleanup: tweaked <dc:description> tags for changed clone icons
Follow-up to changes made in 71836f4b37
+ remove agryson from the 2 icon properties
2017-12-02 14:02:14 +01:00
Unknown
9831dfe531 SVG Cleanup: remove typos + uniformity fixes 2017-12-02 14:02:14 +01:00
Unknown
3d9ecab346 SVG cleanup: remove all redundant <dc:title> content
Removed duplicate mentions of `[agryson] Alexander Gryson`
2017-12-02 14:02:14 +01:00
luzpaz
56111a0810 Typos: user-facing and trivial
Several typos and uniformity fixes.
Note: 
*SCL/SimpleDataTypes.py is a upstream stepcode file whose fiz has been submitted upstream and accepted.
*the header of Tools/generateBase/generateMetaModel_Module.xsd  had redundant data. It has been removed. Please double check it.
2017-12-02 14:00:57 +01:00
wmayer
af0477fc4a remove trailing whitespace 2017-12-02 13:54:07 +01:00
WandererFan
15b509db25 Implement LineGroups for default weights
- Add ability to control default weight for visible,
  hidden and decorative lines from a configuration
  file. Diffent sets of defaults can be specified as
  a preference.
2017-12-02 13:51:25 +01:00