Xmas is gone, candles are still nice... The CandleCaster[1] works pretty well.

Xmas is gone, candles are still nice…

The CandleCaster[1] works pretty well. A bit tricky is getting the candles out of the cast. By now the cast is “cylindrical” (see green part). If I could extrude with @OpenJSCAD.org ​ any shape, then I would generate a tapered cast.
As long as this is not possible with “built in” functions, I recommend to use flexible PLA.

More about this in German[2]

[1] CandleCaster
[2] 3DGeometrie: Kerzengiessformen mit OpenJSCAD

I have only used OpenSCAD a little, so may be wrong, but have you considered an alternative approach? If you start with grey star, copy, scale and translate in the z direction. Hull the two sections to get a solid. Copy the solid and expand in the x and y directions only and then subtract one solid from the other.

openscad has a scale option on the linear_extrude function that can be used to taper the extrusion. I don’t know if openjscad also has this option though.

@Philip_Stubbs_stuphi @Mark_Hindess Yes I already tried that, but unfortunately it does not work. I get shapes like this:
missing/deleted image from Google+