Group Abstract Group Abstract

Message Boards Message Boards

0
|
2.6K Views
|
6 Replies
|
1 Total Like
View groups...
Share
Share this post:
GROUPS:

Mathematica change the way glyphs from PDF files are imported 7.0 vs 9.0?

Posted 10 years ago

Good evening all,

I found a Notebook the create 3D text via importing PDF. Here is the URL with the notebook and information about Font outlines and 3D Text. I am running this note book on Mathematica 9.0 and receive the error message: "FilledCurve is not a Graphics3D primitive or directive." I did some digging on the community and on the internet via search engines and did not find any help.

What are the step/action that I can do to track this error down?

Thank you

Anton1701

POSTED BY: Anton Matosich
6 Replies
Posted 10 years ago

The code for Version 9 does not work, so I upgraded to Mathematica 10.3. How can I extrude the output of this function TwoDText[str_String, family_String: "Times"] := BoundaryDiscretizeGraphics[Text[Style[str, Bold, FontFamily -> family]], _Text, MaxCellMeasure -> 0.2] into a 3D Graphic?

Why is you code color as it is in Mathematica and my is not in this posts?

Thank you

Anton1701

POSTED BY: Anton Matosich
Posted 10 years ago

Hello Sander,

I run the code and Mathematica 9.0 return this:

BoundaryDiscretizeGraphics[Hello, _Text, MaxCellMeasure -> 0.1]

It look to me as if Mathematica 9.0 does not have the package loaded with BoundaryDisretizeGraphics.

Does this me I need to upgrade to 10 as BoundaryDisretizeGraphics was introduced in 2014 (10.0) | Updated in 2015 (10.2)?

POSTED BY: Anton Matosich
POSTED BY: Sander Huisman

This code probably was taken from the package CurvesGraphics6, http://www.dimi.uniud.it/gorni/Mma

POSTED BY: Gianluca Gorni

I think so too! I used the code once but I couldn't find the source. Thanks! It is a nice and elaborate code, nice job!

POSTED BY: Sander Huisman

Hi Anton,

The solution you found is 6 years old. And nowadays there might be better solutions. Have you looked at e.g.:

BoundaryDiscretizeGraphics[Text[Style["Hello", Bold]], _Text, MaxCellMeasure -> 0.1]

Maybe combine that with RegionProduct?

POSTED BY: Sander Huisman
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard