Edit FCCircularText
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Posts: 82
- Joined: Tue Jan 19, 2021 2:44 am
- Location: Texas, USA
Edit FCCircularText
Hi all,
When creating an FCCirculartext, is it possible to edit the parameters after creation?
Or is it either: know the precise values when creating, or trial and error?
If I create it as a compound, I can use the transform tool to reposition it but the text itself sits between 2 closely spaced half circles and needs to be pretty precise.
Thanks,
Jim
OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)
When creating an FCCirculartext, is it possible to edit the parameters after creation?
Or is it either: know the precise values when creating, or trial and error?
If I create it as a compound, I can use the transform tool to reposition it but the text itself sits between 2 closely spaced half circles and needs to be pretty precise.
Thanks,
Jim
OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)
Re: Edit FCCircularText
hi 56jimalexander
if you give the limits in a file I can help you
mario
you must use : Macro_Rotate_To_Point56jimalexander wrote: ↑Mon Aug 02, 2021 12:52 am When creating an FCCirculartext, is it possible to edit the parameters after creation?
yes for the moment (you have the undo/redo or delete the last creation for facilitate the re-creation)56jimalexander wrote: ↑Mon Aug 02, 2021 12:52 am know the precise values when creating, or trial and error?
then not modifiable
if your text is right (not inclination) tray create the line directrice select it and use the Path tab (the text follow the complete path (line, arc ...))56jimalexander wrote: ↑Mon Aug 02, 2021 12:52 am I can use the transform tool to reposition it but the text itself sits between 2 closely spaced half circles and needs to be pretty precise
if you give the limits in a file I can help you
mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
My macros on Gist.github here complete macros Wiki and forum.
-
- Posts: 82
- Joined: Tue Jan 19, 2021 2:44 am
- Location: Texas, USA
Re: Edit FCCircularText
Thank you for these tips!
I now realize that the text is not ordered correctly in the creation. Please see the attached parameters and resulting creation.
Jim
I now realize that the text is not ordered correctly in the creation. Please see the attached parameters and resulting creation.
Jim
- Attachments
-
- FFCircularText_test.FCStd
- (73.64 KiB) Downloaded 44 times
-
- Macro_parameters.jpg (280.96 KiB) Viewed 2076 times
Re: Edit FCCircularText
hi
the circle begin right to left (depend also to begin and end angle)
you must use the reverse button
i give 83 degrees instead 90
mario
the circle begin right to left (depend also to begin and end angle)
you must use the reverse button
i give 83 degrees instead 90
mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
My macros on Gist.github here complete macros Wiki and forum.
-
- Posts: 82
- Joined: Tue Jan 19, 2021 2:44 am
- Location: Texas, USA
Re: Edit FCCircularText
Hi Mario,
Yes, I am able to duplicate your output but I don't understand why it works.
Also, why 83deg rather than 90deg?
When I choose "reverse" the letters in the box change to what was I was outputting previously.
Can you give me some clarification on this please?
Thank you,
Jim
Yes, I am able to duplicate your output but I don't understand why it works.
Also, why 83deg rather than 90deg?
When I choose "reverse" the letters in the box change to what was I was outputting previously.
Can you give me some clarification on this please?
Thank you,
Jim
Re: Edit FCCircularText
hi
angle = 270 - 90 = 180 to work
180 / 27 = 6.6 degrees by characters but really 26 characters then stay 6.6 degrees
result : why 83deg rather than 90deg? 90 - 6.6 round(7) = 83
why + 1 character : for not always adding one space in end word for rotation and begin 0 to 360-x degrees instead 0 to 360 (or 0 to 0)
(maybe not good idea)
make a tests, use reset button ... enjoy
mario
example with DERMATOLOGIST RECOMMENDED = 25+1 characters (internal 25+1+1 = 27)
angle = 270 - 90 = 180 to work
180 / 27 = 6.6 degrees by characters but really 26 characters then stay 6.6 degrees
result : why 83deg rather than 90deg? 90 - 6.6 round(7) = 83
why + 1 character : for not always adding one space in end word for rotation and begin 0 to 360-x degrees instead 0 to 360 (or 0 to 0)
(maybe not good idea)
depend begin end angle, flat or stand position56jimalexander wrote: ↑Mon Aug 02, 2021 8:20 pm When I choose "reverse" the letters in the box change to what was I was outputting previously.
make a tests, use reset button ... enjoy
mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
My macros on Gist.github here complete macros Wiki and forum.
-
- Posts: 82
- Joined: Tue Jan 19, 2021 2:44 am
- Location: Texas, USA
Re: Edit FCCircularText
Thank You Mario for this excellent information.
Re: Edit FCCircularText
I know, this is an old thread. But it looks somewhat related to my change;-) I was not happy with the letter spacing, so I tried to hack it to take the width of the letters into account. So far, I only changed the 'flat outer' layout and probably broke the others in the process! But something similar could probably be done for all of them;-)
Maybe, this helps somebody or is an inspiration for others;-)
Have fun,
-- Marco
Maybe, this helps somebody or is an inspiration for others;-)
Have fun,
-- Marco
Re: Edit FCCircularText
@mario52, you may want to have a look?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Edit FCCircularText
Hi
good work , i have also this idea (BBox) but i didn't know how to combine angle and boundbox i have not successful and then not follow this way
i have little problem with your modification:
very well with
mario
yes thanks
no problem right post
good work , i have also this idea (BBox) but i didn't know how to combine angle and boundbox i have not successful and then not follow this way
i have little problem with your modification:
Code: Select all
OS: Windows 10 build 19045
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.33909 (Git)
Version: 0.21.0.33682 (Git)
Version: 0.21.0.33668 +7 (Git)
Version: 0.22.0dev.33981 (Git)
Code: Select all
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.2.29177 +426 (Git)
Version: 0.19.24267 +148 (Git)
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
My macros on Gist.github here complete macros Wiki and forum.