3D pattern

I am new to both Rhino and Grasshopper. Current files are drawn in SolidWorks. For my current project I need to replicate the unit cell to populate the two boxes. One box is cube-shaped, but the other one is curved. The issue is the dimension. The unit cell has a dimension of 8*8*8 mm, but the cubic box has a dimension of 50*50*50 mm. Also, the curved box has such dimensions that the unit won’t replicate in an integer number inside the box. So my questions are:

  1. How can I do it?
  2. Do I have to design all of this (unit cell and other items) in Rhino and Grasshopper to have more flexibility, or can I work with the SolidWorks design file?