This is a simple script to calculate different aspects of a cylinder/circle for proper alignment. As I frequently work with round shapes/cylinders, it’s quite helpful to know the exact rotations with a specific amount of sides or when you need to cut a cylinder into equal pieces. It also contains options to backup and restore rotation.
- CylinderEdgeCount:
- Side count of the cylinder/circle
- Faces per Shell:
- If a cylinder need to cut into equal pieces, this value provides the amount of sides you want for each piece
- Calculate
- Calculates the result in the output list below and sets the first degree radiobutton to the half-face value
- Degrees:
- With the X/Y/Z buttons, the selection can be rotated incrementally according to the picked value
- Backup rotation
- The current rotation values are stored in a new parameter on each selected object itself
- Restore backup
- The rotation from the backup parameter is copied over to the actual rotation
- Delete backup
- Deletes backup parameters
- 0 rotation
- resets rotation on selection to 0