Table constraints

In addition to logical and parametric geometric constraints, LGS 2D supports various engineering relations between parameters of a geometric model. In particular, table constraints are used to define several possible tuples of values for a subset of parameters: one of them is chosen automatically to satisfy other imposed constraints. This feature helps users to correctly model real-life industrial mechanisms that usually comprise commonly used details of standard sizes.

Consider a conceptual model of a bike, where we use a table constraint on variables that vary when the standard size of a bike is changed:

  • Size (standard size of a bike that is equal to the size of the main tube of the bike),
  • Seat (height of the seat),
  • TTLength (length of the main horizontal tube of the bike),
  • Tail (horizontal distance between the center of the second wheel and the pedals axis),
  • BBsag (vertical distance between center of second wheel and axis of pedals).

Our table constraint contains three combinations of values for the five given variables - one combination per one value of variable Size that directs the overall bike configuration. LGS 2D provides a solution where all values of the variables correspond to one particular row of the table constraint and all other constraints are satisfied so we are certain that this particular instance of a parametric bike model corresponds to a real-life bike of one of the standard sizes.


To restart clip refresh the page. If it doesn't work, please switch on GIF animation in your web browser.