Author Topic: Reading 3DSolid from dxf-file  (Read 721 times)

0 Members and 1 Guest are viewing this topic.

AlexaderL

  • Mosquito
  • Posts: 3
Reading 3DSolid from dxf-file
« 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
 

mjfarrell

  • Seagull
  • Posts: 13920
  • Every Student their own Lesson
Re: Reading 3DSolid from dxf-file
« Reply #1 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
Be your Best


Michael Farrell
http://primeservicesglobal.com/

AlexaderL

  • Mosquito
  • Posts: 3
Re: Reading 3DSolid from dxf-file
« Reply #2 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
...

mjfarrell

  • Seagull
  • Posts: 13920
  • Every Student their own Lesson
Re: Reading 3DSolid from dxf-file
« Reply #3 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.
Be your Best


Michael Farrell
http://primeservicesglobal.com/

AlexaderL

  • Mosquito
  • Posts: 3
Re: Reading 3DSolid from dxf-file
« Reply #4 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.

Master_Shake

  • Swamp Rat
  • Posts: 1113
Re: Reading 3DSolid from dxf-file
« Reply #5 on: August 01, 2016, 03:47:53 pm »
I don't see any relevant information in 2017 Vanilla Cad

mjfarrell

  • Seagull
  • Posts: 13920
  • Every Student their own Lesson
Re: Reading 3DSolid from dxf-file
« Reply #6 on: August 02, 2016, 08:35:22 am »
it appears the answer is; find another method
Be your Best


Michael Farrell
http://primeservicesglobal.com/