kittycad.api.ml.create_text_to_cad_multi_file_iteration.asyncio

async kittycad.api.ml.create_text_to_cad_multi_file_iteration.asyncio(body, *, client)[source][source]

This endpoint can iterate on multi-file models.

Even if you give specific ranges to edit, the model might change more than just those in order to make the changes you requested without breaking the code.

You always get the whole code back, even if you only changed a small part of it. This endpoint will always return all the code back, including files that were not changed. If your original source code imported a stl/gltf/step/etc file, the output will not include that file since the model will never change non-kcl files. The endpoint will only return the kcl files that were changed.

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.

Return type:

Union[TextToCadMultiFileIteration, Error, None]