3D Pack Premium ================ **Requirements** Feature flag ``pack3d-premium`` needs to be enabled for pack3d_premium to be available. **USAGE** 1. Set Pack3d Premium as the build_packer_type: Once the ``pack3d-premium`` feature flag is enabled the ``3D Build Packing (Premium)`` option will appear as a build packer type for the printer type .. image:: images/pack3d_premium/premium_01.png :width: 100% .. sourcecode:: javascript curl --location --request PUT 'https:///printer-type/dc9cd684-8bb8-4bf9-9580-17bae705b6c6/' --header 'Content-Type: application/json' --header 'Cookie: session=' --data '{ "build_volume": { "x": 400, "y": 400, "z": 400 }, "build_packer_type": "pack3d_premium" }' 2. Create The Order: create an order then click Add Line Items .. image:: images/pack3d_premium/premium_02.png :width: 100% .. sourcecode:: javascript curl --location 'https:///order/' --header 'Content-Type: application/json' --header 'Cookie: session=' --data '{ "bureau": "https:///bureau/506ae7d9-77ce-4730-ae58-99b69ce954c4/", "due_date": "2023-03-25T00:00:00.000Z", "ip_sensitivity": "low", "name": "Pack3d Premium order", "priority": 65, "shipping": { "address": null, "uri": "https:///shipping/60e6934e-4c13-4596-bf82-447eb0aba2ce/" } }' 3. choose a model from the model library/upload your own model or check `uploading a model `__ section: .. image:: images/pack3d_premium/premium_03.png :width: 100% .. sourcecode:: javascript **Add product** curl --location 'https:///product/' --header 'Content-Type: application/json' --header 'Cookie: session=' --data '{ "order": "https:///order/eedf83a4-55aa-47f5-8ca4-71fde2c7a78f/", "model_library": "https:///model-library/7a92359a-3317-407a-bf16-3032dd5b874b/" }' .. sourcecode:: javascript **Add line item** curl --location 'https:///line-item/' --header 'Content-Type: application/json' --header 'Cookie: session=' --data '{ "bureau": "https:///bureau/506ae7d9-77ce-4730-ae58-99b69ce954c4/", "materials": { "base": "https:///material/de5e39aa-4075-4a3c-9357-82f396f45336/" }, "notes": "", "priority": 65, "quantity": 23, "workflow": "https:///workflow/b8c5d3da-f71b-4d25-a901-75327c91ceee/", "support_strategy": null, "infill_strategy": null, "custom_field_values": [], "name": null, "customer_id": null, "product": "https:///product/df12b7d4-0bf4-4402-886a-fb5c60d7efd1/", "order": "https:///order/eedf83a4-55aa-47f5-8ca4-71fde2c7a78f/", "model": "https:///model/19abfe0f-e8f4-46c6-abd9-c8aad6da4db1/", "no_model_upload": false }' .. sourcecode:: javascript confirm line item curl --location --request PUT 'https:///line-item/d3ee01aa-6024-4b21-bc13-c06e210bea5e/' --header 'Content-Type: application/json' --header 'Cookie: session=' --data '{ "no_model_upload": false, "bureau": "https:///bureau/506ae7d9-77ce-4730-ae58-99b69ce954c4/", "layer_thickness": 0.2, "materials": { "base": "https:///material/de5e39aa-4075-4a3c-9357-82f396f45336/" }, "notes": "", "name": null, "customer_id": null, "quantity": 23, "workflow": "https:///workflow/b8c5d3da-f71b-4d25-a901-75327c91ceee/", "custom_field_values": [], "status": "confirmed" }' - choose a workflow that works with the printer type and set the quantity to a large number to be able to demonstrate the packing capability. be careful not to exceed the maximum build volume of the printer: .. image:: images/pack3d_premium/premium_05.png :width: 100% 4. Create The Run: - Go to the Add run page and select the printer then add the pieces to the plate: .. image:: images/pack3d_premium/premium_06.png :width: 100% - you can see an estimation of the build fill .. image:: images/pack3d_premium/premium_07.png :width: 100% - Create the run and wait for it to finish calculating then you can download the packed models stl file .. image:: images/pack3d_premium/premium_08.png :width: 100% .. sourcecode:: javascript curl --location 'https:///create-runs/' --header 'Content-Type: application/json' --header 'Cookie: session=' --data '{ "do_build_volume_check": true, "run_name": "Pack3d Premium order + 22", "printer": "https:///printer/3453c0e6-0082-4b8d-a82a-288df94a96d8/", "pieces": [ "https:///piece/94b013f7-5de4-42bc-96a8-d34ccf867c94/", "https:///piece/95720dcb-8357-40cd-be63-66ba6c9c28ef/", "https:///piece/9ed491b7-347a-4112-a4f0-7ac891cf4039/", "https:///piece/a85975b2-3489-4511-a3ec-2b0a2db8bf44/", "https:///piece/ad33bed7-330a-43d7-9c81-500446dcee30/", "https:///piece/af20d2d7-be77-412e-abcd-e057febb5bdd/", "https:///piece/af34950f-ae71-4469-810e-e78a3868e747/", "https:///piece/ba909fe4-5f40-4bfe-be89-b8c8a672dc7c/", "https:///piece/3fde7ba3-4d6f-475f-855c-1983863d4d22/", "https:///piece/42a23542-6143-499a-8d17-e7ec33b2c1c6/", "https:///piece/4c93766e-c8a0-475f-815e-7740f8a81dfd/", "https:///piece/4d7776ab-7993-458c-b25f-b292650bb669/", "https:///piece/57b9205c-2a2b-4ef1-b2b5-ba4d42fc4276/", "https:///piece/5847f563-0448-456c-badb-3168ca974fe9/", "https:///piece/5bb8956f-8683-4dee-be9e-47da9919d797/", "https:///piece/613b1d91-b32f-490b-bcf8-b84bc56fc5c5/", "https:///piece/69951eea-f7ed-4a37-89f1-44915eac6e6c/", "https:///piece/0a841f18-2d93-4960-8930-70595b1b4b9c/", "https:///piece/14ac8bb9-6516-42a6-be49-7f6c2216ed02/", "https:///piece/1a5ce242-8ab6-4a97-a260-c857bd35c990/", "https:///piece/2a6e186f-ef4a-4e80-8a26-f760cc68a5a0/", "https:///piece/3e6ddbb0-589c-4289-9d79-d7bdbe464108/", "https:///piece/3fcc0b59-b7a8-4e26-a40b-ce8e3fdbb1f1/" ] }' - the models will be tightly packed within the build plate dimensions while keeping the minimum packing distance set in the printer type: .. image:: images/pack3d_premium/premium_09.png :width: 100%