Constraints, dimensions, and formulas

Apply relationships between objects, distinguish driving and reference dimensions, and use parameters and formulas to control measurements.

Apply a relationship

In Select choose the handles or segments required. Use Ctrl to add the second geometry. Open Constraints and apply the enabled entry. Alternatively, open Constraints → Start constraint tool, choose the corresponding Start… entry and follow the selection requests on the floor. Esc returns to Select. With immutable or incompatible objects, the direct voice is disabled or the command signals incompatibility.

Constraints → Directions

Horizontal
Select a straight line section to bind it to the X direction.
Vertical
Select a straight line section to bind it to the Y direction.
Parallel
Select two straight segments to bind the two directions to be parallel.
Perpendicular
Select two straight segments to hook them to a right angle.
Collinear
Select two straight segments to bring them to the same support line.

Constraints → Connections

Coincident
Apply to two controls to impose that they occupy the same position.
Tangent
Select supported pairs such as segment and circle, two circular or extreme curves of Bézier/Spline with compatible tangents. The report controls the direction in the contact area. The internal branch is possible for eligible circles or arches.
Midpoint
Select a point and segment to bind the point to the middle point of the segment.
Concentric
Select two figures with a supported center, for example two circles or a circle and an ellipse, to make the centers coincide.
Point on Line
Select a handle and a line as straight support. The handle must remain on the line reference.
Point on Curve
Select a handle and a supported curved body. The position must belong to the geometry of the curve calculated by the Native model.

Constraints → Shape

Equal Length
Select two straight segments to bind the respective lengths to equality.
Equal Radius
Select two circular bodies, such as circles or arches, to let them share the same radius.
Symmetry
Select the two handles or supported shapes and the right axis. The result is a specular pair. Entire arches, ellipses and rectangles can be rejected in this flow.
Curvature / G2
Select compatible extremes of exact curves, between square, cubic and supported Spline Bézier. The relationship binds position, tangency and curvature to the connection.

Constraints → Fixing

Fix
Select the handle or body to be anchored to the current configuration. Incompatible drags are rejected.
Unfix
Select the same geometry to remove relevant Fix reports. Any other constraints remain applicable.

Share on the floor

  1. Press Dimension on the second bar or D. Select the required reference. You can start from a precise quantity via Constraints → Dimensional.
  2. Move the pointer to choose position and orientation of the dimension lines, then click to place the label.
  3. Enter the value in the editor near the dimension. A simple number follows the display unit. You can write a compatible unit like 0.25 cm. Formulas use native units. Press Enter to confirm.

A guide share changes geometry. If the value creates a conflict or does not add an independent local condition, correct it or use Create as reference if available. The reference share measures and updates with geometry. It is recognizable by brackets and restraint and remains read only until it changes mode.

Distance / Length
Use two handles for the aligned distance or a segment for its length.
Horizontal Distance
Use two references to quote the horizontal difference, in the units of the X axis.
Vertical Distance
Use two references to quote the vertical difference, in the units of the Y axis.
Point-Line Distance
Use a handle and a segment for the perpendicular distance of the point from the line.
Parallel Line Distance
Use two parallel segments to share their separation.
Angle
Use two segments for the share between directions. Check on the level which sector is listed.
Axis Angle
Use a segment to share the direction compared to X. For angular values and tolerances, check the unit indicated by the editor.
Radius
Use a circle or arch with a well defined radius. The dimension shows the notation R.
Diameter
Use the same geometry to quote twice the radius. The share shows Ø.
X Dimension
Select a check to quote the ascissa from the origin of the plane.
Y Dimension
Select a check to quote the order from the origin of the plane.

Inspection of constraints and dimensions

Sketch palette and Constraints → Inspector / dimensions… open the panel on the floor. Available lists the reports allowed by selection. Relationship is the bond line and State shows its status. By clicking a symbol or a row you will see the references. Tab on the floor passes to the next report. The degree of freedom reported is local to the component. The solver works within limits of 64 objects, 256 parameters, 1024 residuals and 100 iterations. Single or incompatible cases may be refused.

Show constraints and Show dimensions
Separately activates the symbols of constraints and dimensional annotations. The bond remains applied even when its symbol is hidden.
Edit / Edit value
Select a guide fee to open the editor, or double-click the label. For a value-free report see Details.
Enable/Disable / Enable / Disable
Suspend or reactivate the application while keeping records and diagnostics. Fix geometry or parameters before reactivating a conflicting relationship.
Delete
Removes the highlighted report. You can also use the right menu or Canc with the selected marker and focus on the plane.
Details / Show details
It carries associated geometries and current condition in the state.
Toggle Driving / Reference
In the right menu of a compatible dimension, it changes between guide bond and reference measure. The system checks that the new driving share is admissible.
Reset annotation position
Restores the initial position of the dimension. In Select drags the annotation to get a legible position without changing the value.
Hide
Fill the panel. Reactivate it with Sketch palette.
Sketch palette listing relationships and inspection controls
The palette lists the relationships in the scene and the controls for managing them.

Constraints → Advanced reference editor…

Use Constraint name for the name, Relationship for the relationship and Geometry A (logical ID) for the first object. Point/segment index A identifies control or native segment. For two-element reports fill out Geometry B (when required) and Point/segment index B. For the symmetry also set Symmetry axis geometry (when required) and Symmetry axis segment index.

The Relationship menu uses the native names of the items described above. fixed is Fix, distance is Distance / Length, equal_length and equal_radius impose equality, curvature is Curvature / G2, lock_x and lock_y are X Dimension and Y Dimension. line_distance is the separation between two parallel straights, axis_angle the X angle. The remaining names correspond to Directions, Connections, Shape and Dimensional items.

Dimension: numeric display value or value with explicit unit enters the value where required. For a right angle you can use 1.5707963267948966 rad. The angular value must be compatible with the unit indicated by the editor. Native coordinate tolerance (angles: radians; directional residuals: normalized) starts from 1e-8. Tangent/collinear angular tolerance (radians) starts from 1e-9. Both require at least 1e-15. With Disable enforcement; retain diagnostics you can record a diagnostic report without applying it immediately. Use Apply after checking the IDs and conditions of the chosen type. For example, define a straight line segment from (0, 0) to (4, 0) and a point in (2, 0). With midpoint choose the point as A and the segment as B and leave both indices to 0 for one point and one line of construction with one segment. The new Midpoint entry appears in the Sketch palette. For an extreme of a Bézier uses the handle in the graphical command or reads the reference index from an already defined report: a sampling index and a control index have different meanings. If the report is incompatible, correct geometry first or verify that the indexes identify the suitable reference type.

Parameters… and formulas

Open Parameters… on the Sketch or Workspace → Actions → Parameters… bar for the saved Workspace. From the parameter a Name valid as span, a Formula as 12 / 2. Press Create / Update, then enter span instead of the number in the editor of a guide fee. The table shows Name, Formula, Value, Dependencies and Unit if present. Select a line to update it. New cleans fields, Refresh rereads the list and Delete removes a parameter free from references. You can use + - * / ^, functions, already defined local names or session.nome for a session parameter. Angular functions use radiant. For example, a Session base parameter can feed session.base * 3 in the Workspace. An invalid or cyclical formula is rejected. After a change, check the value and geometry of the linked share.

A 5 mm driving dimension applied to a line using the expression span
Enter span as the value of the dimension. When the parameter value changes from 5 to 6, the linked dimension updates to 6 mm.