discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

text() 2D or 3D?

T
TheNewHobbyist
Thu, Mar 26, 2015 3:50 AM

Hi all,

Hope this is an OK place to post this.

I'm loving the addition of the text() module but I'm a little confused as
far as the documentation goes. On this page of the documentation it looks
like text() should be generating 2D outlines for extrusion
(http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Text).

But when I preview text in in OpenSCAD on my Mac it appears to be extruded
(by 1mm). It this the intended functionality?

http://i.imgur.com/HfhRv6L.png

--
View this message in context: http://forum.openscad.org/text-2D-or-3D-tp12217.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Hi all, Hope this is an OK place to post this. I'm loving the addition of the text() module but I'm a little confused as far as the documentation goes. On this page of the documentation it looks like text() should be generating 2D outlines for extrusion (http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Text). But when I preview text in in OpenSCAD on my Mac it appears to be extruded (by 1mm). It this the intended functionality? http://i.imgur.com/HfhRv6L.png -- View this message in context: http://forum.openscad.org/text-2D-or-3D-tp12217.html Sent from the OpenSCAD mailing list archive at Nabble.com.
LT
Laura Taalman
Thu, Mar 26, 2015 3:54 AM

Oh, I think I know this one. In "F5" it looks like the text has a
thickness, but if you press "F6" it should be shown how it really is, as a
2D object.

Laura/mathgrrl

On Wed, Mar 25, 2015 at 11:50 PM, TheNewHobbyist chris@thenewhobbyist.com
wrote:

Hi all,

Hope this is an OK place to post this.

I'm loving the addition of the text() module but I'm a little confused as
far as the documentation goes. On this page of the documentation it looks
like text() should be generating 2D outlines for extrusion
(http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Text).

But when I preview text in in OpenSCAD on my Mac it appears to be extruded
(by 1mm). It this the intended functionality?

http://i.imgur.com/HfhRv6L.png

--
View this message in context:
http://forum.openscad.org/text-2D-or-3D-tp12217.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

--
Dr. Laura Taalman
JMU Mathematics Department
educ.jmu.edu/~taalmala
www.mathgrrl.com/hacktastic
@mathgrrl http://www.twitter.com/mathgrrl

Oh, I think I know this one. In "F5" it looks like the text has a thickness, but if you press "F6" it should be shown how it really is, as a 2D object. Laura/mathgrrl On Wed, Mar 25, 2015 at 11:50 PM, TheNewHobbyist <chris@thenewhobbyist.com> wrote: > Hi all, > > Hope this is an OK place to post this. > > I'm loving the addition of the text() module but I'm a little confused as > far as the documentation goes. On this page of the documentation it looks > like text() should be generating 2D outlines for extrusion > (http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Text). > > But when I preview text in in OpenSCAD on my Mac it appears to be extruded > (by 1mm). It this the intended functionality? > > http://i.imgur.com/HfhRv6L.png > > > > > -- > View this message in context: > http://forum.openscad.org/text-2D-or-3D-tp12217.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > -- Dr. Laura Taalman JMU Mathematics Department educ.jmu.edu/~taalmala www.mathgrrl.com/hacktastic @mathgrrl <http://www.twitter.com/mathgrrl>
S
shadowwynd
Thu, Mar 26, 2015 4:01 AM

In F5 (preview mode), all 2D shapes have a 1mm thickness just for preview
purposes.  In F6, 2D elements have no thickness.

linear_extrude(10) text("Hello");

makes an extruded text.

--
View this message in context: http://forum.openscad.org/text-2D-or-3D-tp12217p12219.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

In F5 (preview mode), all 2D shapes have a 1mm thickness just for preview purposes. In F6, 2D elements have no thickness. linear_extrude(10) text("Hello"); makes an extruded text. -- View this message in context: http://forum.openscad.org/text-2D-or-3D-tp12217p12219.html Sent from the OpenSCAD mailing list archive at Nabble.com.
C-
Chris - The New Hobbyist
Thu, Mar 26, 2015 4:07 AM

Ah, yeah rendering does render as pictured in the documentation.

Is this a limitation of the preview render? It seems a little confusing to
have it render two different ways.

On Wed, Mar 25, 2015 at 11:01 PM, shadowwynd shadowwynd@gmail.com wrote:

In F5 (preview mode), all 2D shapes have a 1mm thickness just for preview
purposes.  In F6, 2D elements have no thickness.

linear_extrude(10) text("Hello");

makes an extruded text.

--
View this message in context:
http://forum.openscad.org/text-2D-or-3D-tp12217p12219.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Ah, yeah rendering does render as pictured in the documentation. Is this a limitation of the preview render? It seems a little confusing to have it render two different ways. On Wed, Mar 25, 2015 at 11:01 PM, shadowwynd <shadowwynd@gmail.com> wrote: > In F5 (preview mode), all 2D shapes have a 1mm thickness just for preview > purposes. In F6, 2D elements have no thickness. > > linear_extrude(10) text("Hello"); > > makes an extruded text. > > > > > > -- > View this message in context: > http://forum.openscad.org/text-2D-or-3D-tp12217p12219.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
M
MichaelAtOz
Thu, Mar 26, 2015 8:15 AM

TheNewHobbyist wrote

Is this a limitation of the preview render? It seems a little confusing to
have it render two different ways.

Yes, it was a design choice some time ago and has been the topic of some
discussion re the confusion it can generate. There have been proposals to
make it something like 0.001 thick. Pending.


Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/

View this message in context: http://forum.openscad.org/text-2D-or-3D-tp12217p12221.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

