Example - Part Pattern in a SmartSnap Component

Library

The length is defined between the two specified points.

  • L = Length
  • Set L (Length) as a non-driving dimension in the 3D sketch of the first part.
  • Define the amount and quantity formulas for the part pattern in the pattern's dialog box.

Alternative A

The parts are of a standard width (standard measurement), the ends are aligned.

  • The intermediate parts are of the same width, exactly 600 mm.
  • The ends are aligned in such a way that the railing is symmetrical. The width of the end parts is always greater than 600/2, i.e. 300 mm.
  • The end dimension is:

    a = (L-(int(L/600-1.5))*600)/2

  • The number of the part limit for the middle parts is:

    n = int(DIM_X/600)+1

End-aligned railing element

 

Alternative B

All parts are of the same width.

  • All spaces in between are aligned to be of the same width. The nominal dimension is 1,000 mm.
  • The alignment is performed by changing all parts to the same width, which is as close as possible to 1,000 mm.
  • The width of an individual part is:

    a = int(L)/int(L/1000)

  • The number of the parts n is:

    n = int(DIM_X/1000)+1

Railing components, assembled from standard-width elements.