Export to STL or OBJ/pl: Difference between revisions

From FreeCAD Documentation
(Created page with "==Przykładowa część==")
(Created page with "Możesz użyć własnego pliku FreeCAD, ale możesz także utworzyć szybki plik testowy poprzez: * Otwarcie FreeCAD. * Utworzenie nowego dokumentu. * Przełączenie na środowisko pracy 24px Część. * Wstaw sześcian klikając w 32px Sześcian. * Wstaw stożek klikając w 32px Stożek. * Zaznacz oba obiekty w oknie Tree_view/pl|Widoku dr...")
Line 18: Line 18:
==Przykładowa część==
==Przykładowa część==


Możesz użyć własnego pliku FreeCAD, ale możesz także utworzyć szybki plik testowy poprzez:
You can use your own FreeCAD file, but you could also create a quick test file by
* Opening FreeCAD
* Otwarcie FreeCAD.
* Utworzenie nowego dokumentu.
* Create a new document
* Switch to [[Image:Workbench_Part.svg|24px]] [[Part_Workbench|Part Workbench]]
* Przełączenie na środowisko pracy [[Image:Workbench_Part.svg|24px]] [[Part_Workbench/pl|Część]].
* Insert a cube by clicking on [[Image:Part_Box.svg|32px]] [[Part_Box|Part Box/Cube]]
* Wstaw sześcian klikając w [[Image:Part_Box.svg|32px]] [[Part_Box/pl|Sześcian]].
* Insert a cone by clicking on [[Image:Part_Cone.svg|32px]] [[Part_Cone|Part Cone]]
* Wstaw stożek klikając w [[Image:Part_Cone.svg|32px]] [[Part_Cone/pl|Stożek]].
* Select both objects in the [[Tree_view|tree view]]
* Zaznacz oba obiekty w oknie [[Tree_view/pl|Widoku drzewa]].
* Apply a fusion by clicking on [[Image:Part_Fuse.svg|32px]] [[Part_Fuse|Part Fuse]]
* Zastosuj scalenie klikając w [[Image:Part_Fuse.svg|32px]] [[Part_Fuse/pl|Połączenie]].
* Zapisz plik.
* Save your file


== Export Method 1: Using "File → Export" ==
== Export Method 1: Using "File → Export" ==

Revision as of 14:35, 4 November 2023

Ćwiczenie
Temat
Eksport do formatu STL lub OBJ
Poziom trudności
Początkujący
Czas wykonania
20 minut
Autorzy
r-frank
Wersja FreeCAD
0.16.6703
Pliki z przykładami
nie dołączono
Zobacz również
-

Wprowadzenie

W tym poradniku omówimy, jak wykonać eksport plików STL / OBJ z FreeCAD. Format siatki STL / OBJ jest bezwymiarowy. FreeCAD zakłada przy eksporcie, że jednostki użyte w modelu są w mm. Jeśli tak nie jest, należy przeskalować model. Jednym ze sposobów jest użycie narzędzia . Skaluj środowiska pracy Rysunek Roboczy.

Przykładowa część

Możesz użyć własnego pliku FreeCAD, ale możesz także utworzyć szybki plik testowy poprzez:

  • Otwarcie FreeCAD.
  • Utworzenie nowego dokumentu.
  • Przełączenie na środowisko pracy Część.
  • Wstaw sześcian klikając w Sześcian.
  • Wstaw stożek klikając w Stożek.
  • Zaznacz oba obiekty w oknie Widoku drzewa.
  • Zastosuj scalenie klikając w Połączenie.
  • Zapisz plik.

Export Method 1: Using "File → Export"

  • Select the solid to be exported in the tree view.
  • Choose FileExport... and set file type to "STL mesh (*.stl *.ast)".
  • Enter your file name. The default extension is ".stl". You must include the extension ".ast" in the file name to produce a .ast file. Choose Save.

Metoda eksportu 2: Korzystanie z środowiska pracy Siatka w programie FreeCAD

  • Switch to the Mesh Workbench
  • Select the solid to be meshed in the tree view.
  • Choose Meshes Create Mesh from shape... from the main (top) menu.
  • Select one of the available meshers and specify the available options. For more information refer to Mesh from Shape.
  • Choose OK. The mesh object will be created in the tree view (with green mesh icon ).
  • Right click the mesh object in the tree view and choose Export mesh....
  • Fill in the file name; the extension is not necessary. The extension will be set based on the file type. If you include an extension which does not match the selected file type, an extension for the selected type will be added when the file is saved. If you include an extension which matches the file type, no additional extension will be added.
  • The default file type is "Binary STL (*.stl)". Change the type if you wish.
  • Choose Save.

Which Method to choose ?

Method 2 is to be preferred. Among the reasons:

  • When you have more than one Body to convert you can use Tools from Mesh Workbench. For example, you can fuse meshes before exporting.
  • Curved surfaces are represented in STL as a series of straight-line segments, generated via tessellation. This results in slightly under-sized inside dimensions for curved surfaces. If you are exporting to use in 3D-printing, this may result in an under-sized hole, for example. In such cases you may need a finer tessellation value. When exporting from another workbench using FileExport..., the tessellation is controlled by the overall display tessellation set in EditPreferences... → Part Design → Shape view. However, because those parameters control the tessellation used to render shapes on the display, decreasing them will slow down display rendering, often significantly. In addition, exporting immediately after changing the display tessellation preference value will not have the desired effect because display tessellation is not updated immediately. One must force a change in the underlying model to cause the tessellation to be recomputed -- for example, by editing a sketch parameter (Setting it to its original value will suffice).

Links