mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-29 20:07:01 +01:00
use surface directly
This commit is contained in:
parent
838b1041fa
commit
fdde14b8f8
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ function paramsToPlane({orientation, parallelTo, depth}, cadRegistry) {
|
|||
const normal = STANDARD_BASES[orientation][2];
|
||||
plane = new Plane(normal, depth);
|
||||
} else {
|
||||
plane = new Plane(face.brepFace.surface.normalInMiddle(), depth);
|
||||
plane = new Plane(face.surface().normalInMiddle(), depth);
|
||||
}
|
||||
return plane;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue