FreeCAD and DWG Import/ko: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>
<languages/>
{{TOCright}}
{{VeryImportantMessage|Please note that the Teigha Converter was re-branded as ODA-File-Converter. The website hosting ODA-File-Converter has been updated. This wiki page has been updated accordingly as well. <small>September 2018</small> }}


{{Fake heading|sub=4|< Back to [[FreeCAD Howto Import Export]]}}
{{Fake heading|sub=4|< Back to [[FreeCAD Howto Import Export]]}}
Line 8: Line 8:
DWG 형식은 닫힌 소스 이진 파일 형식이며 FreeCAD에서 직접 지원하지 않습니다. It requires an external 3rd party file converter to first convert then import the conversion into FreeCAD for use.
DWG 형식은 닫힌 소스 이진 파일 형식이며 FreeCAD에서 직접 지원하지 않습니다. It requires an external 3rd party file converter to first convert then import the conversion into FreeCAD for use.
</div>
</div>

{{TOCright}}


The '''DWG format is a closed source binary file format''' that is not directly supported by FreeCAD. It requires an external 3rd party file converter to first convert then import the conversion into FreeCAD for use.
The '''DWG format is a closed source binary file format''' that is not directly supported by FreeCAD. It requires an external 3rd party file converter to first convert then import the conversion into FreeCAD for use.
Line 15: Line 13:
Note that at this time, it is not possible to import 3D DWG in FreeCAD. 3D data is embedded as binary .SAT (ACIS) data, a proprietary and undocumented format.
Note that at this time, it is not possible to import 3D DWG in FreeCAD. 3D data is embedded as binary .SAT (ACIS) data, a proprietary and undocumented format.


<div class="mw-translate-fuzzy">
== DWG 파일을 import 하려면 필요한 것은? ==
== DWG 파일을 import 하려면 필요한 것은? ==
</div>


<div class="mw-translate-fuzzy">
===ODA Converter (formerly Teigha Converter)===
===ODA Converter (formerly Teigha Converter)===
* 홈페이지: https://www.opendesign.com/guestfiles/oda_file_converter
* 홈페이지: https://www.opendesign.com/guestfiles/oda_file_converter
* 라이선스: freeware
* 라이선스: freeware
* optional, used to enable import and export of DWG files
</div>

* homepage: https://www.opendesign.com/guestfiles/oda_file_converter
* license: freeware
* optional, used to enable import and export of DWG files
* optional, used to enable import and export of DWG files


The ODA Converter is a small freely available utility that allows to convert between several versions of DWG and DXF files. FreeCAD can use it to offer DWG import and export, by converting DWG files to the DXF format under the hood,then using its standard DXF importer to import the file contents. The restrictions of the [[Draft_DXF|DXF importer]] apply.
The ODA Converter is a small freely available utility that allows to convert between several versions of DWG and DXF files. FreeCAD can use it to offer DWG import and export, by converting DWG files to the DXF format under the hood,then using its standard DXF importer to import the file contents. The restrictions of the [[Draft_DXF|DXF importer]] apply.


<div class="mw-translate-fuzzy">
====설치====
====설치====
On all platforms, only by installing the appropriate package from https://www.opendesign.com/guestfiles/oda_file_converter. After installation, if the utility is not found automatically by FreeCAD, you might need to set the path to the converter executable manually. open Edit → Preferences → Import-Export → DWG and fill "Path to Teigha File Converter" appropriately.
</div>

On all platforms, only by installing the appropriate package from https://www.opendesign.com/guestfiles/oda_file_converter. After installation, if the utility is not found automatically by FreeCAD, you might need to set the path to the converter executable manually. open Edit → Preferences → Import-Export → DWG and fill "Path to Teigha File Converter" appropriately.
On all platforms, only by installing the appropriate package from https://www.opendesign.com/guestfiles/oda_file_converter. After installation, if the utility is not found automatically by FreeCAD, you might need to set the path to the converter executable manually. open Edit → Preferences → Import-Export → DWG and fill "Path to Teigha File Converter" appropriately.


