Import Export Preferences/pl: Difference between revisions

From FreeCAD Documentation
No edit summary
(Created page with "Oprogramowanie [https://en.wikipedia.org/wiki/VTK Visualization Toolkit] ''(VTK)'' jest otwartym, ogólnodostępnym systemem oprogramowania dla grafiki komputerowej 3D, przetw...")
Line 485: Line 485:
===VTK===
===VTK===


The [https://en.wikipedia.org/wiki/VTK Visualization Toolkit] (VTK) is an open-source, freely available software system for 3D computer graphics, image processing and visualization. VTK files are used by the [[Image:Workbench_FEM.svg|24px]] [[FEM_Module|FEM workbench]] for the [[FEM_Post_Processing_based_on_VTK|post processing]] of simulation results.
Oprogramowanie [https://en.wikipedia.org/wiki/VTK Visualization Toolkit] ''(VTK)'' jest otwartym, ogólnodostępnym systemem oprogramowania dla grafiki komputerowej 3D, przetwarzania obrazu i wizualizacji. Pliki VTK wykorzystywane przez Środowisko pracy [[Image:Workbench_FEM.svg|24px]] [[FEM_Module/pl|FEM]] dla [[FEM_Post_Processing_based_on_VTK|przetwarzania końcowego]] wyników symulacji.


The tab ''VTK'' is only shown in the preferences if you are in the [[FEM_Module|FEM Workbench]] or if you have been in this workbench before.
The tab ''VTK'' is only shown in the preferences if you are in the [[FEM_Module|FEM Workbench]] or if you have been in this workbench before.

Revision as of 09:01, 9 August 2020

Wprowadzenie

FreeCAD może importować i eksportować wiele formatów plików. Dla niektórych formatów istnieją dedykowane ustawienia. Można je znaleźć w Edytorze ustawień, w menu Edycja → Preferencja → Import-Export.

Nie wszystkie karty preferencji importu i eksportu są domyślnie dostępne. W przypadku niektórych z nich należy najpierw wczytać Środowisko pracy.

Uwagi

Strona TechDraw

Wymienione tutaj opcje DXF i SVG nie są używane przez polecenia Eksport strony do SVG i Eksport strony do DXF w Środowisku TechDraw ani przez opcję eksportu TechDraw: Plik → Eksportuj → Technical Drawing (*.svg *.dxf *.pdf).

Pliki OpenSCAD

Preferencje dotyczące importu i eksportu dla plików OpenSCAD są wymienione w innej części Edytora ustawień. Zobacz OpenSCAD Preferences.

Powiązane

Dodatkowe informacje znajdują się na kolejnych stronach:

  • Import elsport: Tabela zawierająca listę wszystkich obsługiwanych formatów plików.
  • FreeCAD Howto Import Export: Zestawienie wszystkich obsługiwanych formatów plików: Lista poradników, które mogą pomóc użytkownikom w konwersji danych z jednego formatu do drugiego.

Dostępne preferencje

DAE

Format Collada DAE (Digital Asset Exchange) jest standardowym formatem plików do wymiany danych Mesh. FreeCAD może importować siatki z plików .dae i eksportować obiekty oparte na kształcie do formatu .dae.

Uwaga dla użytkowników Linuksa: Do obsługi tego formatu pliku, FreeCAD wymaga modułu pyCollada.

Dla formatu DAE można sprecyzować, co następuje:

Nazwa opis
Współczynnik skalowania Wszystkie wymiary w pliku będą przeskalowane z podanym współczynnikiem.
Mesher Ustawia program tworzenia siatki, który powinien być używany. Jeśli używasz Netgen, upewnij się, że jest dostępny. Można to sprawdzić za pomocą Środowiska pracy Mesh i narzędzia tworzenie siatki używając Netgen. Jeśli nie jest dostępne, należy zainstalować inną wersję FreeCAD, skompilowaną z Netgen.
Tessellatcja Wartość teselacji, którą należy stosować z programami tworzenia siatki „Builtin” i „Mefisto”.
Grading Wartość stopniowania używana do tworzenia siatki przy użyciu „Netgen”. Ta wartość opisuje, jak szybko zmniejsza się rozmiar siatki. Gradient lokalnego rozmiaru oczek h (x) jest ograniczony przez abs (Δh (x)) ≤ 1 / wartość.
Segmenty na krawędź Maksymalna liczba segmentów dla krawędzi.
Segmenty na promień Liczba segmentów na promień.
Second order Zezwalaj na siatkę drugiego rzędu.
Optymalizuj Zezwalaj na optymalizację.
Zezwalaj na kwadraty Zezwalaj na czworoboczne ściany.

DWG

DWG (pochodzący od rysunku) jest zastrzeżonym, zamkniętym źródłowym, binarnym formatem pliku używanym do przechowywania dwu- i trójwymiarowych danych projektowych i metadanych. FreeCAD wymaga zewnętrznego konwertera plików ODA do przetwarzania plików DWG.

Dla formatu DWG można określić tylko ścieżkę do ODA. Uwaga: Wszystkie ustawienia formatu pliku DXF dotyczą również formatu DWG.

Nazwa Opis
Ścieżka do konwertera plików ODA (dawniej Teigha) Określa ścieżkę do konwertera plików ODA.

DXF

AutoCAD DXF (Drawing eXchange Format) jest zastrzeżonym formatem wymiany danych CAD pomiędzy AutoCAD a innymi programami.

Dla formatu DXF można sprecyzować, co następuje:

Nazwa Opis
Pokaż to okno dialogowe podczas importu i eksportu To okno dialogowe preferencji zostanie wyświetlone podczas importowania lub eksportowania plików DXF.
Użyj starszego importera Pythona Jeśli opcja jest zaznaczona, używany jest importer Python, w przeciwnym razie nowszy C++. Importer C++ jest szybszy, ale nie posiada jeszcze tak wielu funkcji.

Importer Pythona używa opcji Edycja → Preferencje... → Draft → Ustawienia ogólne → Wewnętrzny poziom dokładności. Aby uzyskać dokładny wynik importu, ustaw tę wartość na 8 lub wyższą.

Użyj starszego eksportera Python Jeśli opcja ta jest zaznaczona, stosowany jest Eksporter Python, w przeciwnym razie nowszy C++. Eksporter C++ jest szybszy, ale nie ma jeszcze tak wielu funkcjonalności. dostępne w wersji 0.19
Pozwól programowi FreeCAD na automatyczne pobieranie i aktualizację bibliotek DXF Poprzez zaznaczenie tego, pozwolisz FreeCAD pobrać Python Converter do importu i eksportu DXF. Ten konwerter nie może być dołączony do programu FreeCAD, ponieważ posiada on inną licencję.
Import Wybierz co będzie importowane.
Jeśli opcja teksty i wymiary jest odznaczona, teksty i mtexts nie będą importowane.

Jeśli punkty nie są zaznaczone, nie będą importowane.

Jeśli zaznaczono opcję układy graficzne, zaimportowane zostaną również obiekty obszaru papieru.

Sprawdź '*blokady, jeśli chcesz, aby nienazwane bloki (zaczynające się od a *) były również importowane.

Utwórz Wybierz, co zostanie utworzone.
Jeśli wybrano proste kształty części, to zostaną utworzone tylko standardowe obiekty części. Jest to najszybszy proces.

Jeśli wybrana jest opcja 'Obiekty szkicowe, to w miarę możliwości tworzone będą parametryczne obiekty szkicowe.

Jeśli wybrana zostanie opcja 'Szkice, w miarę możliwości będą tworzone szkice.

Scale factor to apply to imported files Współczynnik skalowania ma zastosowanie podczas importu plików DXF. Współczynnik to konwersja pomiędzy jednostką Twojego pliku DXF a milimetrami. Przykład: dla plików w milimetrach: 1, w centymetrach: 10, w metrach: 1000, w calach: 25,4, w stopach: 304.8.
Pobierz oryginalne kolory z pliku DXF Jeśli opcja jest zaznaczona, kolory będą pobierane z obiektów DXF, gdy tylko będzie to możliwe. W przeciwnym razie zostaną zastosowane kolory domyślne.
Połącz geometrie Jeśli opcja jest zaznaczona, FreeCAD będzie próbował łączyć przypadkowe obiekty w linie łamane. Zauważ, że może to chwilę potrwać!
Grupowanie warstw w bloki Jeśli opcja zostanie zaznaczona, obiekty z tych samych warstw zostaną połączone w bloki robocze, które wyświetlają się szybciej, ale są mniej edytowalne.
Stosuj standardową wielkość czcionki dla tekstów Jeśli opcja jest zaznaczona, importowane teksty uzyskają standardowy rozmiar Draft: Tekst, zamiast rozmiaru, który mają w dokumencie DXF.
Korzystanie z VisGroups / Stosowanie warstw Jeśli opcja zostanie zaznaczona, warstwy DXF będą importowane jako Draft: VisGroups (wersja 0.18 i poniżej) lub Draft: Layers (dostępne w wersji 0.19).
Importuj obwiednie kreskowania jako linie łamane Jeśli opcja zostanie zaznaczona, kreskowanie zostanie zamienione na proste linie łamane.
Renderuj polilinie o szerokości Jeśli opcja zostanie zaznaczona, i polilinie mają zdefiniowaną szerokość, będą renderowane jako zamknięte linie łamane o odpowiedniej szerokości.
Elipsy i splajny traktuj jako polilinie Eksport elips i splajnów jest słabo obsługiwany. Użyj tej opcji, aby wyeksportować je jako polilinie.

Ustawienie "Max Spline Segment' jest wówczas maksymalną długością każdego z segmentów polilinii. Jeśli jest on ustawiony na "0", cały splajn jest traktowany jako odcinek prosty.

Eksportuj obiekty 3D jako siatki polipowierzchni Jeśli opcja zostanie zaznaczona, wszystkie obiekty zawierające powierzchnie zostaną wyeksportowane jako polipowierzchnie 3D.
Eksportowe widoki rysunków jako bloki Jeśli opcja ta jest zaznaczona, widoki rysunkowe będą eksportowane jako bloki. Może się to nie udać w przypadku szablonów po DXF R12.
Projektuj wyeksportowane obiekty wzdłuż aktualnego kierunku widoku Jeśli opcja zostanie zaznaczona, eksportowane obiekty będą rzutowane tak, aby odzwierciedlały aktualny kierunek widoku.

IGES

Format pliku Initial Graphics Exchange Specification (IGES) jest formatem umożliwiającym cyfrową wymianę informacji pomiędzy systemami CAD. Po opublikowaniu formatu pliku STEP, rozwój IGES został wstrzymany w 1996 roku, ale nadal jest on obsługiwany przez wiele programów CAD. Pliki IGES mają rozszerzenie .iges lub .igs.

Zakładka IGES jest wyświetlana w preferencjach tylko wtedy, gdy masz uruchomione jedno ze Środowisk pracy Part, PartDesign lub OpenSCAD lub jeśli wcześniej używałeś jednego z tych środowisk.

Dla formatu IGES można sprecyzować, co następuje:

Nazwa Opis
Jednostki przeznaczone do eksportu IGES Wybierz jakie jednostki będą używane podczas eksportowania plików IGES.
Zapisuj bryły i korpusy jako Wybierz, w jaki sposób mają być generowane bryły i powłoki.

Jeśli wybrano opcję Grupy powierzchni przyciętych (typ 144), będą one eksportowane jako powierzchnie przycięte.

Jeżeli wybrano opcję Bryły (typ 186) i Powłoki (typ 514) / tryb B-REP, to bryły zostaną wyeksportowane jako bryły manifold obiekt B-Rep, powłoki jako korpusy.

Pomijanie pustych pozycji. Jeśli opcja została zaznaczona, puste pozycje nie będa importowane.
Firma Jeśli pole nie jest puste, wprowadzony tekst zostanie użyty w nagłówku pliku IGES dla określenia nazwy firmy.
Autor Jeśli pole nie jest puste, wprowadzony tekst zostanie użyty w nagłówku pliku IGES dla określenia nazwy autora.
Produkt Jeśli pole nie jest puste, wprowadzony tekst zostanie użyty w nagłówku pliku IGES dla określenia nazwy produktu.

IFC

Industry Foundation Classes (IFC) to szeroko rozpowszechniony format wymiany danych pomiędzy aplikacjami BIM. Jest on używany w architekturze i inżynierii.

Uwaga dla użytkowników Linuksa: Do obsługi tego formatu pliku, FreeCAD wymaga modułu IfcOpenShell.

Dla formatu IFC można sprecyzować, co następuje:

Name Description
Show this dialog when importing and exporting This preferences dialog will be shown when importing or exporting IFC files.
Show debug messages Shows verbose debug messages during import and export of IFC files in the Report view panel.
Create clones when objects have shared geometry IFC objects can share a same geometry definition between several objects, only their placement is different. So when this option is enabled, clones are used to achieve the same result in FreeCAD. One object is the base object, the others are clones.
Import arch IFC objects as What will be created in FreeCAD for arch IFC objects.
Import struct IFC objects as What will be created in FreeCAD for struct IFC objects.
Root element Only subtypes of the specified element will be imported. Keep the predefied element IfcProduct to import all building elements.
Separate openings If checked, openings will be imported as subtractions, otherwise wall shapes will already have their openings subtracted.
Detect extrusions If checked, the importer will try to detect extrusions. Note that this might slow things down.
Split multilayer walls Split walls made of multiple layers.
Prefix names with ID number If checked, object names will be prefixed with the IFC ID number.
Merge materials with same name and same color If several materials with the same name are found in the IFC file, they will be treated as one.
Import Ifc Properties in spreadsheet If checked, each object will have their IFC properties stored in a spreadsheet object.
Allow invalid shapes If unchecked invalid shapes are not imported. introduced in version 0.19
Exclude list A comma-separated list of IFC entities to be excluded from imports.
Fit view while importing Fit view during import on the imported objects. This will slow down the import, but one can watch the import.
Import full FreeCAD parametric definitions if available Creates a full parametric model on import using stored FreeCAD object properties.

To get the FreeCAD properties, the model must have been exported using the option Export full FreeCAD parametric model. introduced in version 0.19

Force export as Brep Some IFC viewers don't like objects exported as extrusions. Use this to force all objects to be exported as BREP geometry. However, please notice that this makes the object non-parametric. Avoid exporting as Brep if possible.
Use DAE triangulation options Use triangulation options set in the DAE options page.
Join coplanar facets when triangulating Curved shapes that cannot be represented as curves in IFC are decomposed into flat facets. If this is checked, some additional calculation is done to join coplanar facets.
Store IFC universal ID in FreeCAD objects When exporting objects without unique ID (UID), the generated UID will be stored inside the FreeCAD object for reuse next time that object is exported. This leads to smaller differences between file versions.
Use IfcOpenShell serializer if available IFCOpenShell is a library that allows to import IFC files. Its serializer functionality allows to give it an OCC shape and it will produce an adequate IFC geometry: NURBS, faceted, or anything else.
Note that the serializer this is still an experimental feature.
Export 2D objects as IfcAnnotations If checked, 2D objects will be exported as IfcAnnotation.
Export full FreeCAD parametric model If checked, all FreeCAD object properties will be stored inside the exported objects, allowing to recreate a full parametric model on reimport using the option Import full FreeCAD parametric definitions if available.
Reuse similar entities If checked, similar entities will be used only once in the file if possible. This can reduce the file size a lot, but will make it less easily readable.
Disable IfcRectangleProfileDef When possible, IFC objects that are extruded rectangles will be exported as IfcRectangleProfileDef. However, some other applications might have problems importing that entity. If this is your case, you can disable this and then all profiles will be exported as IfcArbitraryClosedProfileDef.
Auto-detect and export as standard cases when applicable Some IFC types such as IfcWall or IfcBeam have special standard versions like IfcWallStandardCase or IfcBeamStandardCase. If this option is turned on, FreeCAD will automatically export such objects as standard cases when the necessary conditions are met. introduced in version 0.19
Add default site if one is not found in the document When exporting an IFC file, if no site is found in the FreeCAD document, a default one will be added. A site is not mandatory by the IFC standard, but a common practice to have at least one in the file. introduced in version 0.19
Add default building if one is not found in the document (no standard) When exporting an IFC file, if no building is found in the FreeCAD document, a default one will be added.

Warning: The IFC standard asks for at least one building in each file. By turning this option off, you will produce a non-standard IFC file.

However, at FreeCAD we believe having a building should not be mandatory, and this option is there to have a chance to demonstrate our point of view. introduced in version 0.19

Add default building storey if one is not found in the document When exporting an IFC file, if no building storey is found in the FreeCAD document, a default one will be added. A building storey is not mandatory by the IFC standard, but a common practice to have at least one in the file. introduced in version 0.19
IFC file units Select what unit will be used when exporting IFC files. introduced in version 0.19

INP

INP is the input file format for the FEM software Abaqus. It is used for the CalculiX solver in the FEM Workbench.

The tab INP is only shown in the preferences if you are in the FEM Workbench or if you have been in this workbench before.

Dla formatu INP można sprecyzować, co następuje:

Name Description
Which mesh elements to export Select what mesh element parameters should be exported.

If All is selected, all elements will be exported.

If Highest is selected, only the highest elements will be exported. This means volumes for a volume mesh and faces for a shell mesh.

If FEM is selected, only FEM elements will be exported. This means only edges not belonging to faces and faces not belonging to volumes.

Export group data If checked, mesh groups are exported too. Every constraint and, if there are different materials, material consists of two mesh groups, faces and nodes where the constraint or material is applied.

Formaty Mesh

Meshes are a special type of 3D object, composed of triangular faces connected by their vertices and edges. They are widely used for additive manufacturing. FreeCAD provides the Mesh Workbench to create and handle meshes. FreeCAD supports several mesh file formats.

The tab Mesh Formats is only shown in the preferences if you are in the Mesh Workbench or if you have been in this workbench before.

Dla formatów Mesh można sprecyzować, co następuje:

Name Description
Maximum mesh deviation Specification of the maximal deviation between the mesh and the object.
Export AMF files using compression If checked, ZIP compression is used when writing a mesh file in AMF format.

OCA

The OCA file format is a community project to create a free, simple and open CAD file format. OCA is largely based on the GCAD file format generated by gCAD3D. Both formats can be imported in FreeCAD and the OCA files exported by FreeCAD can be opened in gCAD3D.

Dla formatu OCA można sprecyzować, co następuje:

Name Description
Import OCA areas If checked, the areas (3D faces) will be imported too.

STEP

The Standard for The Exchange of Product model data (STEP) file format is an ISO standard for the computer-interpretable representation and exchange of product manufacturing information. STEP is commonly used to exchange 3D data between CAD software. STEP files have the .step or .stp extension. For compressed files the .stpz extension is used.

The tab STEP is only shown in the preferences if you are in the Part, PartDesign or OpenSCAD workbench or if you have been in one of these workbenches before.

Dla formatu STEP można sprecyzować, co następuje:

Name Description
Units for export of STEP Select what units will be used when exporting STEP files.
Write out curves in parametric space of surface If checked, parametric curves (curves in parametric space of surfaces) will be written into the STEP file. Unchecking the option can be helpful to minimize the size of the resulting STEP file.
Export invisible objects Uncheck this to skip invisible object when exporting, which is useful for CADs that do not support invisibility STEP styling. introduced in version 0.19
Export single object placement Check this option to keep the placement information when exporting a single object. Please note that when re-importing the STEP file, the placement will be encoded into the shape geometry, instead of keeping it inside the Placement property. introduced in version 0.19
Use legacy exporter Use the legacy exporter. introduced in version 0.19
Scheme Select what STEP application protocol (AP) will be used for the export.

AP 203 is the protocol for configuration controlled 3D designs of mechanical parts and assemblies.

AP 214 is the protocol for core data for automotive mechanical design processes.

Enable STEP Compound merge If checked, a compound merge will be done during file reading. This is slower but results in higher details.
Use LinkGroup Select this to use App::LinkGroup group containers instead of App::Part group containers. introduced in version 0.19
Import invisible objects Select this to import invisible objects. introduced in version 0.19
Reduce number of objects Reduce the number of objects using Link arrays. introduced in version 0.19
Expand compound shape Expand compound shapes with multiple solids. introduced in version 0.19
Show progress bar when importing Show a progress bar when importing. introduced in version 0.19
Ignore instance names Do not use instance names. Useful for some legacy STEP files with non-meaningful auto-generated instance names. introduced in version 0.19
Mode Select the required document structure. introduced in version 0.19

Jeden dokument

Montaż według dokumentu

Assembly per document in sub-directory

Object per document

Object per document in sub-directory

Company If not empty, the entered text will be used in the STEP file header for the company.
Author If not empty, the entered text will be used in the STEP file header for the author.
Product If not empty, the entered text will be used in the STEP file header for the product.

SVG

Scalable Vector Graphics (SVG) is a vector image format for two-dimensional graphics. A vector image can be scaled to any size without losing its shape or details. An SVG image can be converted to bitmap formats like PNG or JPEG for printing.

Dla formatu SVG można sprecyzować, co następuje:

Name Description
Import style Select how SVG object colors and line widths will be imported.

If None (fastest) is selected no color and line width settings will be imported.

If Use default color and linewidth is selected FreeCAD will use its default color and line width.

If Original color and linewidth is selected FreeCAD will use the color and linewidth from the SVG objects.

Disable units scaling If checked, no units conversion will occur. One unit in the SVG file will translate as one millimeter.
Export style Select how Sketches are exported to SVG.

If Translated (for print & display) is selected, SVG objects are encapsulated in a group that is scaled and moved to the correct place in the SVG document to fit into a printable area.

If Raw (for CAM) is selected, SVG objects are placed as they are - at the same coordinates as in the FreeCAD model (1:1 export).

Translate white line color to black If checked, all white lines will appear in black in the SVG for better readability against white backgrounds.
Max segment length for discretized arcs Versions of Open CASCADE older than version 6.8 don't support arc projection. In this case arcs will be discretized into small line segments. This value is the maximum segment length.

VTK

Oprogramowanie Visualization Toolkit (VTK) jest otwartym, ogólnodostępnym systemem oprogramowania dla grafiki komputerowej 3D, przetwarzania obrazu i wizualizacji. Pliki VTK są wykorzystywane przez Środowisko pracy FEM dla przetwarzania końcowego wyników symulacji.

The tab VTK is only shown in the preferences if you are in the FEM Workbench or if you have been in this workbench before.

Dla formatu VTK można sprecyzować, co następuje:

Name Description
Which object to import into Select what objects should be imported.

If VTK result object is selected, a FreeCAD FEM VTK result object will be imported (equals to the object which was exported).

If FEM mesh object is selected, the results in the VTK file will be omitted, only the mesh data will be imported and a FreeCAD FEM mesh object will be created.

If FreeCAD result object is selected, the imported data will be converted into a FreeCAD FEM Result object. Note: this setting needs the exact result component names and thus it only works properly with VTK files exported from FreeCAD.