Often time I want to see if my positioning of the material is good

Often time I want to see if my positioning of the material is good by performing a function commonly referred to as “Go Scale”. Given that ChiliPeppr knows the size of my entire gcode, how do I retrieve these values so I can write a little widget with a button that will tell the machine to travel along a rectangle that encompass my work. This is very useful for laser cutter since it gives a clear indication whether the cut will be entirely within the material.

There’s a macro already in there called “Put Bounding Box Around 3D Viewer User Object”. That’s a good starting point. Spit the bounding box out to the console to see its inner guts and you’ll see the values such that you could build your widget you’re after.

Sweet. Macro widget seems to misbehave (no longer remember things) after I hit Clear all macros.