Jump to content

Define Startup Orientation


Flint_Lockwood
Go to solution Solved by rburema,

Recommended Posts

Posted · Define Startup Orientation

Anyone know what defines the orientation of the workspace when Cura first starts up? Mine comes in at some arbitrary rotation and zoom level. Is it possible to change this to something more defined like the exact iso view with a zoom level to see the entire work envelope? 

 

Small issue, but bothers my OCD that it is currently so arbitrary and I can't seem to find how to redefine it.

Cura Startup Orientation.jpg

  • Link to post
    Share on other sites

    • 2 weeks later...
    • Solution
    Posted · Define Startup Orientation

    I'm afraid that's hardcoded at the moment.

     

            # Initialize camera
            root = controller.getScene().getRoot()
            camera = Camera("3d", root)
            diagonal = self.getBuildVolume().getDiagonalSize()
            if diagonal < 1: #No printer added yet. Set a default camera distance for normal-sized printers.
                diagonal = 375
            camera.setPosition(Vector(-80, 180, 700) * diagonal / 375)
            camera.lookAt(Vector(0, 0, 0))
            controller.getScene().setActiveCamera("3d")

     

    The values fed to the `setPosition` function seem somewhat arbitrary, to create a view that would look 'dynamic' to a designer maybe.

    In theory, you'd probably be able to make a plugin to set the camera to a more canonical position on start-up.

  • Link to post
    Share on other sites

    Posted · Define Startup Orientation
    On 4/19/2023 at 9:56 AM, rburema said:

    I'm afraid that's hardcoded at the moment.

     

            # Initialize camera
            root = controller.getScene().getRoot()
            camera = Camera("3d", root)
            diagonal = self.getBuildVolume().getDiagonalSize()
            if diagonal < 1: #No printer added yet. Set a default camera distance for normal-sized printers.
                diagonal = 375
            camera.setPosition(Vector(-80, 180, 700) * diagonal / 375)
            camera.lookAt(Vector(0, 0, 0))
            controller.getScene().setActiveCamera("3d")

     

    The values fed to the `setPosition` function seem somewhat arbitrary, to create a view that would look 'dynamic' to a designer maybe.

    In theory, you'd probably be able to make a plugin to set the camera to a more canonical position on start-up.

     

    Thanks for the response. Kinda figured this would be the case. Not a big deal, but a small UI nitpick that would be nice for super picky designs to have control over if possible someday.

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
        • 3 replies
      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
        • 26 replies
    ×
    ×
    • Create New...