Cap example

The blow-dryer has a cap surface on the handle, but the handle is an open curve. So you have to close the curve and create a new curve from the handle curve and the geometry you used to close the curve. Snapping a line between the endpoints creates the needed geometry. Chain it all into a curve and build the Cap surface.