Skip to content

Two issues: center-of-mass returns y as up, and calculates flipped z value #1244

@jgomez720

Description

@jgomez720

Description

Two issues:

  • The y value is returned as up, when it should be z
  • The current z value (which is forward), is being returned as its opposite. (flipped axis)

Version

0.2.108

Example

This model should return x=10, y=9, z=2.5
Image

actual response:

{
  "center_of_mass": {
    "x": 10.0,
    "y": 2.5,
    "z": -9.0
  },
  "output_unit": "in"
}

y is currently up, and the z is flipped. Everything should be positive in this example.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions