Drawn wrongly

Six things a hold is not

A rank read as a restraint, a count read as an answer, four contacts placed the wrong way round, a nullity taken for a spin, a part free in every direction and unable to leave, and a tolerance offered as a cure for an arrangement that was never a hold. Six claims, each with the number that kills it.

Assumes A constraint that only pushes.

Six things that get said about parts held by contact, each of them reasonable, each of them the natural extension of something that is true of a linkage, and each answered here with a number. The arrangements are the seven on the field’s ledger, and the instrument is the same throughout: one row per contact, take the hull, ask where the origin is.

One: six constraints leave nothing

True of equations and false of inequalities.

A part on six pins has one configuration because six equations in six unknowns have one solution. A part on six pads has a set of configurations, because six inequalities bound a cone and a cone has an interior. The step from a rank to a mobility is legitimate for the first and not for the second.

6 contacts, and the box lifts straight off. 3-2-1, six contacts. Each pad is a contact and each arrow the direction the box is free to move there — the inward normal, and the whole of what the contact contributes. The rank is 6, which is full: these 6 contacts are 6 independent constraints and a bilateral version of them would fix the box completely. The margin is nought, so the box is free to leave, and no amount of tightening the tolerances on where the pads are would change that. Rank and hold are different questions and this is the pair of pictures that separates them. positioned by solving, not by drawing.
Fig. 1 The 3-2-1 scheme: six contacts, rank six, and the box lifts straight off.

The arithmetic that forbids it is two lines. If dd vectors positively span Rd\mathbb{R}^d then a1-a_1 is a non-negative combination of them, which rearranges to a vanishing combination with a strictly positive coefficient — so they are dependent, and dd dependent vectors do not span at all. The minimum is d+1d+1: four in the plane and seven in space.

Every exact-constraint coupling on this site has rank six and an escape, and the escapes are clean rather than marginal — a Maxwell coupling’s is a pure vertical translation with nothing else in it. That is not a defect: it is what a coupling is for, and gravity is the seventh contact nobody draws.

The confusion is easy to make because the two questions share a matrix. Locating asks whether At=eAt = e has a solution, which is about the rank; holding asks whether At0At \ge 0 has a non-zero one, which is about the signs. Same rows, different question, and an arrangement can be excellent at one and hopeless at the other.

Two: reaching the minimum is most of the way there

It is almost none of the way there.

Four thousand arrangements of contacts drawn uniformly on the faces of a box: six hold in nought of four thousand, which is a proof rather than a measurement; seven hold in twenty-one, which is 0.53 per cent; ten hold in 12.1 per cent.

The count is a floor, and the floor is not the answer. Seven contacts is the minimum in space, and here is what the minimum is worth. Each point is 4000 arrangements of that many contacts on the faces of a box, every one placed uniformly at random, and the height is the fraction that hold. Six holds 0 times out of 4000 — not rarely, never, because six vectors cannot positively span six dimensions however they are arranged. Seven holds 0.53 per cent of the time, eight 1.93, and ten 12.1. So the classical number answers a question about what is possible and says almost nothing about what a contact arrangement drawn without thinking will do. In the plane the same statement is sharper still: 40 placements of three contacts on three edges of a square, at every spacing, and the largest margin any of them reaches is exactly nought.
Fig. 2 The fraction that hold against the number of contacts. The count says the problem is not impossible and almost nothing else.

So a designer who has counted to seven has established that a hold is possible with that many. Half a per cent of the arrangements reaching the count are holds, and the difference between a necessary condition and a useful one is the whole of what the rest of the field measures.

That gap has the same shape as Grübler’s count against a measured mobility and one difference worth naming. Grübler’s count is sometimes too small and sometimes too large; this one is never wrong about what it says, and is simply about something else. A count that cannot be wrong and cannot decide anything is a strange instrument to be handed, and it is what the classical numbers are.

Three: a part touched on all sides cannot move

The pinwheel is the counter-example and it is the sharpest thing in the field.

Four contacts, one on each edge of a square, each a third of the way along, taken the same way round. Every row’s moment about the centre has the same sign, so no positive combination can cancel it, and the part turns clockwise about any of a large region of centres.

