mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-30 20:05:55 +00:00
Use default plane from Objects
This commit is contained in:
parent
4ba6a22479
commit
d7ee8374f5
@ -19,10 +19,10 @@ impl Shape for fj::Sketch {
|
|||||||
&self,
|
&self,
|
||||||
config: &ValidationConfig,
|
config: &ValidationConfig,
|
||||||
objects: &Objects,
|
objects: &Objects,
|
||||||
planes: &Planes,
|
_: &Planes,
|
||||||
_: &mut DebugInfo,
|
_: &mut DebugInfo,
|
||||||
) -> Result<Validated<Self::Brep>, ValidationError> {
|
) -> Result<Validated<Self::Brep>, ValidationError> {
|
||||||
let surface = planes.xy();
|
let surface = objects.surfaces.xy_plane();
|
||||||
|
|
||||||
let face = match self.chain() {
|
let face = match self.chain() {
|
||||||
fj::Chain::Circle(circle) => {
|
fj::Chain::Circle(circle) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user