Commit Graph

35887 Commits

Author SHA1 Message Date
Chris Hennes
516a7dd2af Merge pull request #12104 from Rexbas/navigation-fixes
Gui: Mouse navigation fixes
2024-02-12 10:56:35 -06:00
Florian Foinant-Willig
056b90cce3 Set Suppressed false if no shape 2024-02-12 17:55:51 +01:00
Florian Foinant-Willig
f4763109c3 [PD] Add a Suppressed property to disable a feature 2024-02-12 17:55:51 +01:00
Adrian Insaurralde Avalos
ffb3fabd21 Fix warning in DlgMacroExecute.ui 2024-02-12 10:48:08 -06:00
mosfet80
7b5222ac7c CI: update setup-miniconda to version 3 and checkout to v4 (#12032)
Fix condaBasePath when useBundled is false, and there's no pre-existing conda

..other fix and improvements
Update sub_buildMacOSCondaIntel.yml

Revert
updated action checkout to version 4

updated setup-miniconda to version 3
2024-02-12 13:42:21 -03:00
PaddleStroke
e078ec936f Update TopoShapeMapper.cpp 2024-02-12 08:53:02 -06:00
PaddleStroke
4ddd377208 Update TopoShapeExpansion.cpp
...
2024-02-12 08:53:02 -06:00
PaddleStroke
13f68fbb13 Update TopoShapeExpansion.cpp
Fix I have not seen it's in the precompiled if but not in the precompile.h
2024-02-12 08:53:02 -06:00
PaddleStroke
cfddbc2b4c Fix compilation failures in TopoShapeExpansion and TopoShapeMapper. 2024-02-12 08:53:02 -06:00
Roy-043
594e620d36 Help: Update prefs ui file
Specify `Gui::FileChooser::Directory` mode for `Gui::PrefFileChooser` and update path in tooltips.
2024-02-12 12:01:48 +01:00
pre-commit-ci[bot]
5867aedd3b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-12 12:01:48 +01:00
Roy-043
d8e9c46e09 Help: Fix path for off-line documentation
See: https://github.com/FreeCAD/FreeCAD-Help/pull/23
2024-02-12 12:01:48 +01:00
Roy-043
11bbc84b5c Arch: importIFC fix clone placement
Forum topic:
https://forum.freecad.org/viewtopic.php?p=738864#p739039
2024-02-12 11:52:21 +01:00
Roy-043
d7b934ce02 Arch: Arch_Window fix clone recompute issue
See https://github.com/FreeCAD/FreeCAD/pull/11868#issuecomment-1937633689
2024-02-12 11:23:54 +01:00
pavltom
ff14c58ccc [TechDraw] Add Owner property to Symbols 2024-02-11 16:03:44 -05:00
Chris Hennes
37aba37baf Addon Manager: Use the installed macro icon 2024-02-10 18:38:20 -05:00
Chris Hennes
a636994a21 Merge pull request #12086 from bgbsww/bgbsww-toponamingMakeElementBoolean
Toponaming: makeElementBoolean
2024-02-10 12:14:20 -05:00
Roy-043
4d47aebad5 Merge pull request #12325 from Roy-043/Draft-ShapeString-improve-stick-font-detection-and-fix-fuse-error
Draft: ShapeString improve stick font detection and fix fuse error
2024-02-10 18:08:02 +01:00
Roy-043
c06ceba0da Draft: ShapeString improve stick font detection and fix fuse error
Forum topic:
https://forum.freecad.org/viewtopic.php?t=85147
2024-02-10 16:10:55 +01:00
Roy-043
dc8a817459 Merge pull request #12292 from Roy-043/Draft-importDXF.py-make_bezcurve-args-should-be-lowercase
Draft: importDXF.py: make_bezcurve args should be lowercase
2024-02-10 15:41:14 +01:00
Roy-043
ed88b0396b Merge pull request #12280 from Roy-043/Draft-Draft_Edit-restore-Relative-checkbox
Draft: Draft_Edit: restore Relative checkbox
2024-02-10 15:40:44 +01:00
bgbsww
a6095da2af Toponaming/Part: Add tests, dependencies, and cleanup 2024-02-09 16:42:20 -05:00
Chris Hennes
84f63b2b6b Addon Manager: Correct usage of QByteArray 2024-02-09 13:56:11 -06:00
Chris Hennes
4e19000836 Addon Manager: Correct connection check
The connection check code incorrectly handled the case of multiple incoming connections, interpreting them all as connection check signals.
2024-02-09 10:04:46 -06:00
Zheng, Lei
b2dac5a97d Toponaming/Part: Transfer makeElementBoolean in 2024-02-09 08:23:30 -05:00
JULIEN MASNADA
70d69cf90c Fixed access to Addon::Metadat::Url attributes (#12310) 2024-02-09 08:05:40 -05:00
Chris Hennes
6777b4843a Merge pull request #12189 from CalligaroV/toponamingTopoShapeWire
Toponaming makeElementWire
2024-02-08 20:59:26 -06:00
Chris Hennes
67fb5fb0e0 Addon Manager: Fix signals in connection check 2024-02-08 18:59:38 -06:00
marioalexis
86794b0378 Fem: Add support for cyclic symmetry - fixes #12155 2024-02-08 16:08:59 -06:00
Chris Hennes
daf0a04a18 Merge pull request #11853 from AjinkyaDahale/sketcher-general-tangency-splines
[Sketcher] General Tangency with B-splines (re-do)
2024-02-08 13:46:44 -06:00
Chris Hennes
54bf37c54c Merge pull request #12295 from bgbsww/bgbsww-toponamingFeaturePartBoolean
Toponaming: transfer in FeaturePartBoolean
2024-02-08 13:29:38 -06:00
Ajinkya Dahale
4de52e5269 [Sketcher] Handle spline selection in Dimension tool 2024-02-08 23:46:17 +05:30
Ajinkya Dahale
ed07bda10e [planegcs] Simplify GCS::BSpline::CalculateNormal() 2024-02-08 23:46:17 +05:30
Ajinkya Dahale
6053798a85 [planegcs][test] Add Spline and Arc tangent test 2024-02-08 23:46:15 +05:30
bgbsww
7b330a523e Clean code and testing tweak 2024-02-08 11:09:36 -05:00
Ajinkya Dahale
3ce1221c8f [planegcs] Add SketcherExport macro to classes in Geo.h
...for use in tests.
2024-02-08 20:15:17 +05:30
Ajinkya Dahale
8dabe024d8 [planegcs] Implement BSpline::Value()
Needed for gtests currently.
2024-02-08 20:04:28 +05:30
Ajinkya Dahale
473d11fcc6 [planegcs] Remove some numerical testing
If needed this can be moved to a gtest,
2024-02-08 20:04:28 +05:30
Ajinkya Dahale
cf3e0c1b4a [Sketcher] Expose general tangency with B-splines to Sketcher
The following commits were squashed into this

[Sketcher] Handle some corner cases in AngleViaPoint

[Sketcher] Avoid redundant constraints with B-splines...

When involving tangent, perpendicular and angle constraints.

[Sketcher] Add pre-commit changes

[Sketcher] Do not allow 2-selection tangent with B-spline

Also...

[Sketcher] Report error when using direct tangency with B-splines

[Sketcher] Fix malformed constraint when B-spline is selected second

To clarify, this means the second curve selected. The position of the point in
selection order does not matter in angle-via-point.

[Sketcher] Fix wrong number for B-Spline tangent on redundancy

[Sketcher] Remove existing point-on-object in some redundant cases

Particularly when point constrained on a B-spline is being used for
tangent, perpendicular or angle via point with the same B-spline.

[Sketcher] Fix direction issue with B-spline tangents.

Without these changes the solver might try to "twist" the B-spline to make the
angle between curves be 0 instead of PI (which may be closer to the initial shape).
2024-02-08 20:04:28 +05:30
Ajinkya Dahale
0dd55072dc [planegcs] Implement calculateAngleViaParams
For use in angle-via-point with complex curves.
2024-02-08 20:04:27 +05:30
Ajinkya Dahale
c3e6f58b90 [Sketcher][planegcs] Implement parametric BSpline::CalculateNormal
As opposed to "punctual" that already exists for curves.
2024-02-08 20:04:27 +05:30
Ajinkya Dahale
d8a050303a [Sketcher][planegcs] Support angle via point with params
These are intended to use when calculating normal simply with points could be
numerically expensive or otherwise nonviable.
2024-02-08 20:04:27 +05:30
marioalexis
88df52c955 Fem: Use override 2024-02-08 08:29:19 -06:00
CalligaroV
b186d16ca7 Part/Toponaming: makeElementWires
* Renamed enum classes members to lowercaseCapword
 * Moved struct ShapeHasher back to TopoShapeMapper.h
 * Added test for MapperMaker::generated
 * Modifications for clang-tidy warnings
 * Formatting

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-02-08 13:56:30 +01:00
Roy-043
914759e905 Draft: importDXF.py: make_bezcurve args should be lowercase
See:
https://github.com/FreeCAD/FreeCAD/issues/10985#issuecomment-1932797213
2024-02-08 10:25:59 +01:00
CalligaroV
44abeca013 Merge branch 'main' of https://github.com/FreeCAD/FreeCAD.git into toponamingTopoShapeWire
# Conflicts:
#	src/Mod/Part/App/TopoShape.h
#	src/Mod/Part/App/TopoShapeExpansion.cpp
2024-02-07 23:51:49 +01:00
CalligaroV
13cd0f1931 Part/Toponaming: makeElementWires
* Added test for MapperMaker::generated
 * Renamed spit into splitMkr in the test for MapperMaker::modified
 * Disabled test for TopoShape::makeElementWires

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-02-07 22:23:03 +01:00
Chris Hennes
dce4d20a8f Merge pull request #12237 from bgbsww/bgbsww-toponamingMakeRefine
Toponaming: Transfer in makeElementRefine
2024-02-07 15:19:27 -06:00
CalligaroV
55455ec804 Part/Toponaming: makeElementWires
* Added test for MapperMaker::modified

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-02-07 15:10:58 +01:00
Roy-043
51f7ee09a2 Draft: Draft_Edit: restore Relative checkbox
The relative checkbox was hidden by mistake.
2024-02-07 10:26:16 +01:00