copying path data vs writing pd-file with path data
I'm trying to parse Svg data to a .pd file but when i open it, it doesn't work. Opening this file gives errors:
error: draw path: path data must start with a moveto command (M or m) error: draw: path data must start with 'm' or 'M' draw path d="M273.215 ... couldn't create error: canvas: no method for '351.061c-9.879-0.094-20.832-0.305-32.562-0.631c0.648' [9] error: canvas: no method for 'float' error: canvas: no method for '0.7V351.061z"'
But if i open it with a texteditor and copy just the
draw path d="M273.215,351.061c-9.879-0.094-20.832-0.305-32.562-0.631c0.648,12.214,1.313,24.358,1.997,36.246 c10.883,0.326,21.129,0.572,30.564,0.7V351.061z"; to a new object box, it does instantiate.
I'm trying to create several path objects from this file:
I would expect purr data to instantiate the Svg-path when i open the generated .pd file.