Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  


Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Author Topic: Ani2svg  (Read 7280 times)


  • Sr. Member
  • ****
  • Posts: 271
    • View Profile
    • Dwsel art
« on: May 25, 2010, 03:23:54 pm »

I've got lately interested in 2d and 3d cad architectural drawing. I've stumbled upon an interesting article about architectural modeling in Blender: I thought that following this way would be very easy in Anim8tor with exception of the last step where you have to do cross sections and/or facades. As I don't know ASL at all and wasn't even sure if it's possible to implement such functionality there, I wrote tiny C++ command line tool to export free edges from *.an8 file. This way still requires some workarounds, but I'm sure a lot would be possible if someone with better programming abilities than me would like to pick and help with developing this project.

Program lacks proper *.an8 file parser that would read required data by itself, conversion options are at this time set to top view plane only (other planes, custom angled planes, perspective views are not yet available), SVG support is very basic and fixed.

How does it work?
02.an8 - create your model, keep mesh tidy and regular, keep copy of this file in safe place
03_section.an8 - remove ALL faces, unnecessary points, keep only edges you want to export (for more difficult models when you might not want to choose edges by yourself slice your model using booleans), save
03_section_prep.txt - I isolated useful parts from *.an8 file and removed all round brackets with 'find and replace'
ani2svg.bat - use this script file because depending on your settings you may have problem with pasting when you run *.exe directly
console.txt - that's how my console looked like
test.svg - output, import to drawing app
test.png - after joining all these short lines i filled main shape with hatch, added details on window and door, and that's how the final drawing may look like