@Zouzou_Factory , there is probably a misunderstanding. There is really absolutely no magic in my gcode sequence. It just a series of G0 and G4 commands. And there is no magic needed to running prints on Bambu printers in sequence. If at all, the “magic” is only in the app which splices files or it repeats.
A while ago I published the gcode-splicer (or GCODE-Mixer) app as open source project on github. You can find the post here.
To use this app you just slice your file, export is as gcode (NOT 3MF !) and load into this app. Then you can set the number of repeats or press the “Add file” if you would like building a printing queue out of multiple different files. In the field below you can add you clearing gcode. This has to be specified by you as a user as all printed parts and printers are different and what works on A1 would not necessary work on P/X1. If you are using it on Bambu printers you will need to use a G4 S1500 or something to make the printer wait until the plate cools down, since the temperature condition like. M190 S35 (wait for 35 degree) doesn’t work reliably for some reason. Maybe it works with M190 R35, but have not tested yet.
Alternatively you can also use the app at https://3d-printomat.de/ mentioned by @koerner.stef . I guess it’s not free, but it seams like there is a part analyzer which generates an optimal clearing gcode. Have not tested yet myself.
Since this is little of topic here I would suggest continue discussion in the automation thread or you can also write ma personal message.