Roy-043
2dd27ec276
Draft: fix handling of shapes in shape2dview.py
...
Fixes a problem introduced with #10712 . If the Shape is not a Compound, the shape itself, and not its SubShapes should be used.
2024-03-22 18:17:04 +01:00
Roy-043
de65f805b9
Draft: Improve logic of Draft_Label texts
...
The proposed code fixes the following issues:
1. There is no check if the target object itself has a property that matches the label type.
2. If a subelement is selected that does not have the label type property, the value from the main object is displayed instead.
3. The default text is an empty string.
Example:
Currently If you select a vertex of a wire, and select "Length" as the label type, you will get the length of the wire. With the new code the text will then be "Length not available for (sub)object".
Forum topic (issue #1 ):
https://forum.freecad.org/viewtopic.php?t=86222
2024-03-20 18:29:01 +01:00
Yorik van Havre
0786a4ad92
Draft: a bit more contrast to the grid
2024-03-20 13:35:40 +01:00
Yorik van Havre
e50c89b445
Draft: Allow to change grid color in WP taskpanel
2024-03-20 12:20:31 +01:00
Yorik van Havre
d77f958112
Draft: Made get_type aware of IFC objects
2024-03-18 18:50:56 +01:00
FEA-eng
344bc2336f
DRAFT: Update preferences-draftsnap.ui
2024-03-15 13:01:56 +01:00
Chris Hennes
7b07447cce
Draft: Remove trailing spaces from translations
2024-03-12 22:42:20 -05:00
Yorik van Havre
0f0c9fe44d
Draft: Allow to prevent layers to claim children
2024-03-11 12:29:13 -05:00
Chris Hennes
bf6a209c22
Fix missing translations in task panel ( #12738 )
...
* Draft: Add missing translation to task panel
* PD: Add missing translation to task panel
2024-03-11 18:10:42 +01:00
Yorik van Havre
9d7682c01f
Draft: Introduce mouse delay ( #12624 )
...
* Draft: Introduce mouse delay - fixes #11807
* Draft: set default mouse delay to 1
2024-03-11 11:54:07 -05:00
Yorik van Havre
262a858be5
Translations ( #12748 )
...
* Updated ts files
* Merged crowdin translations
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-05 08:54:36 -06:00
Josh Coalson
fbd8767242
Part: Rename AttachExtension::Support property to AttachmentSupport, to avoid name conflict with base features. Fixes #7052
2024-03-04 18:22:43 +01:00
Roy-043
fafa2c13ef
Merge pull request #12745 from Roy-043/Draft-applyConstructionStyle-was-missing-in-params.py
...
Draft: applyConstructionStyle was missing in params.py
2024-03-04 14:17:51 +01:00
Roy-043
6df52808f2
Draft: applyConstructionStyle was missing in params.py
2024-03-04 11:33:10 +01:00
Chris Hennes
94fe97bf0d
Draft: Translate annotation styles editor
2024-03-04 11:30:31 +01:00
Chris Hennes
c4b54a94a2
Update translations
2024-02-29 17:25:46 -06:00
Chris Hennes
641e3dbbb4
Update translations ( #12557 )
...
* Update translations
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-02-24 21:38:37 -06:00
Roy-043
4016d53f17
Draft: update DefaultShapeColor in params.py to match new default
2024-02-19 10:11:48 +01:00
Roy-043
0beda2c1bd
Draft: fix wrong selection after commands (improved)
...
The previous fix was not correct. Some commands would cause a crash and several files were missed.
Forum topic reporting a crash:
https://forum.freecad.org/viewtopic.php?t=85243
2024-02-16 10:56:10 +01:00
Roy-043
b7cadeab00
Merge pull request #12430 from Roy-043/Draft-remove-reapply_diffuse_color-workaround-step-2
...
Draft: remove reapply_diffuse_color workaround step 2
2024-02-15 23:44:52 +01:00
Roy-043
7bb6b89956
Draft: remove reapply_diffuse_color workaround step 2
...
Stuff that was missed in #11946
2024-02-15 22:28:37 +01:00
Roy-043
3f2e8cf0a0
Draft: gui_line_add_delete.py is obsolete
2024-02-15 22:20:53 +01:00
JULIEN MASNADA
2fb74cac0f
Fixed invalid vector in distance calculation ( #12364 )
...
* Fixed invalid vector in distance calculation
2024-02-13 10:11:22 -06:00
Yorik van Havre
ae0f162a41
Crowdin translations ( #12313 )
...
* updated ts files
* merged crowdin translations
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-02-12 11:59:08 -06:00
Roy-043
2bd0a06991
Draft: fix wrong selection after commands
...
Fixes #10469
The code of the `end_all_events()` function is by Chris Hennes (chennes).
See https://forum.freecadweb.org/viewtopic.php?p=656362#p656362 .
2024-02-12 11:32:58 -06:00
Roy-043
c06ceba0da
Draft: ShapeString improve stick font detection and fix fuse error
...
Forum topic:
https://forum.freecad.org/viewtopic.php?t=85147
2024-02-10 16:10:55 +01:00
Roy-043
dc8a817459
Merge pull request #12292 from Roy-043/Draft-importDXF.py-make_bezcurve-args-should-be-lowercase
...
Draft: importDXF.py: make_bezcurve args should be lowercase
2024-02-10 15:41:14 +01:00
Roy-043
914759e905
Draft: importDXF.py: make_bezcurve args should be lowercase
...
See:
https://github.com/FreeCAD/FreeCAD/issues/10985#issuecomment-1932797213
2024-02-08 10:25:59 +01:00
Roy-043
51f7ee09a2
Draft: Draft_Edit: restore Relative checkbox
...
The relative checkbox was hidden by mistake.
2024-02-07 10:26:16 +01:00
Syres916
e1f01b2c05
[Arch] [Draft] Add guard for RootNode specific child
2024-02-05 11:00:38 +00:00
Roy-043
80deeb3ed7
Merge pull request #12250 from Roy-043/Draft-Fix-messages-that-only-worked-for-objects-supplied-as-strings
...
Draft: Fix messages that only worked for objects supplied as strings
2024-02-04 11:51:29 +01:00
Roy-043
63f01ad508
Removed too much in make_label.py
2024-02-04 09:50:45 +01:00
Roy-043
eb4feef5ab
Draft: Fix messages for Draft_Fillet
...
There were still too many messages.
2024-02-03 19:46:20 +01:00
Roy-043
5d04562e0e
Draft: Fix messages that only worked for objects supplied as strings
...
Some error messages would only work if objects were supplied as strings. These would fail if objects were passed (as objects) that had already been deleted.
2024-02-03 19:38:49 +01:00
Roy-043
f6e1287be8
Draft: Fix Draft_Wire conversion function
...
The Draft_Wire command can combine selected Draft_Wires and Draft_Lines into a single wire. This function did not always behave properly.
* Edges were not sorted, the result could have a different shape (with the correct vertexes).
* If edges formed a closed shape the resultant wire was not closed.
2024-02-02 22:54:34 +01:00
Roy-043
174938a52a
Merge pull request #12234 from Roy-043/Draft-Draft_Arc_3Points-minor-consistency-update
...
Draft: Draft_Arc_3Points minor consistency update
2024-02-02 18:07:37 +01:00
Roy-043
aa421a60f1
Merge pull request #12230 from kpemartin/Issue11876
...
Remove excessive output from Draft object creation and editing
2024-02-02 18:06:02 +01:00
Roy-043
0bd6f0d6c7
minor edit
2024-02-02 15:17:13 +01:00
Kevin Martin
78eba96f1c
Replace deprecated escapes with valid ones
2024-02-02 08:58:49 -05:00
Kevin Martin
2b9fa18b68
Eliminate many "doing what you told me to" messages
...
These messages were perhaps originally intended as a debuggin aid but now add clutter to the output panes. Remaining messges are mostly the result of methods to display attributes of an object (which one could call from the Python console) or actually provide some information which would not be obvious from the circumstances
2024-02-02 08:58:45 -05:00
Roy-043
285c655834
Draft: Draft_Point minor consistency update
2024-02-02 14:12:57 +01:00
Roy-043
ac46a1ecf4
Draft: Draft_Arc_3Points minor consistency update
2024-02-02 14:11:55 +01:00
Roy-043
0fbe5f75bf
Draft: Draft_Fillet minor consistency update
2024-02-02 11:29:43 +01:00
Roy-043
51035731e7
Draft: Avoid draftToolBar.getDefaultColor outside DraftGui.py
...
The draftToolBar.getDefaultColor() function is an indirect way of retreiving a parameter. It is better to avoid it where possible.
2024-02-01 18:02:10 +01:00
Roy-043
ff5f5c407a
Draft: preferences-drafttexts.ui fix some issues
...
Increase step size from 0.05 to 0.1
Increase max for scale multiplier from 100 to 10,000
2024-02-01 17:21:14 +01:00
Roy-043
47f6c756e3
Merge pull request #12111 from 3x380V/draft_wb_qt6
...
Draft: Qt6 fixes
2024-01-31 11:31:38 +01:00
Roy-043
b1b0c48742
Draft: Scale widget did not handle FEM unit system
...
The FEM UserSchema (8) was not handled by the code.
2024-01-26 13:09:07 +01:00
Ladislav Michl
839fb17649
Draft: Use widgets from QtWidgets
2024-01-25 14:27:38 +01:00
Ladislav Michl
87985620c1
Draft: Do not specifically import PySide2
2024-01-25 13:13:39 +01:00
Roy-043
d76db39662
Draft: Draft_Scale: make sure scale inputboxes show at least 6 decimals
...
Fixes #7386 .
2024-01-23 18:07:03 +01:00