Removing extra vertices in OpenStudio
In a classic case where a surface that can be completely defined by x
vertices is actually defined with x+1
vertices, EnergyPlus throws a warning and drops the extra vertex:
** Warning ** GetVertices: Distance between two vertices < .01, possibly coincident. for Surface=7A4912D16DF6446A9238, in Zone=1-LEFT-CORRIDOR
** ~~~ ** Vertex [2]=(45.27,140.25,0.00)
** ~~~ ** Vertex [1]=(45.28,140.25,0.00)
** ~~~ ** Dropping Vertex [2].
These warnings clutter my error file and distract me from the real stuff.
So, is there any script out there to just strip them out of the OSM file? If there's one for pure IDF format I'll take it too!