Commit Graph

129 Commits

Author SHA1 Message Date
Roy-043
ca06e87a38 Draft: Updates related to the PlaneGui class (step 2)
Related issue:
#5603.

Additionally:
Fixed the issue where the texts of Arch_Space objects were not exported to DXF.
2023-10-23 16:25:12 +02:00
wmayer
83d4080fe8 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
3e789dfc85 Draft: Fix for PR10673 (#10699)
Fixes an issue that was missed in #10673.
2023-09-16 17:10:02 +02:00
Roy-043
23c386dfee 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
163c30700f [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
Yorik van Havre
36353ffb7c Draft: Allow to set a custom feet separator for dimensions (#10481) 2023-09-11 14:05:26 +02:00
Roy-043
beb996e6a1 Draft: Avoid dictionary.keys() where possible (#10160) 2023-08-13 11:46:25 +02:00
Roy-043
bd3f71b478 Draft: Std_TransformManip should not be called from setEdit (#9375)
The object then seems to be put into edit mode twice (?) and Esc will not cancel the command.
2023-05-07 09:57:10 +02:00
luzpaz
129d5882a7 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
Jolbas
649857b58f return pure rotation from getPlaneRotation() 2023-02-28 01:07:56 +01:00
Roy-043
7f2f5e9414 [Draft] fix diffuse color issue when creating arrays (#8436) 2023-02-11 18:57:28 +01:00
Roy-043
c437b79ada [Draft] update of Draft_Clone related to gui_utils.get_diffuse_color (#8430) 2023-02-11 16:21:18 +01:00
Roy-043
e7d757de3d [Draft] fix ang dim arrows alignment issue related to asin (#8368) 2023-02-06 14:01:08 +01:00
Roy-043
4c4972339f Draft: V0.18 VisGroups were not handled (#8234) 2023-01-23 11:27:52 +01:00
Roy-043
6cf6299254 Draft: improve color handling in gui_setstyle.py (#8219)
Alhpa values of colors were not correct.
2023-01-22 11:18:17 +01:00
Roy-043
e6eb208639 Draft: Fix and improve Draft_AnnotationStyleEditor (#8207)
* Draft: Fix and improve Draft_AnnotationStyleEditor

* Draft: Fix and improve Draft_AnnotationStyleEditor 2
2023-01-21 10:28:47 +01:00
Yorik van Havre
ca4d093f4c Merge pull request #8122 from Roy-043/Arch-improve-context-menus
Arch: improve context menus
2023-01-13 11:48:57 +01:00
Roy-043
42a74daa19 Arch: improve context menus (rebase) 2023-01-12 22:54:09 +01:00
Roy-043
34f43a245c Draft: Fix inconsistent properties of Draft annotations 2022-12-23 16:49:56 +01:00
Roy-043
0fdb4949c3 Draft: improve context menus 2022-12-07 11:21:06 +01:00
Roy-043
cc8d6afee7 Draft: fix clone DiffuseColor 2022-11-27 11:11:24 +01:00
Roy-043
093368a6ad Draft+Arch: Fix crash related to SoBrepEdgeSet 2022-09-28 17:32:12 +02:00
Yorik van Havre
028517323c Merge pull request #7462 from Roy-043/Draft-Improve-drag-and-drop-behavior-for-Layers
Draft: Improve drag-and-drop behavior for Layers
2022-09-09 11:25:25 +02:00
Roy-043
333fc6448c Draft: Improve drag-and-drop behavior for Layers 2022-09-08 11:38:45 +02:00
Roy-043
a71a06291b Update view_dimension.py
The FlipArrows property for angular dimensions is handled differently.
2022-09-07 19:20:49 +02:00
Roy-043
c5a79d3909 Draft: Fix alignment of angular dimension arrows 2022-09-06 15:37:15 +02:00
Roy-043
39c2ff4e45 Draft: Fix flatten wire 2022-09-04 09:45:39 +02:00
Yorik van Havre
4555878c10 Merge pull request #7173 from Roy-043/Draft_Fix_setEdit_in_view_text.py
Draft: Fix setEdit in view_text.py
2022-07-18 10:44:31 +02:00
Roy-043
d0c5345998 Update view_hatch.py
There is no need for `Gui.Control.closeDialog()` in `setEdit`
`Set colors` removed from the context menu.
2022-07-14 09:20:25 +02:00
Roy-043
081cf4c783 Update view_facebinder.py
There is no need for `Gui.Control.closeDialog()` in `setEdit`
2022-07-14 09:17:08 +02:00
Roy-043
16ec7d02c0 Update view_text.py
Oops: import DraftGui instead of import Draft
2022-07-12 21:58:34 +02:00
Roy-043
202f4fdc7f Draft: Fix EditMode for hatch, facebinder and shapestring 2022-07-12 13:30:01 +02:00
Roy-043
2f9c0713b2 Draft: Fix setEdit in view_text.py
The setEdit function should import the Draft module to make sure draftToolBar is available.
2022-07-12 13:14:37 +02:00
marioalexis84
44a989f3b9 Draft: Make ShapeString editable by double-click - fixes #5885
* Draft: Make ShapeString editable - fixes #5885
2022-04-08 17:47:41 +02:00
Yorik van Havre
002ba58bad Arch: Fixed IFC import/export of dimensions 2022-04-06 11:35:18 +02:00
marioalexis
659e84e57f Draft: Remove Python 2 type support 2022-03-28 18:02:23 -03:00
Matthijs Kooijman
f49b38a595 Draft: Fix incorrect use of in operator
Looking at the surrounding code, this should be `==` rather than `in`.
The code does work as intended, because a string is always a substring
of itself, but better to fix it anyway.

Seems this was broken since this code was first introduced in commit
94b0fe1599 (Draft: clean up ViewProviderLabel class)
2022-03-20 14:45:52 +01:00
Roy
d5615fc6a6 Draft: Fix several translation issues 2022-01-28 14:01:42 -06:00
Roy-043
f24a5d1fc7 Draft: fix Draft_Label viewprovider 2021-12-17 11:35:44 +01:00
Roy-043
5e0f8bf604 Draft: fix layer handling of PointColor and PointSize
Draft_Layer did not handle PointColor and PointSize.
2021-11-28 11:52:07 +01:00
Roy-043
8b7718f823 Draft: Fix merge layers
The "Merge layer duplicates" Tree view context menu option for LayerContainers did not work.

Additionally:
- Using `openTransaction` and `commitTransaction` is required for the `merge_by_name` function but also for the `add_layer` function. Otherwise undo-redo does not work properly.
- Have replaced `translate("Draft", ...)` with `_tr(...)`.
2021-10-27 08:32:10 +02:00
Yorik van Havre
f3ccc6d660 Merge pull request #5023 from marioalexis84/gui-encoding
Gui:  Harmonize encoding/decoding between view, property editor and command line.
2021-10-14 12:24:49 +02:00
Roy-043
b6ec36fc3f Draft_Hatch_ViewProvider -> ViewProviderDraftHatch 2021-10-07 15:08:53 +02:00
Chris Hennes
e94d7c32b5 Merge pull request #5060 from Roy-043/Draft-fix-2-svg-pattern-issues
Draft: fix 2 SVG pattern issues
2021-09-24 10:34:31 -05:00
Roy-043
744ed7be52 Draft-fix-2-svg-pattern-issues
List of patterns is now sorted A-Z.
2021-09-24 10:54:51 +02:00
marioalexis
00e95ba55d Draft: Fix Unicode and UTF-8 encoding character behavior 2021-09-23 21:21:24 -03:00
Roy-043
6babbda88d Update view_base.py 2021-09-23 20:24:35 +02:00
Roy-043
0c92514464 Draft: fix 2 edit mode issues 2021-09-23 20:16:53 +02:00
Yorik van Havre
129ad3b0bd Merge pull request #5055 from Roy-043/Draft_fix_wpproxy_view_prop_group
Draft: fix wpproxy view properties group
2021-09-23 16:41:14 +02:00
Roy-043
edd4da121e Draft: fix wrong type for layer transparency
Also fixed a typo.
2021-09-23 16:25:40 +02:00