FreeCAD 1.0 Experiments
Since the relase of FreeCAD 1.0 in November 2024, i’ve been experimenting with the new software. :D
One colleague asked me if i could find a way of creating a 3d-printable stamp that they could use for analogue printing, and sent me the text that they wanted to use.
So i’ve been experimenting with the Import functions that FreeCAD has for the last 4 weeks. :D
I've finally worked out one method of importing the text into FreeCAD, but it's convoluted... :person_facepalming: :D
Creating a short write-up here, both to remember how i did it, and, to see if someone else has found a simpler method. :D
The initial process i was using came from the help-files here:
https://wiki.freecad.org/Import_text_and_geometry_from_Inkscape/en
While this was written for Inkscape 0.91 and FreeCAD 0.16, i was using Inkscape 1.2, and FreeCAD 1.0, so there will probably be differences that i haven’t come across yet.
Learning the basics of using Inkscape was another tangent, and i haven’t gone beyond the basic functionality of this software.
I had to use Inkscape as a conversion tool, by first C&P’ing the text into an Inkscape Text Object, then transforming the Text Object, to Path Objects, so the shape of the font will be retained when importing into FreeCAD.
Ungroup all of the Path Objects, so that each Path Object will import into FreeCAD as a separate data structure, rather than as a single lump. :D
Save the Inkscape file in a Plain SVG format, to have a cleaner Import to FreeCAD.
Open the Inkscape file using FreeCAD, then remove the unwanted extra lines that Inkscape inserts, ( Still trying to work out how to not insert those within Inkscape... Another learning experience to explore later… :D )
Then in FreeCAD, you will see that all of the characters are now imported as Inkscape Path objects. Note that each character with hollows, eg. the character “B”, will have more than one Path object for the complete character, as the internal lines for the holes are saved as separate Path Objects.
Change to the Draft Workbench. Using the Tree View panel, select all of the Path Objects, and use the Modification Menu —> Upgrade function, to change the Inkscape Path Objects into FreeCAD Face Objects.
( The Modification Menu also has some of the transforms such as movement, but i haven’t yet tested out the optimum ordering of the different steps involved. )
Change to the Part Design Workbench.
Create a Body Object that will contain all of the printable structures.
Use the Part Design Menu —> Create A Shapebinder to create a Shapebinder Object for each separate Face Object. Note that you’ll have to keep track of which hollow face goes with which character, so the hollows match correctly.
With the Body Object selected in the Tree Menu Panel, i used the Create A New Sketch function, to add in a rectangle that would act as the main structure for the stamp. I then used the Pad function on the Sketch to add the printable thickness for the structure. I used a Pad upwards of 3mm.
Then after rotating viewpoint in FreeCAD, so i’m looking at the Body from the underneath, i used the Pad function to extrude the Shapebinder Object for the external shape of the character, and used the Pocket function on the Shapebinder Objects created for the hollows. When i set the Shapebinder Pads and Pockets to the same values, it came out cleanly.
The Pad for the Shapebinder objects needs to be done for every character you want to use in the stamp.
While this methods work, it feels like a very brute-force approach towards using FreeCAD.
If you have worked out a more effective way of doing things, please let me know… :D
