omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Suppress print output at bottom of screen in Scene

    Pythonista
    4
    5
    3134
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • upwart
      upwart last edited by

      For my animation in Scene,, I would like to use the full screen and not be distracted by the output being directed to the the bottom line. Is is possible to disable this (usually very handy) feature?

      1 Reply Last reply Reply Quote 0
      • lukaskollmer
        lukaskollmer last edited by

        If you're talking about the frames per second number in the bottom right corner, you can pass the show_fps parameter to the run function to suppress that debug output.

        Example:

        run(MyScene(), show_fps=False)
        
        1 Reply Last reply Reply Quote 0
        • upwart
          upwart last edited by

          I'm talking about the lower left hand corner, showing the latest line of console output,

          1 Reply Last reply Reply Quote 0
          • JonB
            JonB last edited by

            Just don't use print!

            (i.e, you could redefine print to act as a pass)

            Also, IIRC SceneView does to do that...

            1 Reply Last reply Reply Quote 0
            • abcabc
              abcabc last edited by

              Suggested by omz here

              https://forum.omz-software.com/topic/3306/disable-on-screen-printing-in-scene-sceneview

              "There isn't really a supported way to turn this off, but you could do it via ObjC by putting something like this in your setup method:"

              from objc_util import ObjCInstance
              ObjCInstance(self.view).statusLabel().alpha = 0
              
              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB Forums | Contributors