Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a data generated as the output of some numerical processes. I need them to be converted into 3D solid objects (as CAD solid format) to make them importable for some particular numerical analysis software such as FEM. One initial stage is to do some Boolean operations on them. If they were is solid format it is OK, but the data is only coordinates and that's all!

The data set consist of points in which a set of points makes a particular shape say a cube. Each object has own associated points. If we draw lines between points of each object a proper object appears. These data need to be exported in 3D format consisting of only solid objects. Then a series of Boolean operations will apply. So the questions are:

How to convert such a data set to for example a dxf format consisting only solid objects?

In particular purpose, what is the structure (format or so) of a solid object in CAD so we may write some simple code to convert our data set to solids?

Any other idea is more than welcome. (Note that the data set is large so we need finally to do some programming in any language required.)

Still waiting for your responses.

share|improve this question
Is there a 1:1 relationship between input points and output shape vertices or is this going to be a least-squares shape fitting sort of problem? – WolfOdrade Mar 21 '12 at 16:04
@WolfOdrade It is 1:1. That is each set of points makes a different object. – Developer Mar 22 '12 at 11:24
To respected curious readers: A good answer given {here:StackOverFlow} technically based on Ruby language. It is really useful. If you're one looking for some starting point I would recommend that post. This post is here for future answers may consider solutions from different aspects. – Developer Apr 10 '12 at 12:16
That's cool! I wish more GIS applications took advantage of Ruby, I really prefer it over Python. – HeyOverThere Nov 13 '12 at 14:05
@Developer could you please post your comment as an answer so this thread does not appear on the unanswered list anymore? Thanks! – underdark Apr 26 '14 at 22:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.