FreeCAD ve DXF içe aktarma

From FreeCAD Documentation
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page is a translated version of the page FreeCAD and DXF Import and the translation is 6% complete.
Outdated translations are marked like this.

Background

DXF is a proprietary CAD data format for 2D drawings that originated with AutoCAD. More details can be found on the DXF wiki page.

Yasal Uyarı

DXF Dosyalarını içe aktarabilmek için birkaç dosyayı manuel olarak yüklemeniz gerekir. Neden derseniz? Bu kütüphaneler, FreeCAD'den başka bir lisansla yayınlanmaktadır, dolayısıyla FreeCAD geliştiricileri, FreeCAD-Uygulaması ile birlikte sunmayacaktır.

Since FreeCAD version 0.18 there is a new C++ DXF importer, and since version 0.19 also a new C++ DXF exporter. These new components are installed with FreeCAD.

To use the older, legacy, DXF importer and exporter you need to install several files. These files cannot be included with FreeCAD since they use libraries published under a license that is not compatible with FreeCAD.

Nasıl kurulur

Draft-dxf-importer uygulamasını kurmak için:

  1. Yorik'in Github hesabına gidin ve bu dosyaları indirin (sağ tarafta "ZIP olarak indir" seçeneğini seçebilirsiniz).
  2. Dosyaları makro klasörünüze yerleştirin.
  • Ubuntu'da bu normal

  /home/your_user_name/.FreeCAD Dizin gizlidir. Görünür hale getirmek için gizliliğini kaldırmanız gerekebilir.

  • Windows'ta, (standart) makro dizininiz

  C:\Users\kullanıcı_adınız\AppData\Roaming\FreeCAD

Automatically

If the files are not already installed, go to the menu Edit → Preferences → Import-Export → DXF and enable the option Allow FreeCAD to automatically download and update the DXF libraries to make FreeCAD automatically download and install them.

For FreeCAD 0.14 or older you have to install manually:

Manually

  1. Go to Yorik's Github account and download these files (on the right side you can choose "download as ZIP").
  2. Put the files in your macro folder.
  3. If you are unsure where this folder is, go to Edit → Preferences → Python → Macro and check the field named Macro Path.
  • In Ubuntu your macro folder is normally (the folder is hidden, you may need to unhide it):
/home/your_user_name/.FreeCAD 
  • In Windows your macro folder is normally:
C:\Users\your_user_name\AppData\Roaming\FreeCAD

İpuçları ve Püf Noktaları

Bazen DXF Dosyaları 2D-DXF-CAD Programlarında sorunsuz bir şekilde açılsa bile içe aktarılamıyor olabilir.
Şunları deneyebilirsiniz:

  1. Düzenle → Seçenekler → İçe / Dışa Aktar → DXF / DWG seçeneğine gidin ve "geometri birleştir" seçeneğinin işaretini kaldırın ve tekrar deneyin.
  2. Unutmayın belki şimdi rastlantısal çizgi sonu noktalarına sahip olmayacaksınız. Onları kendin tayin etmek zorunda kalacaksın.
  3. Bunu, eskiz çalışma tezgahında "Şekli Kapat" komutuyla yapabilir (sürüm 0.15'e ihtiyaç duyar) veya kısıtlamaları manuel olarak uygulayabilirsiniz.

Ayrıca şunu da deneyebilirsiniz:

  1. Düzenle → Seçenekler → Taslak → Genel'e gidin ve "Tolerans" değerini ayarlayın (varsayılan: 0,05)
  2. Tekrar deneyin

Sometimes DXF Files don't import although they open in other CAD-Programs without problems.

You can try:

  1. Go to Edit → Preferences → Import-Export → DXF and untick the option Join geometry and try again.
  2. Remember that maybe now you won't have coincident endpoints. You can make them coincident with Sketcher ValidateSketch

You can also try:

  1. Go to Edit → Preferences → Draft → General settings and adjust the value of Tolerance (default: 0,05) and try again.

For an overview of all DXF related preferences see Import Export Preferences.