powered by CADENAS

Manual

Manual

10.1.5.  Connection points at miters

The following explains the creation of connection points at miters.

In the example, we have a profile with cross-section dimension 80 mm x 40 mm and a miter of 45°.

The connection points start_ab, start and start_ba should be positioned for all possible miter angles.

Connection point at miter angle

Connection point at miter angle

Do the following:

  1. Create the profiles normally.

  1. In the Variable Manager, insert the variables SAX, SAY (start side) and EAX, EAY (end side) for the input of the miter angle; in addition SDX, SDY, EDX, EDY with Status Attribute algorithms as help variables to calculate the Distance plane (see figure below).

    Variable Manager

    Variable Manager

  1. In the Variable Manager define the Attribute algorithms for the help variables SDX, SDY, EDX, EDY.

    • SDX = ABS(20*TAN(SAX))

    • SDY = ABS(40*TAN(SAY))

    • EDX = ABS(20*TAN(EAX))

    • EDY = ABS(40*TAN(EAY))

    With the help of these variables the movement of the Distance plane is calculated (see figure below).

    Attribute algorithms dialog window

    Attribute algorithms dialog window

  1. Create the absolute level with the Base point in the midpoint of the section.

    (Here in figure bottom "Fixed plane 1")

    Fixed plane 1 - Base point

    Fixed plane 1 - Base point

Fixed plane 1 - Settings

Fixed plane 1 - Settings

  1. In the context menu, click on Insert new plane....

    In the Type list field, select the point Plane with distance.

    In thed Distance field, enter the following:

    IF SAY = 0 THEN SDX ELSE SDY ENDIF

    In the following example, the miter angle is 45°.

    The resulting Distance both are 40 mm.

    Base miter start

    Base miter start

Base miter start

Base miter start

  1. Again click on the Insert new plane... context menu.

    In the Type list field, select the point Plane with rotation.

    In the Angle field, enter "SAY".

    In the Turn around list field, select point X axis.

    In our example, "SAY" has 45°.

    => The plane is moved 45° around the X-axis.

    Rotation miter start Y

    Rotation miter start Y

Rotation miter start Y

Rotation miter start Y

  1. Create a Plane with rotation again.

    Under Angle enter the following:

    IF SAY = 0 THEN SAX ELSE 0 ENDIF

    (Only SAY oer SAX are recognized)

    In the list field Turn around, select point Y axis.

    In our example, the rotation occurs around the Y-axis 0°.

Rotation miter start X

Rotation miter start X

  1. Create a sketch for the Extrusion solid and enter the following:

    Length:

    IF SDY = 0 THEN SDX*2 ELSE SDY*2 ENDIF

    Set a checkmark at Only create, if.

    The Cut extrusion should only be created if SAY or SAX are unequal to '0'.

    Cut extrude 1

    Cut extrude 1

Extrusion solid

Extrusion solid

  1. Then create the sketch with the connection points.

    Sketch with connection points

    Sketch with connection points

The creation of the "End" connection point occurs in the same way as described above.