Dov Grobgeld
ff11cd25ee
Fix run time errors with python3.12 and pyside6 ( #13337 )
...
* Change pyopen=open expression to from builtins import open as pyopen
---------
Co-authored-by: Adrián Insaurralde Avalos <36372335+adrianinsaval@users.noreply.github.com >
2024-04-30 00:28:01 -04:00
Roy-043
d0a87b24d9
Draft: implement new get_param functions (step 4)
...
See #11677
2023-12-13 19:39:35 +01:00
Roy-043
a66c9ee549
Draft: importDWG.py wrongly assumed that opt directory always exists on Linux ( #10447 )
...
Forum topic:
https://forum.freecad.org/viewtopic.php?p=703063#p703061
2023-08-30 18:10:13 +02:00
Roy-043
f20ea86d13
Draft: Add macOS paths to importDWG.py
2023-06-27 11:16:02 +02:00
Roy-043
6d59f9fa78
Draft: improve handling of DWG-converters ( #9444 )
...
* Draft: improve handling of DWG-converters
* Lint import statement.
2023-05-07 09:56:01 +02:00
luzpaz
4b12f09b40
Draft: fix typo in importDWG.py
2023-04-06 08:08:32 +02:00
Yorik van Havre
3e1528a714
Draft: Better DWG export message - issue #8887 ( #8893 )
...
* Draft: Better DWG export message - issue #8887
2023-03-27 16:03:04 +02:00
Yorik van Havre
420636a51c
Draft: Removed six module
2023-02-24 13:20:58 +01:00
Roy-043
7d14bef0f5
Draft: Housekeeping: import translate from correct file
2022-07-23 19:51:03 +02:00
wmayer
1742d7ff82
0004809: Security vulnerability in DWG import when using ODA file converter
2021-12-28 16:15:42 +01:00
Roy-043
15c495a5bd
Draft: fix getTeighaConverter
...
The getTeighaConverter function did not work on Windows. We don't deal with the actual TeighaFileConverter anymore so there is no need to check for that file. Although the name of the function and the name of the parameter have been kept.
2021-11-08 15:31:49 +01:00
Yorik van Havre
0b4e1ea556
Draft: Fixed DWG import's QCAD config
2021-11-08 10:51:10 +01:00
Yorik van Havre
bde8c9416e
Draft: Allow to use QCAD pro as a converter to import/export DWG files
2021-10-19 13:55:24 +02:00
Chris Hennes
68a027cf94
Draft: LGTM - don't catch BaseException
2021-09-19 14:36:38 -05:00
GUAN Xin
75251151ff
Some shutil don't have the .which method.
...
Directly calling subprocess.Popen without checking the presence of the
program is the optimal solution because:
1) Avoids race condition, where the program disappears between the
check and the Popen call.
2) Popen will raise exception if the program is absent anyway,
no race condition here.
2021-07-19 14:12:03 +08:00
luz paz
f2b93a7af3
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
lorenz
8afb0379bd
Draft: dwg-export: allow overwriting of files
2020-04-13 11:38:25 +02:00
lorenz
dfea8535b6
importDWG: remove comments
2020-01-07 07:35:14 -03:00
looooo
e2e7659efc
importDWG: use subprocess.Popen instead of .call
2020-01-07 07:35:14 -03:00
looooo
e8109204a9
importDWG: use libredwg's dwgtodxf converter if available
2020-01-07 07:35:14 -03:00
luz.paz
ae7cb9e300
Draft: [skip ci] Fix header uniformity
...
This PR fixes header uniformity across all Draft files
2019-12-27 00:16:12 +01:00
luz.paz
f22ae848ea
Fix misc. typos, whitespace, and http:// to https:// issues
2019-09-03 11:11:43 -03:00
vocx-fc
5340140427
Draft: importDWG.py, use FreeCAD.Console.Print, instead of basic Python print()
2019-08-14 14:29:32 -03:00
vocx-fc
b0df1a6f21
Draft: importDWG.py, moved documentation text; added test for ODAFileConverter
2019-08-14 14:29:32 -03:00
vocx-fc
0804564d81
Draft: importDWG.py, improve Pythonic style, maximum line length; also translate the console messages
2019-08-14 14:29:32 -03:00
vocx-fc
12d59b76d3
Draft: importDWG.py, improve Pythonic style, spacing around commas
2019-08-14 14:29:32 -03:00
vocx-fc
0056edb6cb
Draft: importDWG.py, added proper docstrings to the functions
2019-08-14 14:29:32 -03:00
cclauss
e3545c8c06
Unicode fixes for Python3
2019-03-17 20:58:00 +01:00
luz.paz
36faeb247a
Cosmetically change mentions of Teigha to ODA
...
Ref: https://forum.freecadweb.org/viewtopic.php?p=255339#p255339
This PR is superficial as it doesn't actually change the path to the newly named executable.
2018-09-11 07:29:18 +02:00
luz.paz
e0161f4652
[For v0.18]Draft: add translation() + move \n out of translation strings
2018-04-11 10:51:13 -03:00
looooo
3679c18e55
fix unicode problems for python3
2018-01-12 15:02:28 +01:00
Yorik van Havre
9f859a0912
Draft: Fixed encoding bug in dwg import - fixes #2872
2017-01-23 10:15:59 -02:00
Yorik van Havre
af97583026
Doc: Fixes in doxygen docs for Draft,Arch, FEM
2016-11-17 17:04:09 -02:00
Yorik van Havre
31cecf79a1
Draft: Added archang's patch to importDWG
2015-05-09 12:39:53 -03:00
Yorik van Havre
daedcf4f1c
Draft: Adapted Draft module for python3 compatibility - issue #995
2014-10-05 19:40:14 -03:00
Yorik van Havre
19865c252b
Fixed translation system in Arch & Draft
2014-01-07 11:17:31 -02:00
Yorik van Havre
d5ed1b1b65
Draft: Added raulshc's patch to importDWG + minor fix
2014-01-01 19:50:39 -02:00
Yorik van Havre
6e66083d3a
0001234: fixed typo in importDWG
2013-09-05 13:37:54 -03:00
Yorik van Havre
38f0f73fbe
Cleaning startup messages from Draft and Arch
2013-08-25 13:43:54 -03:00
Yorik van Havre
47fd378f3f
Draft: Added prefs setting for teigha file converter
2013-08-24 18:48:29 -03:00
Yorik van Havre
367a8f9aee
Draft: Fixed license blocks
2013-06-20 21:32:41 -03:00
Yorik van Havre
a22a719cb9
Draft: dwg support in windows
2013-04-21 23:32:34 -03:00
Yorik van Havre
e3dd8196bd
Draft: Preliminary DWG support
...
Using the teigha file converter. Warning, only working on linux
at the moment. See mantis issue 1103 to help me porting to other OSes
2013-04-21 14:46:36 -03:00