Skip to content

Python: Point3d.Transform does not transform point but returns a transformed point #695

@boblyx

Description

@boblyx

Tested on 8.17.0 on Debian Bookworm, Python 3.10.13 (gcc 12.2)

Point3d does not behave as documented in rhino3dm docs.

Given this sample code:

from rhino3dm import Point3d, Transform

p = Point3d(0,0,0)
tx = Transform.Translation(1,0,0)

p.Transform(tx) # <<< Returns Point3d as opposed to void 

print(p)

Output:

Point3d(1,0,0)
0.0,0.0,0.0

Expected Output:

Point3d(1,0,0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions