Import text and geometry from Inkscape/pl: Difference between revisions

From FreeCAD Documentation
(Created page with "*import svg we FreeCAD nie może obsłużyć pliku svg o rozdzielczości większej niż 45 dpi, więc sprawdź ustawienia w inkscape. *Podczas importowania obiektów ścieżek, które pojawiają się w oknie widoku 3D we FreeCAD niezbyt gładko, może to być kwestia ustawień FreeCAD dla widoku kształtu. **We FreeCAD wybierz {{MenuCommand|Edycja → Preferencje ... → Projekt Części → Widok kształtu}}. **Jeśli chodzi o "Tesselację", "Maksymalne dopuszczalne odc...")
(Created page with "==Importowanie tekstu z programu inkscape==")
Line 27: Line 27:
**w takim przypadku usunięcie "system.cfg" i "user.cfg" w katalogu użytkownika FreeCAD rozwiąże ten problem.
**w takim przypadku usunięcie "system.cfg" i "user.cfg" w katalogu użytkownika FreeCAD rozwiąże ten problem.


<span id="Importing_text_from_inkscape"></span>
== Importing text from inkscape ==
==Importowanie tekstu z programu inkscape==


*In inkscape, after inserting text (and perhaps applying effects like bending or something else to it) make sure to
*In inkscape, after inserting text (and perhaps applying effects like bending or something else to it) make sure to

Revision as of 09:26, 29 October 2023

Ćwiczenie
Temat
Import tekstu i geometrii z programu Inkscape
Poziom trudności
Początkujący
Czas wykonania
30 minut
Autorzy
r-frank
Wersja FreeCAD
0.16.6704
Pliki z przykładami
Zobacz również
-

Wprowadzenie

Ten samouczek ma na celu pokazanie, jak zaimportować tekst lub geometrię utworzoną w programie inkscape za pomocą formatu svg do programu FreeCAD.
Do tych operacji używane są Inkscape 0.91 i FreeCAD 0.16.6704 na Windows.

Ogólne wskazówki dotyczące importu z inkscape

  • import svg we FreeCAD nie może obsłużyć pliku svg o rozdzielczości większej niż 45 dpi, więc sprawdź ustawienia w inkscape.
  • Podczas importowania obiektów ścieżek, które pojawiają się w oknie widoku 3D we FreeCAD niezbyt gładko, może to być kwestia ustawień FreeCAD dla widoku kształtu.
    • We FreeCAD wybierz Edycja → Preferencje ... → Projekt Części → Widok kształtu.
    • Jeśli chodzi o "Tesselację", "Maksymalne dopuszczalne odchylenie w zależności od ramki otaczającej", domyślną wartością jest "0,5 %",
    • ustawienie tej wartości na niższą zwiększy płynność modelu w oknie widoku 3D (i wykorzysta większą wydajność komputera),
    • nie używaj wartości niższych niż "0,01 %", najprawdopodobniej spowoduje to awarię programu FreeCAD,
    • w takim przypadku usunięcie "system.cfg" i "user.cfg" w katalogu użytkownika FreeCAD rozwiąże ten problem.

Importowanie tekstu z programu inkscape

  • In inkscape, after inserting text (and perhaps applying effects like bending or something else to it) make sure to
    • select your text and choose PathObject to path
    • ungroup your objects
    • save as "Plain SVG (*.svg)" file format
  • open the file in FreeCAD, choosing the option "SVG as geometry (importSVG)"
  • a path object for each letter/number/sign will be created in the tree view
  • use Draft Upgrade tool on each path object to create faces
  • use pad or Part Extrude tool on the faces to get solids
  • you can fuse your objects or use compound on them depending on your intended further work

Importing geometry from inkscape

Since inkscape and FreeCAD seem to have different approaches on how to apply dimensions on svg-object, the recommended workflow seems to be:

  • ungroup all objects in inkscape
  • select all objects in inkscape
  • apply a stroke style with a width of 0 mm (yes, that is zero millimeter) to all objects
  • save as "Inkscape SVG (*.svg)" or "Plain SVG (*.svg)" file format
  • open the file in FreeCAD, choosing the option "SVG as geometry (importSVG)"
  • the dimensions of the objects in inkscape and in FreeCAD should now be identical

Credits

Thanks to users "freecad-heini-1" and "herbk" for testing and providing valuable feedback.