You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking to use lattice workbench to layout text around circle. I've seen the sample in this repo and watched some videos but unless you use a mono-spaced font, getting the text spaced properly remains illusive. Mang0 demonstrates a technique that uses the Curves workbench but that results in distorted text.
The idea seems simple enough but it may be considered out of scope for Lattice2. Rather than compute each position with the same step.. take the total available space, subtract the sum of the bounding box widths and divide by N to produce the spacing value. Then position each shape {Spacing} units away from the previous.
I attempted to code this myself, and almost got it working but my knowledge of FreeCAD internals is only about 24hrs old at this point so I thought I would reach out here to see if there's interest in discussing the feature and/or helping me get my implementation working.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm looking to use lattice workbench to layout text around circle. I've seen the sample in this repo and watched some videos but unless you use a mono-spaced font, getting the text spaced properly remains illusive. Mang0 demonstrates a technique that uses the Curves workbench but that results in distorted text.
The idea seems simple enough but it may be considered out of scope for Lattice2. Rather than compute each position with the same step.. take the total available space, subtract the sum of the bounding box widths and divide by N to produce the spacing value. Then position each shape {Spacing} units away from the previous.
I attempted to code this myself, and almost got it working but my knowledge of FreeCAD internals is only about 24hrs old at this point so I thought I would reach out here to see if there's interest in discussing the feature and/or helping me get my implementation working.
Beta Was this translation helpful? Give feedback.
All reactions