Skip to content

Keyword between vedo and gustaf for camera/cam in show function differ #212

Description

@clemens-fricke

In vedo the option to define a preset camera is called camera in gustaf it is cam.

But vedo tells you that you should use the keyword camera to get reproducible results.

###################################################
## Template python code to position this camera: ##
cam = dict(
    position=(0.500000, 0.549231, 3.16544),
    focal_point=(0.500000, 0.549231, 0),
    viewup=(0, 1.00000, 0),
    roll=0,
    distance=3.16544,
    clipping_range=(2.96500, 3.42540),
)
show(mymeshes, camera=cam)
###################################################

We should have a discussion if we should rename the keyword to be in line with vedo so that it is easier for our users.

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