Outputting the Bezier Path Frame as a SVG File

Tech support asked me about a question that came in from a user, which was whether one could output the current contents of the bezier path frame as a svg file.

The answer is yes, but it's not as straightforward as a simple menu export command.  We'll try to add that option in the next release for convenience. But for now, let's run through how you can do it in V5.5.

I'm going to assume you already have a set of bezier curves in the bezier path frame.

10824765675?profile=RESIZE_710x

Note that you have to be in Bezier operation mode to see the contents of the bezier path frame.

SVG output in Studio Artist is available via the Action :Generate SVG menu commands.  When you run any of those commands, either the Vectorizer or the current PASeq plays back, and any vector drawing steps are streamed out to the open svg file stream.

Most of the vector paint effects available in Studio Artist are internally generating all kinds of different vector shapes (derived in some way off of the vector path fed into the effect) that work together to build up a particular vector paint or visual effect.  So there is a lot of inherent complexity being generated.  But if you just want to output the bezier curves in the bezier path frame, and nothing else, then you need to use the simplest vector paint effect possible.  One that just takes the path it is drawing off of, and outputs it only, nothing else.  We will construct that below.

To start, you want to initialize the paint synthesizer.  To do that, you run the Edit: Paint Synthesizer : QuickEdits : Initialize menu command.

10824772294?profile=RESIZE_400x

You could also shift click the Init botton at the bottom of the paint synthesizer Editor control panel to do the same thing.

Initialize quickedit resets all of the internal editable parameters in the paint synthesizer to a standard default setting.  That default setting is a vey basic raster paint that has a size of 32x32 pixels.  So we now need to manually edit the brush size to 1x1, and change the kind of painting from raster to vector (a very default simple vector paint settings that only paints the path, so no region fills).

To change the Brush size, you want to go to the Brush Source control panel.

10824774476?profile=RESIZE_400x

Note that i changed the Horz and Vert Size to 1.

To make the vector paint edit, you need to goto the Vector Output control panel.

10824779278?profile=RESIZE_400x

Note that i changed the Main Render Option from Raster to vector (solid color). I'm using the Bezier path option for the Vector Stroke Type.  This will only draw the path, so a path stroke without any region fills for the path.

At this point we have constructed our super simple vector paint preset that only draws a path 1 pixel wide.

The paint synthesizer can internally generate all kinds of different automatic path drawing derived off of the source image, or mathematically constructed from some internal generative process.  But we want to get our paths from the current contents of the bezier path frame.  There is a menu command Path : Paint Paths : Full Layer that lets us do this.

10824782891?profile=RESIZE_400x

If you turn on Paint Action Sequence (PASeq) recording, and run that menu command, you get the following PaintBezLayer action step recorded in the PASeq.

10824787862?profile=RESIZE_710x

This is the PASeq you want to use for your SVG output.  You might want to export it as a PASeq preset so that it is easy to access in the future if you want to output the bezier path frame as a svg file.

At this point you can run this PASeq using the Action : Generate SVG : with Paint Action Sequence menu command.

10824789268?profile=RESIZE_400x

This will run the current PASeq, streaming any vector drawing generated in it to the svg file you specify in the standard file dialog that comes up when you run that menu command.

At this point you have your svg file.

10824790270?profile=RESIZE_710x

You can open the svg file in something like the Chrome browser if you want to look at it to verify it is correct.  Or you can open it in Illustrator or whatever program you want that imports svg files if you want to edit it.

 

Here's a tip that discusses generating SVG files in Studio Artist.

If you are unfamiliar with bezier paths and the bezier path frame, here's a tip that discusses what you can do with them.

 

You need to be a member of Studio Artist to add comments!

Join Studio Artist

Email me when people reply –

Interdimensional Coincidence Control

Hi everyone, I am glad the site is still here! Here is a new short video I made. All made in Studio Artist, several separate videos with alpha channels, then combined in layers with the music in Blender. A lot of MSG running through brushes, with several of the brush Path Starts being controlled by the MSG Scan Generator in the Generator part of the Path Start in the Paint Synthesizer. Also some MSG running through a brush, then making a video of that with an alpha channel, then making that a…

Read more…
3 Replies · Reply by Thor Johnson on Friday

Whats going on with this site?

Has anyone else gotten a warning about this site disappearing? An email form just popped up, asking me to contract the owner and leave a message to let them know that they may loose their "network"Did Synthetik forget to pay it's bills, or is something else going on?I think 8 months is more than enough vacation time. Is anyone at Synthetik doing any development work at all? 

Read more…
4 Replies · Reply by Emil G. on Saturday

Having difficulty exporting canvas as image

I'd like to export a canvas as a .tiff/.tif image file to a folder I made on my desktop.I select that from a dropdown menu, I can name the exported file, change the extension, etc, and I press save but nothing happens.It's always worked until now. It seems like a simple task. Any ideas?I'm on Mac OSX 12.6, if that matters, and my system hasn't changed since the last time I was able to export successfully.Thanks  

Read more…
2 Replies · Reply by Tony Bouttell Mar 5