How do I constrain text to my model?

How do I constrain text to my model?

HuntleyBill
Advocate Advocate
1,781 Views
4 Replies
Message 1 of 5

How do I constrain text to my model?

HuntleyBill
Advocate
Advocate

I am practicing parametric modeling. I created the attached file with parameters. When I change a parameter, the whole model changes size (as it should) with the exception of the letter. What do I need to do to get the letter to change size when I change a parameter. I'm not sure how to do this.

 

Thank you

Bill

0 Likes
Accepted solutions (1)
1,782 Views
4 Replies
Replies (4)
Message 2 of 5

jhackney1972
Consultant
Consultant

What you want to do is probably scale the text.  You could add dimensions to the letter but that is pretty tedious.  Take a look at the Screencast.  The issue is you have to apply the Scale command to a separate body, the letter, so I shifted the text to a separate body, then Combined it as a cut.  I just eyeballed the location of the text, you can add some keypoints to get it centered better.  Model is attached.  Edit: I made a bad statement in the video, you "can" add parameters to sketches, but you cannot add a parameter to the Scale sketch command.  That is why I had to create a new body to add the Scale to.

 

John Hackney, Retired
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 3 of 5

HuntleyBill
Advocate
Advocate

John, You are awesome! The only thing is, I want to be able to change the "hole size" perimeter therefore changing the size of the whole model including the text.. In your example, it does NOT change the text.  In other words, this model as it sits, will fit into a 19 mm hole. What if I need this to fit into a 10 mm hole? I want to just change the "hole size" perimeter and send it to the printer. In this setup, the model changes but the text stays the same size. Can that be done?

0 Likes
Message 4 of 5

jhackney1972
Consultant
Consultant
Accepted solution

Sorry I did not understand your request.  I have attached an new model, different name, with a small adjustment to the Test_Scale parameter.  It now take the HoleSize partmeter compares it against the existing diameter and determines the value.  It is quick and dirty but I hope you get the idea.  Please note, the reason I divide in the formula by 1mm is to change the resulting value to an integer without units for the scale command.

John Hackney, Retired
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 5 of 5

HuntleyBill
Advocate
Advocate

Thank you John. This worked perfectly.

0 Likes