Preheat oven to 350 degrees F. Butter a 9-inch pie plate.
Cook spaghetti according to package; drain.
Stir together cooked spaghetti, butter, Parmesan and eggs. Spoon the mixture into prepared pan. Press the mixture on bottom and sides to form a crust. Bake 10 minutes.
Meanwhile, brown beef in a skillet; drain fat. Stir in onion, green pepper, tomatoes, tomato paste, sugar, oregano and garlic powder.
Spread the cottage cheese on the spaghetti and then spread on the meat mixture. Bake 30 minutes.
Sprinkle mozzarella on top and bake 5 more minutes.
Cool 10 minutes.
Cut in pie wedges and serve.
VARIATION: Skip the layering and mix in large bowl and pour into pan to bake.