How to do this 3D model in solidworks?
2 Answers

Tricky part. Hopefully you have SW 2018 or later so you can download, open, and review the attached part.
As with most designs, there's many different ways to approach it, I chose to work the linear end portions of the ramp first, and then loft the turn.
The curve projection was done with 'sketch on sketch' projected curve, the trick was getting all the reference planes and sketches set up correctly.