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

Correct Origin position after "lonlat to sphere" #484

Open
domlysz opened this issue May 4, 2021 · 2 comments
Open

Correct Origin position after "lonlat to sphere" #484

domlysz opened this issue May 4, 2021 · 2 comments

Comments

@domlysz
Copy link
Owner

domlysz commented May 4, 2021

Hello there!

Faced with the fact that after importing shp-files and transforming into a spherical object, the origin of the objects remains in those places where the object was originally imported. Is it possible to adjust the function (procedure) in such a way that the origin of coordinates also gets a new correct place together with the object.

See examples screeshot below.
Import SHP
lonlat to sphere
Set Origin command
Incorrect Origin after Transform
Correct place of Origin

I will be very happy if the feature is implemented in the next version.

Beforehand thanx.

Originally posted by @dennart in #476

@chriscohoat
Copy link

I started to implement this script to help solve this problem: https://gist.githubusercontent.com/zeffii/5879583/raw/9427fce62d596e756d920ca14f9c604e3e425618/space_view3d_move_origin.py

But realized I could quickly just select the vertices and click "Set Origin":

CleanShot 2022-03-03 at 12 18 53

Which results in the correct locations:

CleanShot 2022-03-03 at 12 17 30

@AncientHello
Copy link

@chriscohoat does this set it to the true center of the sphere though? Or just close-ish?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants