Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
clemens-fricke opened this issue May 28, 2024 · 1 comment

Comments

@clemens-fricke
Copy link
Member

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.

@j042
Copy link
Member

j042 commented May 28, 2024

Ok and let's unpack some kwargs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants