Adding UV mapping...

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Adding UV mapping...

Wim ten Brink
I created the script called text.scad and it works great!  Text.scad
<http://forum.openscad.org/file/t1375/Text.scad>  
I can call it from the commandline using: openscad.com" -o Wim.stl -D
"phase=3" -D "Text=\"Wim ten Brink\"" "text.scad"
And depending on the phase it will generate an stl file with the text in a
reasonable round way (or flat, if phase==5) and I can use this to do a lot
of automated text generation. Which I want to have.
Yes, it can be improved but for now it works...
...
But my problem is that I have dozens of short texts and I want each text in
all 5 styles and with a basic white JPG file as texture. (Basically just
simple planar mapping of a white square.) And ideally I want them as .obj
files, not .stl files...
So I need to further automate my build process and give them a texture, at
least. Now, I can apply simple textures using some tools, but how do I
automate it as best as possible? Can I tell OpenSCAD to include the UV
texture mapping and related texture in some easy way?



-----
With kind regards,
Wim,
W.A. ten Brink
--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
With kind regards,
Wim,
W.A. ten Brink