4 contacts, and the centres they still allow. The same four, placed pinwheel. The same square, the same four edges, the same distance along each — and taken the same way round rather than alternately. Every row's moment then has the same sign, so no positive combination can cancel it, and the part turns. Each contact contributes one half-plane of permitted centres per sense, and the shaded regions are what survives all 4 of them: the darker one is where an anticlockwise rotation is still permitted and the lighter one where a clockwise one is. What is left is the escape, and it is a region rather than a direction: any point inside it will do as a centre. The enumeration finds 4 extreme rays, of which 4 are rotations and the rest are translations — the corners of the region and its unbounded directions respectively. positioned by solving, not by drawing.
Fig. 3 Four contacts on four edges, and the centres the part can still turn about.

Move two of the four to the other ends of their own edges — the same four edges, the same distance along each — and the margin goes from nought to 0.211.

Nothing about either drawing distinguishes them. The count is the same, the rank is the same at three, and the singular values are identical to every figure, because the two matrices differ by the sign of two rows. A rank is invariant under negating a row and a cone is not, which is why no function of the row space can decide this.

Four: a null direction is a motion

It is a candidate.

An ellipse of semi-axes 1.4 and 0.9 in a pocket the size of its own bounding box has four contacts whose normals all point at its centre, so every row’s moment entry is exactly nought, the rank is two, and the cone of permitted twists is a whole line — a free spin, both ways, at first order.

Free to spin, and it cannot turn at allAn ellipse of semi-axes 1.4 and 0.9 inside four flat walls that touch it at the ends of its own axes. Every normal points at the centre, so every row's moment is nought and the four rows span two dimensions rather than three: the cone of permitted twists is the whole spin axis, a **line** through the origin, and the first-order answer is that the part is free to turn either way. Drag the angle and watch what happens. The ellipse's reach in the direction of the top and bottom walls is √(a²sin²θ + b²cos²θ), which is smallest at θ = 0 and grows from there, so any rotation whatever drives it into both of them — by 0.016 at this angle. **A nullity is a candidate and not a motion**, and this is the shape of case the fields before this one could not produce: not a mechanism at a singularity, but an ordinary part in an ordinary pocket. positioned by solving, not by drawing.rank 2 of 3 · the cone is a linepenetration 0.016 at 0.16 rad
Fig. 4 The ellipse turned. The reach toward the walls it started at is at a minimum when it is square, so any rotation drives it into both of them.

It cannot turn by any amount whatever. The reach toward the top and bottom walls is a2sin2θ+b2cos2θ\sqrt{a^2\sin^2\theta + b^2\cos^2\theta}, which is smallest at θ=0\theta = 0, so the penetration grows as (a2b2)θ2/2b(a^2-b^2)\theta^2/2b — measured at 6.4×1056.4 \times 10^{-5} for a hundredth of a radian, with a fitted exponent of 1.9944 against 2.

A circle in the same pocket has the same rank, the same nullity, the same escape cone and the same margin, and turns for ever. The entire difference is a second derivative, and it is the same asymmetry the network field found on a flex arrived at from a different direction.

The same claim in its usual form

Four contacts is enough in the plane is how this one is normally met, and it is the counting claim and the pinwheel claim run together. Four is enough for some arrangements of four and not for others, and both of those sentences are needed.

The vee makes the second half concrete in a way the pinwheel does not. Four contacts, two on each of two faces: the count is right, the directions repeat — two contacts on one flat contribute rows that differ only in their moments — and the part slides out of the open side. So an arrangement can fail for two independent reasons, one about signs and one about repeated directions, and a count sees neither.

Five: a part free in every direction is not restrained

A unit disc among three points on a circle of 1.1 radii is free at every instant, in every direction, at every configuration it can reach — rank two, margin nought, both regions of centres shaded everywhere — and it cannot get out.

Free in every direction, and it cannot get outA disc of radius 1 among 3 point obstacles on a circle of radius 1.100. The shaded discs are the obstacles grown by the part's own radius, which is what the part's centre may not enter — the configuration space, and for a round part it is the plane itself. The part is caged when those grown discs overlap enough to close a ring around it, which happens below R = 1/sin(π/3) = 1.154701, and here it does. **At every configuration inside the cage the part is free.** The three normals all point at its centre, the rank of its rows is two, the escape cone is a whole line, and none of that has anything to do with whether it can leave. A hold is a statement about velocities at one configuration; a cage is a statement about where a finite motion can go, and the second does not follow from the first in either direction. positioned by solving, not by drawing.R 1.100 of a threshold 1.1547caged — reachable area 0.061
Fig. 5 Three obstacles, grown by the part’s own radius, overlapping enough to close a ring. Drag them out and the part leaves at 1.1547.

