Use default plane from Objects

This commit is contained in:
Hanno Braun 2022-10-11 13:22:52 +02:00
parent 4ba6a22479
commit d7ee8374f5

View File

@ -19,10 +19,10 @@ impl Shape for fj::Sketch {
&self,
config: &ValidationConfig,
objects: &Objects,
planes: &Planes,
_: &Planes,
_: &mut DebugInfo,
) -> Result<Validated<Self::Brep>, ValidationError> {
let surface = planes.xy();
let surface = objects.surfaces.xy_plane();
let face = match self.chain() {
fj::Chain::Circle(circle) => {