Rhino 5 Export settings, Simple vs. Detailed

Hello,
Looking to get some more insight on the export process to stl format, and maybe understand the difference between simplified and detailed export.
I am automating some graphics and when i export i use the command line input from the rhinoscriptsyntax lib and i inject export something like this
-Export SaveSmall=No GeometryOnly=No SaveTextures=No SavePlugInData=Yes “stst.stl” _Enter D A Angle=0 AspectRatio=6 Distance=0.001 Density=0 Grid=0 MaxEdgeLength=0 MinEdgeLength=0.0001 _Enter _Enter
but the result of this is not satisfactory as the model is exported with some bad geometry (instead of a flat roof some triangles are slammed inside but not empty which is already better than holes)
I do get a good result when i use the regular export function, where i insert the stl file name and Tolerance set to 0.001 which as i understand is the Distance option in the detailed export, file size comes out nearly identical some kb more in the detailed version
like 0.01% difference.
adding some pictures to elaborate on settings


2
3

next are the simplified controls and the detailed hidden behind
1
2

bottom line is im trying to simulate the simplified using the detailed.
currently i wont be sharing the models theoretical talk is good enough for me if we wont be able to make progress ill try to extract some juicy models to work with

Hello- if you are getting different output from what seems to be the same settings, it would certainly be helpful to have an example model, however simple, that shows this. You can send to tech@mcneel.com, if it is confidential, with a link back here in your comments.

-Pascal