75 lines
4.4 KiB
HTML
75 lines
4.4 KiB
HTML
<html><head><title>FreeCAD and DXF Import</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type='text/css' href='wiki.css' rel='stylesheet'></head><body><h1>FreeCAD and DXF Import</h1></div>
|
|
|
|
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><div class="mw-parser-output"><div id="toc" class="toc"><div class="toctitle"><h2>Contents</h2></div>
|
|
<ul>
|
|
<li class="toclevel-1 tocsection-1"><a href="#Legal_Notice"><span class="tocnumber">1</span> <span class="toctext">Legal Notice</span></a></li>
|
|
<li class="toclevel-1 tocsection-2"><a href="#How_to_install"><span class="tocnumber">2</span> <span class="toctext">How to install</span></a></li>
|
|
<li class="toclevel-1 tocsection-3"><a href="#Setting_Options"><span class="tocnumber">3</span> <span class="toctext">Setting Options</span></a></li>
|
|
<li class="toclevel-1 tocsection-4"><a href="#Tips_and_Tricks"><span class="tocnumber">4</span> <span class="toctext">Tips and Tricks</span></a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<h2><span class="mw-headline" id="Legal_Notice">Legal Notice</span></h2>
|
|
<p>To be able to import DXF-Files you have to manually install several files. Why this? These libraries are published with another license than FreeCAD, so the developers of FreeCAD would not have them being bundled with the FreeCAD-Application.
|
|
</p>
|
|
<h2><span class="mw-headline" id="How_to_install">How to install</span></h2>
|
|
<p>To install Draft-dxf-importer:
|
|
</p>
|
|
<ol><li> Go to <a rel="nofollow" class="external text" href="https://github.com/yorikvanhavre/Draft-dxf-importer">Yorik's Github account</a> and download these files (on the right side you can choose "download as ZIP").</li>
|
|
<li> Put the files in your macro folder.</li></ol>
|
|
<ul><li> In Ubuntu, this is normally </li></ul>
|
|
<pre>/home/your_user_name/.FreeCAD
|
|
</pre>
|
|
<p>The directory is hidden. You may need to unhide it to make it visible.
|
|
</p>
|
|
<ul><li> In Windows, your (standard) macro directory is </li></ul>
|
|
<pre>C:\Users\your_user_name\AppData\Roaming\FreeCAD
|
|
</pre>
|
|
<p>If you are unsure of where your macro-directory is,
|
|
</p>
|
|
<ol><li> open FreeCAD and go to "Edit → Preferences",</li>
|
|
<li> select "General" in the left column and select category "Macro" on the top right corner of the preferences-window. There sould be a field named "Macro Path".</li></ol>
|
|
<p>Tutorial: <a href="Dxf_Importer_Install.html" title="Dxf Importer Install">Dxf Importer Install</a>
|
|
</p>
|
|
<h2><span class="mw-headline" id="Setting_Options">Setting Options</span></h2>
|
|
<p>You can set several import options for DWG/DXF. Depending on your version you have to use a different method.
|
|
</p>
|
|
<ul><li> <b>FreeCAD 0.14 and older</b></li></ul>
|
|
<ol><li> Open FreeCAD.</li>
|
|
<li> Switch to the Draft Workbench. (Otherwise you won't see the options)</li>
|
|
<li> Go to "Edit → Preferences" and select "Draft" in the left column.</li>
|
|
<li> Select "DXF / DWG-Options" in the top right corner of the preferences-window.</li></ol>
|
|
<ul><li> <b>FreeCAD 0.15 and above</b></li></ul>
|
|
<ol><li> Open FreeCAD.</li>
|
|
<li> Switch to the Draft Workbench. (Otherwise you won't see the options)</li>
|
|
<li> Go to "Edit → Preferences".</li>
|
|
<li> Now you shoould see an icon labeled "Import-Export" in the left column. Select that.</li></ol>
|
|
<h2><span class="mw-headline" id="Tips_and_Tricks">Tips and Tricks</span></h2>
|
|
<p>Sometimes DXF Files don't seem to import although they open up in 2D-DXF-CAD-Programs without problems.<br />
|
|
You can try:<br />
|
|
</p>
|
|
<ol><li> Go to Edit → Preferences → Import/Export → DXF/DWG and untick the option "join geometry" and try again.</li>
|
|
<li> Remember that maybe now you won't have coincident end-of-line-points. You will have to make them coincident yourself.</li>
|
|
<li> You can do this with the command "Close Shape" in the sketcher workbench (needs version 0.15) or you can apply the constraints manually</li></ol>
|
|
<p>You can also try:<br />
|
|
</p>
|
|
<ol><li> Go to Edit → Preferences → Draf → General and adjust the value of "Tolerance" (default: 0,05)</li>
|
|
<li> Try again</li></ol>
|
|
<p>Good luck on importing.
|
|
</p>
|
|
<div style="clear:both"></div>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div><div class="printfooter">
|
|
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=FreeCAD_and_DXF_Import&oldid=282420">http://www.freecadweb.org/wiki/index.php?title=FreeCAD_and_DXF_Import&oldid=282420</a>"</div>
|
|
<div id="catlinks" class="catlinks" data-mw="interface"></div><div class="visualClear"></div>
|
|
</div>
|
|
</div>
|
|
<div id="mw-navigation">
|
|
<h2>Navigation menu</h2>
|
|
|
|
</body></html> |