See this library https://github.com/brodykenrick/text_on_OpenSCAD
-----Original Message-----
From: karl.exler@meinklang.cc [mailto:karl.exler@meinklang.cc]
Sent: Mon, 21 Jun 2021 14:34
To: OpenSCAD general discussion
Subject: [OpenSCAD] Text in OpenScad
Diese Nachricht wurde von unterwegs gesendet...
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
--
This email has been checked for viruses by AVG.
https://www.avg.com
On Monday 21 June 2021 03:08:32 Michael Möller wrote:
Just in case the small item is not obvious : text is a 2D object, so
you must use linear_extrude() to make it solid, then you can add it or
use it difference() to engrave
difference() {
translate([0,0,-8]) rotate([0,90,0]) cylinder(h=30,d=20);
linear_extrude(height=3) translate([0,-5,0]) text("Karl");
}
This is an interesting idea, and I'd like to "engrave" on the outer wall
of a part thats only 5mm tall, the var that sets its size, for auto
marking a stack of parts made by stairstepping until the fit is perfect,
so how do I switch the "karl" to the text character version of a var?
Formatted to a floating point that reads 30.75 if someplace else in that
scope, the var sz is set to 30.75?
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
str(var) will convert var to a string.
On Mon, 21 Jun 2021 at 12:08, Gene Heskett gheskett@shentel.net wrote:
On Monday 21 June 2021 03:08:32 Michael Möller wrote:
Just in case the small item is not obvious : text is a 2D object, so
you must use linear_extrude() to make it solid, then you can add it or
use it difference() to engrave
difference() {
translate([0,0,-8]) rotate([0,90,0]) cylinder(h=30,d=20);
linear_extrude(height=3) translate([0,-5,0]) text("Karl");
}
This is an interesting idea, and I'd like to "engrave" on the outer wall
of a part thats only 5mm tall, the var that sets its size, for auto
marking a stack of parts made by stairstepping until the fit is perfect,
so how do I switch the "karl" to the text character version of a var?
Formatted to a floating point that reads 30.75 if someplace else in that
scope, the var sz is set to 30.75?
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
On Monday 21 June 2021 07:32:36 nop head wrote:
str(var) will convert var to a string.
Ahh, thank you.
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
On 20.06.21 22:25, pproj@posteo.de wrote:
i am not so much of a font-end guy, and usually with little
spare time..., but how and what do you think to implement?
may be i'll gve it a try, when i find some time
I'm not sure actually. I have 2 rough ideas, but if those are
the best ones, I don't know:
Just use the small space currently used for the IRC info,
maybe max 2 or 3 lines high and use that via CSS ticker.
Something like: https://cssdeck.com/labs/css-news-ticker
Add a media query and introduce a 3rd column if the screen
is wide enough. Have a bigger news feed there. This could even
include (scaled down) images.
ciao,
Torsten.