TheSwamp

CAD Forums => CAD General => The Third Dimension => Topic started by: AlexaderL on July 28, 2016, 03:02:23 PM

Title: Reading 3DSolid from dxf-file
Post by: AlexaderL on July 28, 2016, 03:02:23 PM
Hi
I need a help to read 3D model from dxf-file. I have some experience in developing software to read 2D dxf. But this time my customer sent me file with the only entity 3dsolid.  The only informatin I found is "group code 1 - proptietary data".
Is there some information on data interpretation? My model is very simple. It consist of several plain polygons that joined together into 3d dome-like construction. So I need just some starting hints - how simple Civil3D commands and floatig point parametrs are coded.
Any help will be appreciated. BTW "It's impossible" is valid expected answer
 
Title: Re: Reading 3DSolid from dxf-file
Post by: mjfarrell on July 29, 2016, 09:23:50 AM
did they give you a DXF file?

post it so we can see where it fails, to dxfin properly
Title: Re: Reading 3DSolid from dxf-file
Post by: AlexaderL on July 29, 2016, 10:35:01 AM
I've got it as dwg and convert to dxf with free dwgTodxf convertor.

It didn't fail. I want to read geometry information from 3DSOLID entity but can't find any description of proprietary data in groups 1

  1
koo in n o
  1
ll P/:1 [:,681 ^ 336>1<: ^ \VL ]*63;:- nm ^ \VL kqoo QK mk K7* U*3 mg ngenieoi moni
...
Title: Re: Reading 3DSolid from dxf-file
Post by: mjfarrell on July 29, 2016, 10:58:59 AM
all I see is a single plane...not much of a solid really


In previous post I see reference to Civil3d, that application supports other export formats that might be more suitable than DXF.
Title: Re: Reading 3DSolid from dxf-file
Post by: AlexaderL on August 01, 2016, 02:44:56 PM
In this case I can't control other party who is the source of the dwg file. My usual way of work with dwg is
1. Look into the file with AutoDeck DWGTrueView to understand which layers contains information that is relevant for me.
2. Convert dwg to dxf with some free converter.
3. Write small peace of code to parse dxf and extract geometry that I need.

So my question to this forum was whether I can work with this file in my usal manner (if 2Dsolid description exists somewhere) or I should seek other way to extract geometry from file.
Title: Re: Reading 3DSolid from dxf-file
Post by: ChrisCarlson on August 01, 2016, 03:47:53 PM
I don't see any relevant information in 2017 Vanilla Cad
Title: Re: Reading 3DSolid from dxf-file
Post by: mjfarrell on August 02, 2016, 08:35:22 AM
it appears the answer is; find another method