News:

When posting a problem be sure to include which version you are using.  Give as much information as possible.  If the problem is with a specific file be sure to attache it to your 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.

Constraints

Started by Marcel, February 06, 2023, 04:37:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Marcel

I know this has been asked before, but is there a guide to using constraints?
I found an old link from 2009 but I get 404 page not found.
Many thanks
T.C. 2025 Platinium V32

Andy H

The only tutorial I know of is the original one from TC version 10.5.  The paper copy had a 2d camera tutorial, but the original pdf (attached) didn't have that.

You will probably get more info, by going through the TC help file of whatever version you are using.  This is because,  some extra constraints have been added over the years, which obviously are not in the original release. Ones like Horizontal, Vertical  and Midpoint constraints are not in the original release. 

knute971

Bitterend,

Try this link"
http://waterheatertimer.org
Type this in the search field.
TurboCAD Constraints Manager

Also:
You cannot view this attachment.

K971
DC16, TC14, TC17, TC Platinum 2021 & 2022
Dell XPS-8940 - Windows 11 Pro
NVIDIA(R) GeForce RTX(TM) 3060 12GB GDDR6
11th Gen Intel Core i9 11900K
32GB, 16Gx2, DDR4, 2933MHz
3D Printer: Ender 3 V3 SE

murray dickinson

#3
Try drawing and dimensioning with autoconstraint on, it's different because it doesn't create polylines or polygons, they are line segments with their ends connected with coincendent constraint, in the case of arcs and fillets connected with connect(!), making them coincident and tangential.   What that means in real terms is that you can't inadvertantly break them afterwards without TC protesting and alerting you, but it does keep arc segments within a chain logically consistent.  Constrained dimensioning seems limited because available types and options are different, but it gives you access to variables in the palette, so editing can be driven by numerical input in the one spreadsheet.  To me, the most powerful thing about TC's constraints is  constrained dimensioning and variables because, although the constraints are 2D, you can use variables to propagate values to other workplanes by using the variable name in the formula cell of the calculator/variables palette, and the variable can be standalone, it doesn't have to refer to an object in the drawing.  "2D constraints" isn't 100% accurate.    You can use variables to impose/share dimension values between otherwise unconnected objects, variables are references, so they can drive other constrained dimensions (not only the same type, you might use an inverse trig value with a linear dim) in the drawing from that one cell.  Dimensions driven by variables aren't restricted to absolute values, variables can be factors in functions, also called laws or expressions elsewhere, entered in the formula cells, they can be proportional too.  The original pdf doc and the "work along with" program tutorial (that's probably what the dead link led to) concentrate on physical constraints that can be applied on a single workplane, they don't have much (anything?) to say about the powerful indirect use of variables.  Something else that can be considered limiting is that TC's constraints and variables aren't portable, a file or object with constraints inserted into a file loses them, x-refs are probably the way to get around that.  Personally, I find that constraining everything possible is too rigorous and for me, usually has unintended outcomes, so then the constraints need to be pared back, while it's also frustrating that, when I do want to apply judicial constraint to something already drawn, exploding is usually necessary before anything can happen onscreen.
Some features of constraints aren't as smart as they ought to be, either: the distance constraint is counterintuitive to me, because the only relationship it governs is the distance between parallel lines.  IMO, it ought to maintain a distance between any two features, instead it's necessary to use the ends of a line with length constraint variable to do that,  and it should apply the constraint when it's invoked,.  Distance only applies if you've drawn parallel lines in the first place, while I think that it should recognise that that's what you want to happen and do the move/rotate for you.  I realise that they might be different lengths or whatever, but mid-point to mid-point is a reasonable default starting point. 

Marcel

Murray,
Thank you for that.

It has led to some issues with the calculator. I have now got a number of variables in there somewhere, I cant see them and I cant find a way to clear them.
I find the manual very poor and lacking in detail.
T.C. 2025 Platinium V32

murray dickinson

#5
What version are you using?  The calculator palette became the variables palette somewhere along the way, but either puts any variables you've applied in a list at the top of the palette.  Clearing them is as simple as deleting the dimension or the constraint block mark in the drawing window.  Marquee-select the constrained object, shift and de-select the object and delete the block marks or dimensions that are associated with it.  Re the manual, yes, perhaps, but it would be very difficult to accommodate every user's potential application for constraints.  It might be useful if we posted examples with explanations in Tips and Trick, with generic configurations.  As an example, our colleague Jeff posted some images of earrings he's designed, and elsewhere he explained some problems he's had with Booleans in creating them.  I think that constraints could make the size and configuration of his design nearly infinitely flexible within limits, all parameters driven by only one or two dimensions, and I think it would eliminate the need to use Booleans in the way Jeff described, making the file more reliable.  His design is basically two arcs of differing radii, connected by lines between their outer tangents.  That's the same configuration as a belt around two pulleys, and it's easy to constrain with variables so that differing radii and centres are as simple as changing those values in the palette to derive belt lengths and physical envelope.  But, I find that drawing it with autoconstrain applies all possible constraints, making it too easy to lock up with overconstraint conditions.  Better to apply connections progressively, testing for functionality as the drawing progresses.  Doing it that way deepens insight into how constraints work and how and when they're most useful, unlike the scattergun approach where everything's constrained, consequently less flexible rather than more.