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
Roy-043
5fa44ae88b
Arch: avoid intersecting solids in windows and doors with openings
...
With the current code, if you place a simple door and change its Opening property to 50, the door leaf and the frame intersect. This PR fixes that issue.
2023-09-19 21:31:09 +02:00
Chris Hennes
fb46c8c6f8
Merge pull request #10656 from Ondsel-Development/dim_arc_angle
...
Sketcher_Dimension: Adds arc angle mode.
2023-09-19 12:42:56 -05:00
Chris Hennes
73693035a3
Merge pull request #10657 from Ondsel-Development/dim_angle_supplementary
...
Sketcher_Dimension: Enable the user to select what angle he wants.
2023-09-19 12:35:51 -05:00
Chris Hennes
bc81230157
Merge pull request #10611 from Ondsel-Development/Assembly_joint_basis
...
Assembly joints
2023-09-19 12:32:43 -05:00
Roy-043
8032698676
Draft: Add distance_to_plane and project_point_on_plane to geometry.py
...
The functions have been copied from the WorkingPlane class. It makes sense to also have them available outside that class. The WorkingPlane class will later be updated to use these functions so that duplicate code is avoided.
Note that the default tolerance of the project_point_on_plane function is 1e-7. In the original projectPoint function it is sys.float_info.epsilon (too small for FreeCAD IMO).
2023-09-19 16:02:59 +02:00
Pieter Hijma
6c49f90ad3
Part: Fix a missing argument for HLR projector
2023-09-19 09:02:13 -04:00
Paddle
d81c4bac63
Assembly : Initial implementation of 'create joint' command.
2023-09-19 10:51:04 +02:00
Paddle
3fcc839868
Move functions to UtilFunctions.py.
2023-09-19 08:31:33 +02:00
Paddle
bf1833c245
Split Commands.py so that each command has a file.
2023-09-19 08:31:33 +02:00
Paddle
f080b39829
Sketcher_Dimension : adds arc-angle mode for arcs.
2023-09-19 08:25:45 +02:00
Paddle
9c3c763d10
Sketcher: Angle constraint: when moving it with mouse, it enables user to switch of supplementary angle.
2023-09-19 07:22:50 +02:00
Paddle
3c275de11d
Implement a function in sketchObject that swap an angle constraint to its supplementary.
2023-09-19 07:22:50 +02:00
Paddle
2c2a977e04
Add setter/getter for constraint expression.
2023-09-19 07:22:50 +02:00
AgCaliva
40c05f6714
continue fix DOMDocument redefinition
2023-09-18 18:58:05 -03:00
Paddle
b97a2ef6dc
Adds a small convenience function to get arc of circle angle.
2023-09-18 21:33:24 +02:00
AgCaliva
cfdbd2322a
Merge branch 'master' into User/Document/Feature_level_units_selection_#7746
2023-09-18 14:01:25 -03:00
AgCaliva
ae9bb6ed43
using clang-format tags to avoid get headers reordered(fix DOMDocument redefinition error)
2023-09-18 13:40:13 -03:00
Jonas Bähr
41cae1a561
Sketcher: update SketchObject's pydocs, first batch
...
Style like in e.g. `Part.makeLine(...)`, which seems to loosely follow
Google's recommendations [1]. Note that the signature *is* repeated in
the docstrings, as it's not "inspectable" (see notes for non-python
implementations in `inspect.signature` [2]).
[1]: https://github.com/google/styleguide/blob/gh-pages/pyguide.md#38-comments-and-docstrings
[2]: https://docs.python.org/3/library/inspect.html#inspect.signature
2023-09-18 10:57:12 -05:00
howie-j
49bca90219
fixes #10651
2023-09-18 10:56:13 -05:00
Florian Foinant-Willig
e8becf3f15
Sketcher: refactor CommandConstraint.cpp ( #10692 )
...
* Sketcher: refactor CommandConstraint.cpp with TypeId helpers
* Sketcher: cosmetic empty lines
* fix pointer misusage
2023-09-18 10:37:03 -05:00
Yorik van Havre
0d39450d29
Merge pull request #10711 from Roy-043/Arch-Fix-Arch_Fence-section-placement
...
Arch: Fix Arch_Fence section placement
2023-09-18 09:22:30 +02:00
Yorik van Havre
327541fd2c
Merge pull request #10712 from Roy-043/Draft-shape2dview-avoid-issues-with-intersecting-solids
...
Draft: shape2dview: avoid issues with intersecting solids
2023-09-18 09:21:55 +02:00
wmayer
7eff934913
Base: fix incorrect method names of Matrix class about diagonal and trace
2023-09-18 01:21:07 +02:00
qewer33
6fd6d95d59
Assembly: Fix joint icons
2023-09-17 16:36:31 -05:00
wmayer
a78ba4b91c
Part: fix crash in Geometry::Restore()
...
If a project contains an unknown geometry extension then the attempt to create it returns a null pointer which isn't checked and causes a segmentation fault.
See also forum: https://forum.freecad.org/viewtopic.php?t=81091
2023-09-17 19:29:28 +02:00
Roy-043
3b7698d77f
Draft: shape2dview: avoid issues with intersecting solids
...
Add `Shape.SubShapes` instead of a copy of the shape. This avoids cut problems if there are intersecting solids.
Forum topic:
https://forum.freecad.org/viewtopic.php?t=81240
2023-09-17 18:59:20 +02:00
Roy-043
8166fb8aea
Arch: Fix Arch_Fence section placement
...
The code relied on the old implementation of Draft patharray where the calculated placements were not returned in sequence.
Forum topic:
https://forum.freecad.org/viewtopic.php?t=81246
2023-09-17 18:21:13 +02:00
Roy-043
563ed76b44
Draft: Fix for PR10673 ( #10699 )
...
Fixes an issue that was missed in #10673 .
2023-09-16 17:10:02 +02:00
Roy-043
887e8f63fc
Draft: gui_edit called displayPoint without mask ( #10693 )
...
Forum topic:
https://forum.freecad.org/viewtopic.php?t=81186
2023-09-16 17:08:50 +02:00
Yorik van Havre
b9d9ea6b94
Arch: Fixed IFC export of compsolids ( #10476 )
2023-09-16 17:02:00 +02:00
pre-commit-ci[bot]
4aea146887
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-09-16 07:28:03 +00:00
AgCaliva
f206e91e1c
fixing DOMDocument redefinition3
2023-09-16 07:27:11 -03:00
pre-commit-ci[bot]
19887876d2
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-09-16 05:14:03 +00:00
AgCaliva
64f60721a9
merge master via cli
2023-09-16 02:12:58 -03:00
AgCaliva
b360b43ebe
Fixing DOMDocument redefinition
2023-09-16 00:38:41 -03:00