Index: DamClients/DamPythonInterface/branches/21.1/doc/_downloads/scenarios.csv =================================================================== diff -u --- DamClients/DamPythonInterface/branches/21.1/doc/_downloads/scenarios.csv (revision 0) +++ DamClients/DamPythonInterface/branches/21.1/doc/_downloads/scenarios.csv (revision 3550) @@ -0,0 +1,3 @@ +location_id;location_scenario_id;water_height;water_height_low;dike_table_height;safety_factor_stability_inner_slope;safety_factor_stability_outer_slope;uplift_criterion_piping;uplift_criterion_stability;safety_factor_piping +Profiel 1;1;3.8;2.5;4;1.22;1.16;1.2;1.2;1.2 + Index: DamClients/DamPythonInterface/branches/21.1/doc/_downloads/segments.csv =================================================================== diff -u --- DamClients/DamPythonInterface/branches/21.1/doc/_downloads/segments.csv (revision 0) +++ DamClients/DamPythonInterface/branches/21.1/doc/_downloads/segments.csv (revision 3550) @@ -0,0 +1,3 @@ +segment_id;soilprofile_id;probability;calculation_type +1;soilprofile_01;1;Piping +1;soilprofile_01;1;Stability Index: DamClients/DamPythonInterface/branches/21.1/doc/_downloads/locations.csv =================================================================== diff -u --- DamClients/DamPythonInterface/branches/21.1/doc/_downloads/locations.csv (revision 0) +++ DamClients/DamPythonInterface/branches/21.1/doc/_downloads/locations.csv (revision 3550) @@ -0,0 +1,2 @@ +location_id;surfaceline_id;segment_id;geo_x;geo_y;x_soilgeometry2D_origin;polderlevel;head_pl2;head_pl3;ophoogmateriaaldijk;ophoogmateriaalberm;dempingsfactor_pl3;dempingsfactor_pl4;PLLineCreationMethod;PLLineOffsetBelowDikeTopAtRiver;PLLineOffsetBelowDikeTopAtPolder;PLLineOffsetBelowShoulderBaseInside;PLLIneOffsetBelowDikeToeAtPolder;StabilityShoulderGrowSlope;StabilityShoulderGrowDeltaX;StabilitySlopeAdaptionDeltaX;minimal_circle_depth;trafficload;UseNewDikeTopWidth;NewDikeTopWidth;UseNewDikeSlopeInside;NewDikeSlopeInside;UseNewDikeSlopeOutside;NewDikeSlopeOutside;UseNewShoulderTopSlope;NewShoulderTopSlope;UseNewShoulderBaseSlope;NewShoulderBaseSlope;UseNewMaxHeightShoulderAsFraction;NewMaxHeightShoulderAsFraction;UseNewMinDistanceDikeToeStartDitch;NewMinDistanceDikeToeStartDitch;UseNewDitchDefinition;NewWidthDitchBottom;NewDepthDitch;NewSlopeAngleDitch;ZoneType +Profiel 1;Profiel 1;1;275793.299;584533.586;0;0;0;3.6;Ophoogmateriaal_dijk;Ophoogmateriaal_berm;0;0;ExpertKnowledgeRRD;0.5;1;0;0;0.33;1;1;1.5;13.3;FALSE;3;FALSE;0.33;FALSE;0.33;FALSE;0.05;FALSE;0.333;FALSE;0.5;FALSE;5;FALSE;1;1;1;NoZones Index: DamClients/DamPythonInterface/branches/21.1/doc/_downloads/characteristicpoints.csv =================================================================== diff -u --- DamClients/DamPythonInterface/branches/21.1/doc/_downloads/characteristicpoints.csv (revision 0) +++ DamClients/DamPythonInterface/branches/21.1/doc/_downloads/characteristicpoints.csv (revision 3550) @@ -0,0 +1,2 @@ +LOCATIONID;X_Maaiveld binnenwaarts;Y_Maaiveld binnenwaarts;Z_Maaiveld binnenwaarts;X_Insteek sloot polderzijde;Y_Insteek sloot polderzijde;Z_Insteek sloot polderzijde;X_Slootbodem polderzijde;Y_Slootbodem polderzijde;Z_Slootbodem polderzijde;X_Slootbodem dijkzijde;Y_Slootbodem dijkzijde;Z_Slootbodem dijkzijde;X_Insteek sloot dijkzijde;Y_Insteek sloot dijkzijde;Z_Insteek sloot dijkzijde;X_Teen dijk binnenwaarts;Y_Teen dijk binnenwaarts;Z_Teen dijk binnenwaarts;X_Kruin binnenberm;Y_Kruin binnenberm;Z_Kruin binnenberm;X_Insteek binnenberm;Y_Insteek binnenberm;Z_Insteek binnenberm;X_Kruin binnentalud;Y_Kruin binnentalud;Z_Kruin binnentalud;X_Verkeersbelasting kant binnenwaarts;Y_Verkeersbelasting kant binnenwaarts;Z_Verkeersbelasting kant binnenwaarts;X_Verkeersbelasting kant buitenwaarts;Y_Verkeersbelasting kant buitenwaarts;Z_Verkeersbelasting kant buitenwaarts;X_Kruin buitentalud;Y_Kruin buitentalud;Z_Kruin buitentalud;X_Insteek buitenberm;Y_Insteek buitenberm;Z_Insteek buitenberm;X_Kruin buitenberm;Y_Kruin buitenberm;Z_Kruin buitenberm;X_Teen dijk buitenwaarts;Y_Teen dijk buitenwaarts;Z_Teen dijk buitenwaarts;X_Insteek geul;Y_Insteek geul;Z_Insteek geul;X_Teen geul;Y_Teen geul;Z_Teen geul;X_Maaiveld buitenwaarts;Y_Maaiveld buitenwaarts;Z_Maaiveld buitenwaarts +Profiel 1;100.000;0.000;0.000;-1.000;-1.000;-1.000;-1.000;-1.000;-1.000;-1.000;-1.000;-1.000;-1.000;-1.000;-1.000;35.000;0.000;0.000;-1.000;-1.000;-1.000;-1.000;-1.000;-1.000;23.000;0.000;4.000;23.000;0.000;4.000;20.500;0.000;4.000;19.000;0.000;4.000;-1.000;-1.000;-1.000;-1.000;-1.000;-1.000;10.000;0.000;1.000;-1.000;-1.000;-1.000;-1.000;-1.000;-1.000;0.000;0.000;1.000 Index: DamClients/DamPythonInterface/branches/21.1/doc/_downloads/surfacelines.csv =================================================================== diff -u --- DamClients/DamPythonInterface/branches/21.1/doc/_downloads/surfacelines.csv (revision 0) +++ DamClients/DamPythonInterface/branches/21.1/doc/_downloads/surfacelines.csv (revision 3550) @@ -0,0 +1,2 @@ +LOCATIONID;X1;Y1;Z1;.....;Xn;Yn;Zn;(Profiel); +Profiel 1;0.000;0.000;1.000;10.000;0.000;1.000;19.000;0.000;4.000;20.500;0.000;4.000;23.000;0.000;4.000;35.000;0.000;0.000;100.000;0.000;0.000; Index: DamClients/DamPythonInterface/branches/21.1/doc/_downloads/soilprofiles.csv =================================================================== diff -u --- DamClients/DamPythonInterface/branches/21.1/doc/_downloads/soilprofiles.csv (revision 0) +++ DamClients/DamPythonInterface/branches/21.1/doc/_downloads/soilprofiles.csv (revision 3550) @@ -0,0 +1,4 @@ +soilprofile_id;top_level;soil_name +soilprofile_01;10;Dijkmateriaal +soilprofile_01;0;Deklaag_klei +soilprofile_01;-2;wl_zand1 Index: DamClients/DamPythonInterface/branches/21.1/doc/_downloads/soilmaterials.csv =================================================================== diff -u --- DamClients/DamPythonInterface/branches/21.1/doc/_downloads/soilmaterials.csv (revision 0) +++ DamClients/DamPythonInterface/branches/21.1/doc/_downloads/soilmaterials.csv (revision 3550) @@ -0,0 +1,10 @@ +Name;Soiltype;Saturatedunitweight;Unsaturatedunitweight;Cohesion;Frictionangle;DiameterD70;PermeabilityX;Shearstrengthmodel;Strengthincreaseexp(m);RatioSu/Pc;UsePOP;POP +Dijkmateriaal;Clay;17;17;0.5;22;0.0002;0.0004;C phi;0.7;0.22;CheckUnchecked;10 +Deklaag_klei;Clay;16;16;0.5;22;0.0002;0.001;C phi;0.7;0.22;CheckUnchecked;10 +wl_zand1;Sand;19;18;0;32;0.00021;0.009;C phi;0.7;0.22;CheckUnchecked;10 +Ophoogmateriaal_dijk;Clay;17;17;0.5;22;0.0002;0.0004;C phi;0.7;0.22;CheckUnchecked;10 +Ophoogmateriaal_berm;Sand;19;18;0.5;22;0.0002;0.0004;C phi;0.7;0.22;CheckUnchecked;10 +wl_zand2;Sand;19;18;0;32;0.000215;0.0008;C phi;0.7;0.22;CheckUnchecked;10 +wl_zand3;Sand;19;18;0;32;0.00022;0.0007;C phi;0.7;0.22;CheckUnchecked;10 +wl_zand4;Sand;19;18;0;32;0.000225;0.0006;C phi;0.7;0.22;CheckUnchecked;10 +wl_zand5;Sand;19;18;0;32;0.00023;0.0005;C phi;0.7;0.22;CheckUnchecked;10 Index: DamClients/DamPythonInterface/branches/21.1/doc/source/dev/tips.rst =================================================================== diff -u --- DamClients/DamPythonInterface/branches/21.1/doc/source/dev/tips.rst (revision 0) +++ DamClients/DamPythonInterface/branches/21.1/doc/source/dev/tips.rst (revision 3550) @@ -0,0 +1,15 @@ +Tips for developing with the DamPythonInterface tool +==================================================== + +This page is used as a placeholder of tips that one can use when developing with the DamPythonInterface tool. + +How to create an class instance in Python +----------------------------------------- +The DamPythonInterface tool uses the Pydantic_ module to define the types of inputs a class should have. +However, creating a class instance is the same as with any python class. +To know more about how you can do that refer to PythonClasses_ were several examples are given. +The first example in the Pydantic_ page ia also a good resource. + + +.. _PythonClasses: https://www.tutorialspoint.com/python/python_classes_objects https://www.tutorialspoint.com/python/python_classes_objects +.. _Pydantic: https://pydantic-docs.helpmanual.io/ \ No newline at end of file