kittycad.api.ml.create_text_to_cad
Functions
|
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. |
|
|
|
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. |
|
- kittycad.api.ml.create_text_to_cad._get_kwargs(output_format, body, *, client, kcl=None)[source][source]
- 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 theid
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 notCompleted
orFailed
.
- async kittycad.api.ml.create_text_to_cad.asyncio_detailed(output_format, body, *, client, kcl=None)[source][source]
- 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 theid
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 notCompleted
orFailed
.