Bug 1005 : SVG polygon shapes not drawing since loadShape() and PShape changes
Last modified: 2008-11-13 16:22




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

Reporter:
mshaub
Assigned To:
fry

Attachment Type Created Size Actions
The three SVGs show the shapes created by Rectangle, Polygon, and Path converted shapes. The .pde attempts to display all of these. application/zip 2008-11-09 11:43 4.14 KB

Description:   Opened: 2008-11-09 11:40
I followed the SVG settings described on the following page:

http://processing.org/discourse/yabb_beta/YaBB.cgi?board=os_libraries_tools;action=display;num=1153521396
mflux
Re: "Candy", SVG Importer for Processing
« Reply #6 on: Sep 28th, 2006, 12:19am »

Any objects drawn with the pen tool and those made with the pathfinder tool
are exported in the SVG as a "polygon" and don't show up. I think this is a
bug, as other shapes that export as "rectangle" or "path" are drawn
correctly. I was able to use the "object"->"path"->"simplify..." to convert
the polygon shape to a path so that the same object(s) are displayed. This
is now part of my workflow. Is there no support for SVG "polygons"? Is
there another way to convert a polygon to a path?

I used the PShape example to test the files and have posted a sketch folder
with all the SVGs and .pde file for your review.
http://www.cageybirds.com/blog/uploaded_files/processing/LoadDisplayShape3.zip
The three SVGs show the shapes created by Rectangle, Polygon, and Path
converted shapes. The .pde attempts to display all of these.
Additional Comment #1 From mshaub 2008-11-09 11:43
edit]
The three SVGs show the shapes created by Rectangle, Polygon, and Path
converted shapes. The .pde attempts to display all of these.
Additional Comment #2 From fry 2008-11-13 16:21
fixed for 0157, was just a problem with the change to the new loadShape()
setup. thanks for the thorough report.