From 23dae5e20c0c5058c37f0daf37bf31c726386812 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Wed, 20 Mar 2024 14:00:51 +0100 Subject: [PATCH] Set half-edge geometry in `BuildShell` method --- crates/fj-core/src/operations/build/shell.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/crates/fj-core/src/operations/build/shell.rs b/crates/fj-core/src/operations/build/shell.rs index 44cd8ae6b..57a5666f6 100644 --- a/crates/fj-core/src/operations/build/shell.rs +++ b/crates/fj-core/src/operations/build/shell.rs @@ -8,6 +8,7 @@ use crate::{ objects::{Curve, Face, HalfEdge, Shell, Surface, Vertex}, operations::{ build::{BuildFace, BuildHalfEdge, BuildSurface, Polygon}, + geometry::UpdateHalfEdgeGeometry, insert::{Insert, IsInserted, IsInsertedNo, IsInsertedYes}, join::JoinCycle, reverse::ReverseCurveCoordinateSystems, @@ -99,6 +100,14 @@ pub trait BuildShell { half_edge .update_start_vertex(|_, _| vertex, core) .update_curve(|_, _| curve, core) + .insert(core) + .set_path( + core.layers + .geometry + .of_half_edge(&half_edge) + .path, + &mut core.layers.geometry, + ) }) };