kittycad.api.ai.create_text_to_cad

Functions

asyncio(output_format, body, *, client)

Because our source of truth for the resulting model is a STEP file, you will always have STEP file contents when you list your generated models.

asyncio_detailed(output_format, body, *, client)

rtype:

Response[Union[TextToCad, Error, None]]

sync(output_format, body, *, client)

Because our source of truth for the resulting model is a STEP file, you will always have STEP file contents when you list your generated models.

sync_detailed(output_format, body, *, client)

rtype:

Response[Union[TextToCad, Error, None]]

kittycad.api.ai.create_text_to_cad._build_response(*, response)[source][source]
Return type:

Response[Union[TextToCad, Error, None]]

kittycad.api.ai.create_text_to_cad._get_kwargs(output_format, body, *, client)[source][source]
Return type:

Dict[str, Any]

kittycad.api.ai.create_text_to_cad._parse_response(*, response)[source][source]
Return type:

Union[TextToCad, Error, None]

async kittycad.api.ai.create_text_to_cad.asyncio(output_format, body, *, client)[source][source]

Because our source of truth for the resulting model is a STEP file, you will always have STEP file contents when you list your generated models. Any other formats you request here will also be returned when you list your generated models. This 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. One thing to note, if you hit the cache, this endpoint will return right away. So you only have to wait if the status is not Completed or Failed. This is an alpha endpoint. It will change in the future. The current output is honestly pretty bad. So if you find this endpoint, you get what you pay for, which currently is nothing. But in the future will be made a lot better.

Return type:

Union[TextToCad, Error, None]

async kittycad.api.ai.create_text_to_cad.asyncio_detailed(output_format, body, *, client)[source][source]
Return type:

Response[Union[TextToCad, Error, None]]

kittycad.api.ai.create_text_to_cad.sync(output_format, body, *, client)[source][source]

Because our source of truth for the resulting model is a STEP file, you will always have STEP file contents when you list your generated models. Any other formats you request here will also be returned when you list your generated models. This 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. One thing to note, if you hit the cache, this endpoint will return right away. So you only have to wait if the status is not Completed or Failed. This is an alpha endpoint. It will change in the future. The current output is honestly pretty bad. So if you find this endpoint, you get what you pay for, which currently is nothing. But in the future will be made a lot better.

Return type:

Union[TextToCad, Error, None]

kittycad.api.ai.create_text_to_cad.sync_detailed(output_format, body, *, client)[source][source]
Return type:

Response[Union[TextToCad, Error, None]]