kittycad.api.ml.create_text_to_cad

Functions

asyncio(output_format, body, *, client[, kcl])

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)

sync(output_format, body, *, client[, kcl])

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)

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

Response[Union[TextToCad, Error, None]]

kittycad.api.ml.create_text_to_cad._get_kwargs(output_format, body, *, client, kcl=None)[source][source]
Return type:

Dict[str, Any]

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

Union[TextToCad, Error, None]

async kittycad.api.ml.create_text_to_cad.asyncio(output_format, body, *, client, kcl=None)[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.

Return type:

Union[TextToCad, Error, None]

async kittycad.api.ml.create_text_to_cad.asyncio_detailed(output_format, body, *, client, kcl=None)[source][source]
Return type:

Response[Union[TextToCad, Error, None]]

kittycad.api.ml.create_text_to_cad.sync(output_format, body, *, client, kcl=None)[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.

Return type:

Union[TextToCad, Error, None]

kittycad.api.ml.create_text_to_cad.sync_detailed(output_format, body, *, client, kcl=None)[source][source]
Return type:

Response[Union[TextToCad, Error, None]]