i recently made something for a friend and had to contend with how to gilt and paint the filigree work but not spend days sanding and planing.
Here is it; apply 2 coats of shellac to your work, let it dry and then carve away.
Now you can just spray on your paint or whatever and wipe off the excess, but the un-shellac'd part retains the finish
check out the results here