Background
Text_Cutter.tox (67.8 KB)
This is a taste of Textcutter, one of the features in Touchcutter, my CNC program.
This Textcutter works fine and I’m happy with it. I’m giving it to you so you understand the basic concept of how I am using the carve SOP. Inside is the pink box “I Need More Metadata”; a small network I’ve made to help illustrate my issue here.
Textcutter is somewhat manual in it’s operation, as I have to separate each subshape of a text character using a carve sop.
What are subshapes?
Subshapes are the shapes nested within characters. Some characters with subshapes are a,e,i,o,p, and b etc. Characters without subshapes are those that the cutting tool can circumnavigate in one pass without having to lift, such character would be L, C, G, T, W, S etc. When a character or shape with subshapes is being carved, the carving tool needs to lift off of the workspace to avoid skewing the subshapes (Compare the lower case letter e’s in the Textcutter replicants in the example. I did not complete the second e so you can see how it’s done!)
Textcutter is kept manual like this because it allows you to take full advantage of any font you find by readjusting each letters carve parameters! Other CNC softwares would have a programmer hardcode each font, thus they would be limited to the functionality of what fonts had been programmed into them. Easel, the software that came with my CNC machine only has a 15 fonts that can be cut with it. My computer has over 400 font’s on it that work with Touchcutter, and there are thousands more available online, all of which easily work due to Touchdesigner’s ability to import .otf and .ttf!! Thanks Guys!!!
I am working on another component that takes images, SVGS, logos, wingdings, or very eccentric texts, and CNC carves them by a similar method. This new component need to be more automated because it’s for cutting characters with many subshapes.
This new feature will populate the quantity of Carve sops in the master geo based on the # of subshapes found in a more complex character or image. The method for populating each CarveSOP’s internal parameters I have yet to elucidate fully.
See the “I need more metadata part” for an example of an image with many subshapes
- at minimum I need the quantity of subshapes, which I think I may have found(infoCHOPnumpoints ÷ 2), but I am not sure. see text1 inside
2.better yet I need the quantity of subshapes, and more information which I can use to convert to an accurate parameter on my first U second U in my newly replicated carves
3.Best yet I have the quantity of subshapes, with each point and it’s corresponding firstu/ secondu parameters being directly scriptable for automated complex carves, and more metadata available which I can use to make more Touchcutter features which I haven’t even conceived of yet.
Cheers.