kittycad.api.file.create_file_conversion
Functions
|
Convert a CAD file from one format to another. |
|
|
|
Convert a CAD file from one format to another. |
|
|
- kittycad.api.file.create_file_conversion._get_kwargs(output_format, src_format, body, *, client)[source][source]
- kittycad.api.file.create_file_conversion._parse_response(*, response)[source][source]
- Return type
Union[Any,FileConversion,Error,None]
- async kittycad.api.file.create_file_conversion.asyncio(output_format, src_format, body, *, client)[source][source]
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, theidof the operation will be returned. You can use theidreturned from the request to get status information about the async operation from the/async/operations/{id}endpoint.- Return type
Union[Any,FileConversion,Error,None]
- async kittycad.api.file.create_file_conversion.asyncio_detailed(output_format, src_format, body, *, client)[source][source]
- Return type
- kittycad.api.file.create_file_conversion.sync(output_format, src_format, body, *, client)[source][source]
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, theidof the operation will be returned. You can use theidreturned from the request to get status information about the async operation from the/async/operations/{id}endpoint.- Return type
Union[Any,FileConversion,Error,None]