views:

28

answers:

2

Hi, I am looking for a easy way to convert Autocad polygons to swf files. Is there a converter for that? Or is there an intermediatory format that can be used to convert from polygons to the adobe flash swfs. Each polygon would be a swf file.

A: 

A "swf" file is not a 3d format per se, therefore "converting autocad polygons to adobe swf format" is ill formed

Gregory Pakosz
Sorry, I mean convert the polygon to a 2d format. AutoCAD has a 2d view.
hip10
+1  A: 

Short answer would be 'not really' at the moment.

I found this interesting blog entry about a Flex/Flash AutoCAD DWG/DXF Viewer, and the comments explain the project approach better.

Also, Autodesk Butterfly looks great, maybe it can be handy.

Another thought would be converting 2d plan views to SVG and using an as3 svg render library.

Update: The the as3 svg render library is the developer friendly version.

You can use Illustrator as intermediary tool as it imports AutoCAD plan views and export Flash(SWF)

Here's a tutorial I've put together:

  1. Open up the AutoCAD file in Illustrator
  2. Select the Layer that nests all the shapes:

dwg to swf 1

  1. In the Layer's palette select Release To Layers(Sequence)

dwg to swf 2

  1. Go to File > Export > choose Flash as the output format
  2. In the SWF Options you can select AI Layers to SWF Files if that is what you need. You can also export to symbols, single file, etc.

dwg to swf 3

You can even export animation as swf from Illustrator. Say you have a lathe/revolve or extrusion: you can duplicate it, modify the duplicate's properties, make a blend, release to layers then export the layers as SWF frames :)

HTH, George

George Profenza
Thanks for the reply. The suggestions are still not very clear. I am still a bit lost. Right now, my solution is to grab each Autocad polygon, save it as its own Autocad file and use the export function to export each polygon as a swf file, one by one...
hip10
@hip10 I thought you need a code only version, I've updated my answer, although it's starting to look like superuser material :)
George Profenza