New LDraw tools for parts authors: Unrectifier and Flipper
2014-02-18, 13:05 (This post was last modified: 2014-02-22, 10:01 by Philippe Hurbain.)
2014-02-18, 13:05 (This post was last modified: 2014-02-22, 10:01 by Philippe Hurbain.)
I started these programs a few months ago, but it took me some time to iron out some bugs... and ages to be motivated enough to write documentation! Neither of them will revolutionize the art of LDraw parts authoring, but they can be helpful nonetheless!
As usual, documentation, source code and Windows executables are available (links below).
Enjoy!
Philo
Rectifier is a useful tool to consolidate triangles into quads and to keep file size down, but doing so make further improvements to the file more difficult. Unrectifier does the opposite, it expands Rect primitives into quads + lines, and split quads into triangle pairs. By default Unrectifier operates on the whole file, but it can also limit itself to key-colored elements. With some limitations, it is also able to update condlines around modified areas.
Flipper allows to flip a pair of triangles (change abc + SPAM CONTENT into abd + dca). This helps in some areas of "organic" meshes (eg. hair pieces) to make them smoother (or on the contrary to create a crease to add an edge line). Flipper operates on colored pairs of triangles, thus allows the user to choose the triangle pairs to swap. With some limitations, it is also able to update condlines around modified areas.
As usual, documentation, source code and Windows executables are available (links below).
Enjoy!
Philo
Rectifier is a useful tool to consolidate triangles into quads and to keep file size down, but doing so make further improvements to the file more difficult. Unrectifier does the opposite, it expands Rect primitives into quads + lines, and split quads into triangle pairs. By default Unrectifier operates on the whole file, but it can also limit itself to key-colored elements. With some limitations, it is also able to update condlines around modified areas.
Flipper allows to flip a pair of triangles (change abc + SPAM CONTENT into abd + dca). This helps in some areas of "organic" meshes (eg. hair pieces) to make them smoother (or on the contrary to create a crease to add an edge line). Flipper operates on colored pairs of triangles, thus allows the user to choose the triangle pairs to swap. With some limitations, it is also able to update condlines around modified areas.