Sketchup plugin – SVG Import


Met de SVG plugin voor Sketchup kun je SVG (Scalable Vector Graphics) bestanden importeren.

Sketchup compatibiliteit: SketchUp 6+, getest en werkend met SketchUp 2014, SketchUp 2015

Download @ Github
Download @ Ruby library depot (oude versie)

Let op: op de downloadsite worden er een aantal benodigdheden (dependencies) aangewezen welke je moet hebben zodat de plugin goed kan functioneren, echter blijkt alleen dat je alleen Bezier.rb nodig hebt, deze heb ik dan ook bijgesloten in de downloads!

Installatie van Sketchup plugins/tools/libraries: Sketchup info

Menu toegang:
Extensions > Import SVG file

Als je de toegang onder File/Bestand wil hebben, dan bewerk het bestand svg.rb en vervang bijna onderaan deze regel:


Informatie (ENG):
This script allows to use Inkscape to create 2D images (for example by using Inkscapes bitmap vectorizer) and to create Sketchup group(s) from the SVG File Inkscape has written. The code will try to keep the hierarchy of the SVG file, so you will get a whole tree of groups if you had one in your SVG File.

The plugin adds a ‘Import SVG File…’ option in the Plugins menu. The SVG will be imported into a new group. The object structure within the SVG will be preserved, meaning that groups of objects within the SVG will become nested groups in Sketchup. Note that several explode operations may be required to move geometry into the top-level model.

Known Bugs/Missing features
These are not implemented, but have been started or planned. Additional feature requests can be made on github

  • Additional SVG Types
    • line, polyline, polygon, text
    • Additional path commands (arc, quadratic bezier, etc)
  • Localization
    • The ‘french’ branch contains french translations of some messages. If some french speaker would be interested in updating this branch with the latest features it would be great.
  • 3D-specific attributes
    • It might be interesting to use some attributes (like the color of a stroke) to control the Z-Value. With this common trick it is possible to use Inkscape for some kind of 2.5D.
  • Bug: faces are not created correctly: too many, holes are wrong, etc.
  • Bug: Incompatible with smoove