The following code snippet
//linear_extrude(6){
difference(){
square(20);
text("5.5");
}
}
////////////////////// end
fn5 render looks ok
fn6 render dp is filled in, but outline remains
allow linear_extrude, decimal point not showing in fn5 or fn6
OpenSCAD version 2024.02.19 (git 5cfd4dbe0) Is it fixed in later versions?
Thanks,
Ray
On Thu, 2024-09-05 at 16:16 +0100, Raymond West via Discuss wrote:
The following code snippet
//linear_extrude(6){
difference(){
square(20);
text("5.5");
}
}
Interesting. I can recover the decimal point...
Try this...
linear_extrude(6){
difference(){
square(20);
translate([0,5,0]) text("5.5");
}
}
try 5.2. It seems to be when the thing being differenced aligns with an
edge.
On 05/09/2024 16:27, larry via Discuss wrote:
On Thu, 2024-09-05 at 16:16 +0100, Raymond West via Discuss wrote:
The following code snippet
//linear_extrude(6){
difference(){
square(20);
text("5.5");
}
}
Interesting. I can recover the decimal point...
Try this...
linear_extrude(6){
difference(){
square(20);
translate([0,5,0]) text("5.5");
}
}
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
yes. The decimal point in the default font renders as a square, that has an
edge that coincides with the base of the larger square.
On Thu, Sep 5, 2024 at 8:28 AM larry via Discuss discuss@lists.openscad.org
wrote:
On Thu, 2024-09-05 at 16:16 +0100, Raymond West via Discuss wrote:
The following code snippet
//linear_extrude(6){
difference(){
square(20);
text("5.5");
}
}
Interesting. I can recover the decimal point...
Try this...
linear_extrude(6){
difference(){
square(20);
translate([0,5,0]) text("5.5");
}
}
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Testing further.
It seems if the second number is flat at the bottom, 1,2,7 and aligns
with the base of the square, and the first is a 0,2,3,5,6,8,9 then the
second does not f6 render. 4 is interesting. It's the same for letters.
On 05/09/2024 16:27, larry via Discuss wrote:
On Thu, 2024-09-05 at 16:16 +0100, Raymond West via Discuss wrote:
The following code snippet
//linear_extrude(6){
difference(){
square(20);
text("5.5");
}
}
Interesting. I can recover the decimal point...
Try this...
linear_extrude(6){
difference(){
square(20);
translate([0,5,0]) text("5.5");
}
}
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Specifically for the question 'is it fixed on later versions?'
No, it's not. With 2024.08.30 on my PC, with Show Edges turned on, with
the linear_extrude activated, neither the preview nor the render look
okay. In the preview, I see lines indicating edges of the decimal point
but the shape is not removed (so the same as you described except for
the effect of Show Edges). In the render, it's as if there's no DP at all.
Steve
On 2024-09-05 8:16 a.m., Raymond West via Discuss wrote:
The following code snippet
//linear_extrude(6){
difference(){
square(20);
text("5.5");
}
}
////////////////////// end
fn5 render looks ok
fn6 render dp is filled in, but outline remains
allow linear_extrude, decimal point not showing in fn5 or fn6
OpenSCAD version 2024.02.19 (git 5cfd4dbe0) Is it fixed in later
versions?
Thanks,
Ray
Oh, there's more! When I look at the output with Thrown Together, it
shows the bottom face of the extruded decimal point in purple, which
usually indicates that a polyhedron facet is wound in the wrong direction.
How can that be?
Steve
On 2024-09-05 10:06 a.m., Steve Lelievre wrote:
Specifically for the question 'is it fixed on later versions?'
No, it's not. With 2024.08.30 on my PC, with Show Edges turned on,
with the linear_extrude activated, neither the preview nor the render
look okay. In the preview, I see lines indicating edges of the decimal
point but the shape is not removed (so the same as you described
except for the effect of Show Edges). In the render, it's as if
there's no DP at all.
Steve
On 2024-09-05 8:16 a.m., Raymond West via Discuss wrote:
The following code snippet
//linear_extrude(6){
difference(){
square(20);
text("5.5");
}
}
////////////////////// end
fn5 render looks ok
fn6 render dp is filled in, but outline remains
allow linear_extrude, decimal point not showing in fn5 or fn6
OpenSCAD version 2024.02.19 (git 5cfd4dbe0) Is it fixed in later
versions?
Thanks,
Ray
Its not just decimal point, but afaik any any character that is 'flat at
the bottom' - and it depends on the preceding character. It is not a
problem , but just behaviour that I did not expect. Thanks for confirming.
On 05/09/2024 18:17, Steve Lelievre via Discuss wrote:
Oh, there's more! When I look at the output with Thrown Together, it
shows the bottom face of the extruded decimal point in purple, which
usually indicates that a polyhedron facet is wound in the wrong direction.
How can that be?
Steve
On 2024-09-05 10:06 a.m., Steve Lelievre wrote:
Specifically for the question 'is it fixed on later versions?'
No, it's not. With 2024.08.30 on my PC, with Show Edges turned on,
with the linear_extrude activated, neither the preview nor the render
look okay. In the preview, I see lines indicating edges of the
decimal point but the shape is not removed (so the same as you
described except for the effect of Show Edges). In the render, it's
as if there's no DP at all.
Steve
On 2024-09-05 8:16 a.m., Raymond West via Discuss wrote:
The following code snippet
//linear_extrude(6){
difference(){
square(20);
text("5.5");
}
}
////////////////////// end
fn5 render looks ok
fn6 render dp is filled in, but outline remains
allow linear_extrude, decimal point not showing in fn5 or fn6
OpenSCAD version 2024.02.19 (git 5cfd4dbe0) Is it fixed in later
versions?
Thanks,
Ray
--
https://www.gnomoni.ca
https://www.youtube.com/@gnomonica
OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org
Coincident faces https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/FAQ#What_are_those_strange_flickering_artifacts_in_the_preview?
Usually 2D is pretty good that way.
In 3D, garbage in garbage out...
From: Raymond West via Discuss [mailto:discuss@lists.openscad.org]
Sent: Fri, 6 Sep 2024 08:06
To: Steve Lelievre via Discuss
Cc: Raymond West
Subject: [OpenSCAD] Re: decimal point in text disappearing
Its not just decimal point, but afaik any any character that is 'flat at the bottom' - and it depends on the preceding character. It is not a problem , but just behaviour that I did not expect. Thanks for confirming.
On 05/09/2024 18:17, Steve Lelievre via Discuss wrote:
Oh, there's more! When I look at the output with Thrown Together, it shows the bottom face of the extruded decimal point in purple, which usually indicates that a polyhedron facet is wound in the wrong direction.
How can that be?
Steve
On 2024-09-05 10:06 a.m., Steve Lelievre wrote:
Specifically for the question 'is it fixed on later versions?'
No, it's not. With 2024.08.30 on my PC, with Show Edges turned on, with the linear_extrude activated, neither the preview nor the render look okay. In the preview, I see lines indicating edges of the decimal point but the shape is not removed (so the same as you described except for the effect of Show Edges). In the render, it's as if there's no DP at all.
Steve
On 2024-09-05 8:16 a.m., Raymond West via Discuss wrote:
The following code snippet
//linear_extrude(6){
difference(){
square(20);
text("5.5");
}
}
////////////////////// end
fn5 render looks ok
fn6 render dp is filled in, but outline remains
allow linear_extrude, decimal point not showing in fn5 or fn6
OpenSCAD version 2024.02.19 (git 5cfd4dbe0) Is it fixed in later versions?
Thanks,
Ray
--
https://www.gnomoni.ca
https://www.youtube.com/@gnomonica
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Wow, this is a bug, not an artifact, and it applies to preview, CGAL,
and Manifold, and it has been there since OpenSCAD first got text().
linear_extrude(6) {
difference(){
square(20);
text("3Z");
}
}
text("3Z") or text("ch"): the Z and h don't show up. That 3 and c have
round bottoms seems to be the trigger.
text("4Z"): the Z shows up
text("3O") or text("cb"): the O and b do show up, apparently because
they also have round bottoms
text("oA") or text("oB" or text("o#"): only the holes in A, B and # show up
text("oi") or text("d%"): only the dot on the i and the o's in the % show up
text("o*") or text("o+"): no problem when the second characters don't
touch baseline
text("/A") or text(",A"): certain other characters like / and , also
trigger the problem.
In other weirdness, adding # for #text() shows a +/-0.5 mm extrusion in
red, instead of a 6 mm extrusion.
Regards,
Curt
On 9/5/24 09:12, Raymond West via Discuss wrote:
Testing further.
It seems if the second number is flat at the bottom, 1,2,7 and aligns
with the base of the square, and the first is a 0,2,3,5,6,8,9 then the
second does not f6 render. 4 is interesting. It's the same for letters.
On 05/09/2024 16:27, larry via Discuss wrote:
On Thu, 2024-09-05 at 16:16 +0100, Raymond West via Discuss wrote:
The following code snippet
//linear_extrude(6){
difference(){
square(20);
text("5.5");
}
}