[T6][68] Gelände: Bruchkanten, Glättung ohne Überschwingen, Höhenlinien, Baugrube mit Mengen
Kern terrain.rs (constrained Delaunay, flache Dreiecke, adaptive Hermite-Teilung, Höhenlinien, Prisma) und excavation.rs (Baugrube/Schüttung mit Bermen, Netz neu, Abtrag/Auftrag/Hinterfüllung). Grundriss mit Höhenlinien und Böschungsschraffur, Schnitt mit gewachsenem/gestaltetem Terrain und Erdreich, Ansicht mit Silhouette, 3D, Baurecht mit Geländehöhen an der Fassade, Layout-Tabelle Erdarbeiten, Befehl excavation, Panel.
This commit is contained in:
41 files changed
+2946
-79
No files matched your search
@@ -4119,6 +4119,9 @@ pub enum LayoutTableSource {
|
||||
/// Bauteilliste mit U-Werten ([71]).
|
||||
#[serde(rename = "elements")]
|
||||
Elements,
|
||||
/// [68] Erdarbeiten: Baugruben mit Abtrag/Auftrag/Hinterfüllung.
|
||||
#[serde(rename = "earthworks")]
|
||||
Earthworks,
|
||||
#[serde(other)]
|
||||
#[ts(skip)]
|
||||
Unknown,
|
||||
@@ -4957,6 +4960,53 @@ pub struct TerrainMesh {
|
||||
#[serde(rename = "vertexColors", default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional)]
|
||||
pub vertex_colors: Option<Vec<f64>>,
|
||||
/// [T6] Äquidistanz der Höhenlinien im Grundriss in m (aus dem Netz neu erzeugt, inkl. Baugruben).
|
||||
/// Fehlt der Wert oder ist er ≤ 0, zeigt der Grundriss nur den Rahmen.
|
||||
#[serde(rename = "contourInterval", default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional)]
|
||||
pub contour_interval: Option<f64>,
|
||||
/// [T6] Jede n-te Höhenlinie ist Zähllinie (dicker, beschriftet). Default 5.
|
||||
#[serde(rename = "contourIndexEvery", default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional)]
|
||||
pub contour_index_every: Option<f64>,
|
||||
#[serde(flatten)]
|
||||
#[ts(skip)]
|
||||
pub extra: Extra,
|
||||
}
|
||||
|
||||
/// [68] Baugrube / Geländebearbeitung: Sohle als Umriss auf der Höhe `bottom` (m, Modell ±0.00).
|
||||
/// Ausserhalb steigt die Böschung mit `slope` (Grad, Default 45; je Kante `edgeSlopes`, 0 = Default)
|
||||
/// bis zum Gelände (Abtrag); liegt das Gelände tiefer, fällt eine Schüttung mit `fillSlope` (Default
|
||||
/// 33.7 ≈ 2:3) bis zum Gelände (Auftrag). Bermen: alle `bermHeight` m Höhe eine waagrechte Berme der
|
||||
/// Breite `bermWidth`. Schneidet jedes Gelände-Netz, das den Umriss enthält.
|
||||
#[derive(Debug, Clone, PartialEq, Default, Serialize, Deserialize, TS)]
|
||||
#[serde(default)]
|
||||
pub struct Excavation {
|
||||
pub id: String,
|
||||
pub name: String,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional)]
|
||||
pub layer: Option<String>,
|
||||
#[serde(rename = "categoryCode", default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional)]
|
||||
pub category_code: Option<String>,
|
||||
pub outline: Vec<Vec2>,
|
||||
pub bottom: f64,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional)]
|
||||
pub slope: Option<f64>,
|
||||
#[serde(rename = "fillSlope", default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional)]
|
||||
pub fill_slope: Option<f64>,
|
||||
#[serde(rename = "edgeSlopes", default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional)]
|
||||
pub edge_slopes: Option<Vec<f64>>,
|
||||
#[serde(rename = "bermWidth", default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional)]
|
||||
pub berm_width: Option<f64>,
|
||||
#[serde(rename = "bermHeight", default, skip_serializing_if = "Option::is_none")]
|
||||
#[ts(optional)]
|
||||
pub berm_height: Option<f64>,
|
||||
#[serde(flatten)]
|
||||
#[ts(skip)]
|
||||
pub extra: Extra,
|
||||
|
||||
@@ -527,6 +527,8 @@ pub enum ContextObject {
|
||||
TerrainMesh(TerrainMesh),
|
||||
#[serde(rename = "image")]
|
||||
Image(ContextImage),
|
||||
#[serde(rename = "excavation")]
|
||||
Excavation(Excavation),
|
||||
}
|
||||
|
||||
impl Default for Drawing2DGeom {
|
||||
|
||||
Reference in new issue
Block a user