His is a replacement knob for 7th generation Honda Civic with broken knobs for the hood pull. It MIGHT also work for a 6th generation Civic (the hood pulls seem similar) but I cannot verify since I don't own one. If not, the design could probably be modified slightly to fit it.
This particular replacement knob fits over the hood cable with remaining plastic surround from the prior broken knob (do not cut-away the remaining plastic as this knob attaches to it). I used gorilla glue to secure it. The gorilla glue actually expands as it dries to ensure a very tight/secure fit although I expect epoxy might also be a good choice. Not my finest first layer print in the example photos but it actually looks much better in "real life" than in the photos and I was too lazy to reprint and tweak it. Works just like the original!
Depending on your printer settings, the mounting hole might be too tight. If yes, find a drill bit to scrape the hole (preferably by hand) or scrape the inside hole with a thin knife or metal object to get the fit you want.