TheNewHobbyist wrote > Is this a limitation of the preview render? It seems a little confusing to > have it render two different ways. Yes, it was a design choice some time ago and has been the topic of some discussion re the confusion it can generate. There have been proposals to make it something like 0.001 thick. Pending. ----- Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ -- View this message in context: http://forum.openscad.org/text-2D-or-3D-tp12217p12221.html Sent from the OpenSCAD mailing list archive at Nabble.com.
GF
Greg Frost
Thu, Mar 26, 2015 12:31 PM

Something that seems like a bug is that if you scale a 2d shape with just a single argument it scales in z too.

But perform some 2d operation on it (like offset() and it returns back to 1mm thick.

On 26 Mar 2015, at 6:45 pm, MichaelAtOz oz.at.michael@gmail.com wrote:

TheNewHobbyist wrote

Is this a limitation of the preview render? It seems a little confusing to
have it render two different ways.

Yes, it was a design choice some time ago and has been the topic of some
discussion re the confusion it can generate. There have been proposals to
make it something like 0.001 thick. Pending.


Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/

View this message in context: http://forum.openscad.org/text-2D-or-3D-tp12217p12221.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Something that seems like a bug is that if you scale a 2d shape with just a single argument it scales in z too. But perform some 2d operation on it (like offset() and it returns back to 1mm thick. > On 26 Mar 2015, at 6:45 pm, MichaelAtOz <oz.at.michael@gmail.com> wrote: > > TheNewHobbyist wrote >> Is this a limitation of the preview render? It seems a little confusing to >> have it render two different ways. > > Yes, it was a design choice some time ago and has been the topic of some > discussion re the confusion it can generate. There have been proposals to > make it something like 0.001 thick. Pending. > > > > ----- > Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above. > > The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ > -- > View this message in context: http://forum.openscad.org/text-2D-or-3D-tp12217p12221.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
D
Dave92F1
Mon, Feb 6, 2017 1:08 AM

FWIW, I came here just to understand the same thing - why is the supposedly
zero-thickness 2D text rendering as if it has a thickness around 1 mm?

Changing it to 0.000001 mm (1 micron) would probably be a big improvement in
obviousness.

If that's not happening, a warning printed on the console would be very
helpful - something like:

WARNING: 2D text rendered as 1 mm thick for preview purposes only.

--
View this message in context: http://forum.openscad.org/text-2D-or-3D-tp12217p20327.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

FWIW, I came here just to understand the same thing - why is the supposedly zero-thickness 2D text rendering as if it has a thickness around 1 mm? Changing it to 0.000001 mm (1 micron) would probably be a big improvement in obviousness. If that's not happening, a warning printed on the console would be very helpful - something like: WARNING: 2D text rendered as 1 mm thick for preview purposes only. -- View this message in context: http://forum.openscad.org/text-2D-or-3D-tp12217p20327.html Sent from the OpenSCAD mailing list archive at Nabble.com.
ER
Ezra Reynolds
Mon, Feb 6, 2017 1:58 AM

All 2-D shapes such a square and circle and polygon have a preview render of 1 mm. You can linear extrude this to whatever thickness you require.

Sent from my iPhone

On Feb 5, 2017, at 8:08 PM, Dave92F1 dave@nerdfever.com wrote:

mm?

All 2-D shapes such a square and circle and polygon have a preview render of 1 mm. You can linear extrude this to whatever thickness you require. Sent from my iPhone > On Feb 5, 2017, at 8:08 PM, Dave92F1 <dave@nerdfever.com> wrote: > > mm?
M
MichaelAtOz
Mon, Feb 6, 2017 3:33 AM

Rattling the skeletons in the closet?

I think 2D should be previewed very thin (probably a technical choice of
exact number), AND in teal, or whatever that rendered 2D colour is. Without
the red edges that rendering does, to highlight it is previewed.

Interesting comment above re 2D previews actually scaling in Z, that should,
at best not, or at least generate a warning.


Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/  time is running out!

View this message in context: http://forum.openscad.org/text-2D-or-3D-tp12217p20331.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Rattling the skeletons in the closet? I think 2D should be previewed very thin (probably a technical choice of exact number), AND in teal, or whatever that rendered 2D colour is. Without the red edges that rendering does, to highlight it is previewed. Interesting comment above re 2D previews actually scaling in Z, that should, at best not, or at least generate a warning. ----- Admin - PM me if you need anything, or if I've done something stupid... Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out! -- View this message in context: http://forum.openscad.org/text-2D-or-3D-tp12217p20331.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Mon, Feb 6, 2017 8:12 AM

On 02/06/2017 02:08 AM, Dave92F1 wrote:

Changing it to 0.000001 mm (1 micron) would probably be a big
improvement in obviousness.

While I don't know the details, I do suspect the reason for that
1 unit display is technical and based on limitations/behavior of
the preview display mode.

I'm pretty sure it can be improved by using 0.01 or something
similar (https://github.com/openscad/openscad/issues/1566),
setting it to a very small value might cause Z-fighting or other
issues so we'd just swap one problem with a slightly different
one.

ciao,
Torsten.

On 02/06/2017 02:08 AM, Dave92F1 wrote: > Changing it to 0.000001 mm (1 micron) would probably be a big > improvement in obviousness. > While I don't know the details, I do suspect the reason for that 1 unit display is technical and based on limitations/behavior of the preview display mode. I'm pretty sure it can be improved by using 0.01 or something similar (https://github.com/openscad/openscad/issues/1566), setting it to a very small value might cause Z-fighting or other issues so we'd just swap one problem with a slightly different one. ciao, Torsten.