|02 February 2013||#1|
Join Date: Feb 2013
MoGraph "alphabet" export each letter
This is x-posted from c4dcafe. I figured there might be some users here not there and vice versa. Sorry if that's frowned upon.
I'm trying to create a script where the user will set a specific font, run the script, and it will export out lowercase,uppercase, and numbers, as .OBJs.
Eventually I'd like to add simple materials and baking textures to it, but I just want to get the initial script down first.
I haven't found any good documentation on setting Font (i see it's sorta new in R13), but found one where the user selected an object and used that font.
Here's what I have hacked together so far. It currently keeps every letter, so only A works, and then every letter after has every previous letter...
I need to add some simple features initially:
- Choose font easier
- Name MoText as letter
- Delete previous letter
UPDATE: Little update. Figured out how to delete stuff (why is there so much stuff not in the Python C4D Documentation?? and where can I find it all in one place?)
This does at minimum what I want. I need to work on collapsing the MoText into one single object, but I think I found that.
The next part is adding a simple material and baking it. I don't think that's going to be easy or possible.
Last edited by tjoynt : 02 February 2013 at 06:31 PM.
|Thread Closed share thread|