Forum

Author Topic: Model export as dxf  (Read 19451 times)

amanda

  • Newbie
  • *
  • Posts: 2
    • View Profile
Model export as dxf
« on: March 28, 2014, 10:44:44 AM »
Hi,

I have recently updated to version 1.0.3 build 1832. We use the model export in the dxf format to generate digital elevation model in Autocad Civil 3D. In the old version the dxf model export generated 3D triangle surfaces. In the new version the format is changed. I can still open it in Autocad but I don't recognize my model at all. How can I export the triangles as 3D surfaces in dxf in the new version of photoscan?

Some help would be great, thanks
amanda

3DFranz

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: Model export as dxf
« Reply #1 on: March 29, 2014, 05:49:23 PM »
Hi Amanda,

save your Project in version 091. Open it with 091 and export as dxf there.
Seems like the dxf export is bugged in 103.
I had few days ago the same problem.
But if you want to generate a Elevation model, why do you use AutoCad and the Model export function.
Export via Agisoft a DEM as tiff. Import the DEM via Autocad and generate your Contour lines or what ever there. Exporting your Model as dxf,..takes much too much triangles. Your Autocad will go down with >5 Millions triangles.
Hope that helps.

Viking69

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Model export as dxf
« Reply #2 on: March 30, 2014, 01:38:49 AM »
I am having the same problem with the latest build. The triangulation is a mess. Will reinstall the older version.


Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15086
    • View Profile
Re: Model export as dxf
« Reply #3 on: March 31, 2014, 01:06:41 PM »
Hello all,

Thank you for reporting the problem. In the version 1.0.3 we have really changed the representation of the exported DXF model from 3D-faces to polyline mesh, as it better describes the original PhotoScan model.

So could you please specify what problems you are facing with such model representation in DXF format? Will "Explode" function in Autocad work to split mesh into individual faces?

I've opened DXF file exported from PhotoScan 1.0.3 in Autodesk DWG Treview without any problems:


Best regards,
Alexey Pasumansky,
Agisoft LLC

amanda

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Model export as dxf
« Reply #4 on: March 31, 2014, 05:35:41 PM »
Hello all,

Thank you for your respond. I think that the problem occurs when the model has more than 40'000 or 50'000 triangles. I will now downgrade to my old version until this bug is fixed.

To 3DFranz: Thanks for your tip, but if the surface is real 3D and not 2.5D the DEM isn't working anymore. Means that i can't model very steep or overhanging surfaces with the DEM export.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15086
    • View Profile
Re: Model export as dxf
« Reply #5 on: March 31, 2014, 05:51:18 PM »
Hello Amanda,

Thank you for this information. I've performed my check on lower number of faces (about 20 000) and now I'm testing bigger model.


Seems like there's a 32767 limit for vertices in such polyface mesh representation: http://www.deelip.com/?p=14
We'll try to find the way to solve this issue on our side as soon as possible.
« Last Edit: March 31, 2014, 05:58:50 PM by Alexey Pasumansky »
Best regards,
Alexey Pasumansky,
Agisoft LLC

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15086
    • View Profile
Re: Model export as dxf
« Reply #6 on: April 03, 2014, 09:24:17 PM »
Hello all,

Please try PhotoScan version 1.0.4 build 1845. DXF export should be fixed.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Pixel UAV

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Model export as dxf
« Reply #7 on: June 10, 2014, 02:39:07 AM »
Hi Alexey,

I recently have come across this problem as well.  I have found that AutoCAD can handle the .dxf but many other programs can't, such as BricsCAD and 12d.  Is it possible to that Photoscan could export in the old format of .dxf so that all programs can handle it?

Cheers,
Cam

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15086
    • View Profile
Re: Model export as dxf
« Reply #8 on: July 12, 2014, 04:49:03 PM »
Just a small update on this topic: in the next version there will be a possibility to choose the internal representation of DXF format: either 3D faces (like in old PhotoScan versions) or polyline (like in latest release).
Best regards,
Alexey Pasumansky,
Agisoft LLC