Reset 3D View #38718

Closed
opened 2014-02-19 11:07:20 +01:00 by Reiner Prokein · 15 comments

Reset 3D View is a simple plugin that resets the views of all open 3D view windows back to a default view. This is handy for situations when you have navigated yourself away and want to center the view at the starting point again. It helps with the orientation in the 3D space.

The wiki page can be found here: http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/3D_interaction/Reset_3D_View#Summary

Kind regards Reiner 'Tiles' Prokein

reset3dview.py

Reset 3D View is a simple plugin that resets the views of all open 3D view windows back to a default view. This is handy for situations when you have navigated yourself away and want to center the view at the starting point again. It helps with the orientation in the 3D space. The wiki page can be found here: http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/3D_interaction/Reset_3D_View#Summary Kind regards Reiner 'Tiles' Prokein [reset3dview.py](https://archive.blender.org/developer/F78067/reset3dview.py)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Reiner Prokein self-assigned this 2014-02-19 11:07:20 +01:00
Author

Added subscriber: @tiles

Added subscriber: @tiles
Member

Added subscriber: @CodeManX

Added subscriber: @CodeManX
Member

It is a really useful addition IMO. It could be improved code-wise, but I wonder if it shouldn't rather be implemented in C like the other camera view related operators. It could even use the initial camera perspective and distance from user's startup.blend, or factory settings if prefered (I'm in favor of user-configurable startup.blend).

Leaving this up for a Blender dev to decide.

It is a really useful addition IMO. It could be improved code-wise, but I wonder if it shouldn't rather be implemented in C like the other camera view related operators. It could even use the initial camera perspective and distance from user's startup.blend, or factory settings if prefered (I'm in favor of user-configurable startup.blend). Leaving this up for a Blender dev to decide.
Author

Thanks for the support CoDEmanX. I would have nothing against a C implementation really. Would make me even happier to have this natively in Blender instead by a plugin :)

Thanks for the support CoDEmanX. I would have nothing against a C implementation really. Would make me even happier to have this natively in Blender instead by a plugin :)
Member

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

This kind of functionality I wouldn't do as an addon (or if done as an addon it might belong to a collection of related functionality),

However Im not really sure this is so useful? - you can always press home key.

All views in blender could have some way to reset back to their defaults, but typically you want to have the view frame the data or the selection (Homekey or Numpad .).

Closing, however I don't want to discourage addons which improve viewport functionality, this just seems too trivial a change to be bundled into an addon.

This kind of functionality I wouldn't do as an addon (or if done as an addon it might belong to a collection of related functionality), However Im not really sure this is so useful? - you can always press home key. All views in blender could have some way to reset back to their defaults, but typically you want to have the view frame the data or the selection (Homekey or Numpad .). Closing, however I don't want to discourage addons which improve viewport functionality, this just seems too trivial a change to be bundled into an addon.
Author

Thanks for having a look at it Campbell.

It is very useful for such a small thing. I missed this functionality. That's why i made it at all. It exists natively in trueSpace since eons. And i already got some happy replies from users that missed this functionality too :)

From a developer point of view the plugin couldn't be small enough for me. It was my first Blender plugin. So of course it is very small. But the biggest software is made of all those small things. And when a functionality improves a software then the size doesn't really matter. I don't have a bundle of scripts yet where i could add this functionality.

For the functionality itself, it is a difference if i frame a selected object, or if i can return to a default view. The object to frame may be at another location. Or i have navigated myself away and don't know where is back and front anymore. Like in a big terrain mesh. Starting from a fixed default view makes things much easier then. And i use the reset view regularly in trueSpace. And now in Blender too.

I would of course also be happy when i wouldn't need to write a plugin for that. But since i don't know C and am no Blender dev to put it into the trunk then, this is the only way for me ;)

Just curious, "closing" means that the plugin does not get hosted at the Blender server, right? Wiki relies at Blender links mostly. Do i need to remove it from the Wiki then?

Thanks for having a look at it Campbell. It is very useful for such a small thing. I missed this functionality. That's why i made it at all. It exists natively in trueSpace since eons. And i already got some happy replies from users that missed this functionality too :) From a developer point of view the plugin couldn't be small enough for me. It was my first Blender plugin. So of course it is very small. But the biggest software is made of all those small things. And when a functionality improves a software then the size doesn't really matter. I don't have a bundle of scripts yet where i could add this functionality. For the functionality itself, it is a difference if i frame a selected object, or if i can return to a default view. The object to frame may be at another location. Or i have navigated myself away and don't know where is back and front anymore. Like in a big terrain mesh. Starting from a fixed default view makes things much easier then. And i use the reset view regularly in trueSpace. And now in Blender too. I would of course also be happy when i wouldn't need to write a plugin for that. But since i don't know C and am no Blender dev to put it into the trunk then, this is the only way for me ;) Just curious, "closing" means that the plugin does not get hosted at the Blender server, right? Wiki relies at Blender links mostly. Do i need to remove it from the Wiki then?
Member

It can stay on wiki as external addon of course!

It can stay on wiki as external addon of course!
Author

Thanks CoDEmanX :)

Thanks CoDEmanX :)
Member

Added subscriber: @ermo

Added subscriber: @ermo
Member

@ideasman42 / @tiles :

Would you guys be ok with PDT absorbing this functionality in a button in the PDT View panel? It's quite useful and I don't think it was ever brought up to 2.80 standards?

@ideasman42 / @tiles : Would you guys be ok with PDT absorbing this functionality in a button in the PDT View panel? It's quite useful and I don't think it was ever brought up to 2.80 standards?
Author

Hey Rune. The script is open source under the GPL compliant Apache license. You can do with it whatever you want. This is even welcome. That's the spirit behind Open Source :)

Blender comes with a somehow similar addon called Stored Views in case you need further inspiration.

Hey Rune. The script is open source under the GPL compliant Apache license. You can do with it whatever you want. This is even welcome. That's the spirit behind Open Source :) Blender comes with a somehow similar addon called Stored Views in case you need further inspiration.
Member

Cheers Reiner -- I only pinged you because I thought you might enjoy knowing that your code made it into Blender, even if a few years has passed since you proposed it for inclusion in the first place. =)

Cheers Reiner -- I only pinged you because I thought you might enjoy knowing that your code made it into Blender, even if a few years has passed since you proposed it for inclusion in the first place. =)
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#38718
No description provided.