The geometry for export doesn’t need to be visible. Could you post a minimal version of your definition reproducing the problem?
The geometry for export doesn’t need to be visible. Could you post a minimal version of your definition reproducing the problem?