1. NodeBox 1
    1. Homepage
    2. NodeBox 3Node-based app for generative design and data visualization
    3. NodeBox OpenGLHardware-accelerated cross-platform graphics library
    4. NodeBox 1Generate 2D visuals using Python code (Mac OS X only)
  2. Gallery
  3. Documentation
  4. Forum
  5. Blog

Core image SVG problem

Posted by Chris on Feb 25, 2008

I'm having trouble adding Illustrator-created SVG paths to a Core Image canvas layer. Has anybody else run into this?


 
Posted by Chris on Feb 25, 2008

BTW: This is the error I'm receiving:

Traceback (most recent call last):
File "nodebox/gui/mac/__init__.pyo", line 358, in _execScript
File "/Users/chrisentery/Desktop/fingerprints/svg/finger.py", line 9, in
File "/Users/chrisentery/Library/Application Support/NodeBox/coreimage/__init__.py", line 569, in draw
File "/Users/chrisentery/Library/Application Support/NodeBox/coreimage/__init__.py", line 2745, in draw
File "/Users/chrisentery/Library/Application Support/NodeBox/coreimage/__init__.py", line 2664, in merge
File "/Users/chrisentery/Library/Application Support/NodeBox/coreimage/__init__.py", line 2603, in render
File "/Users/chrisentery/Library/Application Support/NodeBox/coreimage/__init__.py", line 2543, in render_opacity
AttributeError: 'NoneType' object has no attribute 'extent'



Posted by Tom De Smedt on Feb 26, 2008

Hi Chris, can you send me the code and the SVG file so I can have a look at it?

Also, the latest download of the SVG library has an example of how to put paths into Core Image.