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

CLI option to render specific section within scene for development workflow #4055

Open
marcel-goldschen-ohm opened this issue Dec 12, 2024 · 0 comments
Labels
new feature Enhancement specifically adding a new feature (feature request should be used for issues instead)

Comments

@marcel-goldschen-ohm
Copy link

Description of proposed feature

For development workflows and UI integration, it would be useful to be able to specify in the render command a specific section within a scene to render. For example, something like

manim myfile.py MyScene:3

would render only the 4th section of MyScene (the equivalent to setting skip_animations=True for all sections except the 4th in MyScene).

Currently, this can be done by manually setting the skip_animations argument in each call to self.next_section(...). However, it would be much more convenient to be able to indicate which subsection to animate separate from the scene code. This would also make it much simpler to implement this sort of development workflow in UIs which at the moment would have to programmatically edit the code file to achieve this simple and likely widely used development paradigm.

@marcel-goldschen-ohm marcel-goldschen-ohm added the new feature Enhancement specifically adding a new feature (feature request should be used for issues instead) label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature Enhancement specifically adding a new feature (feature request should be used for issues instead)
Projects
None yet
Development

No branches or pull requests

1 participant