INT: splineEdge: allowing usage in extrudeMesh. See #1983.

This commit is contained in:
Mattijs Janssens
2021-05-26 12:22:24 +00:00
parent 8be49d8683
commit 4a87e2d0b4
5 changed files with 125 additions and 17 deletions

View File

@ -42,7 +42,9 @@ polylineCoeffs
( 1.5 -1 1.183974596 )
);
edges 9
#if ${USE_ARC:-true}
//- Using arcs
edges
(
line 0 1
arc 1 2 ( 0 -0.087867966 0.962132034 )
@ -54,6 +56,22 @@ polylineCoeffs
arc 7 8 ( 0.976794919 -1 2.009807621 )
line 8 9
);
#else
//- Using spline (different shape):
edges
(
spline 0 9
(
( 0 0 0.05 )
( 0 0 0.5 )
( 0.5 0 0.5 )
( 0.5 0 0 )
( 1.5 0 0 )
( 1.5 -1 0 )
( 1.5 -1 1.183974596 )
)
);
#endif
toleranceCheck 1e-6;
}