FreeCAD and DXF Import/es: Difference between revisions

From FreeCAD Documentation
(Created page with "Importación de FreeCAD y DXF")
 
(Updating to match new version of source page)
 
(16 intermediate revisions by 2 users not shown)
Line 2: Line 2:
{{TOCright}}
{{TOCright}}


== Background ==
<span id="Background"></span>
== Fondo ==


DXF is a proprietary CAD data format for 2D drawings that originated with AutoCAD. More details can be found on the [[DXF|DXF]] wiki page.
DXF es un formato de datos CAD propietario para dibujos 2D que se originó con AutoCAD. Se pueden encontrar más detalles en la página wiki [[DXF/es|DXF]].


== Introduction ==
<span id="Introduction"></span>
== Introducción ==


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.
Desde la versión 0.18 de FreeCAD hay un nuevo importador DXF en C++, y desde la versión 0.19 también un nuevo exportador DXF en C++. Estos nuevos componentes se instalan con 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.
Para utilizar el importador y exportador DXF más antiguo, heredado, es necesario instalar varios archivos. Estos archivos no se pueden incluir con FreeCAD ya que utilizan bibliotecas publicadas bajo una licencia que no es compatible con FreeCAD.


<span id="How_to_install_the_legacy_DXF_importer_and_exporter"></span>
== How to install the legacy DXF importer and exporter ==
== Cómo instalar el importador y exportador DXF heredado ==


=== Automatically ===
<span id="Automatically"></span>
=== Automáticamente ===


If the files are not already installed, go to the menu {{MenuCommand|EditPreferencesImport-Export → DXF}} and enable the option {{MenuCommand|Allow FreeCAD to automatically download and update the DXF libraries}} to make FreeCAD automatically download and install them.
Si los archivos no están ya instalados, ve al menú {{MenuCommand|EdiciónPreferenciasImportar-Exportar → DXF}} y activa la opción {{MenuCommand|Permitir a FreeCAD descargar y actualizar automáticamente las bibliotecas DXF}} para que FreeCAD las descargue e instale automáticamente.


For FreeCAD 0.14 or older you have to install manually:
Para FreeCAD 0.14 o anterior hay que instalarlo manualmente:


=== Manually ===
<span id="Manually"></span>
=== Manualmente ===


# Go to [https://github.com/yorikvanhavre/Draft-dxf-importer Yorik's Github account] and download these files (on the right side you can choose "download as ZIP").
# Go to [https://github.com/yorikvanhavre/Draft-dxf-importer Yorik's Github account] and download these files (on the right side you can choose "download as ZIP").
# Put the files in your macro folder.
# Put the files in your macro folder.
# If you are unsure where this folder is, go to {{MenuCommand|Edit → Preferences → General → Macro}} and check the field named {{MenuCommand|Macro Path}}.
# If you are unsure where this folder is, go to {{MenuCommand|Edit → Preferences → Python → Macro}} and check the field named {{MenuCommand|Macro Path}}.
* In Ubuntu your macro folder is normally (the folder is hidden, you may need to unhide it):
* In Ubuntu your macro folder is normally (the folder is hidden, you may need to unhide it):
/home/your_user_name/.FreeCAD
/home/your_user_name/.FreeCAD
Line 30: Line 35:
C:\Users\your_user_name\AppData\Roaming\FreeCAD
C:\Users\your_user_name\AppData\Roaming\FreeCAD


<span id="Tips_and_Tricks"></span>
See also: [[Dxf_Importer_Install|Dxf Importer Install]]
== Consejos y trucos ==


A veces los archivos DXF no se importan aunque se abren en otros programas CAD sin problemas.
== Tips and Tricks ==

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


You can try:
You can try:
# Go to {{MenuCommand|Edit → Preferences → Import-Export → DXF}} and untick the option {{MenuCommand|Join geometry}} and try again.
# Go to {{MenuCommand|Edit → Preferences → Import-Export → DXF}} and untick the option {{MenuCommand|Join geometry}} and try again.
# Remember that maybe now you won't have coincident endpoints. You will have to make them coincident yourself.
# Remember that maybe now you won't have coincident endpoints. You can make them coincident with [[Sketcher_ValidateSketch|Sketcher ValidateSketch]]
# You can do this with the [[Sketcher_CloseShape|Sketcher CloseShape]] command {{VersionPlus|0.15}} or you can apply the constraints manually.


You can also try:
You can also try:
# Go to {{MenuCommand|Edit → Preferences → Draft → General settings}} and adjust the value of {{MenuCommand|Tolerance}} (default: 0,05) and try again.
# Go to {{MenuCommand|Edit → Preferences → Draft → General settings}} and adjust the value of {{MenuCommand|Tolerance}} (default: 0,05) and try again.


For an overview of all DXF related preferences see [[Import_Export_Preferences#DXF|Import Export Preferences]].
Para ver un resumen de todas las preferencias relacionadas con DXF, consulte [[Import_Export_Preferences/es#DXF|Preferencias de importación y exportación]].





Latest revision as of 19:58, 22 November 2023

Fondo

DXF es un formato de datos CAD propietario para dibujos 2D que se originó con AutoCAD. Se pueden encontrar más detalles en la página wiki DXF.

Introducción

Desde la versión 0.18 de FreeCAD hay un nuevo importador DXF en C++, y desde la versión 0.19 también un nuevo exportador DXF en C++. Estos nuevos componentes se instalan con FreeCAD.

Para utilizar el importador y exportador DXF más antiguo, heredado, es necesario instalar varios archivos. Estos archivos no se pueden incluir con FreeCAD ya que utilizan bibliotecas publicadas bajo una licencia que no es compatible con FreeCAD.

Cómo instalar el importador y exportador DXF heredado

Automáticamente

Si los archivos no están ya instalados, ve al menú Edición → Preferencias → Importar-Exportar → DXF y activa la opción Permitir a FreeCAD descargar y actualizar automáticamente las bibliotecas DXF para que FreeCAD las descargue e instale automáticamente.

Para FreeCAD 0.14 o anterior hay que instalarlo manualmente:

Manualmente

  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

Consejos y trucos

A veces los archivos DXF no se importan aunque se abren en otros programas CAD sin problemas.

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.

Para ver un resumen de todas las preferencias relacionadas con DXF, consulte Preferencias de importación y exportación.