Bounding Box returns wrong Z (blue) coordinate

In reality, the model’s axis and origin (ie the “global” axis) cannot be moved in SketchUp.
They are set to the global constants ORIGIN, X_AXIS, Y_AXIS and Z_AXIS.

What you may refer to (being moved) is the “drawing axis”, which is a user coordinate system similar to AutoCAD’s UCS. It affects how SketchUp’s native tools work, and any Ruby tool that takes it into account since it’s properties were exposed to the Ruby API with the 2016 release.

This means that the setting for the drawing axis does not affect Ruby coordinates unless the Ruby code chooses to honor it’s settings. All coordinates (outside group or components) are relative to the unchangeable global origin and axis. (This is why the component origin seemed to be way off.)

2 Likes