Problem statement
I want to extrude a parametric surface and colour its front faces, back faces and boundaries differently.
Define plot options
opts = {Axes -> False, Boxed -> False, ImageSize -> 400, Lighting -> "ThreePoint", PlotPoints -> 64, ViewPoint -> {2, 0, 0.5}}; Steinbach surface
Steinbach = {v Cos[u], v Sin[u], 1/2 u Cos[v]}; Plots without extrusion
Red front faces
front = ParametricPlot3D[ Steinbach, {u, 0, 2 Pi}, {v, -4, 4}, Evaluate @ opts, PlotLabel -> "Front", PlotStyle -> Directive[FaceForm[Red, Yellow]]]; Red back faces
back = ParametricPlot3D[ Steinbach, {u, 0, 2 Pi}, {v, -4, 4}, Evaluate @ opts, PlotLabel -> "Back", PlotStyle -> Directive[FaceForm[Yellow, Red]]]; Yellow boundary
boundary = ParametricPlot3D[ Steinbach, {u, 0, 2 Pi}, {v, -4, 4}, Evaluate @ opts, BoundaryStyle -> Directive[Yellow, Thickness[0.01]], PlotLabel -> "Edges", PlotStyle -> Red]; Display together
GraphicsRow[{front, back, boundary}, Dividers -> All, FrameStyle -> LightGray] Plots with extrusion
Unfortunately, when I extrude the surface (using the undocumented options Method -> {"Extrusion" -> 0.1} or PlotTheme -> "ThickSurface", the different face colours vanish:
ParametricPlot3D[ Steinbach, {u, 0, 2 Pi}, {v, -4, 4}, Evaluate @ opts, Method -> {"Extrusion" -> 0.1}, PlotStyle -> Directive[FaceForm[Red, Yellow]]] I don't have this problem with my Blender / Python application which extrudes ("solidifies") respecting face colour directives:
Question
How can I extrude with different face and boundary colours like in the above Blender image collage?






