Commit Graph

3083 Commits

Author SHA1 Message Date
Hannu Koivisto
57aac275c7 [Draft] Mitigate crash in Draft_Edit (#8749) (#8750)
This mitigates the crash reported in issue #8749.  The crash happens when
using Draft_Edit and using keyboard to enter a coordinate in Edit node
dialog.  This change partially restores behaviour before commit fc14567,
after which FreeCADGui.Control.closeDialog and showDialog calls during
execution of DraftToolBar.editUi are no longer made using the todo.delay
mechanism.  The crash can still be triggered by artificially slowing down key
event processing, so this is not a proper fix, just a mitigation.
2023-03-11 17:44:04 +01:00
BHennen
0f4acc55be Add offset options to Draft PathArray (#8295)
* Add offset options to Draft PathArray

Allows user to specify a starting and ending offset to items in Draft PathArrays.

* [Draft] path array offset

---------

Co-authored-by: Roy-043 <info@b-k-g.nl>
2023-03-11 15:54:25 +01:00
Roy-043
87b63d186e [Draft] fix regression introduced with #8433 (#8840) 2023-03-11 13:35:24 +01:00
luzpaz
6802bed99d Fix various typos and whitespace 2023-03-10 14:40:46 +01:00
Yorik van Havre
8f36e48854 Merge pull request #8698 from Jolbas/draftvecutil
Return pure rotation from getPlaneRotation()
2023-02-28 09:45:57 +01:00
Yorik van Havre
d3cc52dbab Merge pull request #8686 from yorikvanhavre/translations
Crowdin translations
2023-02-28 09:37:32 +01:00
Yorik van Havre
b85e27a5e5 Merge pull request #8626 from yorikvanhavre/remove-six
Arch, Draft: Remove use of six module
2023-02-28 09:35:52 +01:00
Jolbas
649857b58f return pure rotation from getPlaneRotation() 2023-02-28 01:07:56 +01:00
Yorik van Havre
46653420a6 merged crowdin translations 2023-02-27 16:01:15 +01:00
Yorik van Havre
3ad0e233d5 updated ts files 2023-02-27 15:35:51 +01:00
Roy-043
63cb23d1fd [Draft] increase number spinboxes max in array task panels to 1 million (#8628)
The default max for spinboxes is 99. This PR increases it to 1 million for the number spin boxes of the array task panels.
2023-02-24 16:16:46 +01:00
Yorik van Havre
420636a51c Draft: Removed six module 2023-02-24 13:20:58 +01:00
luzpaz
c48b426182 Fix source comment and documentation typos
[skip ci]
2023-02-17 08:32:03 -06:00
luzpaz
e033dd6ba5 Draft: fix typos 2023-02-15 13:13:29 +00:00
Roy-043
f34cce97a0 [Draft] typo: object name should be capitalized (#8484) 2023-02-14 15:44:26 +01:00
Yorik van Havre
50fb6d6b46 merged crowdin translations 2023-02-13 15:45:26 +01:00
Yorik van Havre
d74c9f0188 updated ts files 2023-02-13 15:45:26 +01:00
Roy-043
b6af6c9330 [Draft] fix #8433 regression (#8452) 2023-02-12 14:22:52 +01:00
luzpaz
516509dbf0 Draft: [skip ci] fix typo in source comment (#8434)
Fixed typo in `draftutils/gui_utils.py`
2023-02-11 21:02:27 +01:00
Roy-043
7f2f5e9414 [Draft] fix diffuse color issue when creating arrays (#8436) 2023-02-11 18:57:28 +01:00
Roy-043
5d6b447149 [Draft] some arrays did not have a Count property (#8433) 2023-02-11 17:09:02 +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
6cc22f2a54 [Draft] fix Draft_Mirror diffuse color issue. (#8427) 2023-02-11 11:18:00 +01:00
Roy-043
7352512f6c [Draft] fix Draft_Clone DiffuseColor delay issue during unit test (#8386) 2023-02-07 22:40:29 +01:00
Yorik van Havre
c71e551556 Merged crowdin translations 2023-02-07 15:55:31 +01:00
Yorik van Havre
f51a6f2cf9 updated ts files 2023-02-07 15:55:31 +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
f09d038ff5 Draft: add delay in the Draft_Clone unit test (#8363) 2023-02-05 21:59:39 +01:00
Roy-043
a891d5c766 Draft: fix normal calculation for angular dims 2023-02-03 15:44:27 +01:00
Roy-043
ec0182b915 Draft: housekeeping: remove obsolete code (uiMode and DraftGui.py) (#8327) 2023-02-02 23:24:27 +01:00
Roy-043
693ec401f7 Draft: subelement mode ignored nesting (#8319) 2023-02-02 11:49:55 +01:00
Roy-043
25c4792690 Draft: fix issue with undo (#8267) 2023-01-31 21:38:19 +01:00
Yorik van Havre
4eca103469 Merged crowdin translations 2023-01-30 10:04:15 +01:00
Yorik van Havre
31b89be95f update ts files 2023-01-30 09:55:26 +01:00
Roy-043
0a8ea55509 Draft: Update test_modification.py (#8273) 2023-01-27 14:21:55 +01:00
Roy-043
b2e7d20795 Draft: fix gui_offset.py issue caused by PR8207 2023-01-24 15:02:38 +01:00
Uwe
600ce01ad3 [Draft] fix compilation after #8234 2023-01-23 15:29:04 +01:00
Roy-043
4c4972339f Draft: V0.18 VisGroups were not handled (#8234) 2023-01-23 11:27:52 +01:00
Yorik van Havre
166183e788 Merged crowdin translations 2023-01-23 11:25:49 +01:00
Yorik van Havre
d3149de589 Updated ts files 2023-01-23 10:41:33 +01:00
Uwe
d08e97a377 [Draft] attempt to fix CI error after 6173d48da7 2023-01-22 21:24:49 +01:00
luzpaz
5fa4482504 Draft: fix trailing whitespace 2023-01-22 20:26:40 +01:00
Roy-043
6173d48da7 Draft: housekeeping: remove temporary DraftFillet module (#8233) 2023-01-22 20:03:58 +01:00
Roy-043
d81f1f015e Draft: rotate.py: remove Placement.rotate() workaround (#8230) 2023-01-22 16:29:15 +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
Roy-043
fb65b58007 Draft: Improvements related to #8081 (#8211)
DisplayMode of Text was not updated. Some houskeeping
2023-01-20 20:33:35 +01:00
Yorik van Havre
199ef42f62 Merged crowdin translations 2023-01-17 09:40:31 +01:00
Yorik van Havre
4641218403 Updated ts files 2023-01-17 09:24:46 +01:00
Roy-043
f7db685a28 Draft: gui_setstyle.py onApplyAnnot should check for doc (#8196) 2023-01-15 00:20:34 +01:00