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

file_name argument in Swift.screenshot does nothing. #28

Open
micsc12 opened this issue Mar 23, 2022 · 0 comments
Open

file_name argument in Swift.screenshot does nothing. #28

micsc12 opened this issue Mar 23, 2022 · 0 comments

Comments

@micsc12
Copy link

micsc12 commented Mar 23, 2022

I cannot name the files output by screenshot method. The example below saves a screenshot as "swift_snap.png".

import swift 
import spatialgeometry as sg

env = swift.Swift()
env.launch()
s = sg.Sphere(radius=0.1,  color=(0.95, 0.5, 0.25, 0))
env.add(s)
env.step()
env.screenshot("my_screenshot")
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

1 participant