{ "cells": [ { "cell_type": "raw", "metadata": { "raw_mimetype": "text/restructuredtext" }, "source": [ ".. _Examples_for_standard_profiles:" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Standard cross section" ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "from shape_generator import CrossSection" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [], "source": [ "unit = 'cm'\n", "height = 200\n", "width = 100\n", "label = 'test'\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "r_channel (float)\n", "\n", "r_roof (float)\n", "\n", "r_wall (float)\n", "\n", "slope_bench (float)\n", "\n", "r_round (float)\n", "\n", "r_wall_bottom (float)\n", "\n", "h_bench (float)\n", "\n", "pre_bench (float)\n", "\n", "w_channel (float)" ] }, { "cell_type": "raw", "metadata": { "raw_mimetype": "text/restructuredtext" }, "source": [ "\n", "Dictionary\n", "\"\"\"\"\"\"\"\"\"\"\n", "\n", "+---------+---------------------+--------------------------+\n", "| english | deutsch | description |\n", "+=========+=====================+==========================+\n", "| channel | Trockenwetter-Rinne | |\n", "+---------+---------------------+--------------------------+\n", "| roof | Firste/Decke | Bogen an der Rohr Firste |\n", "+---------+---------------------+--------------------------+\n", "| wall | Wand | Radius der Seitenwand |\n", "+---------+---------------------+--------------------------+\n", "| bench | Berme | Neigung um der TW-Rinne |\n", "+---------+---------------------+--------------------------+\n" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [], "source": [ "cs = CrossSection.standard(label, None, height=height, width=width, unit=unit)\n", "cs.generator()" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | x | \n", "y | \n", "
---|---|---|
0 | \n", "0.00 | \n", "0.0 | \n", "
1 | \n", "0.02 | \n", "50.0 | \n", "
3 | \n", "200.00 | \n", "50.0 | \n", "
4 | \n", "200.02 | \n", "0.0 | \n", "