Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CustomExporter Export Very Jagged Mesh for Curved Surfaces?

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
Anonymous
767 Views, 3 Replies

CustomExporter Export Very Jagged Mesh for Curved Surfaces?

Anonymous
Not applicable

As shown in the screenshots below, when I tried to export a curved surface, the OnPolyMesh method in IExportContext gives very jagged edges. Is there a way to solve this?

Thanks!

 

Screenshot_1.pngScreenshot_2 (2).png

0 Likes

CustomExporter Export Very Jagged Mesh for Curved Surfaces?

As shown in the screenshots below, when I tried to export a curved surface, the OnPolyMesh method in IExportContext gives very jagged edges. Is there a way to solve this?

Thanks!

 

Screenshot_1.pngScreenshot_2 (2).png

Labels (3)
3 REPLIES 3
Message 2 of 4
jeremytammik
in reply to: Anonymous

jeremytammik
Autodesk
Autodesk
Accepted solution

Not very much you can do, I believe.

 

You should however at least read these two posts:

 

 

I all else fails, you will have to access the real element geometry instead of using the custom exporter.

 

That is normally a lot more work, though.

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes

Not very much you can do, I believe.

 

You should however at least read these two posts:

 

 

I all else fails, you will have to access the real element geometry instead of using the custom exporter.

 

That is normally a lot more work, though.

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 3 of 4
Anonymous
in reply to: jeremytammik

Anonymous
Not applicable

My solution is to triangulate the face in OnFace method, in this way I can input a LevelOfDetail parameter. However I lose all UV data at the same time. Currently I use Face.Project to approximate a set of UV which is quite unstable.

Thanks for your reply anyway!

My solution is to triangulate the face in OnFace method, in this way I can input a LevelOfDetail parameter. However I lose all UV data at the same time. Currently I use Face.Project to approximate a set of UV which is quite unstable.

Thanks for your reply anyway!

Message 4 of 4
Anonymous
in reply to: jeremytammik

Anonymous
Not applicable

I've also tried to set LevelOfDetail property on ViewNode, and it also works.

0 Likes

I've also tried to set LevelOfDetail property on ViewNode, and it also works.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report