Import von Text und Geometrie aus Inkscape

From FreeCAD Documentation
Revision as of 08:46, 14 September 2020 by Maker (talk | contribs) (Created page with "== Importieren von Geometrie aus InkScape == Da inkscape und FreeCAD unterschiedliche Ansätze zur Anwendung von Bemaßungen auf svg-Objekte zu haben scheinen, scheint der emp...")
Tutorial
Topic
Import text and geometry from Inkscape
Level
Beginner
Time to complete
30 minutes
Authors
r-frank
FreeCAD version
0.16.6704
Example files
See also
None

Einführung

Dieses Tutorium soll zeigen, wie Text oder Geometrie, die mit InkScape im svg-Format erstellt wurden, in FreeCAD importiert werden können.
Für diese Bearbeitungen werden Inkscape 0.91 und FreeCAD 0.16.6704 unter Windows verwendet.

General tips for importing from inkscape

  • the svg-import in FreeCAD cannot handle a svg file with a resolution of more than 45 dpi, so check the settings in inkscape
  • when importing path objects which show up in the 3D view in FreeCAD not very smooth it may be a matter of the FreeCAD-settings for the shape view.
    • in FreeCAD choose Edit Preferences Part Design Shape View
    • as for "Tesselation", the "Maximum deviation depending on the model bounding box" the default value is "0,5 %"
    • setting this to a lower value will increase smoothness of the model in the 3D view (and use more PC performance)
    • don't use values lower than "0,01 %", this will most likely crash FreeCAD
    • in that case deleting "system.cfg" and "user.cfg" in your FreeCAD-user-directory will solve this problem

Importing text from 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 Path Object 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

Importieren von Geometrie aus InkScape

Da inkscape und FreeCAD unterschiedliche Ansätze zur Anwendung von Bemaßungen auf svg-Objekte zu haben scheinen, scheint der empfohlene Arbeitsablauf zu sein:

  • Gruppiere alle Objekte in inkscape
  • wähle alle Objekte in inkscape aus
  • wende einen Strichstil mit einer Breite von 0 mm (ja, das sind null Millimeter) auf alle Objekte an
  • als "Inkscape SVG (*.svg)" oder "Einfaches SVG (*.svg)" Dateiformat speichern
  • Öffne die Datei in FreeCAD und wähle die Option "SVG als Geometrie (importSVG)".
  • die Abmessungen der Objekte in inkscape und in FreeCAD sollten jetzt identisch sein

Danksagungen

Dank an die Benutzer "freecad-heini-1" und "herbk" für die Tests und die wertvolle Rückmeldung.