Help with cutting text from stl file

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!
TheMarkster
Veteran
Posts: 5505
Joined: Thu Apr 05, 2018 1:53 am

Re: Help with cutting text from stl file

Post by TheMarkster »

The Part container isn't needed and only creates problems for you. The solid must be dragged/dropped into the Part. Then when you extrude the shapestring, the extrude must also be dragged/dropped into the Part. Ensure the Solid property = True in the extrude object. Cut the extrude from the solid. I deleted the Part and chose to keep its contents.
Snip macro screenshot-838bac.png
Snip macro screenshot-838bac.png (157.93 KiB) Viewed 1011 times
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Help with cutting text from stl file

Post by Shalmeneser »

kisolre wrote: Wed Jan 26, 2022 10:50 am Here is my recreation ...
Not using axis ?

(Pad001 : where is the sketch ?)
kisolre
Veteran
Posts: 4162
Joined: Wed Nov 21, 2018 1:13 pm

Re: Help with cutting text from stl file

Post by kisolre »

Shalmeneser wrote: Wed Jan 26, 2022 6:42 pm Not using axis ?
What axis? You mean the central axis of the lid? I was just lazy... it was almost touching x-axis... and the main reason was to recreate that pin... and it is just two sketches, not so hard to center... there was some saying "the rest is left for the student" or something :-)
Shalmeneser wrote: Wed Jan 26, 2022 6:42 pm (Pad001 : where is the sketch ?)
There is no edge. I padded the inner edge to fill the hole...
mr6
Posts: 13
Joined: Sat Jan 08, 2022 1:14 pm

Re: Help with cutting text from stl file

Post by mr6 »

I promised to update with the end result.

I had some issues with the print unrelated to freeCad, so it took a while, but here it is:
68I0fXk.png
68I0fXk.png (470.15 KiB) Viewed 880 times
TheMarkster
Veteran
Posts: 5505
Joined: Thu Apr 05, 2018 1:53 am

Re: Help with cutting text from stl file

Post by TheMarkster »

Nice job. It occurs to me we can also do this in Part Design using PDWrapper to encapsulate the mesh object into the body directly. Then add a shapestring to the body and attach it to a face, adjust the placement offset, and do a pocket.
Snip macro screenshot-38dd42.png
Snip macro screenshot-38dd42.png (76.01 KiB) Viewed 850 times
Steps:

1) delete everything except the mesh object
2) create a new body
3) select the mesh, run the pdwrapper macro, select additive type
4) In Draft workbench, set view to view from the top, create shapestring
5) drag/drop the shapestring into the body
6) attach the shapestring to one of the faces, adjust attachment offset to position as desired
7) select the shapestring, do a pocket (can't be all the way through or else the pocket will fail)
8) alternative to 7), select the shapestring and make a pad.

File is too big to attach.
chrisb
Veteran
Posts: 53920
Joined: Tue Mar 17, 2015 9:14 am

Re: Help with cutting text from stl file

Post by chrisb »

TheMarkster wrote: Tue Feb 01, 2022 2:34 am File is too big to attach.
It could be instructive to see such file anyway. You may try to
- use a shorter string
- use an STL with a triangular shape instead of a hexagon
- make top and bottom flat
- no fillets.

BTW, turning working plane to top in Draft is not needed if you attach it anyway.

Edit: Wait, I will try this myself. I wanted to do something with the PDWrapper anyway.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
TheMarkster
Veteran
Posts: 5505
Joined: Thu Apr 05, 2018 1:53 am

Re: Help with cutting text from stl file

Post by TheMarkster »

chrisb wrote: Tue Feb 01, 2022 7:37 am
TheMarkster wrote: Tue Feb 01, 2022 2:34 am File is too big to attach.
It could be instructive to see such file anyway. You may try to
- use a shorter string
- use an STL with a triangular shape instead of a hexagon
- make top and bottom flat
- no fillets.

BTW, turning working plane to top in Draft is not needed if you attach it anyway.

Edit: Wait, I will try this myself. I wanted to do something with the PDWrapper anyway.
I just updated to version 0.2022.01.02. Now there is a warning when wrapping a mesh object containing multiple components. These often result in self-intersections, so it is generally better to in Mesh Design use Split by components first on such objects.
chrisb
Veteran
Posts: 53920
Joined: Tue Mar 17, 2015 9:14 am

Re: Help with cutting text from stl file

Post by chrisb »

Sorry, had no time yet. I don't want to do this in a hurry between other things.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply