kittycad.api.file.create_file_volume

Functions

asyncio(src_format, body, *, client)

Get the volume of an object in a CAD file.

asyncio_detailed(src_format, body, *, client)

rtype

Response[Union[Any, FileVolume, Error]]

sync(src_format, body, *, client)

Get the volume of an object in a CAD file.

sync_detailed(src_format, body, *, client)

rtype

Response[Union[Any, FileVolume, Error]]

kittycad.api.file.create_file_volume._build_response(*, response)[source][source]
Return type

Response[Union[Any, FileVolume, Error]]

kittycad.api.file.create_file_volume._get_kwargs(src_format, body, *, client)[source][source]
Return type

Dict[str, Any]

kittycad.api.file.create_file_volume._parse_response(*, response)[source][source]
Return type

Union[Any, FileVolume, Error, None]

async kittycad.api.file.create_file_volume.asyncio(src_format, body, *, client)[source][source]

Get the volume of an object in a CAD file. If the file is larger than 25MB, it will be performed asynchronously. If the operation is performed asynchronously, the id of the operation will be returned. You can use the id returned from the request to get status information about the async operation from the /async/operations/{id} endpoint.

Return type

Union[Any, FileVolume, Error, None]

async kittycad.api.file.create_file_volume.asyncio_detailed(src_format, body, *, client)[source][source]
Return type

Response[Union[Any, FileVolume, Error]]

kittycad.api.file.create_file_volume.sync(src_format, body, *, client)[source][source]

Get the volume of an object in a CAD file. If the file is larger than 25MB, it will be performed asynchronously. If the operation is performed asynchronously, the id of the operation will be returned. You can use the id returned from the request to get status information about the async operation from the /async/operations/{id} endpoint.

Return type

Union[Any, FileVolume, Error, None]

kittycad.api.file.create_file_volume.sync_detailed(src_format, body, *, client)[source][source]
Return type

Response[Union[Any, FileVolume, Error]]