mirror of
git://projects.qi-hardware.com/cae-tools.git
synced 2024-12-22 23:04:16 +02:00
cameo/test/: test scenario for area fill
This commit is contained in:
parent
2530a11c80
commit
8c4dfc55b6
7
cameo/test/Makefile
Normal file
7
cameo/test/Makefile
Normal file
@ -0,0 +1,7 @@
|
||||
.PHONY: all plot
|
||||
|
||||
all:
|
||||
./doit
|
||||
|
||||
plot:
|
||||
echo 'plot "in.gp" with lines, "out.gp" with lines' | gnuplot -persist
|
10
cameo/test/doit
Executable file
10
cameo/test/doit
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
../cameo <<EOF
|
||||
gnuplot 3 in.gp
|
||||
offset inside
|
||||
write out.gp
|
||||
clear
|
||||
gnuplot 3 in.gp
|
||||
area 3 0
|
||||
append out.gp
|
||||
EOF
|
37
cameo/test/in.gp
Normal file
37
cameo/test/in.gp
Normal file
@ -0,0 +1,37 @@
|
||||
0 0 0
|
||||
40 0 0
|
||||
#40 20 0
|
||||
50 20 0
|
||||
#60 20 0
|
||||
60 0 0
|
||||
95 0 0
|
||||
100 10 0
|
||||
100 100 0
|
||||
80 100 0
|
||||
65 80 0
|
||||
60 100 0
|
||||
40 100 0
|
||||
35 90 0
|
||||
20 100 0
|
||||
10 100 0
|
||||
0 0 0
|
||||
|
||||
#%outside
|
||||
50 40 0
|
||||
80 40 0
|
||||
80 70 0
|
||||
50 70 0
|
||||
50 40 0
|
||||
|
||||
#%outside
|
||||
10 30 0
|
||||
30 30 0
|
||||
30 50 0
|
||||
10 50 0
|
||||
10 30 0
|
||||
|
||||
60 50 0
|
||||
60 60 0
|
||||
70 60 0
|
||||
70 50 0
|
||||
60 50 0
|
Loading…
Reference in New Issue
Block a user