Commit Graph

3126 Commits

Author SHA1 Message Date
Chris Hennes
2798528b8f Update translations 2023-05-18 07:49:08 -05:00
Roy-043
452deddc87 Draft: Draft_Move continue mode failed with numeric input (#9597) 2023-05-17 18:56:36 +02:00
Roy-043
4a0b1a670d Draft: ShapeString: use FaceMakerBullseye instead of current face algo (#9593) 2023-05-17 18:19:00 +02:00
Yorik van Havre
b1bfba89bf Merge pull request #9530 from yorikvanhavre/draft-svg-dashes
Draft: Better svg linestyle settings - fixes #6733
2023-05-15 11:38:49 +02:00
Yorik van Havre
2897d7475a Merge pull request #9545 from yorikvanhavre/draft-dxf-legacy
Draft: Indicate which DXF pref option is for legacy importer/exporter only
2023-05-15 11:35:15 +02:00
Roy-043
8d14cb87da Draft: Draft_SetStyle tooltip tweak (#9564)
The Annotations button applies to labels as well.
2023-05-14 10:20:03 +02:00
Yorik van Havre
f8f2d4c21c Draft: Skip SVG import DPI dialog if a unit is specified in the file - fixes #6653 (#9533) 2023-05-13 21:18:59 +02:00
Yorik van Havre
07d7f08fb3 Draft: Added dim overshoot parameters to Style task dialog (#9514)
* Draft: Added dim overshoot parameters to Style task dialog - fixes issue #9507

* Draft: additional fixes to styles task dialog
2023-05-13 21:01:51 +02:00
Yorik van Havre
58335e7a93 Draft: Support group styles in SVG import - fixes #6900 (#9522)
* Draft: Support group styles in SVG import - fixes #6900

* Draft: SVG importer - apply styleto polylines
2023-05-13 21:01:04 +02:00
Yorik van Havre
6388635a56 Draft: Indicate which DXF pref option is for legacy importer/exporter only - fixes #6001 2023-05-11 15:17:41 +02:00
Yorik van Havre
8049752bb9 Draft: Better svg linestyle settings - fixes #6733 2023-05-10 10:14:33 +02:00
Roy-043
c868940cf1 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
Roy-043
8ccdd8e80e Draft: improve handling of DWG-converters (#9444)
* Draft: improve handling of DWG-converters

* Lint import statement.
2023-05-07 09:56:01 +02:00
Chris Hennes
e30a768e0a Merged crowdin translations 2023-05-06 11:56:32 -05:00
luzpaz
b8628aed86 Draft: modfified translate function to allow comments
Also fixed incorrect typos in previous commit
2023-05-04 13:28:10 +00:00
luzpaz
43035154df Draft: Add l10n context for ambiguous string
Also tweaked code formatting
Closes #9406
2023-05-04 13:28:10 +00:00
Yorik van Havre
98a8ea00a3 Merge pull request #9445 from Roy-043/Draft-use-convert_draft_texts-in-importDXF.py
Draft: use convert_draft_texts in importDXF.py
2023-05-03 11:05:43 +02:00
Roy-043
70c2535e49 Draft: use convert_draft_texts in importDXF.py 2023-04-30 19:22:23 +02:00
Chris Hennes
1b2bbbf06b Update translations 2023-04-29 11:10:27 -05:00
Yorik van Havre
5f3b77cbd7 Merge pull request #9376 from Roy-043/Draft-Remove-Drawing-WB-related-code-from-DXF-related-files
Draft: Remove Drawing WB related code from DXF related files
2023-04-28 12:48:08 +02:00
0penBrain
c171723a7f Draft: Improve color handling of SVG geometry importer
Handle 'none' color => Default to black (+ print message)
 Handle #RRGGBBAA color => Return alpha (+ print, message)
 Handle 'rgba(float, float, float, float) => Return alpha (+ print message)
 Reorganize function to return ASAP + print warning if unknown color format
2023-04-26 21:00:37 +02:00
Yorik van Havre
9b3f5f102e Draft: small optimization in snapper - issue #5761 (#9239) 2023-04-25 10:16:47 +02:00
luzpaz
38a01939e0 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
Roy-043
35cca8d2d7 Draft: Remove Drawing WB related code from DXF related files 2023-04-24 16:01:10 +02:00
Chris Hennes
58200ae943 Merge pull request #9327 from yorikvanhavre/translations
Translations
2023-04-20 10:41:44 -05:00
Yorik van Havre
faf98925f6 Merged crowdin translations 2023-04-20 14:04:19 +02:00
Yorik van Havre
0fd764454d Updated ts files 2023-04-20 13:53:35 +02:00
Roy-043
2bc8ed561e [Draft] Disable Draft_AddConstruction if there is no selection (#9322) 2023-04-20 08:51:44 +02:00
luzpaz
0e1530be59 Draft: linting bad indentations, superflous markup (#9313) 2023-04-19 09:48:57 +02:00
alafr
6af4fdb5eb Draft: avoid precision loss of SoCoordinate3 (#9202) 2023-04-12 15:32:14 +02:00
luzpaz
c518844740 Draft: fix typo in importDWG.py 2023-04-06 08:08:32 +02:00
mosfet80
e9c1a1600a [Draft] Remove obsolete code related to Drawing WB
* [Draft] Remove obsolete code related to Drawing WB




remove unused elif

* [Draft] Remove obsolete code related to the Drawing WB

* Update preferences-draftvisual.ui

Also remove the template label.

* Update utils.py

Remove reference to "template"

* Remove Draft_Drawing.svg from Draft.qrc

---------

Co-authored-by: Roy-043 <info@b-k-g.nl>
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com>
2023-04-03 16:36:23 +02:00
Jolbas
bd627a469f Draft: fix error in PR #8698 (#9160)
fix for mistake in pr https://github.com/FreeCAD/FreeCAD/pull/8698
see comment 9983207ab8 (r1155160709)
2023-04-02 11:23:59 +02:00
Roy-043
5e8ec9daf7 [Draft] small DraftGui.py cleanup (#9108) 2023-03-28 23:54:00 +02:00
Roy-043
b5ade2c085 [Draft] Remove obsolete decode code (#9106) 2023-03-28 21:03:33 +02:00
Roy-043
a632498875 [Draft] Remove obsolete ShapeString code from DraftGui.py (#9102) 2023-03-28 17:26:14 +02:00
Yorik van Havre
06a9bd229c Draft: Better DWG export message - issue #8887 (#8893)
* Draft: Better DWG export message - issue #8887
2023-03-27 16:03:04 +02:00
Chris Hennes
2d7a77169e Draft: Handle wantedLayer==None 2023-03-23 23:02:49 -05:00
Paddle
a70b808930 Draft: Remove unit selector in status bar as it is now implemented in core's sizeLabel. 2023-03-17 14:04:24 +00:00
Yorik van Havre
7e7674ae4a Merge pull request #8795 from yorikvanhavre/draft-layermanager
Draft: Added LayerManager command from BIM
2023-03-15 11:59:59 +01:00
Yorik van Havre
0eb1c9ad56 Merge pull request #8818 from yorikvanhavre/draft-grid-fix
Draft: Fixes grid on/off behaviour - fixes #5878
2023-03-15 11:59:30 +01:00
Hannu Koivisto
e5ce7e763d [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 b45258b,
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
74b9d81e7d 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
9edb675328 [Draft] fix regression introduced with #8433 (#8840) 2023-03-11 13:35:24 +01:00
luzpaz
01e8bbc2bf Fix various typos and whitespace 2023-03-10 14:40:46 +01:00
Yorik van Havre
53bc32b03e Draft: Fixes grid on/off behaviour - fixes #5878
- If grid is on and auto grid on: Grid always appears
- If grid is on and auto grid off: Grid off at start, on when using a tool, off afterwards
- If grid is off: Grid never appears
2023-03-10 12:19:27 +01:00
Yorik van Havre
66405dc50d Draft: Added LayerManager command from BIM 2023-03-09 14:26:09 +01:00
Yorik van Havre
1366e066b4 Merge pull request #8698 from Jolbas/draftvecutil
Return pure rotation from getPlaneRotation()
2023-02-28 09:45:57 +01:00
Yorik van Havre
217aace518 Merge pull request #8686 from yorikvanhavre/translations
Crowdin translations
2023-02-28 09:37:32 +01:00
Yorik van Havre
5b208f6998 Merge pull request #8626 from yorikvanhavre/remove-six
Arch, Draft: Remove use of six module
2023-02-28 09:35:52 +01:00