[253] 3D-Entourage: Low-Poly-Netze für Person (stehend/gehend), Velo, Auto, Sitzbank, Stuhl, Tische mit Stühlen
Kern furniture_3d.rs: prozedurale, geschlossene Teilnetze aus den Parametern (Höhe h einstellbar), Platzierung auf Gelände/Geschoss. Im 3D (model3d::emit_entourage, Explosion, Cache-Stand), Cycles-Szene, 3D-Dokument (axo) und Schattenwurf; Klasse der Zeichnung ([180]); Grundriss bleibt 2D. Beispiel :wettbewerb: 3 Personen, Auto, Velo, Bank. Nicht im IFC, nicht in Schnitt/Ansicht (TODO).
This commit is contained in:
20 files changed
+879
-27
No files matched your search
@@ -40,6 +40,8 @@ pub enum Owner {
|
||||
Context(usize),
|
||||
/// [115] Index in `Project::extruded_solids`.
|
||||
Solid(usize),
|
||||
/// [253] Index in `Project::drawings2d` (Entourage: Bibliotheksobjekt mit 3D-Netz).
|
||||
Drawing(usize),
|
||||
}
|
||||
|
||||
impl Owner {
|
||||
@@ -58,6 +60,7 @@ impl Owner {
|
||||
Owner::Stair(i) => at(&p.stairs, i).map(|e| e.id.as_str()),
|
||||
Owner::Context(i) => at(&p.context, i).map(|e| e.id()),
|
||||
Owner::Solid(i) => at(&p.extruded_solids, i).map(|e| e.id.as_str()),
|
||||
Owner::Drawing(i) => p.drawings2d.get(i).map(|d| d.id.as_str()),
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -352,6 +355,7 @@ pub fn parts_filtered(p: &Project, layered: bool, detail: f64, for_section: bool
|
||||
column_meshes: {
|
||||
let mut m = emit_columns(p);
|
||||
m.extend(emit_trees(p));
|
||||
m.extend(emit_entourage(p));
|
||||
m.extend(emit_railings(p));
|
||||
m
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user