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

0 Members and 1 Guest are viewing this topic.

AlexaderL

  • Guest
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: 14444
  • 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

  • Guest
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: 14444
  • 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

  • Guest
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.

ChrisCarlson

  • Guest
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: 14444
  • 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/