The area its centre can reach is 0.060. Push the obstacles to 1.25 radii and it is 26.9 and unbounded. The threshold is exactly 1/sin(π/3)=1.1547011/\sin(\pi/3) = 1.154701, where the gap between neighbouring obstacles is the part’s own diameter — checked against a flood fill of the free space that is told nothing about circles and agrees at every radius sampled.

Everything in this field before that rung is a statement about an instant, and whether a part can get out is not one. Neither implies the other in either direction: a held part is caged trivially, and a caged part need not be held anywhere in its cage.

Six: tightening the tolerances will pin it down

Not if the arrangement is not a hold, and no amount of tightening changes whether it is.

With a clearance cc on every contact the permitted poses are {p:Apc}\{p : Ap \ge -c\}, a polyhedron whose every dimension scales exactly with cc — asserted at seven clearances four orders of magnitude apart, with the ratios constant to 10910^{-9}. And it is bounded exactly when the arrangement holds, because an unbounded direction of it is a ray of the escape cone.

So halving the clearance on an arrangement that is not a hold narrows the pose set in two coordinates and leaves the third exactly as infinite. Taking the clearance to zero collapses the set to a line rather than to a point.

The order the two questions have to be settled in is therefore fixed: the arrangement first, the tolerance second, and nothing about the second bears on the first. Every part in tolerance, every pad where the drawing says, the count of contacts right, and the part not held — with no gate a workshop has that would catch it.

A seventh, which gets said less and is also wrong

Worth adding because it is the one a reader who has followed the first six will reach for: more contacts is at least never worse.

It is worse. A contact beyond the minimum whose row lies inside the hull of the others adds no restraint at all — the margin without it is unchanged, and on the hexagon held by five it is unchanged to every figure at 0.0914 — and it adds a second condition on the contact tolerances, because the cone of positive combinations that cancel gains an extreme ray.

5 contacts, and 1 of them free not to touch. A hexagon on five contacts. Each contact is removed in turn and the hold recomputed; the ones drawn in the warning colour are those whose removal leaves the part still held, which is to say the ones that are constraining nothing the others were not already constraining. There is one here, and the margin without it is 0.091 — unchanged, to every figure. That is the unilateral form of what a redundant constraint costs, and it costs something different from the bilateral form: a redundant bilateral constraint has to be satisfied and cannot be, so it leaves a gap somewhere; a redundant contact is simply free not to touch, and whether it does is decided by errors nobody controls. positioned by solving, not by drawing.
Fig. 6 Five contacts, one of them free not to touch. Removing it changes no number in the arrangement except the count.

Measured as a yield: on the square held by four, 202 of 400 random error vectors admit a pose; on the hexagon held by five, 280 of 400 do not. The extra contact takes the fraction of parts that fit from about a half to about three tenths, on an arrangement whose margin is worse and whose pose set is larger.

And it does one more thing, which is the reason it is worse rather than merely useless. A contact that adds no restraint is the one that is free not to touch — it is satisfied by not touching, since it says only do not come closer — so the arrangement is not one arrangement. Sometimes five contacts are in play and sometimes four, decided by errors of a few microns, and the two have different stiffnesses and different repeatability.

And the version of it a workshop says

If it is not tight enough, add a clamp is the same claim in the form it is actually met in, and it is right when the clamp’s line cuts the escape region and wrong otherwise.

That is a condition a reader can check by eye once the escape region is drawn: the added contact’s own surface line has to pass on the far side of every corner of the region, with the right sense. A clamp pressing into a face the part is already located against duplicates a row that is already there, changes the count and changes no answer — which is the workshop complaint that a clamp “does not do anything”, stated as a geometric fact.

And two things a hold is

For balance, because a list of refutations is a poor way to learn what something is.

A hold is the statement that the origin is inside the hull of the contact rows. That is the whole definition, it is a distance rather than a decision once the hull is drawn, and the distance falls continuously to nought as an arrangement approaches one that lets go. Every other quantity in the field is derived from it.

And a hold is a relation between a set and its complement rather than between a part and the ground. Two interlocked pieces hold each other, mutually, with the frame contributing nothing to either — each is blocked in every direction by the other alone, and the pair lifts straight out. So the ground is one of the parts, and which part comes out first is a question that can have no answer.

Neither one comes out, and the two of them do. Two congruent Z-shaped parts in a tray that is open at the top. Each has a step that lies over the other's, so part A's four contacts with part B have normals at all four points of the compass and leave it no free direction at all — and the same is true of B, for the same reason and by symmetry. The blocking is mutual and there is no order in which the two can be taken out one at a time. Together they have 6 contacts, all of them with the tray, and exactly one direction out: straight up. So the removal cone of a set of parts is not built from the removal cones of its members, and which part comes out first is a question with no answer here. positioned by solving, not by drawing.
Fig. 7 Two Z-shaped pieces, each blocked in every direction by the other, and a pair with exactly one direction out.

