I notice that exporting a CAD file to GLB produces a lot of draw calls. While CAD assistant seems to handle the load, this is not the case for other viewers (e.g. windows 3D viewer). I tried optimizing the models with another library and this reduces the number of draw calls by roughly ten while keeping an equivalent amount of data (1161 =>139 draw calls for the files I have provided).
Is there a way to optimize the number of draw calls? More specifically, I am working on a custom converter that greatly resembles the code provided by this answer https://stackoverflow.com/a/62872824
I appreciate the assistance. Have a good day!