kittycad.api.file.create_file_density.sync
- kittycad.api.file.create_file_density.sync(material_mass, src_format, body, *, client)[source][source]
Get the density 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
idof 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,FileDensity,Error,None]