Making surfaces from a DXF file

Hey all,

Does anyone know how to alter an imported DXF file so that it’s not just a bunch of points and lines? I need a surface that I can work with and texture!

Many thanks in advance,

WebMonkey

points and line sare what make a surface .. It hink the problem is that the model you imported does not have and UV’s mappings associated to it or you simply do not have a shaded display turned on in your viewport.

Hello,

Many thanks for your reply. I can’t seem to UV map the model at all; in object mode, the only things selectable are the individual lines - there is not a surface to map.

I have tried several shading options, but with no success.

I have uploaded the imported (and rescaled) DXF file to the following URL as an MB file so that you can see what I mean:

http://www.broughttolife.com/maya/dolphin.mb

Well there is a new plugin in Maya 5 for importing DXF and DWG fomrats.You might want to try to play with the options for it effect the result sof importing this model. Make sur ethat you do not also have the Mayatoalias plugin enabled as it will interfere with accessing the options for th eDWG plugin.

Thanks for the hint. I hope that my University upgrades to version 5 soon!

WebMonkey

What version are you using currently? Where di the DXF model come from? Maybe it is just a bad model?

I’m using version 4.5 at the moment. The model was provided by one of my lecturers.

Can you upload the dxf model in the format it was provided in?

Hello again,

I’ve provided a link in the thread above to the mayabinary file of the imported DXF.

I think the problem lies with the DXF format itself. I know that it is really intended for use in an architectural wireframing context, so am not surprised that it doesn’t support surfaces!

here’s that link again:

http://www.broughttolife.com/maya/dolphin.mb

I meant the actual DXF file you imported. I have been usign DXF for years and it not the greatest format but it usually works. I have never seen this problem. I wanted to see if it would import like it has for you for me in Maya 5.

Oh, ok! Sorry - here it is:

http://www.broughttolife.com/maya/1dolphin.dxf

Thanks for all your help so far; look forward to seeing what you make of it!

I think this modle was exported from whatever program it was created incorrectly. Some programs give the option to export points, lines and faces and this one seems to have been exported as lines only.

Many thanks indeed for your time and efforts - this has been most useful to me; I’ll be able to go back to my tutor with the info!

All the best,

WebMonkey

“dxf files imported from LW although all the faces are combined none are attached. So the object won’t smooth until you merge all the edges. Very messy.” – I grabbed this from a post made earlier.
I’m asking you because I’m grabbed a lot of information from your Maya FAQ. Is there a way to work around this?
A mel script that can handle that? I figured I tried to post this to an older post.

Uh.. I haven’t encountered this myself. but if you are goigng to export models from LW to Maya you should use OBJ a they wl be smaller, take less time to import and are les liekly to have errors. As far as I know this problem has to do with the DXF/DWG plugin that cam ewith Maya 5 ..they I think they did some bug fixes with the 5.0.1 patch if you haven’t downloaded it then you should from alias.com

I was a little hesistant to install v.5.0.1 but I decided to anyway. The 3ds importer appeared to work, I was able to get it to load via the Plug-in Manager. When I click the import button I got this message
// Error: Cannot find procedure “studioFileOptions”. //

I tried to import an .obj prior to that and I got:
// return 1
. . . but no object. Previous to attempting to installing the 5.0.1 upgrade I didn’t get an object when attempting to import the .obj file format. I’ll post the alias user-user board to see if anyone has experienced this also.


NOTE: the 3ds importer on the mac also affected the obj importer because when I tried to import with obj after I got the aforementioned error code I got this error attempting to import obj.
// Error: Object not found: objMultiObjGrp //