kittycad.api.file.create_file_surface_area

Functions

asyncio(src_format, body, *, client)

Get the surface area of an object in a CAD file.

asyncio_detailed(src_format, body, *, client)

rtype:

Response[Union[FileSurfaceArea, Error, None]]

sync(src_format, body, *, client)

Get the surface area of an object in a CAD file.

sync_detailed(src_format, body, *, client)

rtype:

Response[Union[FileSurfaceArea, Error, None]]

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

Response[Union[FileSurfaceArea, Error, None]]

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

Dict[str, Any]

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

Union[FileSurfaceArea, Error, None]

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

Get the surface area 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[FileSurfaceArea, Error, None]

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

Response[Union[FileSurfaceArea, Error, None]]

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

Get the surface area 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[FileSurfaceArea, Error, None]

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

Response[Union[FileSurfaceArea, Error, None]]