Commit Graph

23859 Commits

Author SHA1 Message Date
Wanderer Fan
8b60da803c [TD]fix bitmap hatch 2022-07-03 10:18:37 -04:00
sliptonic
e4a1f0772a Merge pull request #6974 from agren/restore-path-drilling-retract-behaviour
Path: Restore drilling op retract value to user supplied Retract Height
2022-07-02 12:20:54 -05:00
Uwe
6d3b3368b7 [Robot] fix typo in function name
- just to please the spellchecker CI
2022-07-02 18:00:03 +02:00
Ajinkya Dahale
4db7da7314 [Sketcher] Only move one piece of B-spline when dragging 2022-07-02 07:35:30 +02:00
Uwe
e899c221cc [FEM] fix wrong console outputs for fluid materials
- since a while ThermalExpansionCoefficient is used, VolumetricThermalExpansionCoefficient is only used for the material task panel
- as already stated in a code comment, the unit of VolumetricThermalExpansionCoefficient is ThermalExpansionCoefficient, therefore we must check for ThermalExpansionCoefficient
- we must also check if ThermalExpansionCoefficient exists

- Adapt the existing fluid material cards to use the ThermalExpansionCoefficient
2022-07-02 05:36:43 +02:00
Mihail
6eae0c021a FEM WB Elmer viscosity bug fix.
In Elmer there was errors "Viscosity not found" if used mixed solid and flow calculation.
This fix disables Stokes-Navier eruation for Solid objects.

	modified:      src/Mod/Fem/femsolver/elmer/writer.py
2022-07-02 05:16:50 +02:00
Abdullah Tahiri
276020c313 Sketcher: Bug fix
https://forum.freecadweb.org/viewtopic.php?p=606581&sid=70cfe557d7d1985e45ea1b298282c759#p606581
2022-07-01 13:56:16 +02:00
Uwe
bc52dc0567 [Arch] fix typo in function name
- just to please the spellchecker CI
2022-07-01 03:35:55 +02:00
andrea
caaeace6eb remove unused boost files 2022-07-01 03:18:36 +02:00
Uwe
5a6c52d8f3 [FEM] [skip CI] fix a typo
- spot by the spellchecker CI
2022-07-01 03:12:15 +02:00
Uwe
98e96b3f5f [AddonMgr] [skip CI] fix typo
- spot by the spellchecker CI
2022-07-01 03:10:47 +02:00
wmayer
8f7f281c0a Arch: [skip ci] fix unit test 2022-06-30 23:00:31 +02:00
wmayer
0f5725b34a modernize C++: replace boost::function with std::function 2022-06-30 20:31:55 +02:00
Wanderer Fan
67ddf95f89 [TD]remove unused code 2022-06-30 08:50:33 -04:00
Wanderer Fan
203b9bb26c [TD]Navigation Styles - context menu handling & std cursors 2022-06-30 08:50:33 -04:00
Wanderer Fan
60b79e0d72 [TD]fix Dimension export to DXF 2022-06-30 08:50:07 -04:00
Wanderer Fan
75486e930b [TD]Include CosmeticLines in Dxf 2022-06-30 08:50:07 -04:00
Abdullah Tahiri
bf83aedd2f Sketcher: Bug fix SolverGeometryExtension
=========================================

Index access at zero size vector cause due to incorrect check.
2022-06-30 13:58:21 +02:00
wmayer
80e01ef0b7 Test: ignore UnicodeEncodeError in TestMetadata.test_file_path 2022-06-30 13:32:29 +02:00
wmayer
9a8a1795fb Mesh: fix (Qt) issues found by clang's clazy tool 2022-06-30 13:14:03 +02:00
Yorik van Havre
966720094d Arch: Fixed test to work without the Drawing module 2022-06-30 11:38:22 +02:00
sliptonic
36cc22e9bd Merge pull request #7111 from sliptonic/bug/camoticsimport
[PATH] Another camotics import bug.
2022-06-29 16:37:48 -05:00
wmayer
fc8ccd59ed Test: use codecs.open in TestMetadata.test_file_path 2022-06-29 15:51:42 +02:00
wmayer
4265755534 Test: set encoding to utf-8 in TestMetadata.test_file_path 2022-06-29 12:28:02 +02:00
wmayer
046b42c95b Test: [skip ci] test file path with utf-8 <-> utf-16 conversion 2022-06-29 11:23:15 +02:00
sliptonic
ade72dc869 Another import bug. This time if --version doesn't return a patch number. 2022-06-28 15:57:01 -05:00
wmayer
02718d99bb Test: extend test for enumeration 2022-06-28 21:24:19 +02:00
Abdullah Tahiri
c5da665d45 Split DSHs from CommandCreateGeo 2022-06-28 19:29:47 +02:00
Abdullah Tahiri
574766a4bf Remove obsolete DSH Tools - CloseShape and ConnectLines 2022-06-28 19:29:35 +02:00
Abdullah Tahiri
12a2de626a DrawSketchHandler: Cursor rework and preselect at point functionalities 2022-06-28 19:29:19 +02:00
Abdullah Tahiri
7842d78ff1 DrawSketchHandler: mechanism to update the cursor 2022-06-28 19:29:07 +02:00
Abdullah Tahiri
d991ac6d80 DrawSketchHandler: Functions to draw cursor position and direction 2022-06-28 19:28:56 +02:00
Abdullah Tahiri
c708c94332 DrawSketchHandler: refactor crosshairCursor
======================================================

