Wanderer Fan
866da5980c
[TD]fix Dimension export to DXF
2022-06-30 08:50:07 -04:00
Wanderer Fan
460d153d6c
[TD]Include CosmeticLines in Dxf
2022-06-30 08:50:07 -04:00
Abdullah Tahiri
2326186428
Sketcher: Bug fix SolverGeometryExtension
...
=========================================
Index access at zero size vector cause due to incorrect check.
2022-06-30 13:58:21 +02:00
wmayer
b50e0485d9
Test: ignore UnicodeEncodeError in TestMetadata.test_file_path
2022-06-30 13:32:29 +02:00
wmayer
317c6afd45
Mesh: fix (Qt) issues found by clang's clazy tool
2022-06-30 13:14:03 +02:00
wmayer
a427c1e99e
Base: [skip ci] fix slight regression caused with d162d9371
2022-06-30 13:13:00 +02:00
Yorik van Havre
e916f8afbb
Arch: Fixed test to work without the Drawing module
2022-06-30 11:38:22 +02:00
sliptonic
59b945dcc3
Merge pull request #7111 from sliptonic/bug/camoticsimport
...
[PATH] Another camotics import bug.
2022-06-29 16:37:48 -05:00
wmayer
d5921e08ec
fix (Qt) issues found by clang's clazy tool:
...
+ -Wclazy-incorrect-emit
+ -Wclazy-strict-iterators
+ -Wclazy-overloaded-signal
+ -Wclazy-qstring-arg
+ -Wclazy-unused-non-trivial-variable
+ -Wclazy-container-anti-pattern
+ -Wclazy-range-loop-reference
+ -Wclazy-const-signal-or-slot
+ -Wclazy-detaching-temporary
+ -Wclazy-qfileinfo-exists
2022-06-29 21:00:54 +02:00
wmayer
898b1007b9
Test: use codecs.open in TestMetadata.test_file_path
2022-06-29 15:51:42 +02:00
wmayer
7b377a216b
Gui: remove workaround for spnav 0.23 due to build failure with musl libc
2022-06-29 15:19:18 +02:00
wmayer
82bbe47d68
Test: set encoding to utf-8 in TestMetadata.test_file_path
2022-06-29 12:28:02 +02:00
wmayer
22829f8a24
App: issue #7112 : Addon manager does not work on windows with special characters in the username
2022-06-29 11:25:06 +02:00
wmayer
448b1ec9f3
Test: [skip ci] test file path with utf-8 <-> utf-16 conversion
2022-06-29 11:23:15 +02:00
wmayer
9a70b165cc
App: fixes #7102 : Undo/Redo of PropertyEnumeration fails with MSVC
2022-06-29 09:59:18 +02:00
sliptonic
e428337ffc
Another import bug. This time if --version doesn't return a patch number.
2022-06-28 15:57:01 -05:00
wmayer
e07cfa09bb
Test: extend test for enumeration
2022-06-28 21:24:19 +02:00
Abdullah Tahiri
9763ed29e2
Split DSHs from CommandCreateGeo
2022-06-28 19:29:47 +02:00
Abdullah Tahiri
19230c83ef
Remove obsolete DSH Tools - CloseShape and ConnectLines
2022-06-28 19:29:35 +02:00
Abdullah Tahiri
3678a525a2
DrawSketchHandler: Cursor rework and preselect at point functionalities
2022-06-28 19:29:19 +02:00
Abdullah Tahiri
2cf0c49955
DrawSketchHandler: mechanism to update the cursor
2022-06-28 19:29:07 +02:00
Abdullah Tahiri
f16c3f36a9
DrawSketchHandler: Functions to draw cursor position and direction
2022-06-28 19:28:56 +02:00
Abdullah Tahiri
b80cd6a417
DrawSketchHandler: refactor crosshairCursor
...
======================================================
-DrawSketchHandler manages both cursor bitmap setting and unsetting
2022-06-28 19:28:18 +02:00
Abdullah Tahiri
c6459bb7d3
Utils refactor w/o commandcreategeo
2022-06-28 19:28:06 +02:00
Abdullah Tahiri
9da0f369b1
Utils: Conversion from 2d vector into XY plane 3d vector
2022-06-28 19:27:46 +02:00
Abdullah Tahiri
3cd34e1c38
Sketcher-Utils: vector of smart pointers to vector of pointers
2022-06-28 19:27:37 +02:00
Abdullah Tahiri
bae8050fac
Sketcher-Utils: Refactor common code up
2022-06-28 19:27:20 +02:00
Paddle
f99abec58e
Sketcher: Create Geometry ConstraintToAttachment function
2022-06-28 19:27:04 +02:00
Abdullah Tahiri
80cd03cded
Sketcher: Cleanup obsolete DrawSketchHandlers
2022-06-28 19:22:58 +02:00
Abdullah Tahiri
df50dca01b
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
c6aa3c91e6
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
473c2efc38
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
f2c1f35aaf
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
Yorik van Havre
d847d309b0
Merge pull request #7109 from Roy-043/Draft-Fix-default-fillmode-in-DraftGui.py
...
Draft: Fix default fillmode in DraftGui.py
2022-06-28 15:50:21 +02:00
Roy-043
bc37be0c54
Draft: Fix default fillmode in DraftGui.py
2022-06-28 15:42:28 +02:00
wmayer
779128b5f4
Gui: get rid of some const_cast
2022-06-28 15:26:02 +02:00
tomate44
3af5cfaed6
Part: add method to project point on curve
2022-06-28 12:58:49 +02:00
wmayer
9a3258c9da
Part: move BiArcs algorithm to its own class
2022-06-28 12:42:15 +02:00
wmayer
9de8b33bb4
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
Uwe
0c797ae6a8
[Base] remove unused MSC code
...
this part was initially part of #7036 but then accidentally reverted
2022-06-28 00:58:12 +02:00
mosfet80
d162d9371c
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
d13db0ea4c
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
657f04908f
Merge pull request #7105 from Roy-043/Draft-Fix-align-working-plane-to-DatumPlane-bug
...
Draft: Fix align working plane to DatumPlane bug
2022-06-27 11:52:31 +02:00
Yorik van Havre
27bfa083b2
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
Roy-043
d69888b74d
Draft: Fix align working plane to DatumPlane bug
2022-06-27 10:26:59 +02:00
Uwe
e8f3227191
[FEM] fix point filter initialization issue
...
- on opening the task dialog of existing point filter, the point value must be displayed
2022-06-27 01:07:36 +02:00
Uwe
3a86b17194
[TD] fix linker error with MSVC
...
patch by @wwmayer: https://forum.freecadweb.org/viewtopic.php?p=605472#p605472
many thanks!
2022-06-26 22:38:49 +02:00
sliptonic
a84220cd21
Also check that the module imports correctly
2022-06-26 14:09:28 -05:00
wmayer
8acfd5bce7
TD: minor fixes:
...
* remove superfluous semi-colons
* if a method is declared override then the keyword virtual should be dropped
2022-06-26 15:51:43 +02:00
wmayer
175ecbc50f
Draft: handle the absence of the Drawing module in the unit tests
2022-06-26 12:07:48 +02:00