Giter Club home page Giter Club logo

ae_svg's Introduction

ae_SVG

Python-based assets for importing and exporting SVG files in Houdini

Hi

Installation

Both HDAs use the svg.path library - https://pypi.python.org/pypi/svg.path To ensure Houdini has access to this library:

  • Install Python2.7
  • Install pip, the python package manager (it may be automatically installed with python) - https://bootstrap.pypa.io/get-pip.py - Run 'pip install svg.path' which will install svg.path into Python27\Lib\site-packages
  • Run 'pip install svg.path --target [path/to/houdini/home/python2.7libs] ' which will install svg.path into the Houdini custom python library directory (e.g C:/Users/User/Documents/houdini16.0/python2.7libs )
  • Create an empty __init__.py file inside the svg/ directory of the svg/path installation
  • In your houdini.env file, append the site-packages directory to the python search path, e.g PYTHONPATH = &;C:\Python27\Lib\site-packages - Setting PYTHONPATH in the houdini.env file apparently breaks some python modules that come with Houdini.

Importer

A digital asset which can load SVG files into SOPs. Features:

  • Supports Line, Polyline, Polygon, Circle, Rect and Path elements (Cubic bezier paths - open or closed)
  • Supports Compound shapes
  • Loads Fill, Stroke, Stroke-Weight and Opacity data and stores these as Primitive attributes
  • Options for outlining strokes, hole-ing compound shapes and converting bezier curves to polygons

Current Limitations:

  • Does not support clipping paths (Produces Error)
  • Does not support group tags

Exporter

A digital asset which can save the contents of a Houdini scene to SVG format

  • Work-in-progress - usable but not guaranteed stable.
  • Supports Polygons, Polylines and Bezier Curves
  • 2 digital assets: SVG_Export and SVG_ProcessAndExport. The latter performs geometry cleanup, camera projection and culling before as well as exports.

ae_svg's People

Contributors

aeoll avatar

Watchers

James Cloos avatar Javier Martinez avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.