mirror of
git://projects.qi-hardware.com/cae-tools.git
synced 2024-12-22 23:59:34 +02:00
slicer/slice.c (dump_layer): don't draw the top end of walls
This commit is contained in:
parent
aa327c8e37
commit
9fc0962edc
@ -166,7 +166,7 @@ static gboolean dump_layer(gpointer key, gpointer value, gpointer data)
|
|||||||
if (!z1->present)
|
if (!z1->present)
|
||||||
return 0;
|
return 0;
|
||||||
for (line = z0->lines; line; line = line->next)
|
for (line = z0->lines; line; line = line->next)
|
||||||
if (line->cz >= z1->z)
|
if (line->cz > z1->z)
|
||||||
printf("%f %f %f\n%f %f %f\n\n\n",
|
printf("%f %f %f\n%f %f %f\n\n\n",
|
||||||
line->ax, line->ay, z1->z,
|
line->ax, line->ay, z1->z,
|
||||||
line->bx, line->by, z1->z);
|
line->bx, line->by, z1->z);
|
||||||
|
Loading…
Reference in New Issue
Block a user