Hi everyone,
I have successfully imported a 3D Mesh from a CPIXML into Revit, using TesselatedShapeBuilder, and creating a DirectShape.
But I don't really like what it looks like:
I'd rather have it look something like this:
Meaning, I want to group triangles into faces so that not every triangle edge is being drawn, but only face boundaries.
I don't expect Revit to auto-detect this, my import data actually provides this information (triangles are grouped into surfaces).
Is there a way I can tell the ShapeBuilder or the Shape to treat triangle groups as one face, instead of treating every single triangle as a face?
Solved! Go to Solution.
Solved by Revitalizer. Go to Solution.
Hi,
if you don't want to see tesselated faces but a smooth boundary defined object,
the BRepBuilder class may be interesting for you.
Revitalizer
Hi again,
so I used a BRepBuilder... I needed a while to figure out how it's used, but now I have this:
What I'm doing is, I'm creating each triangle as a face with a Plane as support surface (since I don't have any knowledge of the shape of the object I'm building while I'm building it) and then add its three edges to a loop (with reversed direction if I use the edge a second time). Am I doing it right?
This obviously does not get rid of the tesselation lines on curved surfaces, but at least it works on the planar ones, which would be the most common case anyway.
So it's a good enough solution for me - unless someone has an idea how to improve it further?
Hi there, I've faced the same issue. The workaround I went for is to uncheck the show edges box in Graphic display options:
As you can see, now I have a much clearer picture