I’m trying to push geometry from Rhino to Revit, but I can’t figure out why Revit rejects my geometry.
Starting from the beginning: I have a base mesh that is very low quality. My goal is to trim it, rebuild it (with the greatest possible accuracy), and add thickness.
I should note that this workflow worked in previous cases, but this time I modified the mesh density, tried some other workarounds, and nothing passes to Revit except as a DirectShape. However, I need a family.
It also imports as a Component Family Mesh without any warnings, but the mesh can’t be cut or joined in Revit.
I use milimeters in both Rhino and Revit, and tolerances are set to 0.1mm.
I tried experimenting with pushing a simpler mesh to Revit. It’s created from a list of points projected onto the base mesh. Any higher U and V count generates an error in the Revit Family Component. It’s really strange.
Send me your mesh and I will create an exact toposurface
Here is a script to transform by yourself, a mesh to toposolid (and topography if you dont have toposolids). You will get exactly the same triangulation as in rhino file. Open it with Rihno Inside Revit. rhino_mesh_revit_toposolid_topography.gh (8.1 KB)
Ok, I can create toposurface from mesh or from points, but in my case I need it to be generic model.I don’t have Revit with toposolid and I can’t use this tool.
Okay, I can’t check your full code, but here’s what I did manually: I baked your closed 3D mesh, converted it to NURBS, simplified the planar geometry, exported it to DWG, imported it into a new Revit generic model family, and exploded it. Now it’s pure Revit geometry. solid.dwg (1.0 MB)
Thank you @ar00302. I replicated your workflow and it’s working. What is equally important, it’s possible to cut and join geometry.
Your contribution is great, because I have some workaround and can work.
However I see that my output mesh is all right, if it can be imported via dwg file. For my future develompent in Revit, it’s necesary to find out, why Revit fails to import this geometry with Family Component.
It’s me again I thought for a second - you adviced me to convert mesh to nurbs. So what If I reference this converted to nurbs mesh to grasshopper and input this brep to Component Family Form? Ta daaa:
I never import the AutoCAD solid directly into the project. Instead, I bring it into a generic family, explode it there, and then place that family into the model.
At the moment, I’m using Revit toposolids for this workflow. Using Rhino.Inside makes the import very straightforward, and toposolids offer several advantages.
It would be nice to convert mesh to nurbs inside grasshopper, but I don’t see such straight forward way.
P.S.
I came up with one more solution. Instead of converting the closed mesh to a Brep, I first converted the top of my mesh to a Brep and then to a solid. This way, Revit successfully imports the geometry. What’s also funny is that it doesn’t accept the same geometry after using the Merge Faces component .
Revit has issues with tiny edges or tiny gaps. Sometimes these are not immediately apparent in the Rhino environment, but they do exist. I have spent a considerable amount of time resolving problems similar to these. Perhaps a grasshopper component is causing some tolerance issues. I always manually examine the geometry that failed to import. However, take into account that the latest Revit edition with the latest RIR components has solved many of these issues.
Thank you for your advices.I believe more geometrical problems are waiting for me to overcome in the future, especially when I’am not using the latest software version.