Solved

Web application that can automate the process of converting .DWG or .DAE (Collada) 3D Models uploads in a 3D flash file

Posted on 2007-11-29
23
1,549 Views
Last Modified: 2013-12-04
Hi,

I'm looking for a web application (any language)  that can accept .DWG (AutoCAD) or .DAE (Collada) 3D models via a web upload form and then creates a 3D flash file that anybody could view.

The flash file should look something like this but without the video, sound and textures: http://langleycreations.com/andrew/blog/?p=49 (click on the PDA once this page loads)

Maybe something that would use PaperVision3D, Away3D or Sandy3D in the background to process the 3D models.. but I can't find anything one..

open-source would be better but is not required.

Thanks, Alex
0
Comment
Question by:Wod
  • 15
  • 8
23 Comments
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 20487953
I would be looking for a program that can export to a common file format.  If you have autocad on the webserver you can use use PHP to be able to control autocad to export it to a format like XML and you could use with PaperVision3D etc.  Do the file necessarily need to be in DWG or DAE format?  Can you have the user save the design first as a pdf or other common vector graphic format?
0
 
LVL 7

Author Comment

by:Wod
ID: 20489422
Thanks for your response tagit

the server would be Linux so it can't have AutoCAD installed (sorry I didn't mention this before)..

the reason I want the input files to be DWG or DAE is that most CAD programs can export to either one of them (DXF would be good too)..

the output files doesn't need to be flash, I just don't want the user to have to install a custom plugin. It could also be java3D or javascript or maybe even something else but I'd prefer not use Acrobat3D because it isn't free.

I don't think AutoCAD can export to SVG or PDF3D.. I'm not sure about other CAD softwares.

What I want is to automatically transform the input file (DXF, DWG or DAE) to something like the example shown above.





0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 20489603
I'll still investigate this as it is an interesting challenge ;) but have you contacted www.autodesk.com directly for any help with this?
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 20489621
I've found some info you might be interested in:

DXF file fomat http://images.autodesk.com/adsk/files/acad_dxf0.pdf  This would be useful if you went down the track of creating your own application.  You could write a program in virtually any language (I would use PHP) to convert DXF to XML that could be read by Flash.

The Toolkit provides an API that is cross platform compatible: http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=823771

Some discussion and potentially a good place to ask this question
Forum: http://discussion.autodesk.com/forum.jspa?forumID=114
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 20489622
Would you have a sample DXF file for me to look at (I don't have autocad...)
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 20489647
Don't worry about the sample its a text file as I first though that is described by the pdf i've posted above.  You should be able to write a (PHP) script that would convert a DXF to XML
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 20489667
There is this as well: http://filebox.vt.edu/~cbergstr/s4w/man/dxf2xml.1.html

There is source code available and can be compiled to run on linux but I haven't tested it  but you could adapt how it converts from DXF to XML
0
 
LVL 7

Author Comment

by:Wod
ID: 20489822
no I haven't contacted Autodesk but I doubt they are willing to help
0
 
LVL 7

Author Comment

by:Wod
ID: 20489886
I don't have time right now to code something to do this..

DXF2XML could be useful but it is an incomplete solution.. how would I display an XML on the web as a 3D object using a common plugin?

I don't think X3D is very common..

here is a sample dxf: http://tinyload.com/wqnhQV 
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 20489929
First thing that comes to mind is PaperVision3D and flash.  Flash is able to read the generated XML and create the 3D object using the PaperVision3D component.

I guess you could skip the xml part and have Flash read and parse the DXF file based on the specs in that pdf I posted above.

what do you think?
0
 
LVL 7

Author Comment

by:Wod
ID: 20490107
I think importing an XML in papervision3D would require coding.. I dont think it supports 3D XML or DXF files.. probably lots of coding too... unless I missed something?



0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 20490170
no haven't missed anything :) unfortunately you might have to code this one to some extent...  I would try to get that DXF2XML compiled and working as XML is easy for flash to parse.  if you not getting anywhere fast, then switch to flash to parse the DXF.  I can't see any other options.  What is your time frame for getting this up and running?
0
 
LVL 7

Author Comment

by:Wod
ID: 20490254
I don't really have a time frame, but the soonest the better;)

it's hard to believe there haven't been anything like this done before, even though I have searched alot on google and didn't find it either.

maybe I could just do something similar to this: http://www.javascript-fx.com/experiments/ani_rollovers/demo1.html but I'm afraid all those images will make a large download especially if I would rotate around all 3 axis
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 20490308
Ok i think i've found something!

Would you be happy with a web plugin that would allow you to see a DWF file?

http://www.cdcd.vt.edu/whip.html & http://www.cdcd.vt.edu/DwfViewerSetup.exe
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 20490320
Here's a demo once you've got WHIP! installed: http://198.169.132.89/stn2.html
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 20490365
Latest version of WHIP called "Autodesk DWF Viewer"
http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=2404513

It installs a plug in for internet explorer that allows the user to view DWF files
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 20490375
0
 
LVL 7

Author Comment

by:Wod
ID: 20493095
The problem with the DWF viewer is that most people don't have it installed and it's a 40mb download... and it's only for DWF.. some applications, like Blender can't export to DWF..

I would like something more common like Flash or Java... and a viewer for DWG, DXF or Collada files (DAE)..

Thank you for your suggestions though.. if I don't get a better solution soon, I will accept yours.
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 20496853
0
 
LVL 42

Accepted Solution

by:
Rob Jurd, EE MVE earned 500 total points
ID: 20496859
sorry here is the web applet java version: http://www.escape.de/~quincunx/dxfviewer/index.html
0
 
LVL 7

Author Closing Comment

by:Wod
ID: 31411819
thanks for your help
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 20497153
No Problem, do you think any of it will be useful?  I might end up writing a flash component for DXF files, seems there might be a market for it
0
 
LVL 7

Author Comment

by:Wod
ID: 20497435
Yes I think it will be useful.

It would be nice to have a shaded solid but wire frame will work for now.
It can display different layers independently, so that's good.

Yes I think there could be a market for it too.. because there is no easy way to do it in flash right now.. they all require some programming.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
One object/table or two? - Loan/Return model (ASP.NET MVC 5) 4 80
black magic design 1 121
scoresClump  challenge 31 123
Re-imbursement Claim System 3 50
Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
The goal of the tutorial is to teach the user how to how to record live broadcast.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now