Hi Jon
Thank you for your help, unfortunately it didn't solve the problem. Obviously the torus is now 1000 times bigger, but as you can see, it still doesn't render properly.
My guess is that I'm doing something wrong with the mdlKISolid_bodyToElements(...) function. When the third "wireframe" parameter is TRUE, the element looks fine (but can't be rendered), when set to FALSE, it looks awful when rendered.
I've seen the same behaviour when I subtract solids (with mdlKISolid_subtract(...)). When I afterwards call mdlKISolid_bodyToElements(...) and "wireframe" parameter is TRUE, it looks fine (but can't be rendered), when FALSE my element becomes distorted and doesn't look right at all.
Regards Jorgen