-DrawSketchHandler manages both cursor bitmap setting and unsetting
2022-06-28 19:28:18 +02:00
Abdullah Tahiri
51f2c55334 Utils refactor w/o commandcreategeo 2022-06-28 19:28:06 +02:00
Abdullah Tahiri
eaa431f231 Utils: Conversion from 2d vector into XY plane 3d vector 2022-06-28 19:27:46 +02:00
Abdullah Tahiri
5411e5ffea Sketcher-Utils: vector of smart pointers to vector of pointers 2022-06-28 19:27:37 +02:00
Abdullah Tahiri
2c58060524 Sketcher-Utils: Refactor common code up 2022-06-28 19:27:20 +02:00
Paddle
74d6d1855c Sketcher: Create Geometry ConstraintToAttachment function 2022-06-28 19:27:04 +02:00
Abdullah Tahiri
5657b4e434 Sketcher: Cleanup obsolete DrawSketchHandlers 2022-06-28 19:22:58 +02:00
Abdullah Tahiri
7a2b2b4c39 PythonConverter-Sketcher: A class to convert sketcher geometries and constraints into the commands to generate them
===================================================================================================================

This class does not currently support all sketcher geometry and constraints, but it supports the most common types.
2022-06-28 18:59:06 +02:00
Abdullah Tahiri
5be75acdb0 ViewProviderSketch: Cursor movement and preselection at sketch coordinates
===============================================================================

- Support to programatically move the cursor to sketch coordinates
- Support to try preselection at a given sketch coordinates
2022-06-28 18:58:47 +02:00
Abdullah Tahiri
b0492010d0 Sketcher: SketchObject - Add ability to diagnose constraint redundancy before addition
======================================================================================

It preserves the SketchObject properties. Therefore it does not trigger any property update, redraws, ...
2022-06-28 18:58:15 +02:00
Abdullah Tahiri
ad6576d385 Sketcher: SolverGeometryExtension and sketch parameter information improvements
===============================================================================

* SolverGeometryExtension is extended to:
- Enable to determine whether the x or the y of a point is a dependent or independent parameter
- Extend SolverExtension to provide information on individual edge parameters
- Convenience access to DoF status

* Sketch (solver interface) is extended to store geometry parameter dependency state, for these reasons:

Geometry and Constraint solver information is generated when performing a full solve() [QR decomposition + minimization(e.g. DogLeg)].

Constraint information remains in the sketch object (not SketchObject, but sketch), which is then retrieved by SketchObject.

Geometry information is incorporated to the deep copy of Geometry that the sketch object comprises. However, this information is only
available outside the sketch object, if the Geometry property of SketchObject is assigned. This is always the situation after a successful
full solve. However, it is not the case in a successful temporary minimal diagnosis (here succesful relates to conflicting/redundant constraints and
convergence).

The lightweight solution is to keep a (shallow) copy of the SolverGeometryExtensions (shared pointer) to be retrieved by GeoId, which is what is provided.
2022-06-28 18:57:17 +02:00
Roy-043
732489de2d Draft: Fix default fillmode in DraftGui.py 2022-06-28 15:42:28 +02:00
tomate44
63733dcaa2 Part: add method to project point on curve 2022-06-28 12:58:49 +02:00
wmayer
2c3ef52dba Part: move BiArcs algorithm to its own class 2022-06-28 12:42:15 +02:00
wmayer
523d364c92 Part: fix GeomBSplineCurve::toBiArcs
If tangent of start and end point are parallel then also check a tangent in between to make sure that it can be considered a straight line
See https://forum.freecadweb.org/viewtopic.php?f=8&t=69710
2022-06-28 11:26:35 +02:00
mosfet80
c86f0ce670 Remove old msc ver. Freecad 0.20 require 64 bit and windows 7 or higher. For this reason, msc libraries less than 1800 will no longer be used. (#7036)
* remove msc<1800
2022-06-28 00:42:33 +02:00
sliptonic
32e6d9facc Merge pull request #7096 from sliptonic/bug/camotics
[Path] Fix import error if camotics not installed.
2022-06-27 08:53:26 -05:00
Yorik van Havre
29f5e2cc83 Update src/Mod/Draft/draftguitools/gui_selectplane.py
Co-authored-by: 0penBrain <48731257+0penBrain@users.noreply.github.com>
2022-06-27 11:51:51 +02:00