Commit Graph

30 Commits

Author SHA1 Message Date
Chris Hennes
f99059e371 Draft: LGTM - don't catch BaseException 2021-09-19 14:36:38 -05:00
GUAN Xin
bab49f88ef 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
b94ee8b275 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
e6266e2716 Draft: dwg-export: allow overwriting of files 2020-04-13 11:38:25 +02:00
lorenz
51b5d81741 importDWG: remove comments 2020-01-07 07:35:14 -03:00
looooo
28ad3ea3cb importDWG: use subprocess.Popen instead of .call 2020-01-07 07:35:14 -03:00
looooo
ed5545c3ea importDWG: use libredwg's dwgtodxf converter if available 2020-01-07 07:35:14 -03:00
luz.paz
8cfa85cf18 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
7af7c10cf1 Fix misc. typos, whitespace, and http:// to https:// issues 2019-09-03 11:11:43 -03:00
vocx-fc
5db35a9612 Draft: importDWG.py, use FreeCAD.Console.Print, instead of basic Python print() 2019-08-14 14:29:32 -03:00
vocx-fc
8af1f0d4eb Draft: importDWG.py, moved documentation text; added test for ODAFileConverter 2019-08-14 14:29:32 -03:00
vocx-fc
c4946349bf Draft: importDWG.py, improve Pythonic style, maximum line length; also translate the console messages 2019-08-14 14:29:32 -03:00
vocx-fc
5356735114 Draft: importDWG.py, improve Pythonic style, spacing around commas 2019-08-14 14:29:32 -03:00
vocx-fc
6a492a3280 Draft: importDWG.py, added proper docstrings to the functions 2019-08-14 14:29:32 -03:00
cclauss
361c44c6dc Unicode fixes for Python3 2019-03-17 20:58:00 +01:00
luz.paz
b4568bd754 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
19bd7a8f4c [For v0.18]Draft: add translation() + move \n out of translation strings 2018-04-11 10:51:13 -03:00
looooo
bdbae7a3fe fix unicode problems for python3 2018-01-12 15:02:28 +01:00
Yorik van Havre
bd78d6b072 Draft: Fixed encoding bug in dwg import - fixes #2872 2017-01-23 10:15:59 -02:00
Yorik van Havre
bf0d37bf28 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02:00
Yorik van Havre
4c3b8bdc21 Draft: Added archang's patch to importDWG 2015-05-09 12:39:53 -03:00
Yorik van Havre
203fcb7a1b Draft: Adapted Draft module for python3 compatibility - issue #995 2014-10-05 19:40:14 -03:00
Yorik van Havre
b3fc7b7a78 Fixed translation system in Arch & Draft 2014-01-07 11:17:31 -02:00
Yorik van Havre
9db0d8d313 Draft: Added raulshc's patch to importDWG + minor fix 2014-01-01 19:50:39 -02:00
Yorik van Havre
4dc4223743 0001234: fixed typo in importDWG 2013-09-05 13:37:54 -03:00
Yorik van Havre
bf27709926 Cleaning startup messages from Draft and Arch 2013-08-25 13:43:54 -03:00
Yorik van Havre
57945ecb92 Draft: Added prefs setting for teigha file converter 2013-08-24 18:48:29 -03:00
Yorik van Havre
a9b429178e Draft: Fixed license blocks 2013-06-20 21:32:41 -03:00
Yorik van Havre
5dbee5ef87 Draft: dwg support in windows 2013-04-21 23:32:34 -03:00
Yorik van Havre
2d12e32e1b 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