UI Module
The UI Module adds two pages to the API: a packing demo and a ViPaq decoder. Both run in your browser, so you can try Binacle.Net without writing a request.
This module is disabled by default.
π¦ Packing Demo
Put in your own bins and items, pick an algorithm, and watch it pack.
- πΉ Step through it one item at a time.
- πΉ Watch each item land in the bin as it is placed.
π ViPaq Decoder
Paste a ViPaq string and see the packing drawn. Step through the layout to check how it was arranged.
- π To obtain ViPaq data, set
includeViPaqDataon a packing request in Version 3 or Version 4 of the API. - π The decoder reads the v3.0.0 format only. Data produced by v2.1.1 and earlier is rejected - see ViPaq Protocol.
π§ Activating the UI Module
To enable the UIModule, set the environment variable:
UI_MODULE=True
That is the whole setup. The module reads no configuration at all - both demos run in your browser and call the API they are served from, over relative URLs, so there is nothing to point anywhere.