liukaiwen
721b991b1c
Merge remote-tracking branch 'origin/master' into remove_redundant_definition
2023-10-02 01:42:37 +08:00
Chris Hennes
6c9be93378
Update translations
2023-09-29 22:57:37 -05:00
Yorik van Havre
7f8589bad2
Merge pull request #10856 from Roy-043/Draft-get_movable_children-prevent-endless-loop
...
Draft: get_movable_children: prevent endless loop
2023-09-29 11:27:34 +02:00
Roy-043
4cf613ec31
Draft: get_movable_children: prevent endless loop
...
Forum topic:
https://forum.freecad.org/viewtopic.php?t=81547
2023-09-28 15:19:25 +02:00
ppphp
ab8ae5ffdd
Merge branch 'master' into remove_redundant_definition
2023-09-28 01:38:38 +08:00
Roy-043
a9e224cdae
Draft: ImportDXF: CURRENTDXFLIB is not obsolete and should be kept
2023-09-27 15:41:40 +02:00
liukaiwen
329904a055
[cmake] some definitions do not matter build now
2023-09-27 18:17:14 +08:00
Roy-043
2f6b72bf01
Draft: ShapeString: improve ObliqueAngle ( #10811 )
...
Calculation of the justification required the use of `optimalBoundingBox` and should happen after applying the oblique angle.
2023-09-26 12:53:53 +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
Roy-043
4058fe1566
Draft: ShapeString: add ObliqueAngle property (improvement)
2023-09-24 19:04:32 +02: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
Roy-043
e7755bb290
Draft: ShapeString add ObliqueAngle property
...
Fixes #5656 .
2023-09-23 11:39:27 +02: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
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
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
Chris Hennes
3f3ab1ae15
Update translations
2023-09-19 22:25:14 -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
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
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
6f7f64e436
Draft: use master version of dxf libraries - issue yorikvanhavre/Draft-dxf-importer#26 ( #10670 )
2023-09-14 09:37:31 +02:00
Roy-043
c9762572ee
Draft: V0.21 version of getPlaneRotation caused a dimension bug ( #10673 )
...
`DraftVecUtils.getPlaneRotation` can now return None. The `view_dimension.py` code did not handle that.
2023-09-13 17:00:35 +02:00
CalligaroV
457b676972
[Feature Request] [Draft] [UI/UX] Remove the center arrow on radial dimensions ( #10655 )
...
Related to issue #7573
Forum discussion
https://forum.freecadweb.org/viewtopic.php?p=631252#p631252
These modifications don't add the new properties suggested on the issue mentioned above and suggested on the forum discussion but just remove the center arrow
Other info and discussion can be found at https://gitlab.com/calligarov/FreeCAD/-/merge_requests/1
2023-09-13 15:27:51 +02:00
Roy-043
25960b42f3
Draft: importSVG.py: check and fix path faces
...
Fixes #10659 .
2023-09-12 23:16:41 +02:00
Yorik van Havre
b371058864
Draft: Allow to set a custom feet separator for dimensions ( #10481 )
2023-09-11 14:05:26 +02:00
Chris Hennes
0bc6870618
Update translations ( #10613 )
...
* Update translations
* Start: Remove Start.ts
2023-09-10 13:06:26 -05:00
Yorik van Havre
3645d8be3b
Merge pull request #10556 from Roy-043/Draft-arcTracker-did-not-take-Working-Plane-rotation-into-account
...
Draft: arcTracker did not take Working Plane rotation into account
2023-09-08 11:36:25 +02:00
luzpaz
6810c5703d
Fix various typos
2023-09-07 20:34:49 +02:00
kaktus Jacek
65f3355a78
Removing unnecessary strings from Crowdin + improving typos
...
patches for #10459 and #10426...
a few small details escaped attention need to be fixed
😉
Removing unnecessary strings from Crowdin and improving typos.
2023-09-05 15:38:58 -05:00
Roy-043
1c39dabdb6
Draft: arcTracker did not take Working Plane rotation into account
...
Steps to verify the issue:
1. Open FreeCAD.
2. Switch to Std_ViewTop.
3. Click one of the curved arrows of the Navigation Cube.
4. Switch to the Draft WB.
5. Make sure Draft_SelectPlane is set to "Auto".
6. Start Draft_Arc and click 2 points (for the radius and the start angle).
7. Result: The displayed arc does not match the start angle or the current point.
Additonally:
* Removed the normal argument from `__init__`. The tracker does not work properly with just a normal. AFAICT there is no code that specifies this normal.
* Minor improvement to `getAngle`: Switched the vectors.
2023-09-05 15:39:17 +02:00
Yorik van Havre
50513232ac
Merge pull request #10505 from Roy-043/Draft-Fix-angle-range-issue-of-make_circle
...
Draft: Fix angle range issue of make_circle
2023-09-04 11:29:13 +02:00
Yorik van Havre
5c806d707c
Merge pull request #10464 from Ondsel-Development/bug/remove_gui_dependency
...
Bug fix: Allow Draft WB to import in FreeCAD headless docker container
2023-09-04 11:22:53 +02:00
Yorik van Havre
2556801938
Draft: Workaround failing multifuse in shape2Dview ( #10478 )
2023-09-04 10:45:56 +02:00
Roy-043
a8e4b3a18f
Ammended files based on review
2023-09-03 12:43:34 +02:00
Amritpal Singh
fc973de1d9
Bug fix: Allow Draft WB to import in FreeCAD headless docker container
2023-09-03 12:24:22 +05:30
Roy-043
341649e1d1
Draft: Correct mistake in PR10160 ( #10506 )
...
`self.gui_tools_repository` is an instance of a class that manages a dictionary, it is not a dictionary itself.
2023-09-02 23:37:16 +02:00
Roy-043
5cc0cc22db
Typo...
2023-09-02 23:04:41 +02:00
Roy-043
0d2b3f566a
Draft: Fix angle range issue of make_circle
2023-09-02 20:48:40 +02:00
Yorik van Havre
62b7de348d
Merge pull request #10425 from Roy-043/Draft-FixDraft_Mirror-preview
...
Draft: Fix Draft_Mirror preview
2023-09-01 12:48:16 +02:00
Roy-043
426e98a7a9
Draft: importDWG.py wrongly assumed that opt directory always exists on Linux ( #10447 )
...
Forum topic:
https://forum.freecad.org/viewtopic.php?p=703063#p703061
2023-08-30 18:10:13 +02:00
kaktus Jacek
ddc6c2a1a0
Cleaning code from unnecessary strings generated to Crowdin 4 ( #10426 )
...
Cleaning Crowdin of "garbage". Second approach.
https://github.com/FreeCAD/FreeCAD-translations/issues/270
2023-08-29 12:57:26 -05:00
Roy-043
08c8f1d0da
Draft: Remove unused import WorkingPlane
2023-08-29 18:59:40 +02:00
Roy-043
9fde9f53fa
Draft: Fix Draft_Mirror preview
2023-08-29 16:25:42 +02:00
Chris Hennes
40f130643a
Update translations
2023-08-29 07:38:09 -05:00
Roy-043
c2a843a5dd
Draft: Reduce occurrences of App.DraftWorkingPlane 2 ( #10390 )
2023-08-28 10:17:58 +02:00
Roy-043
af87661093
Draft: Reduce occurrences of App.DraftWorkingPlane ( #10388 )
2023-08-28 10:16:36 +02:00
Roy-043
32c47e64a3
Draft: Make gui_tool_utils.get_support nesting aware ( #10373 )
...
The get_support function did not work for objects nested in, for example, Std_Parts.
Additionally improved and cleaned up the code, and reduced the docstrings.
2023-08-27 12:41:25 +02:00
Roy-043
15e5f60d00
Draft: remove superfluous code from gui_points.py ( #10379 )
2023-08-27 12:41:01 +02:00