kittycad.api.file.create_file_conversion.sync
- kittycad.api.file.create_file_conversion.sync(output_format, src_format, body, *, client)[source][source]
If you wish to specify the conversion options, use the
/file/conversion
endpoint instead. Convert a CAD file from one format to another. If the file being converted is larger than 25MB, it will be performed asynchronously. If the conversion is performed synchronously, the contents of the converted file (output
) will be returned as a base64 encoded string. If the operation is performed asynchronously, theid
of the operation will be returned. You can use theid
returned from the request to get status information about the async operation from the/async/operations/{id}
endpoint.- Return type: