A frame structure made by inextensible beams and columns. There are three particularities:
- the frame is defined and used twice;
- scoping technique;
- a qualitative deformation made by spline.
\documentclass[tikz]{standalone}\usepackage{pgfplots}\pgfplotsset{/pgf/number format/use comma,compat=1.18}\usepackage[T1]{fontenc}\usepackage[utf8]{inputenc}\usepackage{stanli} % TikZ Library for Structural Analysis by Jurgen Hackl\usetikzlibrary{calc,intersections,patterns}% frame definition, to be reused\tikzset{ frame/.pic = {%points\point{A}{0}{3};\point{B}{3}{3};\point{C}{6}{3};\point{D}{9}{3};\point{E}{3}{0};\point{F}{6}{0};%beams\beam{2}{A}{B}[0][0];\beam{2}{B}{C}[0][0];\beam{2}{C}{D}[0][0];\beam{2}{E}{B}[0][0];\beam{2}{F}{C}[0][0];%supports\support{3}{A}[-90];\support{3}{D}[90];\support{3}{E}[0];\support{3}{F}[0];%node labels\notation{1}{A}{A}[below right];\notation{1}{B}{B}[below right];\notation{1}{C}{C}[below right];\notation{1}{D}{D}[below left];\notation{1}{E}{E}[above right];\notation{1}{F}{F}[above right];}}\begin{document}\begin{tikzpicture}[scale=1]%\draw [help lines] (0,0) grid [step=1] (9,3);% Coordinates system