🎉 WIN a Snapmaker U1 Printer! Enter FREE now

--rotate-y

<degrees>
Object Arrangement & Transformation Orca SlicerBambu Studio

Rotate every loaded object around its Y axis by the specified number of degrees, baking the transform into the object volumes in command-line order before slicing begins.

Details

--rotate-y accepts a floating-point value in degrees and rotates every loaded object around its Y axis by that amount before slicing. The conversion from degrees to radians is performed internally; the caller always supplies degrees. There is no enforced range: negative values rotate in the opposite direction, and values beyond 360 wrap naturally through the full rotation. The default, when the flag is omitted, is 0 (no rotation applied).

The rotation is applied at the volume level, not the instance level. This is a meaningful distinction for 3MF inputs: the transform is baked directly into the object geometry rather than being recorded as a placement offset on an instance. If the 3MF already carries instance-level placement transforms, those are preserved and the volume-level rotation is compounded on top. This can produce unexpected orientations if the source 3MF was authored with non-identity instance offsets.

--rotate-y is one of three axis rotation flags, alongside --rotate (Z axis) and --rotate-x (X axis). When multiple transform flags appear together, they are applied in the order they appear on the command line. Y-then-X produces a different final orientation than X-then-Y for any non-axis-aligned geometry, so the sequence is significant when combining flags. After all transforms finish, --ensure-on-bed (if active) translates any object whose geometry has dropped below Z=0 back up to the bed surface, so a rotation that sinks part of the model below the bed plane does not itself cause a permanent problem.

Watch out for

  • The rotation is applied to volumes, not instances. A 3MF with non-identity instance transforms will compound them with the CLI rotation, which can produce a surprising final pose.
  • Transform order on the command line is the execution order. Combining `--rotate-y` with `--rotate-x` or `--rotate` gives different results depending on which flag comes first.
  • There is no bounds validation. Any float is accepted; the slicer does not warn on values outside 0-360. If the rotation drops geometry below Z=0, `--ensure-on-bed` (which is disabled by default) can lift the object back to the bed surface after all transforms complete.

Sign up for free today

No credit card required. Connect unlimited printers and get production automation running in minutes.