Commit Graph

26171 Commits

Author SHA1 Message Date
AgCaliva
f431a02534 solving new error related to cmake 2023-10-04 13:18:20 -03:00
AgCaliva
a4e90b2609 Merge branch 'master' into User/Document/Feature_level_units_selection_#7746 2023-09-25 22:58:23 -03:00
sliptonic
f23caf4d5c Merge pull request #10800 from Syres916/Sanity_FollowUp
[Path] Sanity Follow up improvements...
2023-09-25 14:19:50 -05:00
Ajinkya Dahale
8a44cfc970 [Part] Optimize snippet of code in ShapeMerge.py
Some notes:

Earlier, when adding to the list `connected_to`. the numbers are added in order
from `range(len(groups)`, so we are already in order and every `i_group` is unique.
2023-09-25 11:27:55 -05:00
howie-j
12f80320fc [Sketcher] Fix angle constraint expression regression (#10743)
* fix 10742

* moved expression string modifier to helper function

* Tests: Add example tests for SketchObject

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* made expr modifier func static, pass by value and added unit tests

---------

Co-authored-by: Chris Hennes <chennes@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-09-25 10:44:31 -05:00
sliptonic
23965d6cf5 Merge pull request #10789 from haraldhartmann/PathAddEstlcamPP-patch-2
Path: refactor Utils imports in estlcam_post.py
2023-09-25 10:36:18 -05:00
sliptonic
f6ed2c28c0 Merge pull request #10792 from jffmichi/fix_leadinoutdressup
Path: fix LeadInOutDressup throwing an exception due to floating poin…
2023-09-25 10:34:17 -05:00
wmayer
6b0c054023 Part: Add method Part.Compound.setFaces() 2023-09-25 15:31:30 +02:00
Syres916
6309aac3e5 [Path] Sanity fixed another bug found in testing 2023-09-25 14:18:38 +01:00
Yorik van Havre
270cc72293 Arch: fixed leftover in OfflineRenderingUtils 2023-09-25 15:00:26 +02:00
Yorik van Havre
ff6e0fee24 Removed the use of SoGui in Arch OfflineRenderingUtils module 2023-09-25 15:00:26 +02:00
wmayer
b357b74bea Fem: Apply clang-format 2023-09-25 14:50:43 +02:00
wmayer
3863cff6c0 Fem: Apply clang-format 2023-09-25 14:50:43 +02:00
wmayer
cde634629f Fem: Apply clang-format 2023-09-25 14:50:43 +02:00
wmayer
e66404523c Fem: Apply clang-format 2023-09-25 14:50:43 +02:00
wmayer
35d1380d84 Test: add unit tests for PropertyPythonObject 2023-09-25 14:48:54 +02:00
Syres916
5cf4626b4d [Path] Sanity fix based on user feedback and further testing...
...of stacked substitutions and static folder paths.
2023-09-25 13:25:05 +01:00
wmayer
b491afb604 Import: fixes #8666: Enable support to read glTF files 2023-09-25 13:02:59 +02:00
wmayer
943ae448d3 Import: move glTF writer to its own source files 2023-09-25 13:02:59 +02:00
FEA-eng
960c9f2d57 FEM naming fix part 2 2023-09-25 12:17:43 +02:00
Yorik van Havre
f74f4d34b2 Merge pull request #10778 from Roy-043/Start-use-Gui-FileChooser-Directory-where-applicable
Start: use Gui::FileChooser::Directory where applicable
2023-09-25 10:58:20 +02:00
Yorik van Havre
5e78241245 Merge pull request #10783 from Roy-043/Draft-ShapeString-add-ObliqueAngle-property
Draft: ShapeString: add ObliqueAngle property
2023-09-25 10:54:53 +02:00
Yorik van Havre
3479eb1987 Merge pull request #10766 from Roy-043/Draft-Introduction-of-the-PlaneBase-class
Draft: Introduction of the PlaneBase class
2023-09-25 10:09:48 +02:00
Syres916
e554af5aca [Path] Fix multiple substitutions 2023-09-25 08:27:20 +01:00
Roy-043
4058fe1566 Draft: ShapeString: add ObliqueAngle property (improvement) 2023-09-24 19:04:32 +02:00
Syres916
d59e192b9a [Path] Sanity Follow up improvements...
... and removal of remaining asciidoc generating code
2023-09-24 17:23:23 +01:00
wmayer
ef9936a940 App: fixes #10460: App::PropertyPythonObject is not saving data
Since Py3.11 the methods names __setstate__ and __getstate__ conflict with the method names added to the object class.
Thus rename them to 'loads' and 'dumps'
2023-09-24 10:56:35 -05:00
jffmichi
605edaefdc Path: fix LeadInOutDressup throwing an exception due to floating point inaccuracy when comparing z-positions 2023-09-24 03:13:28 +02:00
Harald Hartmann
9b8e01b9eb fix #10396 - refactor Utils imports 2023-09-23 22:05:36 +02:00
wmayer
1cdff85086 MSVC: fix warnings and build failure 2023-09-23 19:10:32 +02:00
wmayer
28ae0831cb Mesh: Apply clang-format 2023-09-23 14:03:11 +02:00
wmayer
23db389a76 Mesh: Apply clang-format 2023-09-23 14:03:11 +02:00
Roy-043
e7755bb290 Draft: ShapeString add ObliqueAngle property
Fixes #5656.
2023-09-23 11:39:27 +02:00
Chris Hennes
52f26eb493 Merge pull request #10767 from qewer33/assembly-jcs
Assembly: Improve JCS appearance and implement autoscale
2023-09-22 20:44:49 -05:00
Roy-043
2fe74bc71a OpenSCAD: use Gui::FileChooser::Directory where applicable 2023-09-22 15:06:15 -05:00
Roy-043
809a84e48d Draft: ShapeString: add font file filter (#10777)
Forum topic:
https://forum.freecad.org/viewtopic.php?t=81280
2023-09-22 21:23:56 +02:00
Roy-043
632a73e83b Draft: use Gui::FileChooser::Directory where applicable (#10780) 2023-09-22 21:23:23 +02:00
Roy-043
a62a2c2a79 Start: use Gui::FileChooser::Directory where applicable 2023-09-22 20:14:57 +02:00
qewer33
203a2f122f Assembly: Make JCS axis colors use parameters 2023-09-22 19:46:58 +03:00
qewer33
b3c35cc647 Assembly: Improve JCS appearance and implement autoscale
Closes #10745, closes #10746
2023-09-22 17:42:39 +03:00
Yorik van Havre
4a020daa89 Arch: Added missing ArchSketchObject to cmake file (#10774) 2023-09-22 16:42:34 +02:00
luzpaz
191879b4ea Part: remove leftover comment markup
Closes #10731
2023-09-22 15:56:22 +02:00
Roy-043
bb4f5c7eee Draft: Introduction of the PlaneBase class
This PR introduces the new PlaneBase class.

Most of its functions are rewritten versions of the functions in the original Plane class, with the exception of align_to_point_and_axis_svg.

Note that after this PR the original Plane class does not yet inherit from PlaneBase. This will be done in several following PRs. I will then also explain the reasons behind some of the revised functions in PlaneBase.

The introduction of the PlaneGui class will follow after that.

Issue: #5603.
2023-09-21 15:20:48 +02:00
Yorik van Havre
30e4fac88a Merge pull request #10741 from Roy-043/Arch-avoid-intersecting-solids-in-windows-and-doors-with-openings
Arch: avoid intersecting solids in windows and doors with openings
2023-09-21 13:51:11 +02:00
Yorik van Havre
7e9f2d2b3a Merge pull request #10735 from Roy-043/Draft-Add-distance_to_plane-and-project_point_on_plane-to-geometry.py
Draft: Add distance_to_plane and project_point_on_plane to geometry.py
2023-09-21 11:11:44 +02:00
wandererfan
80539ff4c4 [TD]initial implementation of cosmetic cicle command 2023-09-20 13:42:11 -04:00
Pieter Hijma
776649be06 TechDraw: Expose two functions for SVG export 2023-09-20 09:27:17 -04:00
André Caldas
0f27212d57 TechDraw: creates closure for concurrent thread context.
We use a lambda function with a copy of variables
that might be destructed in the original calling thread,
possibly producing dangling references.

See: https://forum.freecad.org/viewtopic.php?t=81260
2023-09-20 09:26:15 -04:00
Chris Hennes
3f3ab1ae15 Update translations 2023-09-19 22:25:14 -05:00
wmayer
b2d255e5fc Sketch: fix a few minor issues:
* fix compiler warning about unused variable
* fix const correctness
* fix access type of setExpression()
* removed duplicated method
2023-09-19 22:01:19 +02:00