GeoIO.jl
GeoIO.jl copied to clipboard
`numbertype` option not forwarded to STL format
Setting numbertype = Float32 on stl or obj still produces Float64 meshes
Thank you for reporting @paulxshen. Could you please share a MWE? If these file formats support single precision, we should definitely fix the behavior in GeoIO.jl. If you can submit a PR with the fix, that would be even better.
Thanks I did PR for obj - numbertype wasn't passed to objread
Thank you @paulxshen ! Merged #162 with the fix for OBJ. Do you also plan to submit a PR for STL?
Ok done!
Renamed the option to numtype and standardized a few other options.
I have experience basically this same issue with the .ply filetype. A Float32 .ply file that I want converted to Float64 on read (which as I understand, the numtype option should do?), but the PlyIO.load_ply function does not take/use kwargs, so the conversion would need to occur in this package.