Three, and the one it is easiest to get right

Of the two things a hold is, the first has a consequence worth stating on its own: the test is cheap.

One row per contact — the moment of its normal about the origin, then the normal itself. The hull of at most a dozen unit vectors in three dimensions, which is 220 small determinants. The origin’s distance to the nearest facet. That is the whole computation, it is linear throughout, there is no root-finding anywhere, and it runs in less time than reading the drawing takes.

So none of the six failures above is a case of a hard question being answered badly. Each is a case of an easy question not being asked, with a different question’s answer used in its place.

Four questions, one matrix

The observation that the two questions share a matrix is made above about the first misconception, and it is the whole diagnosis of five of the six. The matrix of contact rows answers several different questions, the answers are all numbers, and nothing about a number says which question it came from.

There are four questions in this field and it is worth setting them out with what each one cannot answer, because that is the part the failures exploit.

How many independent conditions are there? The rank answers it. It cannot say whether the part is held, because a rank counts rows and a hold is about which side of them the part is on — which is the first misconception exactly, and the second, since a minimum row count is still a row count.

Which directions are candidates for motion? The nullity and the null space answer it. They cannot say whether any candidate is realisable, because a candidate direction may be forbidden at second order by the same contacts that permitted it at first — the vee block and the ellipse, which is the fourth.

Is the part held at all? The hull condition answers it: the origin inside the convex hull of the rows. Nothing else does, and it is the question the other three get mistaken for. The pinwheel is not a failure of this test; it is a case where the test is the only thing that separates two drawings nothing else separates.

And where can the part actually get to? The escape region answers it, and it is the only one of the four that is not a statement about an instant. A part free in every direction at every instant may still have a bounded reachable set, which is the fifth misconception and is the one that cannot even be posed in the vocabulary of the other three.

Read that way, the sixth is a question about none of them. Tolerance narrows the polyhedron of permitted poses and does not move the origin relative to the hull, so it operates on a quantity that only exists once the hold question has been answered in the affirmative. That is why the order is fixed rather than merely advisable: three of the four questions have answers whatever the arrangement, and the tolerance question does not have one at all until the third is settled.

The practical remedy is unglamorous and it is the same one every list of this kind ends at. Name the question before reading the number. Every quantity here is cheap, correct and computed from the same rows, so nothing is gained by choosing carefully between them — all four can be had at once, and the failure is never a wrong computation but a right one asked to mean something it does not.

What the six have in common

Five of the six are a quantity that is right about what it measures being read as an answer to a different question, which is the standing shape of everything this site’s wrong field collects. The rank measures the row space; the count measures the number of contacts; the nullity measures a linearisation; the clearance measures a gap. Each of them is exactly correct and none of them is the answer to can this part move.

The sixth — the pinwheel — is different and is worth separating out, because it is not a misread quantity. It is two arrangements that are identical in every number anybody would compute except the one that decides, and the one that decides is a sign. That is a failure a more careful reading of the usual instruments could never have caught, because the usual instruments do not carry the information.

Seven arrangements, one routine, and the two that hold. Every row is the same three steps: write down one row per contact — the moment of its normal about the origin, then the normal itself — take the convex hull of those rows, and ask whether the origin is inside it. The parts differ, the numbers of contacts differ, and the routine does not. Two of the seven hold. The other five leave the part something, and the interesting column is what: four rays of rotation for the pinwheel, a translation straight out of the vee, and for the last two a whole line rather than any number of rays, which is what a rank below three means and is the case a reader has to be warned about. Note that the four contacts of the second row are the four of the first row, on the same four edges of the same square, at the same distance along each. positioned by solving, not by drawing.
Fig. 8 The seven arrangements, five of which are things somebody would draw and call held.

Which is the reason the field exists at the size it does rather than as a footnote to the constraint field. The routine is short — one row per contact, take the hull, find the origin — and there is no way to get to it from the machinery of the first twenty fields, because those are built on equations and this one is not.

About the same objects

Not linked from either essay — found by the objects both name.

The objects this essay names

Each one links to every other essay that touches it.

CagingClearanceClosure marginDesign ruleEscape coneForm closurePositive spanRankSecond-orderUnilateral constraint