software3d.com Forum Index software3d.com
Software3D Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem importing DXF files

 
Post new topic   Reply to topic    software3d.com Forum Index -> Stella Forum
View previous topic :: View next topic  
Author Message
Pauly1060



Joined: 20 May 2013
Posts: 4

PostPosted: Sun Jan 12, 2014 3:35 pm    Post subject: Problem importing DXF files Reply with quote

Hi everyone, I'm really enjoying using great stella and have made many interesting models, however I've come up against a problem, I'm making and importing new models into great stella and I get lots of errors, the main one is a 'model has no faces create convex core instead' type error but then nothing loads. I have exported from my 3d package but it's very unreliable, often with no enough decimal precision.

What I would like to know is, what is the best way to import models and which format. I've not tried off format yet.

The type of polyhedra I want to make are like the subdivided ones for example: a cube subdivided by two looks like 4 squares on each face of the cube, I want to be able to make my own subdivisions and then load the polyhedra back into great stella. I know that I get a co planar warning message when I load this type of polygon but up until now I haven't produced a model that will load back into great stella.

Any help would be greatly appreciated
Cheers,
Paul
Back to top
View user's profile Send private message
Peter Kane



Joined: 25 Oct 2009
Posts: 79
Location: S.E England

PostPosted: Mon Jan 13, 2014 4:18 pm    Post subject: Reply with quote

This is really a case of the blind leading the blind, because I haven't eny experience of importing models, but the Stella Help file says this:
"If all else fails, and you can't find a way to create your favourite model in Stella4D, fear not! You can always import it from an external file. Currently the only format supported for import is OFF. It's a simple format and you should be able to figure it out from the example below. Please be sure to use as much precision in the vertex positions as possible, or you may run into problems. I recommend using 17 decimal places if you are creating files in this format. The OFF models must also be properly closed surfaces (with an even number of faces meeting at each edge). If not, it can't be opened, but you will be offered the choice to create the convex hull of the model in the OFF file, which allows you to get at least some of the vertices in. You may then wish to use Faceting Mode to connect these vertices together in other ways. You could even create OFF files with only vertices (no faces) and let Stella4D figure out how to connect them together for you. "
Back to top
View user's profile Send private message
Pauly1060



Joined: 20 May 2013
Posts: 4

PostPosted: Mon Jan 13, 2014 9:01 pm    Post subject: Reply with quote

Thanks Peter, that does help quite a lot, I'll try some files in OFF format and let you know how I get on.
Back to top
View user's profile Send private message
robertw
Site Admin


Joined: 10 Jan 2008
Posts: 395
Location: Melbourne, Australia

PostPosted: Thu Jan 16, 2014 4:05 am    Post subject: Reply with quote

Actually, Stella can import DXF files now, as of version 4.0, but I guess I forgot to update that help file. From the version history:

"3D DXF files can now be imported, but I fear they generally lack the accuracy required, but it may be useful in some cases."

So yeah, most other programs won't put them out in a usable format. You also need to make sure the surface is closed (exactly 2 faces meet at each edge). Send me a DXF file if you can and I'll check it to see what's wrong. Unfortunately DXF varies a lot so it's hard to account for everything.

OFF is the simplest and best format if you can manage to write to it.

If you just want subdivided cubes, you can do this easily in Stella anyway.

"Poly->Create X x Y x Z Block" creates a block made of smaller cubes, and leaves the faces subdivided as you wanted.

Or subdivide any polyhedron using "Poly->Subdivide Faces".
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    software3d.com Forum Index -> Stella Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP