This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## | |
| # A script to split simple, architectural geometry into convex pieces. | |
| # | |
| # This script makes use of Blender's built-in "Split Concave Faces" clean-up | |
| # algorithm to break-up the faces of an object into convex pieces. The script | |
| # attempts to identify all the edges that represent convex boundaries, and then | |
| # it splits objects up along those edges. Each resulting piece is then made into | |
| # a closed object by converting it into a convex hull. | |
| # | |
| # Be sure to select the object you wish the split into convex pieces before |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* Examples | |
| toSteamID(25490879) // STEAM_0:1:12745439 | |
| toSteamID(76561197985756607) // STEAM_0:1:12745439 | |
| toSteamID("STEAM_0:1:12745439") // STEAM_0:1:12745439 | |
| toUserID(25490879) // 25490879 | |
| toUserID(76561197985756607) // 25490879 | |
| toUserID("STEAM_0:1:12745439") // 25490879 |