Skip to content

Feature Request: Add camera angle parameters to zoo kcl snapshot command #1307

@Explorer1092

Description

@Explorer1092

Feature Request

Description

I would like to request the addition of camera angle parameters to the zoo kcl snapshot command. This would allow users to export images from different camera perspectives.

Use Case

Currently, the zoo kcl snapshot command appears to generate snapshots from a fixed camera angle. Having the ability to specify custom camera angles would be very useful for:

  • Creating multiple views of the same model
  • Generating documentation with specific viewpoints
  • Automating the creation of presentation materials

Proposed Solution

Add optional parameters to control camera position and orientation, such as:

  • --camera-position or --cam-pos: Specify X, Y, Z coordinates
  • --camera-rotation or --cam-rot: Specify rotation angles
  • --camera-target or --cam-target: Specify the point the camera looks at
  • --camera-fov: Field of view angle

Example Usage

zoo kcl snapshot model.kcl --camera-position "10,5,8" --camera-target "0,0,0"
zoo kcl snapshot model.kcl --cam-rot "45,30,0" --output front-view.png

Additional Context

This feature would greatly enhance the flexibility of the snapshot command and make it more suitable for automated workflows and documentation generation.

Thank you for considering this feature request!

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