kittycad.api.file.create_file_center_of_mass
Functions
|
We assume any file given to us has one consistent unit throughout. |
|
|
|
We assume any file given to us has one consistent unit throughout. |
|
- kittycad.api.file.create_file_center_of_mass._build_response(*, response)[source][source]
- Return type:
- kittycad.api.file.create_file_center_of_mass._get_kwargs(output_unit, src_format, body, *, client)[source][source]
- kittycad.api.file.create_file_center_of_mass._parse_response(*, response)[source][source]
- Return type:
- async kittycad.api.file.create_file_center_of_mass.asyncio(output_unit, src_format, body, *, client)[source][source]
We assume any file given to us has one consistent unit throughout. We also assume the file is at the proper scale.
This endpoint returns the cartesian coordinate in world space measure units.
In the future, we will use the units inside the file if they are given and do any conversions if necessary for the calculation. But currently, that is not supported.
Get the center of mass 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 theid
returned from the request to get status information about the async operation from the/async/operations/{id}
endpoint.- Return type:
- async kittycad.api.file.create_file_center_of_mass.asyncio_detailed(output_unit, src_format, body, *, client)[source][source]
- Return type:
- kittycad.api.file.create_file_center_of_mass.sync(output_unit, src_format, body, *, client)[source][source]
We assume any file given to us has one consistent unit throughout. We also assume the file is at the proper scale.
This endpoint returns the cartesian coordinate in world space measure units.
In the future, we will use the units inside the file if they are given and do any conversions if necessary for the calculation. But currently, that is not supported.
Get the center of mass 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 theid
returned from the request to get status information about the async operation from the/async/operations/{id}
endpoint.- Return type: