3 <title>Internal options - Sketch
</title>
4 <meta http-equiv=
"Content-Type" content=
"text/html">
5 <meta name=
"description" content=
"Sketch">
6 <meta name=
"generator" content=
"makeinfo 4.7">
7 <link title=
"Top" rel=
"start" href=
"index.html#Top">
8 <link rel=
"up" href=
"Options.html#Options" title=
"Options">
9 <link rel=
"prev" href=
"Transparency.html#Transparency" title=
"Transparency">
10 <link href=
"http://www.gnu.org/software/texinfo/" rel=
"generator-home" title=
"Texinfo Homepage">
12 Copyright (C) 2005, 2006, 2007, 2008 Eugene K. Ressler.
14 This manual is for `sketch', version 0.2 (build 161),
15 Tuesday, September 08, 2009, a program that converts descriptions of simple
16 three-dimensional scenes into static drawings. This version generates
17 `PSTricks' or `PGF/TikZ' code suitable for use with the
18 TeX document processing system.
20 `Sketch' is free software; you can redistribute it and/or modify
21 it under the terms of the GNU General Public License as published by
22 the Free Software Foundation; either version 3, or (at your option)
25 Sketch is distributed in the hope that it will be useful,
26 but WITHOUT ANY WARRANTY; without even the implied warranty of
27 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28 GNU General Public License for more details.
30 You should have received a copy of the GNU General Public License
31 along with `sketch'; see the file COPYING.txt. If not, see
32 http://www.gnu.org/copyleft.-->
33 <meta http-equiv=
"Content-Style-Type" content=
"text/css">
34 <style type=
"text/css"><!--
35 pre
.display
{ font-family:inherit
}
36 pre
.format
{ font-family:inherit
}
37 pre
.smalldisplay
{ font-family:inherit
; font-size:smaller
}
38 pre
.smallformat
{ font-family:inherit
; font-size:smaller
}
39 pre
.smallexample
{ font-size:smaller
}
40 pre
.smalllisp
{ font-size:smaller
}
41 span
.sc
{ font-variant:small-caps
}
42 span
.roman
{ font-family: serif
; font-weight: normal
; }
48 <a name=
"Internal-options"></a>Previous:
<a rel=
"previous" accesskey=
"p" href=
"Transparency.html#Transparency">Transparency
</a>,
49 Up:
<a rel=
"up" accesskey=
"u" href=
"Options.html#Options">Options
</a>
53 <!-- node-name, next, previous, up -->
54 <h5 class=
"subsubsection">3.1.5.6 Internal options
</h5>
56 <p>There are also
<em>internal
</em> options
57 <a name=
"index-options_002c-internal-257"></a><a name=
"index-internal-options-258"></a>used only by
<code>sketch
</code> and not
58 passed on to
<code>PSTricks
</code>. These are summarized in the following
60 <a name=
"index-cull-259"></a><a name=
"index-lay-260"></a><a name=
"index-split-261"></a>
61 <p><table summary=
""><tr align=
"left"><th valign=
"top">Key
</th><th valign=
"top">Possible values
</th><th valign=
"top">Description
62 <br></th></tr><tr align=
"left"><td valign=
"top"><code>cull
</code>
63 </td><td valign=
"top"><code>true
</code>,
<code>false
</code>
64 </td><td valign=
"top">Turn culling of backfaces on and off respectively for this object.
65 The default value is
<code>true
</code>.
66 <br></td></tr><tr align=
"left"><td valign=
"top"><code>lay
</code>
67 </td><td valign=
"top"><code>over
</code>,
<code>in
</code>,
<code>under
</code>
68 </td><td valign=
"top">Force this object to be
<code>under
</code> or
69 <code>over
</code> all other objects in the depth sort
70 <a name=
"index-depth-sort-262"></a>order created by the hidden surface algorithm. The default value
71 <code>over
</code> guarantees that output due to the
<code>special
</code> will be
73 <br></td></tr><tr align=
"left"><td valign=
"top"><code>split
</code>
74 </td><td valign=
"top"><code>true
</code>,
<code>false
</code>
75 </td><td valign=
"top">Turn splitting of sweep-generated body polygons
76 <a name=
"index-body-polygon-263"></a><a name=
"index-polygon_002c-body-264"></a>on and off respectively. See
<a href=
"Sweeps.html#Sweeps">Sweeps
</a>. The default value
<code>true
</code>
77 causes
“warped
” polygons to be split into triangles, which avoids
78 mistakes by the hidden surface algorithm.
79 <br></td></tr></table>
81 <h4 class=
"subsection">3.1.6 Point lists
</h4>
83 <p><a name=
"index-point-list-265"></a><strong>Syntax:
</strong>
84 <pre class=
"example"> (
<var>x1
</var>,
<var>y1
</var>,
<var>z1
</var>)(
<var>x2
</var>,
<var>y2
</var>,
<var>z2
</var>)...
86 <p class=
"noindent">A sequence of one or more points makes a point list, a feature
87 common to all drawables. Each of the point components is a scalar
88 arithmetic expression. Any point may have the z-component
89 omitted; it will default to z=
0.
92 <li><a accesskey=
"1" href=
"Drawables.html#Drawables">Drawables
</a>: Things that are drawn.
93 <li><a accesskey=
"2" href=
"Definitions.html#Definitions">Definitions
</a>: Things with names.