Jump to content

very crude .obj to .svg wireframe converter


lIlIIlIllIIIIlI
 Share

Recommended Posts

hey, this will convert .obj 3d models into a wireframe .svg image, viewed from a fixed orthographic view

it is messy and pretty slow but it "works". if you click convert and nothing happens you just have to wait until it says "Done". if the image is too small, change $scale to something huge perhaps. if it not centered (it shouldn't be), zoom out really far in whatever image viewer you're using

this was mostly for fun. i learned .obj and .svg are pretty simple file formats and wanted to do something with both. thanks for looking

if you want to try it out, the images below show the magnolia.obj, cessna.obj, and shuttle.obj files from https://people.sc.fsu.edu/~jburkardt/data/obj/obj.html
it will output "obj.svg" in the same directory as the script

magnolia.jpg

cessna.jpg

shuttle.jpg

tosvg.au3

Edited by lIlIIlIllIIIIlI
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...