Flip a build and keep node orientation

User avatar
JoshMars
Member
 
Posts: 103
Joined: Sat May 17, 2014 23:24
In-game: rubber UbuntuJosh

Flip a build and keep node orientation

by JoshMars » Tue Dec 27, 2016 20:05

I need to flip a massive build 180 degrees so that east is west and west is east. I need the node orientation to flip as well.It is my understanding that World Edit is not capable of doing this yet (although some pull requests claim they fix this).

What is the fastest way to go about doing it?
 

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

Re: Flip a build and keep node orientation

by Sokomine » Wed Dec 28, 2016 04:02

My handle_schematics mod is capable of placing saved buildings in a rotated way. I do some things there that are more costly than more plain methods like e.g. the inbuild minetest.place_schematic code. You might want to give the build chest from my mod a chance as long as the building is not too massive. What size does it have?
A list of my mods can be found here.
 

User avatar
Naj
Member
 
Posts: 170
Joined: Sat Sep 19, 2015 21:14
GitHub: pyrollo
In-game: naj

Re: Flip a build and keep node orientation

by Naj » Wed Dec 28, 2016 09:09

I did the pull request and used it a lot. Only some nodes are not rotated correctly (I'm not sure with panes, some bushes...).

You should have a try with the pull request version.
 

User avatar
JoshMars
Member
 
Posts: 103
Joined: Sat May 17, 2014 23:24
In-game: rubber UbuntuJosh

Re: Flip a build and keep node orientation

by JoshMars » Wed Dec 28, 2016 23:03

So I used pyrollos work, I had some troubles with some nodes, but I realized that my build has a lot of symmetry and flipping it both x and z resulted in what I wanted. If the build was assymentrical it wouldn't of worked.
 

User avatar
Naj
Member
 
Posts: 170
Joined: Sat Sep 19, 2015 21:14
GitHub: pyrollo
In-game: naj

Re: Flip a build and keep node orientation

by Naj » Thu Dec 29, 2016 09:28

Great !

If you can, please list nodes (and mods) that gave you troubles with. Improvements can be made
 

User avatar
JoshMars
Member
 
Posts: 103
Joined: Sat May 17, 2014 23:24
In-game: rubber UbuntuJosh

Re: Flip a build and keep node orientation

by JoshMars » Thu Dec 29, 2016 15:18

More blocks saw, the 7/8 and 3/8 peices
 


Return to Minetest General

Who is online

Users browsing this forum: No registered users and 10 guests

cron