cadquery
cadquery copied to clipboard
VRML Export - File extension
Hi Everyone,
I was trying to export a VRML file and I noticed that the file extension cadquery uses is .vrml but in other apps I've used VRML files with the filename extension as .wrl, I am wondering if this is intended, if so, Is there something I'm missing?
I don't have much experience with vrml so this might be non-standard. It is easy to change and you can specify any extension you like and force VRML output using exportType='VRML.
You can set the file extension to whatever you want. Example here.
I tested with 3 different viewers today. All recognized files with .wrl extension.
meshlab did not recognize VRML files with .vrml extension (the other two were dune, freewrl).
I'd suggest to reopen as an enhancement. The enhancement would be for exporters.export and assembly.save to check for "WRL" extension (in addition to "VRML").