In OpenSCAD, I am trying to make a linear_extrude on a shape imported from an svg. The svg file contains multiple path. I would like to scale each path separately. I have tried the following code, but the whole import is considered a single shape resulting in the image below.
linear_extrude(height = 5, center = true, scale=1.2)
import(file = "xxx.svg", center = true, dpi = 96);
How can I have each of the letters to have 'its own pyramid' ?
I know I could create one SVG per letter. But for simplicity sake I would like to have only one SVG file, as I want to create much more complex motives in the future. My final goal is to create stamps from SVG drawings.
Edit: Alternative tried after Mick's comment (same result):
module pyramidChildren(height){
for ( i= [0:1:$children-1])
linear_extrude(height = height, scale=1.5)
children(i);
}
pyramidChildren(5)
import(file = "xxx.svg", center = true, dpi = 96);
I have tried to use the basic svg (multiple paths) and also to group each path (with only itself) without changes in the result.