[105][103][G3][106][97] Merge: Fenster/Türen-Restpunkte (Rahmendetail in der Ansicht, Türblatt im Falz, Pfostenbreite, Dachfenster-Griffe/Info/Liste, Formöffnung in der Projektion, Schnitt parallel durch die Leibung)
Claude-Session: https://claude.ai/code/session_01NTYBZBvLYCtugMJoKXaB67
This commit is contained in:
34 files changed
+1229
-72
No files matched your search
@@ -517,7 +517,7 @@ fn shaped_fill_mesh(p: &Project, wall: &Wall, o: &Opening, c: &Cutout, base: f64
|
||||
let wall_rgb = model3d::shaped_wall_opening_meshes(p, wall, &wr, o, [c.from, c.to, c.z_bottom, c.z_top]);
|
||||
let (mut positions, mut indices) = (Vec::new(), Vec::new());
|
||||
// Die Füllkörper (Wandfarbe) gehören zur Wand, nicht zur Füllung: die Öffnung schneidet sie ohnehin nicht.
|
||||
let fills = crate::opening_shape::opening_outline(o, c.to - c.from, c.z_top - c.z_bottom).map_or(0, |poly| crate::opening_shape::fill_quads(&poly, c.to - c.from, c.z_top - c.z_bottom).len());
|
||||
let fills = model3d::shaped_fill_count(p, wall, o, c.to - c.from, c.z_top - c.z_bottom);
|
||||
for m in wall_rgb.iter().skip(fills) {
|
||||
if let Ok(b) = <[f64; 24]>::try_from(m.positions.as_slice()) {
|
||||
push_box(&mut positions, &mut indices, &b, base);
|
||||
@@ -789,8 +789,10 @@ pub fn ifc_export_data(src: &Project, opt: &IfcOptions) -> Result<Flat, String>
|
||||
// Bogenwänden: dort bleibt das Rechteck-Loch).
|
||||
for &(k, c) in cutouts_by_wall.get(&wall.id).map_or(&[][..], |v| v.as_slice()).iter().filter(|_| arc.is_none()) {
|
||||
let o = &openings[k];
|
||||
let Some(poly) = crate::opening_shape::opening_outline(o, c.to - c.from, c.z_top - c.z_bottom) else { continue };
|
||||
let n = crate::opening_shape::fill_quads(&poly, c.to - c.from, c.z_top - c.z_bottom).len();
|
||||
let n = model3d::shaped_fill_count(&p, wall, o, c.to - c.from, c.z_top - c.z_bottom);
|
||||
if n == 0 {
|
||||
continue;
|
||||
}
|
||||
let total = p.wall_thickness(wall, 0.2);
|
||||
let wr = crate::opening_geom::WallRef {
|
||||
start: crate::opening_geom::v(wall.start.x, wall.start.y),
|
||||
|
||||
Reference in new issue
Block a user