Yorik van Havre
2ee8e4fdbb
Merge pull request #4801 from Roy-043/draft_make_label_text_input
...
Draft: Fixed make_label to accept list of strings for custom_text
2021-05-28 13:46:10 +02:00
Yorik van Havre
4b7a5d2e98
Updated translation files
2021-05-27 14:44:40 +02:00
Roy-043
5121104a46
Merge branch 'master' into draft_make_label_text_input
2021-05-26 16:23:22 +02:00
Yorik van Havre
79f865ed28
Merge pull request #4804 from luzpaz/Crowdin-Draft
...
Crowdin: fix Draft mirror code typo
2021-05-25 15:07:28 +02:00
Yorik van Havre
dbc0a39ffa
Merge pull request #4808 from matthijskooijman/movewithhost-link-exception
...
Draft: Do not move children of App::Link objects
2021-05-25 15:06:55 +02:00
Yorik van Havre
d0c67024e2
Merge pull request #4809 from matthijskooijman/draft-arch-simplifications
...
Draft & Arch: Python code simplifications
2021-05-25 15:05:46 +02:00
Roy-043
40eb62974e
Update make_label.py
...
Brought back name=_name. Added type(custom_text) is list check.
2021-05-24 18:42:27 +02:00
Matthijs Kooijman
d928f37761
Draft: Fix "Show groups in layer list drop-down button" preference
...
The code that was intended to handle this preference looked inside
Mod/BIM instad of Mod/Draft for the preference. This seems to have been
broken since the preference was first introduced in commit 9976a5ece0
(Draft: Turned autogroup button into layers selector (added pref option
to restore old groups-based system)).
This also removes a stray "-" that was probably a leftover from a merge
conflict, introduced in commit 0547d23660 (Draft: move Draft_AutoGroup to
gui_groups module). Since -True is still true and -False is still false,
this did not actually break the code, though.
See https://forum.freecadweb.org/viewtopic.php?t=42018 for related
discussion.
2021-05-22 18:33:15 +02:00
Matthijs Kooijman
1cabfd8e6b
Draft: Simplify code using getattr default value
...
This uses the default value that can be passed to getattr to simplify
code that uses it. By choosing an appropriate default value, a separate
call to hasattr can be avoided and in some cases duplicate code can be
avoided.
This applies this trick where possible in wire.py and circle.py.
This commit does not change behavior.
2021-05-22 17:44:04 +02:00
Matthijs Kooijman
630b0f2af4
Draft: Do not move children of App::Link objects
...
This caused the original object to be moved when using the Draft move
tool to move a link object, when the original object has MoveWithHost
set (e.g. a Window). There was already a similar exception for clones,
so it makes sense to extend this for links too.
Note that there seem to be more problems with the "MoveWithHost"
mechanism and fixing them might completely refactor this code, but until
then, this is a simple and targeted fix that at least makes moving
links to windows work as expected.
See https://forum.freecadweb.org/viewtopic.php?f=23&t=57223 for
discussion of this bug, its fix and the additional problems mentioned.
2021-05-22 16:51:04 +02:00
Roy-043
9ec9261fcd
Update make_label.py
...
If custom_text is a string there is no need to put it in a list.
2021-05-22 16:33:12 +02:00
Yorik van Havre
dbd7dbd332
Draft: Fixed use of double quotes in Draft Texts
2021-05-21 15:35:29 +02:00
luz paz
78d3d0039f
Crowdin: fix Draft mirror code typo
...
ref: https://crowdin.com/translate/freecad/548/en-en?filter=basic&value=2#6587132
2021-05-20 16:02:34 -04:00
Roy-043
cbe5d9b219
Draft: Fixed make_label to accept list of strings for custom_text
...
The make_label function should accept a list of strings for custom_text. Compare the make_text function. The new code was mostly taken from there.
2021-05-18 21:08:02 +02:00
Yorik van Havre
4d00f985ec
Merge pull request #4795 from luzpaz/Crowdin-Draft-whitespace
...
Crowdin: remove superfluous whitespace from translation
2021-05-18 16:24:42 +02:00
luz paz
d42cad2bba
Crowdin: remove superfluous whitespace from translation
...
ref: https://crowdin.com/translate/freecad/548/en-en?filter=basic&value=2#6587168
2021-05-17 10:51:05 -04:00
luz paz
8788abc261
Crowdin: fix mistake in Draft Preferences text [skip ci]
...
ref: https://crowdin.com/translate/freecad/548/en-en?filter=basic&value=13#6577122
2021-05-17 10:28:43 -04:00
Yorik van Havre
0be2757e13
Merged crwodin translations
2021-05-12 16:36:31 +02:00
Yorik van Havre
4b32537b5f
Merge pull request #4784 from UR-0/origin/Draft_harmonize_digits_of_dxfScaling
...
[Draft] harmonize no of digits of dxfScaling between Edit->Preference…
2021-05-12 15:36:47 +02:00
Yorik van Havre
fd9c075411
Draft: Added 'apply to texts/dims' button to SetStyle dialog
2021-05-11 16:24:06 +02:00
UR-0
add4b471ca
[Draft] harmonize no of digits of dxfScaling between Edit->Preferences and Tools->Edit Parameters
2021-05-11 16:14:18 +02:00
Yorik van Havre
489f7441af
Draft: Allow to use dimension tool with predefined direction
2021-05-11 13:27:41 +02:00
Yorik van Havre
91ea7fbba8
Updated ts files
2021-05-11 13:05:20 +02:00
Yorik van Havre
da97cddb14
Merge pull request #4780 from matthijskooijman/fix-flat-groups-section-view
...
Arch: Fix section view duplicate rendering of items in groups with only flat objects
2021-05-11 12:13:09 +02:00
Matthijs Kooijman
ffbac23432
Draft: Improve docs for get_group_contents spaces parameter
...
The documentation suggested subtly different semantics from what the
code implements.
2021-05-09 17:33:46 +02:00
Yorik van Havre
6e9c157cd5
Draft: Fixed last commit (stroke endcap -> stroke-linecap)
2021-05-06 18:49:55 +02:00
Yorik van Havre
e37e8eddfb
Draft: Using square endcaps for lines in SVG output
2021-05-06 18:38:32 +02:00
Yorik van Havre
dd3f723465
Draft: Added load/save functionality to SetStyle dialog
2021-05-06 18:36:41 +02:00
Yorik van Havre
966906da96
Merge pull request #4557 from luzpaz/crowdin/whitespaces-substituted-into-code
...
Crowdin: represent whitespace in code instead of in string
2021-05-05 17:18:35 +02:00
Yorik van Havre
4ff9b768dd
Draft: Changed shapestring FillLetters property to MakeFace
2021-05-05 15:41:28 +02:00
Yorik van Havre
fe92e39e8a
Merge pull request #4769 from Roy-043/Draft_make_ellipse
...
Draft: Fixed make_ellipse.py: the face argument was not used
2021-05-05 15:31:13 +02:00
Yorik van Havre
308d292bb9
Merge pull request #4768 from Roy-043/Draft-Gui-addModule-issue
...
Draft: Fixed 3 gui_*.py files that did not execute Gui.addModule("Draft") if UsePartPrimitives is True
2021-05-05 14:11:33 +02:00
Yorik van Havre
a5bab10ff7
Draft: Added a 'solid faces' projection mode to shape2dviews to treat individual faces
2021-04-30 16:44:20 +02:00
Roy-043
86f3c4021a
Update make_ellipse.py
...
Draft: Fixed make_ellipse.py: the face argument was not used and therefore "filled mode" did not work in the GUI.
2021-04-29 21:23:26 +02:00
Roy-043
e13bf0fac7
Update gui_points.py
...
Gui.addModule("Draft") should be executed before committing _cmd_list irrespective of the UsePartPrimitives setting.
2021-04-29 21:07:07 +02:00
Roy-043
a3778eacd4
Update gui_arcs.py
...
Gui.addModule("Draft") should be executed before committing _cmd_list irrespective of the UsePartPrimitives setting.
2021-04-29 21:05:52 +02:00
Roy-043
7fa3869116
Update gui_ellipses.py
...
Gui.addModule("Draft") should be executed before committing _cmd_list irrespective of the UsePartPrimitives setting.
2021-04-29 21:03:44 +02:00
Yorik van Havre
e605b2f930
Draft: Allow to set 'arch' unit override on dimensions
2021-04-29 19:51:34 +02:00
Yorik van Havre
c0c49ebffc
Merge branch 'master' into draft-feature_name
2021-04-29 12:40:27 +02:00
Yorik van Havre
8d7281e97b
Draft: Fixed default color for new dimensions (now uses DefautTextColor instead of DefaultLineColor)
2021-04-23 15:46:39 +02:00
Yorik van Havre
07c914a8bb
Merge pull request #4710 from marioalexis84/draft-draftgui
...
Draft: Sync input fields in task panel
2021-04-20 11:50:22 +02:00
Yorik van Havre
f78960179e
Merge pull request #4743 from steelman/horizontal-snap-widget
...
Draft: Ensure horizontal orientation of snap_widget
2021-04-20 11:49:09 +02:00
Yorik van Havre
d366c38922
Merge pull request #4389 from marioalexis84/draft-close_button
...
[0.20] [Draft] Call finish method if Close button is pressed in dumb taskdialog
2021-04-20 11:36:03 +02:00
Łukasz Stelmach
9458e5c12f
Draft: Ensure horizontal orientation of snap_widget
...
From time to time when switching to other workbenches snap_widget changes
orientation to vertical. Make sure it stays horizontal.
Signed-off-by: Łukasz Stelmach <stlman@poczta.fm >
2021-04-19 19:58:06 +02:00
luz paz
6f83a4a815
Crowdin: represent whitespace in code instead of string
2021-04-19 06:23:07 -04:00
luz paz
b94ee8b275
Crowdin: represent whitespace in code instead of in string [skip ci]
...
Removing possible whitespace from strings lead to more accurate translations
2021-04-19 06:16:09 -04:00
marioalexis
d0c1935cbf
Draft: Fix regression in trimex command
2021-04-11 16:24:02 -03:00
marioalexis
2f81ca40be
Draft: Sync input fields in task panel
2021-04-07 18:36:56 -03:00
marioalexis
5cc042379a
Draft: Add functions to transform Cartesian coordinates to spherical and vice versa
2021-04-07 18:36:56 -03:00
tomate44
c48ec7cff2
Draft.ShapeString : add option to choose wires or faces output
2021-04-05 12:20:04 +02:00