더 자세한 설명을 보려면 [http://www.freecadweb.org/wiki/index.php?title=Dxf_Importer_Install#Third_step: this tutorial].
더 자세한 설명을 보려면 [http://www.freecadweb.org/wiki/index.php?title=Dxf_Importer_Install#Third_step: this tutorial].


<div class="mw-translate-fuzzy">
====사용법====
====사용법====
The program may be used with the command line interface or the graphical interface.
Be sure to convert the DWG files to an ASCII-Format.
</div>

The program may be used with the command line interface or the graphical interface.
The program may be used with the command line interface or the graphical interface.
Be sure to convert the DWG files to an ASCII-Format.
Be sure to convert the DWG files to an ASCII-Format.
Line 49: Line 64:
"C:\Program Files\ODA\Teigha File Converter 3.08.2\TeighaFileConverter.exe" "Path-To-Input-Directory" "Path-To-Output-Directory" "ACAD2010" "DXF" "0" "1" "Name-Of-A-Test-File.dwg"
"C:\Program Files\ODA\Teigha File Converter 3.08.2\TeighaFileConverter.exe" "Path-To-Input-Directory" "Path-To-Output-Directory" "ACAD2010" "DXF" "0" "1" "Name-Of-A-Test-File.dwg"


===FreeCAD v0.19 and LibreDWG===
== 대안은 무엇인가요? ==


* homepage: https://www.gnu.org/software/libredwg/
===DraftSight===
* license: GPLv2-or-later
There is a free commercial program called DraftSight (http://www.3ds.com/products-services/draftsight/overview/) that can import most DWG files and can save and export in formats that are friendly to FreeCAD.
* optional, used to enable import and export of DWG files
Draftsight runs on

* 윈도 32 비트
GNU LibreDWG is a free C library to handle DWG files. It aims to be a free replacement for the Open Design Alliance Drawings SDK libraries.
* 윈도 64 비트

* 맥 OS X
====Installation====
* 리눅스 Fedora

* 리눅스 우분투
LibreDWG is included in v 0.19_pre appimages[https://forum.freecadweb.org/viewtopic.php?f=8&t=39827&start=20#p372933]
A free registration is required for activation of the program.

LibreDWG can be configured to work on Windows by downloading and unzipping the appropriate [https://github.com/LibreDWG/libredwg/releases pre-compiled windows binary] and [https://duckduckgo.com/?t=ffab&q=how+to+add+a+folder+to+your+windows+system+path adding the folder to your Windows versions system path].

<div class="mw-translate-fuzzy">
== 대안은 무엇인가요? ==
</div>


===DoubleCAD XT===
===DoubleCAD XT===

There is also DoubleCAD XT (https://www.turbocad.com/content/doublecad-xt-v5).
There is also DoubleCAD XT (https://www.turbocad.com/content/doublecad-xt-v5).
The program is free for personal and commercial use.
The program is free for personal and commercial use.
Line 67: Line 89:
This Program is windows-only. Note: it does not seem to have been updated for years.
This Program is windows-only. Note: it does not seem to have been updated for years.


<div class="mw-translate-fuzzy">
===AutoCAD 파일을 친근한 형식으로 내보내기===
===AutoCAD 파일을 친근한 형식으로 내보내기===
Exporting your AutoCAD files in a more FreeCAD friendly format, like DXF R12 or R14, SVG, and if version supports it, IGES. All are better alternatives to the DWG format when using FreeCAD.
</div>

Exporting your AutoCAD files in a more FreeCAD friendly format, like DXF R12 or R14, SVG, and if version supports it, IGES. All are better alternatives to the DWG format when using FreeCAD.
Exporting your AutoCAD files in a more FreeCAD friendly format, like DXF R12 or R14, SVG, and if version supports it, IGES. All are better alternatives to the DWG format when using FreeCAD.


Line 74: Line 100:
==도우려면 무엇을 할 수 있나요? ==
==도우려면 무엇을 할 수 있나요? ==


<div class="mw-translate-fuzzy">
===Promote the use of alternative formats===
===Promote the use of alternative formats===
간단히 말해, DWG 형식의 작업을 수락하는 것을 중지합니다. 실제로, 이것은 종종 말하기보다 쉽습니다. 그러나 가능하면 언제든지 FreeCAD 사용자와 지지자들이 DWG 형식을 피하고 거부하는 것은 나쁜 관행은 아닙니다.
간단히 말해, DWG 형식의 작업을 수락하는 것을 중지합니다. 실제로, 이것은 종종 말하기보다 쉽습니다. 그러나 가능하면 언제든지 FreeCAD 사용자와 지지자들이 DWG 형식을 피하고 거부하는 것은 나쁜 관행은 아닙니다.
</div>


Simply put, stop accepting work done in DWG format. In practice, this is often easier said than done. Still, it would not be bad practice for users and supporters of FreeCAD to avoid and reject the DWG format whenever possible.
== New Perspectives ==
Following newest annoucements LibreDWG, the free/libre library for opening proprietary CAD files in the DWG file format, is revived.


===Use the LibreDWG library and file bug reports===
* http://libregraphicsworld.org/blog/entry/libredwg-revived-starts-getting-regular-releases
* https://www.gnu.org/software/libredwg/
* https://forum.freecadweb.org/viewtopic.php?f=8&t=39827&start=10


In development version as mentioned above you can switch from the proprietary ODA Converter to the free software LibreDWG library for DWG (and DXF) files. Please do this and report any problems you encounter.
It remains to be seen what way hopefully the development with the necessary support will show.


{{Draft Tools navi{{#translation:}}}}
{{Draft Tools navi{{#translation:}}}}

Revision as of 19:43, 28 December 2020


왜 DWG 파일을 FreeCAD 안으로 import 할 수 없나요?

DWG 형식은 닫힌 소스 이진 파일 형식이며 FreeCAD에서 직접 지원하지 않습니다. It requires an external 3rd party file converter to first convert then import the conversion into FreeCAD for use.

The DWG format is a closed source binary file format that is not directly supported by FreeCAD. It requires an external 3rd party file converter to first convert then import the conversion into FreeCAD for use.

Note that at this time, it is not possible to import 3D DWG in FreeCAD. 3D data is embedded as binary .SAT (ACIS) data, a proprietary and undocumented format.

DWG 파일을 import 하려면 필요한 것은?

ODA Converter (formerly Teigha Converter)

The ODA Converter is a small freely available utility that allows to convert between several versions of DWG and DXF files. FreeCAD can use it to offer DWG import and export, by converting DWG files to the DXF format under the hood,then using its standard DXF importer to import the file contents. The restrictions of the DXF importer apply.

설치

On all platforms, only by installing the appropriate package from https://www.opendesign.com/guestfiles/oda_file_converter. After installation, if the utility is not found automatically by FreeCAD, you might need to set the path to the converter executable manually. open Edit → Preferences → Import-Export → DWG and fill "Path to Teigha File Converter" appropriately.

On all platforms, only by installing the appropriate package from https://www.opendesign.com/guestfiles/oda_file_converter. After installation, if the utility is not found automatically by FreeCAD, you might need to set the path to the converter executable manually. open Edit → Preferences → Import-Export → DWG and fill "Path to Teigha File Converter" appropriately.

더 자세한 설명을 보려면 this tutorial.

사용법

The program may be used with the command line interface or the graphical interface. Be sure to convert the DWG files to an ASCII-Format.

The program may be used with the command line interface or the graphical interface. Be sure to convert the DWG files to an ASCII-Format.

명령 라인 형식:

  1. Quoted Input Folder
  2. Quoted Output Folder
  3. Output_version {"ACAD9","ACAD10","ACAD12", "ACAD13","ACAD14", "ACAD2000","ACAD2004", "ACAD2007","ACAD2010"}
  4. Output File type {"DWG","DXF","DXB"}
  5. Recurse Input Folder {"0","1"}
  6. Audit each file {"0","1"}
  7. [optional] Input file filter (default:"*.DWG;*.DXF")

리눅스용 예

 ODAFileConverter "/home/dwg-data" "/home/dxf-data" "ACAD2010" "DXF" "0" "1" "test.dwg"

The second number (audit) needs to be 1 otherwise it fails

Example for Windows

 "C:\Program Files\ODA\Teigha File Converter 3.08.2\TeighaFileConverter.exe" "Path-To-Input-Directory" "Path-To-Output-Directory" "ACAD2010" "DXF" "0" "1" "Name-Of-A-Test-File.dwg"

FreeCAD v0.19 and LibreDWG

GNU LibreDWG is a free C library to handle DWG files. It aims to be a free replacement for the Open Design Alliance Drawings SDK libraries.

Installation

LibreDWG is included in v 0.19_pre appimages[1]

LibreDWG can be configured to work on Windows by downloading and unzipping the appropriate pre-compiled windows binary and adding the folder to your Windows versions system path.

대안은 무엇인가요?

DoubleCAD XT

There is also DoubleCAD XT (https://www.turbocad.com/content/doublecad-xt-v5). The program is free for personal and commercial use. It requires a free sign-up to receive an activation code via E-Mail. This Program is windows-only. Note: it does not seem to have been updated for years.

AutoCAD 파일을 친근한 형식으로 내보내기

Exporting your AutoCAD files in a more FreeCAD friendly format, like DXF R12 or R14, SVG, and if version supports it, IGES. All are better alternatives to the DWG format when using FreeCAD.

Exporting your AutoCAD files in a more FreeCAD friendly format, like DXF R12 or R14, SVG, and if version supports it, IGES. All are better alternatives to the DWG format when using FreeCAD.

It is important to know that, contrarily to popular belief, there is no difference between the contents of a file saved in DWG or DXF formats, provided it is the same version (ex. DWG 2014 vs. DXF 2014). Both formats are maintained by Autodesk, and they both support exactly the same features. The difference is that DWG is closed (machine-encoded) while DXF is open.

도우려면 무엇을 할 수 있나요?

Promote the use of alternative formats

간단히 말해, DWG 형식의 작업을 수락하는 것을 중지합니다. 실제로, 이것은 종종 말하기보다 쉽습니다. 그러나 가능하면 언제든지 FreeCAD 사용자와 지지자들이 DWG 형식을 피하고 거부하는 것은 나쁜 관행은 아닙니다.

Simply put, stop accepting work done in DWG format. In practice, this is often easier said than done. Still, it would not be bad practice for users and supporters of FreeCAD to avoid and reject the DWG format whenever possible.

Use the LibreDWG library and file bug reports

In development version as mentioned above you can switch from the proprietary ODA Converter to the free software LibreDWG library for DWG (and DXF) files. Please do this and report any problems you encounter.