tataratat/gustaf

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

Opened this issue · 1 comments

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 commented

Ok and let's unpack some kwargs