I get that the code is essentially the same, @Hauke . The software I am using includes a component for rotary movement so that round things can be engraved. I was trying to address the general question from a Luban point of view for @ITmaze, then I tried to expose some of the issues that 3D laser work entails. I am sure that a layered approach may help to provide an interesting intermediate diversion, where every section can be placed on its own layer with its own power and movement settings. Lightburn permits this and the sequence of cuts can be placed in any order.
In some senses we were previously looking to understand the nature of that possible variability of power in relation to greyscale and dithered images here in this particular forum thread. Laser: True grayscale instead of dithering?
The attraction of an infinitely variable power sourced laser would be that it could help to permit better engraving of images. Turning the power of the laser beam up and down, in response to computer bits increasing or reducing in value is not the problem. Doing it very rapidly may become an issue depending on the hardware limitations placed upon software solutions. Doing it for portions of workpiece that are spaced at intervals just 0.1mm apart from each other, with a laser beam that is projected through an imprecise optical system, may mean that your efforts would be wasted before you begin.
A very precise high quality optical system may permit very close placement and approximation of each ‘bit’ of laser energy. The workpiece material will have to permit surface temperature changes that cannot and will not migrate to the next closest area if your 3D laser carving is to be a practical reality. As an aside: it looks as if fibre based laser cutting is superceding CO2 in terms of precision and wattage.
The link details machine specs with 500 ~ 3000 watts of energy. https://www.durmark-machinery.com/High-Precision-Laser-Cutting-Machine-Laser-Cutter/
Interesting to note that 90mm is the workpiece height for all of the machines mentioned. Most homegamers are going to struggle to accommodate machine weights of around 4.35 to 6.25 tons, even if they can find the space and the money.
Here is a screen-grabbed specification sheet for the Durmark machines:
Edit to say: I hope Durmark’s machinery is better produced than their typing.