News:

Please remember to do a search before you ask a question!

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.

Set Constraint of an object connect to the circumference

Started by Yuansheng, November 02, 2015, 07:04:34 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Yuansheng

Dear All

Please help.
How can I set the constraint of an object (say end of a line) connect to the circumference of a circle?
Thanks in advance.

Best Wishes
Simon
=================
Yuansheng Tsai
tsai.yuansheng@gmail.com

Windows 10 Pro
TurboCAD 2015 Professional 64-bit - Platinum Edition
Version: 22.2     Build: 90.0

nikkipollard

#1
I use an extra line (set to invisible) from the center of the circle to the point where the line touches the circle.
a tangent to circle constraint on the line I want to touch the circle
a point coincident line with the line from the center.
Dimension the radius of the circle and the line from the center use formula to make them equal in the calculator palette ( press f2)
(you can hide the dimensions by placing them on a hidden layer)
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

nikkipollard

you can also use a right angle constraint between the line from the center and the line you want to always touch the circle.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

John R

My 2 cents.

Var1 is the Radius of the Circle.
Var3 is the length of the Line and uses this formula: 2*pi*Var1

When Var1 is changed in the Variables palette to a new size/value, the line in Var3 changes length to the new circumference.
John R.

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

Henry Hubich

Quote from: Yuansheng on November 02, 2015, 07:04:34 PM
Dear All

Please help.
How can I set the constraint of an object (say end of a line) connect to the circumference of a circle?
Thanks in advance.

Best Wishes
Simon

Can you be more specific, Simon?

Henry H

Yuansheng

Dear All

Sorry for the late response to all your help.
I haven't got the chance to try your solutions yet, but will do soon.

To Henry, to be more specific, as attached, I want to have a rectangle placed on the circumference, and keep this vertical or consistent to a single direction, while rotate them together.

Thanks.
Best Regards
Simon
=================
Yuansheng Tsai
tsai.yuansheng@gmail.com

Windows 10 Pro
TurboCAD 2015 Professional 64-bit - Platinum Edition
Version: 22.2     Build: 90.0

Henry Hubich

#6
Quote from: Yuansheng on November 05, 2015, 06:38:35 AM
Dear All

Sorry for the late response to all your help.
I haven't got the chance to try your solutions yet, but will do soon.

To Henry, to be more specific, as attached, I want to have a rectangle placed on the circumference, and keep this vertical or consistent to a single direction, while rotate them together.

Thanks.
Best Regards
Simon

One way: Draw the rectangle with "Auto add constraints" enabled. Add a "Vertical" constraint to one side. Draw the circle. Move the Reference Point of the vertical side of the rectangle to the center of the circle.


Further investigation shows that's not good enough. I've managed to do the job by a different method, but it's awfully complicated.

Henry H