Lines through shape

I have a design I would like to make lines through it. How would i automate this task by having a space value to determine the space between lines & another value that will decide angle line going through shape.  I did this by breaking apart and duplicating.  Any help or guidance would be greatly appreciated.