Hi guys, I was trying to get some geometries from rhino.inside revit from a file which was done without the absolute tolerance of 1 mm in Rhino as recomended.

Specifically I am tying to export the geometry of a conceptual model ( which was done in metres with an absolute tolerance of 0.01) and these are the errors I get:

Geometry contains out of tolerance edges.
Resulting geometry may not be accurate.

RhinoInside.Revit.GH: Input geometry is not valid.
Distance from end of ON_Brep.m_T[0] to 3d edge is 0.512803. (edge tol = 0.000588638, trim tol ~ 0).
Parameter name: Geometry

on the top of that I got this error on one big geometry:

There are many geometries in the file which have en edge problem and i would be able to identify and quickly fix them.
First thing is the problem related to any geometry which has edges that are beyond the tollerance of 1 mm, so any measure higher than 1,0 mm would produce an error?
any suggestion on a possible quick workflow to fix these imprecisions? and lastly would be possible to find a solution to brute force the process and somehow make invalid lenghts valid?

Even though the document tolerance is set high you can still get edges smaller than the tolerance for a variety of reasons, particularly if you are doing Boolean operations.

hi!
thanks for the quick reply! i have just checked the model, it is 540 m big (maximum extents of the slab). I moved it right on the origin. But still some of the geometries are failing, on the same geometry this is the error i got :

RhinoInside.Revit.GH: Input geometry is not valid.
Distance from end of ON_Brep.m_T[24] to 3d edge is 1.49592. (edge tol = 0.00149592, trim tol ~ 0).
Parameter name: Geometry

on another one:

Using SAT…

Geometry contains out of tolerance edges.
Resulting geometry may not be accurate.

Gap between current and previous co-edges in BRepBuilder: check that edge-curve orientations and co-edge flipped-flags are correct.

SAT operation failed.

another more:

BRepBuilder cannot assign edge geometry for edge 8 due to inaccuracies between the coedge and its defining curve.

on these last 2 I can actually identify the edge which is failing, which is is great!

but on the first error 1. RhinoInside.Revit.GH: Input geometry is not valid.
Distance from end of ON_Brep.m_T[24] to 3d edge is 1.49592. (edge tol = 0.00149592, trim tol ~ 0).
Parameter name: Geometry

is the problem still relating to the distance from the origin? that would be quite hard to solve because it they are all pretty much close to the origin…

This means you have invalid geometry in the Rhino model, using _SelBadObjects on Rhino you will be able to found this bad guy and fix it. This is a good resource about the topic.

all right! I see I have never noticed that was the message for a badobject! anyway what is stil not clear to me is how should I rebuild the geometry with curve-edge orientation and co-edges problems and inaccurancies? is there a link I can check?