0.19 Align, scale, position Text to a skewed surface

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
Blind Squirrel
Posts: 10
Joined: Wed Jun 09, 2021 6:38 pm

0.19 Align, scale, position Text to a skewed surface

Post by Blind Squirrel »

Please Note:
I already downloaded the 3D text addition of Freecad.

I created a model.
(A sphere subtracted from a cube)

I want to add multi-line text to one of the surfaces of that cube.
(later I want to add an imported logo to the other surfaces, but that's another project)

What I can do:
1) I can create the text.
The problem is the model's surface is skewed to the DRAFTING PLANE (I need to align the Drafting-Plane to the surface of the cube).
I can move the text in X,Y,Z but when it updates, the text is rotated somewhere out in space (never works... ever!).
I've watched a few vid's on extruding text onto surfaces, but the are ALWAYS on the same plane as the surface, mine isn't.

What I can't do:
1) Reposition the text onto the surface I want it on.
2) Scale the multi-line text to the size I need.

Thanks,
BS
User avatar
Roy_043
Veteran
Posts: 8577
Joined: Thu Dec 27, 2018 12:28 pm

Re: 0.19 Align, scale, position Text to a skewed surface

Post by Roy_043 »

Have you read this?: Draft_ShapeString_tutorial
chrisb
Veteran
Posts: 54282
Joined: Tue Mar 17, 2015 9:14 am

Re: 0.19 Align, scale, position Text to a skewed surface

Post by chrisb »

Not sure if this helps, but I guess the text behaves similar to a ShapeString: You can try to attach the text to the plane, or - even more robust - to some underlying non generated geometry.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Blind Squirrel
Posts: 10
Joined: Wed Jun 09, 2021 6:38 pm

Re: 0.19 Align, scale, position Text to a skewed surface

Post by Blind Squirrel »

Thanks Roy_043!

I watched the video on youtube a few weeks ago, but forgot about it.
I did however try to find something in "Help", but I got everything else but what I was looking for (then tried this forum).

I'll follow along the tutorial, then try my text & object again.

1 question though.
I see the tutorial creates the text as a solid 1st, then moves the solid text object.
I have an image, converted into a shape that I can't seem to rotate on a datum-line I added to do that with.
Is that similar to the text-object for positioning & rotation?

Thanks,
BS
chrisb
Veteran
Posts: 54282
Joined: Tue Mar 17, 2015 9:14 am

Re: 0.19 Align, scale, position Text to a skewed surface

Post by chrisb »

Here is a simple Part cube to which I attached the text. Which workbench do you use?
Attachments
textAttached.FCStd
(4.47 KiB) Downloaded 15 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Blind Squirrel
Posts: 10
Joined: Wed Jun 09, 2021 6:38 pm

Re: 0.19 Align, scale, position Text to a skewed surface

Post by Blind Squirrel »

The text is on the top-plane (xy).
I can't seem to rotate that text to another surface.

Is there a tutorial that shows how this is done?

I have the same problem with a sketch of an image, can't seem to rotate it to the desired plane...
That sketch can be extruded, but I want to project it like I did my text, onto a round surface.

Thanks,
BS
chrisb
Veteran
Posts: 54282
Joined: Tue Mar 17, 2015 9:14 am

Re: 0.19 Align, scale, position Text to a skewed surface

Post by chrisb »

You should work through the Basic Attachment Tutorial.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
drmacro
Veteran
Posts: 9001
Joined: Sun Mar 02, 2014 4:35 pm

Re: 0.19 Align, scale, position Text to a skewed surface

Post by drmacro »

Another way is to simply create the ShapeString, drag it into the Body and attach it to the XY_Plane, and Pad/Pocket.

Just another option.
Snip macro screenshot-32e6ee.png
Snip macro screenshot-32e6ee.png (77.08 KiB) Viewed 613 times
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Blind Squirrel
Posts: 10
Joined: Wed Jun 09, 2021 6:38 pm

Re: 0.19 Align, scale, position Text to a skewed surface

Post by Blind Squirrel »

Thanks for the help people!

I finally found how to aligned anything I create (objects, solids, text... ect).
Using the Placement (angle, axis & position).

I'm very capable in AutoCAD writing code in both 2D & 3D, but Freecad seems a bit confusing to me trying to adjust something to the place I need it.
I will go through the Basic Attachment Tutorial.

Thanks Again...
BS
Post Reply