Tutorials PartCraft help Reference

Sketch relations and dimensions

Every relation and dimension a PartCraft sketch has, what to select for each, its symbol, and how it behaves when solving.

Written for PartCraft 0.3. The same help is inside the app: press F1.

Relations fix how geometry sits relative to other geometry. Dimensions fix sizes. To add a relation, select items with the Select tool (SS) and choose its button in the right panel; to add a dimension, use the Dimension tool (DD) or the dimension buttons in the right panel. How to work with them: Fully define a sketch.

"Curve" below means a circle or an arc. The origin counts as a point.

Relations

ButtonSymbolSelectEffect
• Coincident• (shown only when selected or in trouble)Two pointsThe points meet
• Coincident•A point and a lineThe point lies on the line (or its extension)
• Coincident•A point and a curveThe point lies on the circle or arc
H HorizontalHA line, or two pointsThe line is level, or the two points are at the same height
V VerticalVA line, or two pointsThe line is upright, or the points are one above the other
∥ Parallel∥Two linesThe lines run the same way
⊥ Perpendicular⊥Two linesThe lines meet at a right angle
T TangentTA line and a curveThe line touches the curve without crossing
T TangentTTwo curvesThey touch, outside or inside, as drawn
T TangentTA spline and a line, arc or spline that meets one of its endsThe spline leaves that end in the other curve's direction
= Equal=Two linesSame length
= Equal=Two curvesSame radius
◎ Concentric◎Two curvesSame center
◎ Concentric◎A point and a curveThe point sits at the curve's center
M MidpointMA point and a lineThe point sits at the line's middle
↔ Symmetric↔Two points and a lineThe points are mirror images about the line (Mirror adds these)
⚓ Fix⚓A point, a line, a curve or a splineHolds it exactly where it is now (a spline: its points)

Lines here include centerlines. Drawing adds some relations for you: snapping to a point makes it coincident, snapping to a curve puts the point on it, nearly level or upright lines get H or V, and a rectangle comes with its four corners joined, two H and two V.

Fix is a quick way to stop something moving, but the part then cannot follow a dimension change elsewhere. Prefer dimensions to the origin.

Dimensions

ButtonSelectMeasuresShown as
DistanceA lineIts lengthDistance 40
DistanceTwo pointsThe straight distance between themDistance 40
DistanceA point and a lineThe distance from the point to the line, square to itDistance 40
DistanceTwo parallel linesThe gap between themDistance 40
Horizontal distanceTwo points, or a lineThe left-right distance onlyHorizontal distance 40
Vertical distanceTwo points, or a lineThe up-down distance onlyVertical distance 40
RadiusA circle or arcIts radiusRadius R10
DiameterA circle or arcIts diameterDiameter ⌀20
AngleTwo lines that are not parallelThe angle between them, 0 to 180 degreesAngle 30°

With the Dimension tool, PartCraft picks the kind from what you click and where you place the number:

You clickYou get
One lineIts length; for a slanted line, horizontal if the number goes above or below it, vertical if to the side
One circleDiameter
One arcRadius
Two pointsDistance; horizontal or vertical as for a slanted line
A point and a lineDistance from the point to the line
Two linesAngle, or the distance if they are parallel
A point and a circleNothing: "Those items cannot be dimensioned together." Dimension to the circle's center point instead

Offset (shown as the distance) is made by the Offset tool: it holds a copied line parallel at that distance, or a copied arc or circle concentric with a radius that much bigger or smaller. The other pieces of the same offset carry an O relation and follow the one Offset dimension. See Splines, trim, offset and other sketch tools.

Dimension values are millimeters (or degrees), never negative. Radius and diameter must be more than zero. A value of 0 is allowed for distances: two points 0 apart are coincident.

How solving behaves

  • Least movement. When a value changes, the solver moves the geometry as little as possible. A line whose length changes grows equally at both ends if nothing holds either end.
  • No flipping. Distances from a point to a line, horizontal and vertical distances, angles and tangency remember which side they were made on. Changing a value never flips the geometry to the other side.
  • Conflicts leave things alone. If relations contradict each other, the sketch stays exactly as it was and the conflicting ones turn red.
  • Redundant relations (implied by others) are named in the status bar ("is already implied. Delete it.") and the feature still builds, with a warning.
  • Tangent joints. Where a fillet arc meets its lines at a shared end point, tangency is solved in a form that stays well defined there, so sketch fillets do not read as over defined.

Not available yet

Collinear, coradial and pierce relations; a point on a spline; driven (reference) dimensions; ordinate and arc-length dimensions; equations between dimensions. Use Parallel plus a 0 distance for collinear lines.