Including my institution in a research paper
As a student, your research affiliation is the university --- the professor is beside the point.  You should list your affiliation as:


  Your Name
  [optional: your department]
  University Name
  [optional: university street address]
  City, Region, Nation
  email address and/or other contact information


The degree of detail requested depends on the requirements of the venue where you are publishing: the critical part is name, institution, city/nation, and durable contact information for you (since people may try to find you five or 10 years later).

Credit to your professor will likely be as a co-author: talk to your professor,
as the answer will depend on the degree of involvement and the conventions of the community you are submitting to---computer science 3D printing and biology 3D printing are very different.  If your professor is not a co-author, they should be recognized in your acknowledgements section instead.