News:

All posts discussing pricing or where to buy TurboCAD will be deleted.

Main Menu

Trouble constraining

Started by Dane, May 06, 2014, 03:44:17 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Dane

Hi,
Hoping someone can tell me how to constrain the radius/diameter of a circle and also constrain that circle to specific distances from a line horizontal underneath circle and a line vertical beside circle.

Kind regards
Dane

Andy H

No idea if this will make any sense or not (sorry - I need to get to bed) but attached is a little file with three ways, note - open the calculator palette to see the variables and simple formula, its difficult to be exact as I'm not sure what your drawing looks like.

Also attached is a pdf which IMSI supplied with v10.5 when constraints came out, its just missing a few new ones like horizontal, the help files are pretty good at explaining constraints but the attached has an extra exercise which shows setting the distance from centre of circle which you may find useful, see page 1-11 to 1-16.

Andy

Henry Hubich

Quote from: Dane on May 06, 2014, 03:44:17 PM
Hi,
Hoping someone can tell me how to constrain the radius/diameter of a circle and also constrain that circle to specific distances from a line horizontal underneath circle and a line vertical beside circle.

Kind regards
Dane

Dane, what version of TCad are you using?

Henry H

Andy H

Quote from: Henry Hubich on May 07, 2014, 08:07:22 AM
Dane, what version of TCad are you using?
Henry H

Hi Henry

It should be v18pro (going off Danes previous constraint thread)

Henry Hubich

Next question(s) for Dane: Do you want the horizontal and vertical lines to be un-movable; and do you want to be able to vary the location and radius of the circle (e.g., by typing values in the Calculator Palette)?

Henry H

Dane

Quote from: Henry Hubich on May 07, 2014, 11:12:27 AM
Next question(s) for Dane: Do you want the horizontal and vertical lines to be un-movable; and do you want to be able to vary the location and radius of the circle (e.g., by typing values in the Calculator Palette)?

Henry H

Hi Henry,
Version isTurbocad 18 pro,
I would like to be able to fix the radius of the circle whilst constraining it to two lines that I would like to be able to lengthen and shorten with the lines remaining in origin, circle can move if necessary. Hope this makes sense.
Regards Dane

Henry Hubich

Quote from: Dane on May 14, 2014, 01:56:36 AM
Quote from: Henry Hubich on May 07, 2014, 11:12:27 AM
Next question(s) for Dane: Do you want the horizontal and vertical lines to be un-movable; and do you want to be able to vary the location and radius of the circle (e.g., by typing values in the Calculator Palette)?

Henry H

Hi Henry,
Version isTurbocad 18 pro,
I would like to be able to fix the radius of the circle whilst constraining it to two lines that I would like to be able to lengthen and shorten with the lines remaining in origin, circle can move if necessary. Hope this makes sense.
Regards Dane

If I understand your requirements correctly, Dane, following the steps listed below will produce what you need...

1. Go to Options>Constraints and enable “Show Variable Name in the dimension text.”
2. In the drawing, disable “Auto add constraints” (it’s an icon on the Inspector Bar).
3. Place a “Cross” Point object where you want the origin.
4. Draw two lines, roughly approximating the desired horizontal and vertical axes.
5. Apply the “Fix Geometry” Constraint to the Cross.
6. Activate the “Points Coincident” Constraint. Click on the left-hand end of the (approximately) horizontal line and then on the Cross. Click on the lower end of the (approximately) vertical line and then on the Cross.
7. Apply the “Horizontal” Constraint to the (approximately) horizontal line, then apply the “Vertical” Constraint to the (approximately) vertical line.
8. Place a “Cross” Point object anyplace.
9. Draw a circle, roughly the desired diameter and at any location.
10. Activate the “Concentric” Constraint. Click on the circle (the circle itself, not its center), then on the second Cross.
11. Select the circle and move it to roughly the desired location.
12. Activate the “Diameter” Dimension tool. Activate “Auto Add Constraints,” then click on the circle.
13. Activate the “Orthogonal” Dimension tool and enable the “Horizontal” mode. Vertex-Snap to the Cross at the origin, then to the Cross at the center of the circle. Activate the “Vertical” mode; Vertex-snap to the Cross at the origin, then to the Cross at the center of the circle. (Be careful to snap to the Cross object, not to a part of the horizontal dimension).
14. You can now change the size or location of the circle only by editing the corresponding dimensions/variables in the Calculator Palette. The lengths of the  horizontal and vertical lines can be changed by dragging their endpoints with the Edit tool.

Henry H