News:

When replying to a specific statement be sure to quote the previous post.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Radial copy text and have its angle as text?

Started by DDB, March 27, 2014, 08:45:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DDB

Hi,

I am trying to make a circular dial like a compass with lines and degrees showing every 5° in TC20 Pro.

Lines and text are easily populated using the radial copy tool (Matrix copy in our German version), however I have not yet found a way to make the text-objects automatically show its rotation (or another value being calculated) and don't want to edit 72 text-objects manually.

If not directly supported, I think I could do this with a script - which I have not done in TC yet. pseudo-code like I would select the text-objects, iterate through the collection, query an objects rotation and set its text based on that information. Or I would select the "master" and do the whole copy in script.
I don't know where to start though.

Thankful for any tip

regards

Frank


John R

#1
Try the "Non-rotating" option (Nicht drehend) in Text Properties or Texteigenschaften.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

lemel_man

One way that suggests itself is to enter  some text that is to be a place holder, one character for each digit you need - XXX, say.
Place this in the 12 0-clock position on your dial, then do a radial copy to repeat it every 5 degrees (or whatever you need) around the relevant centre. Remember to specify that each copy is to be rotated accordingly (I think its the default).
Then, right click on each copy in turn to display its general properties where you can overwrite it with it's correct value. The value you enter will be correctly rotated when you press enter.
Gary Wooding
Win10 64-bit,
TC21.2 x64 Plat, Bld59
TC16.2 Plat, Bld54.0
TCC 3.5

DDB

Quote from: John R on March 27, 2014, 08:58:02 AM
Try the "Non-rotating" option (Nicht drehend) in Text Properties or Texteigenschaften.

The rotation is fine. Sorry if I did not make this clear. I'm attaching an image that shows what I am trying to do.
When I start with one text at "12 o'clock" showing "0", I want the copies to show 0, 15, 30, 45, ... instead of 0, 0,0, ....

thanks

Frank

DDB

Quote from: lemel_man on March 27, 2014, 09:13:29 AM
One way that suggests itself is to enter  some text that is to be a place holder, one character for each digit you need - XXX, say.
Place this in the 12 0-clock position on your dial, then do a radial copy to repeat it every 5 degrees (or whatever you need) around the relevant centre. Remember to specify that each copy is to be rotated accordingly (I think its the default).
Then, right click on each copy in turn to display its general properties where you can overwrite it with it's correct value. The value you enter will be correctly rotated when you press enter.

that's basicly what I did. The appearance is fine but I would prefer the xxx's to be set to their correct display automatically.

Frank

John R

re: …I want the copies to show 0, 15, 30, 45, ... instead of 0, 0,0, ....

OK. I think the only way to do that might be through a Ruby script; which I know nothing about.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

DDB

Quote from: John R on March 27, 2014, 11:59:58 AM
re: …I want the copies to show 0, 15, 30, 45, ... instead of 0, 0,0, ....

OK. I think the only way to do that might be through a Ruby script; which I know nothing about.

No problem, thanks for the reply. Knowing that a particular function is not available sometimes indeed is valuable information.

Frank

murray dickinson

I thought that it might be possible to use an angular equivalent of baseline dimensioning for 5 degree graduations, applied as a radial array, but TC doesn't offer such a thing "off the peg".  But, it does look as though something might be possible with "quick dimensions", but, while fooling with standard dimensions, I couldn't find a way to suppress the degree symbol.

Torfinn

Hi Frank

I have no idea of what you are want to make, but it look like a "metal thing"  :)
I have made a PPM that do what you want, it's made in mm so if you are in english system, just open the ppm file by Parametric Part editor palette and take away the  line number 3 i believe it is, TC is by default in "in", and it will work with that.

For the moment i havent figured out how to make it so that the ppm can count and calculate how many numbers there should be, so by that its now only like your drawing show. A circle every 5 degree and a number and line for every 3 circles ( 15 degree )

Unzip the file and move the ppm file to ..../Turbocad (version)/Symbols/My Symbols folder
Open the Library Palette and rigth click in a free area, choose re-load and it will show up, or restart TC, then it should come automatic, insert the symbol when standing in wireframe, possible to adjust the different sizes later by SI or before inserting by the parametric value's.

As i dont know what it is,what kind of name it could have on the different part/ circles, i have give the differt part name like radius 1, 2,... and so on, from the biggest to the smallest, i also added the possebility to turn of the construction line's with a checkbox, (True/False)
Added some color to make it a litle bit fancy, if you dont want/ need that, let me know and i will take it away if you dont know how to

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB