Commit Graph

30 Commits

Author SHA1 Message Date
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