Constraining text box to center of a circle and using parametric design

Constraining text box to center of a circle and using parametric design

3DPrinterPerson1
Explorer Explorer
1,911 Views
10 Replies
Message 1 of 11

Constraining text box to center of a circle and using parametric design

3DPrinterPerson1
Explorer
Explorer

I am creating a circle using parameters and want to center text in the middle of it. I thought I could just use the Midpoint constraint on the center dot of the text box and then the center of the circle, but that doesn't seem to work.

 

The sketch/text was created on the top plane of the circle I want the text on. I drew the text box as you see in the photo below.

 

My end goal is having the text box change in size accordingly and stay centered when I change the parameters of the circle.

I thought about using parameters for the text box dimensions also, but still wouldn't be sure how to center the text box and the correct parameter formula to scale the text box dimensions proportionately with the circle diameter , etc...

 

Also should say that I am new to Fusion 360 and CAD in general, so could be overlooking something easy and basic.

 

Thank you!

 

 

Text-in-circle.JPG

0 Likes
1,912 Views
10 Replies
Replies (10)
Message 2 of 11

rushabhthakkar_910
Advisor
Advisor

https://forums.autodesk.com/t5/fusion-360-design-validate/aligning-text-to-center/td-p/6533374

 

https://youtu.be/Ib05-icF2hY 

 

These can Help You...

Thanks and Regards,


Rushabh Thakkar.


Please use the Accept Solution button to mark any posts that provide the answer or solution. 


Likes are always welcome.


LinkedIn | Instagram | Facebook.      


                        


 


 

0 Likes
Message 3 of 11

rohit.bapat
Autodesk
Autodesk

Hello @3DPrinterPerson1 

 

Easier way to align text box to the centre of the circle is to drag the middle drag point for the text box onto the centre of the circle. That will add the coincident constraint between this point and the centre of the circle.

 

Screenshot 2021-06-09 at 2.46.34 PM.png

 

Thank you,

Best Regards

Rohit Bapat





Rohit Bapat
Product Owner
0 Likes
Message 4 of 11

3DPrinterPerson1
Explorer
Explorer

This sorta worked, but ran into 2 major issues.

 

1. The text doesn't move correctly when dragging from the green center dot for some reason. It rotates itself, and if I drag it around too much it gets really messed up... Definitely does not seem like intended behavior? Does the same on a brand new design as well (only a circle and text created, with nothing else).

 

2. When I change the circle's diameter parameter, it no longer stays centered as expected.

 

I'm working with components, where the circle is a component and the text is a component. I thought that was the issue for problem #2, so I tried creating the text on a new sketch within the circle component. Same basic issue though, the text does not move when I change the circle's diameter.

 

Videos attached showing problems.

Message 5 of 11

g-andresen
Consultant
Consultant

Hi, 

try it this way:

Screencast

1. project the body profile in your "text sketch".

2. create a horizontal constraint for your box and coincide it with the projected outline.

 

günther

0 Likes
Message 6 of 11

rohit.bapat
Autodesk
Autodesk

Hello @3DPrinterPerson1 

 

Thank you for the feedback!

 

Regarding video. It's not a bug, the box moves in such a way because it is not constrained. Adding Horizontal/Vertical constraint to any of the the text box edge should fix it.

 

Second issue is a bug. I can reproduce it. I will log a ticket first thing tomorrow morning. Workaround for it as of now is adding Horizontal/Vertical constraint to any of the textbox (Same solution as for the first issue). There are other ways too but simplest one is adding horizontal/vertical constraint.

 

Thank you,

Best Regards

Rohit Bapat





Rohit Bapat
Product Owner
Message 7 of 11

g-andresen
Consultant
Consultant

Hi,

this is how parameters work

textbox param.gif

Textheight is also parametric now!

 

günther

0 Likes
Message 8 of 11

rushabhthakkar_910
Advisor
Advisor

Screencast Video 👉 https://autode.sk/3x67K7C  

Thanks and Regards,


Rushabh Thakkar.


Please use the Accept Solution button to mark any posts that provide the answer or solution. 


Likes are always welcome.


LinkedIn | Instagram | Facebook.      


                        


 


 

0 Likes
Message 9 of 11

etfrench
Mentor
Mentor

None of the solutions work if the text overflows the text box.  The bug is the text box should be a bounding box for the text instead of some random size.

ETFrench

EESignature

0 Likes
Message 10 of 11

rushabhthakkar_910
Advisor
Advisor

@etfrench, Even if the Text exceeds the Bounding Box, there are options that can still place the text in the center of the bounding box... 

 

Screenshot 2021-06-09 231257.png

Thanks and Regards,


Rushabh Thakkar.


Please use the Accept Solution button to mark any posts that provide the answer or solution. 


Likes are always welcome.


LinkedIn | Instagram | Facebook.      


                        


 


 

0 Likes
Message 11 of 11

g-andresen
Consultant
Consultant

Hi,

I don't think everything has to be automated.

Users should also reflect a little on their actions.

 

günther