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

Snapping to guides doesn't behave correctly. #633

Open
andybak opened this issue Feb 28, 2024 · 2 comments
Open

Snapping to guides doesn't behave correctly. #633

andybak opened this issue Feb 28, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@andybak
Copy link
Contributor

andybak commented Feb 28, 2024

There seems to be an odd offset when you import a 3d model, turn on "snap to guides" in the snap settings and try and align copies of the model on the guide.

@mikeskydev mikeskydev added the bug Something isn't working label Apr 24, 2024
@eeropomell
Copy link
Contributor

This is happening to me when exporting from Blender for 3D models that are not on the origin. Happens with both fbx and glb.

Should I fix this so that it works the same for models that are exported while on the origin and models that are exported while somewhere else, or should we just specify the correct way to export?

Here is a model exported on the origin (0,0,0):
c208698eca572e1927a91247361967b4

And the same model exported on (0,0,3):
decb5ca49dfb36c831e6706a6e9233bc

Below is a video of how they work differently in Open Brush. The model (the 1st model in the video) that is exported on (0,0,3) has the offset applied when snapping to the guide.

Vid: https://imgur.com/a/FUlvGD9

@andybak
Copy link
Contributor Author

andybak commented May 21, 2024

I'm trying to think of some of the factors that impact on making a decision about this. A couple of scenarios:

  1. A user constructs a complex Blender scene and then exports parts of it separately. When importing them into Open Brush should they keep their position relative to each other?

  2. A user creates say a sword where the pivot is very specific to the geometry (midway down the handle for example)

I think a good default might be to reset the pivot of an object to be centered but allow an easy way to either override this or revert to the original pivot.

I have plans for much more functionality around pivots so we can iterate on this but I guess the question is "what shall we do now?" This issue is really about a specific behaviour with snapping. I think we should open another issue if we want to discuss changing the default pivot point for imports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants