From ab392ea84048e1daeb288849fa60e85af8ab897d Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Wed, 7 Dec 2005 17:54:39 +0000 Subject: [PATCH] some new examples --- benchmarks/misc/testcut.geo | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 benchmarks/misc/testcut.geo diff --git a/benchmarks/misc/testcut.geo b/benchmarks/misc/testcut.geo new file mode 100644 index 0000000000..cc81130688 --- /dev/null +++ b/benchmarks/misc/testcut.geo @@ -0,0 +1,41 @@ + +View "Test 1" { +SH(0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1){ 0, 1, 1, 0, 0, 1, 1, 0}; +}; +View "Test 2" { +SH(1, 0, 0, 2, 0, 0, 2, 1, 0, 1, 1, 0, 1, 0, 1, 2, 0, 1, 2, 1, 1, 1, 1, 1){ 1, 0, 0, 1, 1, 0, 0, 1}; +}; + +General.Trackball = 0; + +General.RotationX = 10; +General.RotationY = -45; +General.RotationZ = 0; + +Combine Views; + +/* +View "Test 3" { +SH(0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1){ 0, 1, 1, 0, 0, 1, 1, 0}; +SH(1, 0, 0, 2, 0, 0, 2, 1, 0, 1, 1, 0, 1, 0, 1, 2, 0, 1, 2, 1, 1, 1, 1, 1){ 1, 0, 0, 1, 1, 0, 0, 1}; +}; +*/ + +Plugin(CutGrid).X0 = 0; +Plugin(CutGrid).Y0 = 0.5; +Plugin(CutGrid).Z0 = 0.5; +Plugin(CutGrid).X1 = 2; +Plugin(CutGrid).Y1 = 0.5; +Plugin(CutGrid).Z1 = 0.5; +Plugin(CutGrid).nPointsU = 51; +Plugin(CutGrid).nPointsV = 1; +Plugin(CutGrid).ConnectPoints = 0; +Plugin(CutGrid).iView = -1; + +Plugin(CutGrid).Run; + +View[1].Axes = 1; +View[1].Type = 2; +View[1].IntervalsType = 2; +View[1].AxesLabelX = "U"; +View[1].AxesLabelY = "x"; -- GitLab