| 1 |
\emph{Cette partie sera complétée dans uns version ultérieure} |
| 2 |
|
| 3 |
\psset{fillstyle=none,fillcolor=yellow,linecolor=blue,incolor=green!50} |
| 4 |
|
| 5 |
|
| 6 |
\subsection{Axes} |
| 7 |
\psset{unit=.25cm} |
| 8 |
\begin{tabular}{|c|c|c|} \hline |
| 9 |
\begin{pspicture}(-7,-4)(7,10) |
| 10 |
\psframe(-7,-4)(7,10) |
| 11 |
\axesIIID(0,0,0)(2,2,2) |
| 12 |
\end{pspicture} |
| 13 |
& |
| 14 |
\begin{pspicture}(-7,-4)(7,10) |
| 15 |
\psframe(-7,-4)(7,10) |
| 16 |
\axesIIID(2,2,2)(2,2,2) |
| 17 |
\end{pspicture} |
| 18 |
& |
| 19 |
\begin{pspicture}(-7,-4)(7,10) |
| 20 |
\psframe(-7,-4)(7,10) |
| 21 |
\axesIIID(1,1,1)(2,2,2) |
| 22 |
\end{pspicture} |
| 23 |
\\ \hline |
| 24 |
\BSS{axesIIID}(0,0,0)(2,2,2) \BSI{axesIIID}{pst-sol3d} |
| 25 |
& |
| 26 |
\BSS{axesIIID}(2,2,2)(2,2,2) |
| 27 |
& |
| 28 |
\BSS{axesIIID}(1,1,1)(2,2,2) |
| 29 |
\\ \hline |
| 30 |
\end{tabular} |
| 31 |
|
| 32 |
\bigskip |
| 33 |
\begin{tabular}{|c|c|c|} \hline |
| 34 |
\begin{pspicture}(-7,-4)(7,10) |
| 35 |
\psframe(-7,-4)(7,10) |
| 36 |
\axesIIID[labelsep=0cm](0,0,0)(2,2,2) |
| 37 |
\end{pspicture} |
| 38 |
& |
| 39 |
\begin{pspicture}(-7,-4)(7,10) |
| 40 |
\psframe(-7,-4)(7,10) |
| 41 |
\axesIIID[axisnames={a,b,c}](0,0,0)(2,2,2) |
| 42 |
\end{pspicture} |
| 43 |
& |
| 44 |
\begin{pspicture}(-7,-4)(7,10) |
| 45 |
\psframe(-7,-4)(7,10) |
| 46 |
\axesIIID[showOrigin=false](1,1,1)(2,2,2) |
| 47 |
\end{pspicture} |
| 48 |
\\ \hline |
| 49 |
\RDD{labelsep}=0cm |
| 50 |
& |
| 51 |
\RDD{axisnames}=\AC{a,b,c} \RDI{axisnames}{pst-sol3d} |
| 52 |
& |
| 53 |
\RDD{showOrigin}=false \RDI{showorigin}{pst-sol3d} |
| 54 |
\\ \hline |
| 55 |
\dft : labelsep=5pt & \dft : axisnames=\AC{x,y,z} & \dft : showOrigin=true\\ \hline |
| 56 |
\end{tabular} |
| 57 |
|
| 58 |
%\subsection{\'Element en 3D} |
| 59 |
\SbSSCT{\'Element en 3D}{3D elements} |
| 60 |
|
| 61 |
\psset{unit=.5cm} |
| 62 |
|
| 63 |
|
| 64 |
%--------------------point, line, vector, |
| 65 |
%\subsubsection{point, line, vector} |
| 66 |
\SbSbSSCT{point, ligne, vecteur}{point, line, vector} |
| 67 |
|
| 68 |
\begin{tabular}{|c|c|c|} \hline |
| 69 |
% \multicolumn{3}{|l|}{\BS{psSolid}[object=point,args=1 2 2]} \\ |
| 70 |
\begin{pspicture}(-4,-4)(4,4) |
| 71 |
\psframe(-4,-4)(4,4) |
| 72 |
\axesIIID(0,0,0)(1,1,1) |
| 73 |
\psSolid[object=point,args=1 2 2,linecolor=red] %point |
| 74 |
\psSolid[object=line,args=0 0 0 1 2 0,linestyle=dotted,linecolor=red] |
| 75 |
\psSolid[object=line,args=1 2 2 1 2 0,linestyle=dotted,linecolor=red] |
| 76 |
\end{pspicture} |
| 77 |
& |
| 78 |
\begin{pspicture}(-4,-4)(4,4) |
| 79 |
\psframe(-4,-4)(4,4) |
| 80 |
\axesIIID(0,0,0)(1,1,1) |
| 81 |
|
| 82 |
\psSolid[object=line,args=0 -1 0 1 2 2] % line |
| 83 |
\psSolid[object=line,args=0 0 0 0 -2 0,linecolor=red] |
| 84 |
\psSolid[object=line,args=0 0 0 1 2 0,linestyle=dotted,linecolor=red] |
| 85 |
\psSolid[object=line,args= 1 2 0 1 2 2,linestyle=dotted,linecolor=red] |
| 86 |
\end{pspicture} |
| 87 |
& |
| 88 |
\begin{pspicture}(-4,-4)(4,4) |
| 89 |
\psframe(-4,-4)(4,4) |
| 90 |
\axesIIID(0,0,0)(1,1,1) |
| 91 |
\psSolid[object=vecteur,args=1 2 2,linecolor=red] % vecteur |
| 92 |
\psSolid[object=line,args=0 0 0 1 2 0,linestyle=dotted,linecolor=red] |
| 93 |
\psSolid[object=line,args=1 2 2 1 2 0,linestyle=dotted,linecolor=red] |
| 94 |
\end{pspicture}\\ \hline |
| 95 |
[\RDD{object=point},args=1 2 2] \RDI{object=point}{pst-sol3d} & |
| 96 |
[\RDD{object=line},args=0 -1 0 1 2 2] \RDI{object=line}{pst-sol3d}& |
| 97 |
[\RDD{object=vecteur},args=1 2 2] \RDI{object=vecteur}{pst-sol3d} |
| 98 |
\\ \hline |
| 99 |
\end{tabular} |
| 100 |
\bigskip |
| 101 |
%------------------------- plan, grille, cube |
| 102 |
\psset{unit=.2cm} |
| 103 |
|
| 104 |
|
| 105 |
% \subsubsection{ plan} |
| 106 |
\SbSbSSCT{Plan}{Plane} |
| 107 |
|
| 108 |
\begin{tabular}{|c|c|} \hline |
| 109 |
\multicolumn{2}{|l|}{\BS{psSolid}[\RDD{object=plan},definition=equation,args=\Rnode*[fillcolor=yellow]{A}{\AC{[0 0 1 0]}},base=-2 2 -3 3] \RDI{object=plan}{pst-sol3d} } \\ |
| 110 |
\multicolumn{2}{|l|}{ } \\ |
| 111 |
\multicolumn{2}{|c|}{ \rnode{AA}{coeff de l'équation ax+by+cz+d = 0} } \\ \hline |
| 112 |
\begin{pspicture}(-12,-10)(12,10) |
| 113 |
\psframe(-12,-10)(12,10) |
| 114 |
\psSolid[object=plan,definition=equation,args={[0 0 1 0]},base=-2 2 -3 3] |
| 115 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 116 |
\end{pspicture} |
| 117 |
& |
| 118 |
\begin{pspicture}(-12,-10)(12,10) |
| 119 |
\psframe(-12,-10)(12,10) |
| 120 |
\psSolid[object=plan,definition=equation,args={[0 1 0 0]},base=-2 2 -3 3] |
| 121 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 122 |
\end{pspicture} |
| 123 |
\\ \hline |
| 124 |
args=\AC{[0 0 1 0]} & args=\AC{[0 1 0 0]} \\ \hline |
| 125 |
\end{tabular} |
| 126 |
\ncline[linecolor=blue]{A}{AA} |
| 127 |
\bigskip |
| 128 |
|
| 129 |
\begin{tabular}{|c|c|c|} \hline |
| 130 |
% \multicolumn{3}{|c|}{ \BS{psSolid}[object=cube,a=3,action=draw] } \\ \hline |
| 131 |
\begin{pspicture}(-10,-10)(10,10) |
| 132 |
\psframe(-10,-10)(10,10) |
| 133 |
%\axesIIID(1,1,1)(1,1,1) |
| 134 |
\psSolid[object=plan,definition=equation,args={[1 0 0 0]},base=-2 2 -3 3] |
| 135 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 136 |
\end{pspicture} |
| 137 |
& |
| 138 |
\begin{pspicture}(-10,-10)(10,10) |
| 139 |
\psframe(-10,-10)(10,10) |
| 140 |
%\axesIIID(1,1,1)(1,1,1) |
| 141 |
\psSolid[object=plan,definition=equation,args={[0 0 1 1]},base=-2 2 -3 3] |
| 142 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 143 |
\end{pspicture} |
| 144 |
& |
| 145 |
\begin{pspicture}(-10,-10)(10,10) |
| 146 |
\psframe(-10,-10)(10,10) |
| 147 |
%\axesIIID(1,1,1)(1,1,1) |
| 148 |
\psSolid[object=plan,definition=equation,args={[1 1 0 0]},base=-2 2 -3 3] |
| 149 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 150 |
\end{pspicture} |
| 151 |
\\ \hline |
| 152 |
args={[1 0 0 0]} & args={[0 0 1 1]} & args={[1 1 0 0]} \\ \hline |
| 153 |
\end{tabular} |
| 154 |
|
| 155 |
|
| 156 |
%------------------------------------------ |
| 157 |
|
| 158 |
%\subsubsection{grille} |
| 159 |
\SbSbSSCT{Grille}{Grid} |
| 160 |
|
| 161 |
\begin{tabular}{|c|c|c|} \hline |
| 162 |
\multicolumn{3}{|c|}{\BS{psSolid}[\RDD{object=grille},base=-2 2 -3 3] \RDI{object=grille}{pst-sol3d}} \\ \hline |
| 163 |
\begin{pspicture}(-12,-10)(12,10) |
| 164 |
\psframe(-12,-10)(12,10) |
| 165 |
\psSolid[object=grille,base=-2 2 -3 3] % grille |
| 166 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 167 |
\end{pspicture} |
| 168 |
& |
| 169 |
\begin{pspicture}(-12,-10)(12,10) |
| 170 |
\psframe(-12,-10)(12,10) |
| 171 |
\psSolid[object=grille,base=-2 2 -3 3,RotX=-90] % grille |
| 172 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 173 |
\end{pspicture} |
| 174 |
& |
| 175 |
\begin{pspicture}(-12,-10)(12,10) |
| 176 |
\psframe(-12,-10)(12,10) |
| 177 |
\psSolid[object=grille,base=-2 2 -3 3,RotY=90] % grille |
| 178 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 179 |
\end{pspicture} |
| 180 |
|
| 181 |
\\ \hline |
| 182 |
\dft & RotX=90 & RotY=90 \\ \hline |
| 183 |
\end{tabular} |
| 184 |
\bigskip |
| 185 |
|
| 186 |
%------------------------------------------------------------------------------ |
| 187 |
|
| 188 |
% |
| 189 |
%\begin{pspicture}(-10,-10)(10,10) |
| 190 |
% \psframe(-10,-10)(10,10) |
| 191 |
%%\axesIIID(1,1,1)(1,1,1) |
| 192 |
%\psSolid[object=cube,action=draw] %cube |
| 193 |
% \axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 194 |
%\end{pspicture} |
| 195 |
% |
| 196 |
%\begin{pspicture}(-10,-5)(10,15) |
| 197 |
% \psframe(-10,-5)(10,15) |
| 198 |
%\psSolid[object=cylindre,action=draw](0,0,0)% |
| 199 |
% \axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 200 |
%\end{pspicture} |
| 201 |
|
| 202 |
\subsubsection{cube} |
| 203 |
\begin{tabular}{|c|c|c|} \hline |
| 204 |
\multicolumn{3}{|c|}{ \BS{psSolid}[object=cube,a=3,action=draw] } \\ \hline |
| 205 |
\begin{pspicture}(-10,-10)(10,10) |
| 206 |
\psframe(-10,-10)(10,10) |
| 207 |
%\axesIIID(1,1,1)(1,1,1) |
| 208 |
\psSolid[object=cube,a=3,action=draw] %cube |
| 209 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 210 |
\end{pspicture} |
| 211 |
& |
| 212 |
\begin{pspicture}(-10,-10)(10,10) |
| 213 |
\psframe(-10,-10)(10,10) |
| 214 |
%\axesIIID(1,1,1)(1,1,1) |
| 215 |
\psSolid[object=cube,a=3,action=draw*] %cube |
| 216 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 217 |
\end{pspicture} |
| 218 |
& |
| 219 |
\begin{pspicture}(-10,-10)(10,10) |
| 220 |
\psframe(-10,-10)(10,10) |
| 221 |
%\axesIIID(1,1,1)(1,1,1) |
| 222 |
\psSolid[object=cube,a=3,action=draw**] %cube |
| 223 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 224 |
\end{pspicture} |
| 225 |
\\ \hline |
| 226 |
action=draw & action=draw* & action=draw**\\ \hline |
| 227 |
\end{tabular} |
| 228 |
\bigskip |
| 229 |
|
| 230 |
|
| 231 |
%\subsubsection{cylindre} |
| 232 |
\SbSbSSCT{Cylindre}{Cylinder} |
| 233 |
|
| 234 |
\begin{tabular}{|c|c|c|} \hline |
| 235 |
\multicolumn{3}{|c|}{ \BS{psSolid}[\RDD{object=cylindre},h=3,r=2,action=draw](0,0,0) \RDI{object=cylindre}{pst-sol3d} } \\ \hline |
| 236 |
\begin{pspicture}(-10,-5)(10,15) |
| 237 |
\psframe(-10,-5)(10,15) |
| 238 |
\psSolid[object=cylindre,h=3,r=2,action=draw](0,0,0)% |
| 239 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 240 |
\end{pspicture} |
| 241 |
& |
| 242 |
\begin{pspicture}(-10,-5)(10,15) |
| 243 |
\psframe(-10,-5)(10,15) |
| 244 |
\psSolid[object=cylindre,h=3,r=2,action=draw*](0,0,0)% |
| 245 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 246 |
\end{pspicture} |
| 247 |
& |
| 248 |
\begin{pspicture}(-10,-5)(10,15) |
| 249 |
\psframe(-10,-5)(10,15) |
| 250 |
\psSolid[object=cylindre,h=3,r=2,action=draw**](0,0,0)% |
| 251 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 252 |
\end{pspicture}\\ \hline |
| 253 |
action=draw & action=draw* & action=draw**\\ \hline |
| 254 |
\end{tabular} |
| 255 |
|
| 256 |
|
| 257 |
%\subsubsection{cylindrecreux} |
| 258 |
\SbSbSSCT{cylindre creux}{Tube} |
| 259 |
|
| 260 |
\begin{tabular}{|c|c|c|} \hline |
| 261 |
\multicolumn{3}{|c|}{ \BS{psSolid}[\RDD{object=cylindrecreux},h=3,r=2,action=draw](0,0,0) \RDI{object=cylindrecreux}{pst-sol3d} } \\ \hline |
| 262 |
\begin{pspicture}(-10,-5)(10,15) |
| 263 |
\psframe(-10,-5)(10,15) |
| 264 |
\psSolid[object=cylindrecreux,h=3,r=2,action=draw](0,0,0)% |
| 265 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 266 |
\end{pspicture} |
| 267 |
& |
| 268 |
\begin{pspicture}(-10,-5)(10,15) |
| 269 |
\psframe(-10,-5)(10,15) |
| 270 |
\psSolid[object=cylindrecreux,h=3,r=2,action=draw*](0,0,0)% |
| 271 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 272 |
\end{pspicture} |
| 273 |
& |
| 274 |
\begin{pspicture}(-10,-5)(10,15) |
| 275 |
\psframe(-10,-5)(10,15) |
| 276 |
\psSolid[object=cylindrecreux,h=3,r=2,action=draw**](0,0,0)% |
| 277 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 278 |
\end{pspicture}\\ \hline |
| 279 |
action=draw & action=draw* & action=draw**\\ \hline |
| 280 |
\end{tabular} |
| 281 |
|
| 282 |
|
| 283 |
%\subsubsection{cone} |
| 284 |
\SbSbSSCT{Cône}{Cone} |
| 285 |
|
| 286 |
\begin{tabular}{|c|c|c|} \hline |
| 287 |
\multicolumn{3}{|c|}{ \BS{psSolid}[\RDD{object=cone},h=3,r=2,action=draw] \RDI{object=cone}{pst-sol3d} } \\ \hline |
| 288 |
\begin{pspicture}(-10,-10)(10,10) |
| 289 |
\psframe(-10,-10)(10,10) |
| 290 |
\psSolid[object=cone,h=3,r=2,action=draw]% |
| 291 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 292 |
\end{pspicture} |
| 293 |
& |
| 294 |
\begin{pspicture}(-10,-10)(10,10) |
| 295 |
\psframe(-10,-10)(10,10) |
| 296 |
\psSolid[object=cone,h=3,r=2,action=draw*]% |
| 297 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 298 |
\end{pspicture} |
| 299 |
& |
| 300 |
\begin{pspicture}(-10,-10)(10,10) |
| 301 |
\psframe(-10,-10)(10,10) |
| 302 |
\psSolid[object=cone,h=3,r=2,action=draw**]% |
| 303 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 304 |
\end{pspicture}\\ \hline |
| 305 |
action=draw & action=draw* & action=draw**\\ \hline |
| 306 |
\end{tabular} |
| 307 |
|
| 308 |
\subsubsection{conecreux} |
| 309 |
\SbSbSSCT{Cône creux}{Empty cone} |
| 310 |
|
| 311 |
\begin{tabular}{|c|c|c|} \hline |
| 312 |
\multicolumn{3}{|c|}{ \BS{psSolid}[\RDD{object=conecreux},h=4,r=2,action=draw] \RDI{object=conecreux}{pst-sol3d} } \\ \hline |
| 313 |
\begin{pspicture}(-10,-10)(10,10) |
| 314 |
\psframe(-10,-10)(10,10) |
| 315 |
\psSolid[object=conecreux,h=4,r=2,action=draw]% |
| 316 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 317 |
\end{pspicture} |
| 318 |
& |
| 319 |
\begin{pspicture}(-10,-10)(10,10) |
| 320 |
\psframe(-10,-10)(10,10) |
| 321 |
\psSolid[object=conecreux,h=4,r=2,action=draw*]% |
| 322 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 323 |
\end{pspicture} |
| 324 |
& |
| 325 |
\begin{pspicture}(-10,-10)(10,10) |
| 326 |
\psframe(-10,-10)(10,10) |
| 327 |
\psSolid[object=conecreux,h=4,r=2,action=draw**]% |
| 328 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 329 |
\end{pspicture}\\ \hline |
| 330 |
action=draw & action=draw* & action=draw**\\ \hline |
| 331 |
\end{tabular} |
| 332 |
\bigskip |
| 333 |
|
| 334 |
%\subsubsection{tronccone} |
| 335 |
\SbSbSSCT{Tronc de cône}{Truncated cone} |
| 336 |
|
| 337 |
\begin{tabular}{|c|c|c|} \hline |
| 338 |
\multicolumn{3}{|c|}{ \BS{psSolid}[\RDD{object=tronccone},r0=2,r1=1,h=4,action=draw] \RDI{object=troncone}{pst-sol3d} } \\ \hline |
| 339 |
\begin{pspicture}(-10,-5)(10,15) |
| 340 |
\psframe(-10,-5)(10,15) |
| 341 |
\psSolid[object=tronccone,r0=2,r1=1,h=4,action=draw]% |
| 342 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 343 |
\end{pspicture} |
| 344 |
& |
| 345 |
\begin{pspicture}(-10,-5)(10,15) |
| 346 |
\psframe(-10,-5)(10,15) |
| 347 |
\psSolid[object=tronccone,r0=2,r1=1,h=4,action=draw*]% |
| 348 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 349 |
\end{pspicture} |
| 350 |
& |
| 351 |
\begin{pspicture}(-10,-5)(10,15) |
| 352 |
\psframe(-10,-5)(10,15) |
| 353 |
\psSolid[object=tronccone,r0=2,r1=1,h=4,action=draw**]% |
| 354 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 355 |
\end{pspicture}\\ \hline |
| 356 |
action=draw & action=draw* & action=draw**\\ \hline |
| 357 |
\end{tabular} |
| 358 |
|
| 359 |
%\subsubsection{troncconecreux} |
| 360 |
\SbSbSSCT{Tronc de cône creux creux}{Empty truncated cone} |
| 361 |
|
| 362 |
\begin{tabular}{|c|c|c|} \hline |
| 363 |
\multicolumn{3}{|c|}{ \BS{psSolid}[\RDD{object=troncconecreux},r0=2,r1=1,h=4,action=draw] \RDI{object=tronconecreux}{pst-sol3d} } \\ \hline |
| 364 |
\begin{pspicture}(-10,-5)(10,15) |
| 365 |
\psframe(-10,-5)(10,15) |
| 366 |
\psSolid[object=troncconecreux,r0=2,r1=1,h=4,action=draw]% |
| 367 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 368 |
\end{pspicture} |
| 369 |
& |
| 370 |
\begin{pspicture}(-10,-5)(10,15) |
| 371 |
\psframe(-10,-5)(10,15) |
| 372 |
\psSolid[object=troncconecreux,r0=2,r1=1,h=4,action=draw*]% |
| 373 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 374 |
\end{pspicture} |
| 375 |
& |
| 376 |
\begin{pspicture}(-10,-5)(10,15) |
| 377 |
\psframe(-10,-5)(10,15) |
| 378 |
\psSolid[object=troncconecreux,r0=2,r1=1,h=4,action=draw**]% |
| 379 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 380 |
\end{pspicture}\\ \hline |
| 381 |
action=draw & action=draw* & action=draw**\\ \hline |
| 382 |
\end{tabular} |
| 383 |
\bigskip |
| 384 |
|
| 385 |
\subsubsection{sphere} |
| 386 |
|
| 387 |
|
| 388 |
\begin{tabular}{|c|c|c|} \hline |
| 389 |
\multicolumn{3}{|c|}{ \BS{psSolid}[\RDD{object=sphere},r=1,action=draw] \RDI{object=sphere}{pst-sol3d} } \\ \hline |
| 390 |
\begin{pspicture}(-10,-10)(10,10) |
| 391 |
\psframe(-10,-10)(10,10) |
| 392 |
\psSolid[object=sphere,r=3,action=draw]% |
| 393 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 394 |
\end{pspicture} |
| 395 |
& |
| 396 |
\begin{pspicture}(-10,-10)(10,10) |
| 397 |
\psframe(-10,-10)(10,10) |
| 398 |
\psSolid[object=sphere,r=3,action=draw*]% |
| 399 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 400 |
\end{pspicture} |
| 401 |
& |
| 402 |
\begin{pspicture}(-10,-10)(10,10) |
| 403 |
\psframe(-10,-10)(10,10) |
| 404 |
\psSolid[object=sphere,r=3,action=draw**]% |
| 405 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 406 |
\end{pspicture}\\ \hline |
| 407 |
action=draw & action=draw* & action=draw**\\ \hline |
| 408 |
\end{tabular} |
| 409 |
\bigskip |
| 410 |
|
| 411 |
%\subsubsection{calottesphere} |
| 412 |
\SbSbSSCT{Calotte sphérique}{Spherical cup} |
| 413 |
|
| 414 |
\begin{tabular}{|c|c|c|} \hline |
| 415 |
\multicolumn{3}{|c|}{ \BS{psSolid}[\RDD{object=calottesphere},r=3,action=draw] \RDI{object=calottesphere}{pst-sol3d} } \\ \hline |
| 416 |
\begin{pspicture}(-10,-10)(10,10) |
| 417 |
\psframe(-10,-10)(10,10) |
| 418 |
\psSolid[object=calottesphere,r=3,action=draw]% |
| 419 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 420 |
\end{pspicture} |
| 421 |
& |
| 422 |
\begin{pspicture}(-10,-10)(10,10) |
| 423 |
\psframe(-10,-10)(10,10) |
| 424 |
\psSolid[object=calottesphere,r=3,action=draw*]% |
| 425 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) \axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 426 |
\end{pspicture} |
| 427 |
& |
| 428 |
\begin{pspicture}(-10,-10)(10,10) |
| 429 |
\psframe(-10,-10)(10,10) |
| 430 |
\psSolid[object=calottesphere,r=3,action=draw**]% |
| 431 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 432 |
\end{pspicture}\\ \hline |
| 433 |
action=draw & action=draw* & action=draw**\\ \hline |
| 434 |
\end{tabular} |
| 435 |
|
| 436 |
%\subsubsection{calottespherecreuse} |
| 437 |
\SbSbSSCT{calotte spherique creuse}{empty spherical cup} |
| 438 |
|
| 439 |
\begin{tabular}{|c|c|c|} \hline |
| 440 |
\multicolumn{3}{|c|}{ \BS{psSolid}[\RDD{object=calottespherecreuse},r=3,action=draw] \RDI{object=calottespherecreuse}{pst-sol3d} } \\ \hline |
| 441 |
\begin{pspicture}(-10,-10)(10,10) |
| 442 |
\psframe(-10,-10)(10,10) |
| 443 |
\psSolid[object=calottespherecreuse,r=3,action=draw]% |
| 444 |
\end{pspicture} |
| 445 |
& |
| 446 |
\begin{pspicture}(-10,-10)(10,10) |
| 447 |
\psframe(-10,-10)(10,10) |
| 448 |
\psSolid[object=calottespherecreuse,r=3,action=draw*]% |
| 449 |
\end{pspicture} |
| 450 |
& |
| 451 |
\begin{pspicture}(-10,-10)(10,10) |
| 452 |
\psframe(-10,-10)(10,10) |
| 453 |
\psSolid[object=calottespherecreuse,r=3,action=draw**]% |
| 454 |
\end{pspicture}\\ \hline |
| 455 |
action=draw & action=draw* & action=draw**\\ \hline |
| 456 |
\end{tabular} |
| 457 |
|
| 458 |
%\subsubsection{tore} |
| 459 |
\SbSbSSCT{Tore}{Torus} |
| 460 |
|
| 461 |
\begin{tabular}{|c|c|c|} \hline |
| 462 |
\multicolumn{3}{|c|}{ \BS{psSolid}[r1=2,r0=1, \RDD{object=tore},ngrid=18 36,action=draw] \RDI{object=tore}{pst-sol3d} } \\ \hline |
| 463 |
\begin{pspicture}(-10,-10)(10,10) |
| 464 |
\psframe(-10,-10)(10,10) |
| 465 |
\psSolid[r1=2,r0=1,object=tore,ngrid=18 36,action=draw]% |
| 466 |
\end{pspicture} |
| 467 |
& |
| 468 |
\begin{pspicture}(-10,-10)(10,10) |
| 469 |
\psframe(-10,-10)(10,10) |
| 470 |
\psSolid[r1=2,r0=1,object=tore,ngrid=18 36,action=draw*]% |
| 471 |
\end{pspicture} |
| 472 |
& |
| 473 |
\begin{pspicture}(-10,-10)(10,10) |
| 474 |
\psframe(-10,-10)(10,10) |
| 475 |
\psSolid[r1=2,r0=1,object=tore,ngrid=18 36,action=draw**]% |
| 476 |
\end{pspicture}\\ \hline |
| 477 |
action=draw & action=draw* & action=draw**\\ \hline |
| 478 |
\end{tabular} |
| 479 |
\bigskip |
| 480 |
|
| 481 |
%\subsubsection{anneau} |
| 482 |
\SbSbSSCT{Anneau}{Ring} |
| 483 |
|
| 484 |
\begin{tabular}{|c|c|c|} \hline |
| 485 |
\multicolumn{3}{|c|}{ \BS{psSolid}[\RDD{object=anneau},h=1,R=2,r=1,action=draw] \RDI{object=anneau}{pst-sol3d} } \\ \hline |
| 486 |
\begin{pspicture}(-10,-10)(10,10) |
| 487 |
\psframe(-10,-10)(10,10) |
| 488 |
\psSolid[object=anneau,h=1,R=2,r=1,action=draw]% |
| 489 |
\end{pspicture} |
| 490 |
& |
| 491 |
\begin{pspicture}(-10,-10)(10,10) |
| 492 |
\psframe(-10,-10)(10,10) |
| 493 |
\psSolid[object=anneau,h=1,R=2,r=1,action=draw*]% |
| 494 |
\end{pspicture} |
| 495 |
& |
| 496 |
\begin{pspicture}(-10,-10)(10,10) |
| 497 |
\psframe(-10,-10)(10,10) |
| 498 |
\psSolid[object=anneau,h=1,R=2,r=1,action=draw**]% |
| 499 |
\end{pspicture}\\ \hline |
| 500 |
action=draw & action=draw* & action=draw**\\ \hline |
| 501 |
\end{tabular} |
| 502 |
\bigskip |
| 503 |
%------------------------------ |
| 504 |
|
| 505 |
%\subsubsection{ conecreux,tronccone, troncconecreux} |
| 506 |
%\begin{tabular}{|c|c|c|} \hline |
| 507 |
%\begin{pspicture}(-10,-5)(10,15) |
| 508 |
% \psframe(-10,-5)(10,15) |
| 509 |
%\axesIIID(1,1,1)(1,1,1) |
| 510 |
%\psSolid[object=conecreux,h=3,r=2,RotY=-60,mode=4] % conecreux |
| 511 |
%\end{pspicture} |
| 512 |
% & |
| 513 |
%\begin{pspicture}(-10,-5)(10,15) |
| 514 |
% \psframe(-10,-5)(10,15) |
| 515 |
% \axesIIID(1,1,1)(1,1,1) |
| 516 |
%\psSolid[object=tronccone,r0=2,r1=1,h=3,mode=4] % tronccone |
| 517 |
%\end{pspicture} |
| 518 |
%& |
| 519 |
%\begin{pspicture}(-10,-5)(10,15) |
| 520 |
% \psframe(-10,-5)(10,15) |
| 521 |
% \axesIIID(1,1,1)(1,1,1) |
| 522 |
%\psSolid[object=tetrahedron,r=3,action=draw**]% |
| 523 |
%\end{pspicture} |
| 524 |
%\\ \hline |
| 525 |
%\end{tabular} |
| 526 |
|
| 527 |
\subsubsection{tetrahedron} |
| 528 |
|
| 529 |
\begin{tabular}{|c|c|c|} \hline |
| 530 |
\multicolumn{3}{|c|}{ \BS{psSolid}[object=tetrahedron,r=1,RotZ=30,action=draw] } \\ \hline |
| 531 |
\begin{pspicture}(-10,-10)(10,10) |
| 532 |
\psframe(-10,-10)(10,10) |
| 533 |
%\axesIIID(1,1,1)(1,1,1) |
| 534 |
\psSolid[object=tetrahedron,r=3,action=draw,RotZ=30]% |
| 535 |
\end{pspicture} |
| 536 |
& |
| 537 |
\begin{pspicture}(-10,-10)(10,10) |
| 538 |
\psframe(-10,-10)(10,10) |
| 539 |
% \axesIIID(1,1,1)(1,1,1) |
| 540 |
\psSolid[object=tetrahedron,r=3,action=draw*,RotZ=30]% |
| 541 |
\end{pspicture} |
| 542 |
& |
| 543 |
\begin{pspicture}(-10,-10)(10,10) |
| 544 |
\psframe(-10,-10)(10,10) |
| 545 |
% \axesIIID(1,1,1)(1,1,1) |
| 546 |
\psSolid[object=tetrahedron,r=3,action=draw**,RotZ=30]% |
| 547 |
\end{pspicture}\\ \hline |
| 548 |
action=draw & action=draw* & action=draw**\\ \hline |
| 549 |
|
| 550 |
\end{tabular} |
| 551 |
|
| 552 |
|
| 553 |
%------------ sphere, calottesphere, calottespherecreuse |
| 554 |
|
| 555 |
|
| 556 |
|
| 557 |
|
| 558 |
|
| 559 |
|
| 560 |
|
| 561 |
|
| 562 |
|
| 563 |
\subsubsection{parallelepiped} |
| 564 |
|
| 565 |
\begin{tabular}{|c|c|c|} \hline |
| 566 |
\multicolumn{3}{|c|}{ \BS{psSolid}[\RDD{object=parallelepiped},a=1,b=2,c=3,action=draw] \RDI{object=parallelepiped}{pst-sol3d} } \\ \hline |
| 567 |
\begin{pspicture}(-10,-10)(10,10) |
| 568 |
\psframe(-10,-10)(10,10) |
| 569 |
\psSolid[object=parallelepiped,a=1,b=2,c=3,action=draw]% |
| 570 |
\end{pspicture} |
| 571 |
& |
| 572 |
\begin{pspicture}(-10,-10)(10,10) |
| 573 |
\psframe(-10,-10)(10,10) |
| 574 |
\psSolid[object=parallelepiped,a=1,b=2,c=3,action=draw*]% |
| 575 |
\end{pspicture} |
| 576 |
& |
| 577 |
\begin{pspicture}(-10,-10)(10,10) |
| 578 |
\psframe(-10,-10)(10,10) |
| 579 |
\psSolid[object=parallelepiped,a=1,b=2,c=3,action=draw**]% |
| 580 |
\end{pspicture}\\ \hline |
| 581 |
action=draw & action=draw* & action=draw**\\ \hline |
| 582 |
\end{tabular} |
| 583 |
\bigskip |
| 584 |
|
| 585 |
\subsubsection{octahedron} |
| 586 |
\begin{tabular}{|c|c|c|} \hline |
| 587 |
\multicolumn{3}{|c|}{ \BS{psSolid}[\RDD{object=octahedron},a=30,action=draw] \RDI{object=octahedron}{pst-sol3d} } \\ \hline |
| 588 |
\begin{pspicture}(-10,-10)(10,10) |
| 589 |
\psframe(-10,-10)(10,10) |
| 590 |
\psSolid[object=octahedron,a=3,action=draw]% |
| 591 |
\end{pspicture} |
| 592 |
& |
| 593 |
\begin{pspicture}(-10,-10)(10,10) |
| 594 |
\psframe(-10,-10)(10,10) |
| 595 |
\psSolid[object=octahedron,a=3,action=draw*]% |
| 596 |
\end{pspicture} |
| 597 |
& |
| 598 |
\begin{pspicture}(-10,-10)(10,10) |
| 599 |
\psframe(-10,-10)(10,10) |
| 600 |
\psSolid[object=octahedron,a=3,action=draw**]% |
| 601 |
\end{pspicture}\\ \hline |
| 602 |
action=draw & action=draw* & action=draw**\\ \hline |
| 603 |
\end{tabular} |
| 604 |
\bigskip |
| 605 |
|
| 606 |
\subsubsection{dodecahedron} |
| 607 |
|
| 608 |
\begin{tabular}{|c|c|c|} \hline |
| 609 |
\multicolumn{3}{|c|}{ \BS{psSolid}[\RDD{object=dodecahedron},a=2.5,RotZ=90,action=draw] \RDI{object=dodecahedron}{pst-sol3d} } \\ \hline |
| 610 |
\begin{pspicture}(-10,-10)(10,10) |
| 611 |
\psframe(-10,-10)(10,10) |
| 612 |
\psSolid[object=dodecahedron,a=2.5,RotZ=90,action=draw]% |
| 613 |
\end{pspicture} |
| 614 |
& |
| 615 |
\begin{pspicture}(-10,-10)(10,10) |
| 616 |
\psframe(-10,-10)(10,10) |
| 617 |
\psSolid[object=dodecahedron,a=2.5,RotZ=90,action=draw*]% |
| 618 |
\end{pspicture} |
| 619 |
& |
| 620 |
\begin{pspicture}(-10,-10)(10,10) |
| 621 |
\psframe(-10,-10)(10,10) |
| 622 |
\psSolid[object=dodecahedron,a=2.5,RotZ=90,action=draw**]% |
| 623 |
\end{pspicture}\\ \hline |
| 624 |
action=draw & action=draw* & action=draw**\\ \hline |
| 625 |
\end{tabular} |
| 626 |
\bigskip |
| 627 |
|
| 628 |
\subsubsection{icosahedron} |
| 629 |
\begin{tabular}{|c|c|c|} \hline |
| 630 |
\multicolumn{3}{|c|}{ \BS{psSolid}[\RDD{object=icosahedron},a=3,action=draw] \RDI{object=icosahedron}{pst-sol3d} } \\ \hline |
| 631 |
\begin{pspicture}(-10,-10)(10,10) |
| 632 |
\psframe(-10,-10)(10,10) |
| 633 |
\psSolid[object=icosahedron,a=3,action=draw]% |
| 634 |
\end{pspicture} |
| 635 |
& |
| 636 |
\begin{pspicture}(-10,-10)(10,10) |
| 637 |
\psframe(-10,-10)(10,10) |
| 638 |
\psSolid[object=icosahedron,a=3,action=draw*]% |
| 639 |
\end{pspicture} |
| 640 |
& |
| 641 |
\begin{pspicture}(-10,-10)(10,10) |
| 642 |
\psframe(-10,-10)(10,10) |
| 643 |
|
| 644 |
\psSolid[object=icosahedron,a=3,action=draw**]% |
| 645 |
\end{pspicture}\\ \hline |
| 646 |
action=draw & action=draw* & action=draw**\\ \hline |
| 647 |
\end{tabular} |
| 648 |
\bigskip |
| 649 |
|
| 650 |
|
| 651 |
%\subsubsection{prisme} |
| 652 |
\SbSbSSCT{Prisme}{prism} |
| 653 |
|
| 654 |
\begin{tabular}{|c|c|c|} \hline |
| 655 |
\multicolumn{3}{|c|}{ \BS{psSolid}[\RDD{object=prisme},action=draw,h=4] \RDI{object=prisme}{pst-sol3d} } \\ \hline |
| 656 |
\begin{pspicture}(-10,-5)(10,10) |
| 657 |
\psframe(-10,-5)(10,10) |
| 658 |
\psSolid[object=prisme,action=draw,h=2]% |
| 659 |
\end{pspicture} |
| 660 |
& |
| 661 |
\begin{pspicture}(-10,-5)(10,10) |
| 662 |
\psframe(-10,-5)(10,10) |
| 663 |
\psSolid[object=prisme,action=draw*,h=2]% |
| 664 |
\end{pspicture} |
| 665 |
& |
| 666 |
\begin{pspicture}(-10,-5)(10,10) |
| 667 |
\psframe(-10,-5)(10,10) |
| 668 |
\psSolid[object=prisme,action=draw**,h=2]% |
| 669 |
\end{pspicture}\\ \hline |
| 670 |
action=draw & action=draw* & action=draw**\\ \hline |
| 671 |
\end{tabular} |
| 672 |
|
| 673 |
%\subsubsection{prismecreux} |
| 674 |
\SbSbSSCT{Prisme creux}{Empty prism} |
| 675 |
|
| 676 |
\begin{tabular}{|c|c|c|} \hline |
| 677 |
\multicolumn{3}{|c|}{ \BS{psSolid}[\RDD{object=prismecreux},action=draw,h=4] \RDI{object=prismecreux}{pst-sol3d} } \\ \hline |
| 678 |
\begin{pspicture}(-10,-5)(10,10) |
| 679 |
\psframe(-10,-5)(10,10) |
| 680 |
\psSolid[object=prismecreux,action=draw,h=2]% |
| 681 |
\end{pspicture} |
| 682 |
& |
| 683 |
\begin{pspicture}(-10,-5)(10,10) |
| 684 |
\psframe(-10,-5)(10,10) |
| 685 |
\psSolid[object=prismecreux,action=draw*,h=2]% |
| 686 |
\end{pspicture} |
| 687 |
& |
| 688 |
\begin{pspicture}(-10,-5)(10,10) |
| 689 |
\psframe(-10,-5)(10,10) |
| 690 |
\psSolid[object=prismecreux,action=draw**,h=2]% |
| 691 |
\end{pspicture}\\ \hline |
| 692 |
action=draw & action=draw* & action=draw**\\ \hline |
| 693 |
\end{tabular} |
| 694 |
\bigskip |
| 695 |
|
| 696 |
\subsubsection{face,ruban} |
| 697 |
|
| 698 |
\begin{tabular}{|c|c|c|} \hline |
| 699 |
\begin{pspicture}(-10,-10)(10,10) |
| 700 |
\psframe(-10,-10)(10,10) |
| 701 |
\psSolid[object=face,fillcolor=yellow,incolor=blue,base=0 0 3 0 1.5 3](0,1,0) |
| 702 |
\end{pspicture} |
| 703 |
& |
| 704 |
\begin{pspicture}(-10,-10)(10,10) |
| 705 |
\psframe(-10,-10)(10,10) |
| 706 |
\psSolid[object=ruban,h=3,base=0 0 2 2 4 0 6 2,num=0 1 2 3,show=0 1 2 3,ngrid=3]) |
| 707 |
\end{pspicture} |
| 708 |
& |
| 709 |
\begin{pspicture}(-10,-10)(10,10) |
| 710 |
\psframe(-10,-10)(10,10) |
| 711 |
\axesIIID(1,1,1)(4,7,4) |
| 712 |
\psSolid[object=ruban,h=3,base=0 0 2 2 4 0 6 2]) |
| 713 |
\end{pspicture} |
| 714 |
\\ \hline |
| 715 |
\end{tabular} |
| 716 |
|
| 717 |
%============================================== A VOIR ======================================== |
| 718 |
|
| 719 |
%\newpage |
| 720 |
% |
| 721 |
%\begin{pspicture}(-10,-10)(10,10) |
| 722 |
% \psframe(-10,-10)(10,10) |
| 723 |
%\psSurface[ngrid=.25 .25,incolor=white,axesboxed](-4,-4)(4,4){x dup mul y dup mul 3 mul sub x mul 32 div} |
| 724 |
%\end{pspicture} |
| 725 |
% |
| 726 |
%\newpage |
| 727 |
% |
| 728 |
%\begin{pspicture}(-10,-10)(10,10) |
| 729 |
%\psframe(-10,-10)(10,10) |
| 730 |
%\psSolid[object=new,action=draw,sommets= |
| 731 |
%-3 0 0 |
| 732 |
%3 0 0 |
| 733 |
%0 -3 0 |
| 734 |
%0 3 0 |
| 735 |
%0 0 -3 |
| 736 |
%0 0 3 , |
| 737 |
%faces={ |
| 738 |
%[0 2 1 3] |
| 739 |
%[0 4 1 5]}]% |
| 740 |
%\end{pspicture} |
| 741 |
% |
| 742 |
%\begin{pspicture}(-10,-10)(10,10) |
| 743 |
%\psframe(-10,-10)(10,10) |
| 744 |
%\psSolid[object=new,action=draw,sommets= |
| 745 |
%-3 0 0 |
| 746 |
%3 0 0 |
| 747 |
%0 -3 0 |
| 748 |
%0 3 0 |
| 749 |
%0 0 -3 |
| 750 |
%0 0 3 , |
| 751 |
%faces={ |
| 752 |
%[0 2 1 3] |
| 753 |
%[0 4 1 5]} |
| 754 |
%,show=all,num=all |
| 755 |
%]% |
| 756 |
%\end{pspicture} |
| 757 |
%\newpage |
| 758 |
% |
| 759 |
%\begin{pspicture}(-10,-10)(10,10) |
| 760 |
%\psframe(-10,-10)(10,10) |
| 761 |
%\psSolid[object=new,action=draw,sommets= |
| 762 |
%2 4 3 |
| 763 |
%-2 4 3 |
| 764 |
%-2 -4 3 |
| 765 |
%2 -4 3 |
| 766 |
%2 4 0 |
| 767 |
%-2 4 0 |
| 768 |
%-2 -4 0 |
| 769 |
%2 -4 0 |
| 770 |
%0 4 5 |
| 771 |
%0 -4 5, |
| 772 |
%faces={ |
| 773 |
%[0 1 2 3] |
| 774 |
%[7 6 5 4] |
| 775 |
%[0 3 7 4] |
| 776 |
%[3 9 2] |
| 777 |
%[1 8 0] |
| 778 |
%[8 9 3 0] |
| 779 |
%[9 8 1 2] |
| 780 |
%[6 7 3 2] |
| 781 |
%[2 1 5 6]}]% |
| 782 |
%\end{pspicture} |
| 783 |
% |
| 784 |
%\newpage |
| 785 |
%\begin{pspicture}(-10,-10)(10,10) |
| 786 |
%\psframe(-10,-10)(10,10) |
| 787 |
%\defFunction[algebraic]{helice}(t){3*cos(4*t)}{3*sin(4*t)}{t} |
| 788 |
%\psSolid[object=courbe,r=0,range=0 6,linecolor=blue,linewidth=0.1,resolution=360,function=helice,fillcolor=red] |
| 789 |
%\end{pspicture} |
| 790 |
%% |
| 791 |
% |
| 792 |
% |
| 793 |
%\newpage |
| 794 |
%\psset{unit=1cm} |
| 795 |
% |
| 796 |
% |
| 797 |
% |
| 798 |
%\begin{pspicture}(-2,-2)(3,3) |
| 799 |
%\psframe(-2cm,-2cm)(3cm,3cm) |
| 800 |
%\psset{viewpoint=100 30 20,Decran=100} |
| 801 |
%\psSolid[object=cube,a=2,action=draw*, fillcolor=magenta!20] |
| 802 |
%\axesIIID[showOrigin=false](1,1,1)(3,2,2.5) |
| 803 |
%\end{pspicture} |
| 804 |
%\newpage |
| 805 |
\subsection{Mode} |
| 806 |
|
| 807 |
\begin{tabular}{|c|c|c|c|} \hline |
| 808 |
\multicolumn{4}{|c|}{ \BS{psSolid}[object=cylindre,h=3,r=1.5,\RDD{mode}=1](0,0,0) \RDI{mode}{pst-sol3d} } \\ \hline |
| 809 |
\begin{pspicture}(-7,-5)(7,15) |
| 810 |
% \psframe(-7,-5)(7,15) |
| 811 |
\psSolid[object=cylindre,h=3,r=1.5,mode=1](0,0,0)% |
| 812 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 813 |
\end{pspicture} |
| 814 |
& |
| 815 |
\begin{pspicture}(-7,-5)(7,15) |
| 816 |
% \psframe(-7,-5)(7,15) |
| 817 |
\psSolid[object=cylindre,h=3,r=1.5,mode=2](0,0,0)% |
| 818 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 819 |
\end{pspicture} |
| 820 |
& |
| 821 |
\begin{pspicture}(-7,-5)(7,15) |
| 822 |
% \psframe(-7,-5)(7,15) |
| 823 |
\psSolid[object=cylindre,h=3,r=1.5,mode=3](0,0,0)% |
| 824 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 825 |
\end{pspicture} |
| 826 |
& |
| 827 |
\begin{pspicture}(-7,-5)(7,15) |
| 828 |
% \psframe(-7,-5)(7,15) |
| 829 |
\psSolid[object=cylindre,h=3,r=1.5,mode=4](0,0,0)% |
| 830 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 831 |
\end{pspicture}\\ \hline |
| 832 |
mode=1 & mode=2 & mode=3 & mode=4\\ \hline |
| 833 |
\end{tabular} |
| 834 |
%------------------------------------------------- |
| 835 |
|
| 836 |
\subsubsection{Options} |
| 837 |
|
| 838 |
\begin{tabular}{|c|c|c|} \hline |
| 839 |
\multicolumn{3}{|c|}{ \BS{psSolid}[object=cube,a=3,action=draw*,\RDD{trunc}=all,RotZ=30] \RDI{trunc}{pst-sol3d} } \\ \hline |
| 840 |
\begin{pspicture}(-10,-10)(10,10) |
| 841 |
\psSolid[object=cube,a=3,action=draw*,trunc=all,RotZ=30] %cube |
| 842 |
\end{pspicture} |
| 843 |
& |
| 844 |
\begin{pspicture}(-10,-10)(10,10) |
| 845 |
\psSolid[object=cube,a=3,action=draw*,trunc=0 2 4,RotZ=30] %cube |
| 846 |
\end{pspicture} |
| 847 |
& |
| 848 |
\begin{pspicture}(-10,-10)(10,10) |
| 849 |
\psSolid[object=cube,a=3,action=draw*,trunccoeff=.5,trunc=all,RotZ=30] %cube |
| 850 |
\end{pspicture} |
| 851 |
\\ \hline |
| 852 |
\RDD{trunc}=all & \RDD{trunc}=0 2 4 & \RDD{trunccoeff}=.5 \RDI{trunccoeff}{pst-sol3d}\\ \hline |
| 853 |
\end{tabular} |
| 854 |
|
| 855 |
\bigskip |
| 856 |
|
| 857 |
\begin{tabular}{|c|c|c|} \hline |
| 858 |
\multicolumn{3}{|c|}{ \BS{psSolid}[object=cube,a=3,action=draw,\RDD{chanfrein},RotZ=30] \RDI{chanfrein}{pst-sol3d}} \\ \hline |
| 859 |
\begin{pspicture}(-10,-10)(10,10) |
| 860 |
\psSolid[object=cube,a=3,action=draw*,chanfrein,RotZ=30] %cube |
| 861 |
\end{pspicture} |
| 862 |
& |
| 863 |
\begin{pspicture}(-10,-10)(10,10) |
| 864 |
\psSolid[object=cube,a=3,action=draw*,chanfrein,chanfreincoeff=.2,RotZ=30] %cube |
| 865 |
\end{pspicture} |
| 866 |
& |
| 867 |
\begin{pspicture}(-10,-10)(10,10) |
| 868 |
\psSolid[object=cube,a=3,action=draw*,chanfreincoeff=.5,chanfrein,RotZ=30] %cube |
| 869 |
\end{pspicture} |
| 870 |
\\ \hline |
| 871 |
\RDD{chanfrein} & chanfrein,\RDD{chanfreincoeff}=.2 \RDI{chanfreincoeff}{pst-sol3d} & chanfrein,\RDD{chanfreincoeff}=.5 \\ \hline |
| 872 |
\end{tabular} |
| 873 |
\bigskip |
| 874 |
|
| 875 |
\bigskip |
| 876 |
|
| 877 |
\begin{tabular}{|c|c|c|} \hline |
| 878 |
\multicolumn{3}{|c|}{ \BS{psSolid}[object=cube,a=3,action=draw**,hollow,affinage=0,RotZ=30] } \\ \hline |
| 879 |
\begin{pspicture}(-10,-10)(10,10) |
| 880 |
\psSolid[object=cube,a=3,action=draw**,hollow,affinage=0,RotZ=30] %cube |
| 881 |
\end{pspicture} |
| 882 |
& |
| 883 |
\begin{pspicture}(-10,-10)(10,10) |
| 884 |
\psSolid[object=cube,a=3,action=draw**,hollow,affinage=3 4,RotZ=30,] %cube |
| 885 |
\end{pspicture} |
| 886 |
& |
| 887 |
\begin{pspicture}(-10,-10)(10,10) |
| 888 |
\psSolid[object=cube,a=3,action=draw**,hollow,affinage=all,RotZ=30,] %cube |
| 889 |
\end{pspicture} |
| 890 |
\\ \hline |
| 891 |
\RDD{hollow} \RDI{hollow}{pst-sol3d},\RDD{affinage}=3 \RDI{affinage}{pst-sol3d}& \RDD{hollow},,\RDD{affinage}=3 4 & \RDD{hollow},\RDD{affinage}=all \\ \hline |
| 892 |
\end{tabular} |
| 893 |
\bigskip |
| 894 |
|
| 895 |
%======================================================================== |
| 896 |
\subsection{Positionnement} |
| 897 |
\psset{unit=.25cm} |
| 898 |
|
| 899 |
\begin{tabular}{|c|c|c|} \hline |
| 900 |
\multicolumn{3}{|c|}{ \BS{psSolid}[\RDD{object=parallelepiped},a=1,b=2,c=3,action=draw](1 0 0) \RDI{object=parallelepiped}{pst-sol3d}} \\ \hline |
| 901 |
\begin{pspicture}(-10,-10)(10,10) |
| 902 |
\psframe(-10,-10)(10,10) |
| 903 |
\psSolid[object=parallelepiped,a=1,b=2,c=3,action=draw,linestyle=dotted]% |
| 904 |
\psSolid[object=parallelepiped,a=1,b=2,c=3,action=draw](1 0 0)% |
| 905 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 906 |
\end{pspicture} |
| 907 |
& |
| 908 |
\begin{pspicture}(-10,-10)(10,10) |
| 909 |
\psframe(-10,-10)(10,10) |
| 910 |
\psSolid[object=parallelepiped,a=1,b=2,c=3,action=draw,linestyle=dotted]% |
| 911 |
\psSolid[object=parallelepiped,a=1,b=2,c=3,action=draw](0 1 0)% |
| 912 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 913 |
\end{pspicture} |
| 914 |
& |
| 915 |
\begin{pspicture}(-10,-10)(10,10) |
| 916 |
\psframe(-10,-10)(10,10) |
| 917 |
\psSolid[object=parallelepiped,a=1,b=2,c=3,action=draw,linestyle=dotted]% |
| 918 |
\psSolid[object=parallelepiped,a=1,b=2,c=3,action=draw](0 0 1)% |
| 919 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 920 |
\end{pspicture}\\ \hline |
| 921 |
(1 0 0) & (0 1 0) & (0 0 1)\\ \hline |
| 922 |
\end{tabular} |
| 923 |
\bigskip |
| 924 |
|
| 925 |
\begin{tabular}{|c|c|c|} \hline |
| 926 |
\multicolumn{3}{|c|}{ \BS{psSolid}[\RDD{object=parallelepiped},a=1,b=2,c=3,action=draw] } \\ \hline |
| 927 |
\begin{pspicture}(-10,-10)(10,10) |
| 928 |
\psframe(-10,-10)(10,10) |
| 929 |
\psSolid[object=parallelepiped,a=1,b=2,c=3,action=draw,linestyle=dotted]% |
| 930 |
\psSolid[object=parallelepiped,a=1,b=2,c=3,action=draw,RotX=30]% |
| 931 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 932 |
\end{pspicture} |
| 933 |
& |
| 934 |
\begin{pspicture}(-10,-10)(10,10) |
| 935 |
\psframe(-10,-10)(10,10) |
| 936 |
\psSolid[object=parallelepiped,a=1,b=2,c=3,action=draw,linestyle=dotted]% |
| 937 |
\psSolid[object=parallelepiped,a=1,b=2,c=3,action=draw,RotY=30]% |
| 938 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 939 |
\end{pspicture} |
| 940 |
& |
| 941 |
\begin{pspicture}(-10,-10)(10,10) |
| 942 |
\psframe(-10,-10)(10,10) |
| 943 |
\psSolid[object=parallelepiped,a=1,b=2,c=3,action=draw,linestyle=dotted]% |
| 944 |
\psSolid[object=parallelepiped,a=1,b=2,c=3,action=draw,RotZ=30]% |
| 945 |
\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 946 |
\end{pspicture}\\ \hline |
| 947 |
RotX=30 & RotY=30 & RotZ=30\\ \hline |
| 948 |
\end{tabular} |
| 949 |
|
| 950 |
%\subsection{title} |
| 951 |
% |
| 952 |
%\psset{unit=.25cm} |
| 953 |
% |
| 954 |
%\begin{tabular}{|c|c|c|} \hline |
| 955 |
% \multicolumn{3}{|c|}{ \BS{psSolid}[\RDD{object=parallelepiped},a=1,b=2,c=3,action=draw](1 0 0) } \\ \hline |
| 956 |
%\begin{pspicture}(-10,-10)(10,10) |
| 957 |
% \psframe(-10,-10)(10,10) |
| 958 |
% |
| 959 |
%\psSolid[object=parallelepiped,a=1,b=2,c=3,action=draw,show=all]% |
| 960 |
%\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 961 |
%\end{pspicture} |
| 962 |
%& |
| 963 |
%\begin{pspicture}(-10,-10)(10,10) |
| 964 |
% \psframe(-10,-10)(10,10) |
| 965 |
% |
| 966 |
%\psSolid[object=parallelepiped,a=1,b=2,c=3,action=draw,num=all]% |
| 967 |
%\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 968 |
%\end{pspicture} |
| 969 |
%& |
| 970 |
%\begin{pspicture}(-10,-10)(10,10) |
| 971 |
% \psframe(-10,-10)(10,10) |
| 972 |
%\psSolid[object=parallelepiped,a=1,b=2,c=3,action=draw,show=all,num=all]% |
| 973 |
%\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 974 |
%\end{pspicture}\\ \hline |
| 975 |
%show=all & num=all & show=all,num=all \\ \hline |
| 976 |
%\end{tabular} |
| 977 |
%\bigskip |
| 978 |
% |
| 979 |
%\begin{tabular}{|c|c|c|} \hline |
| 980 |
% \multicolumn{3}{|c|}{ \BS{psSolid}[\RDD{object=parallelepiped},a=1,b=2,c=3,action=draw](1 0 0) } \\ \hline |
| 981 |
%\begin{pspicture}(-10,-10)(10,10) |
| 982 |
% \psframe(-10,-10)(10,10) |
| 983 |
% |
| 984 |
%\psSolid[object=parallelepiped,a=1,b=2,c=3,action=draw,show=0 1 2 3]% |
| 985 |
%\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 986 |
%\end{pspicture} |
| 987 |
%& |
| 988 |
%\begin{pspicture}(-10,-10)(10,10) |
| 989 |
% \psframe(-10,-10)(10,10) |
| 990 |
% |
| 991 |
%\psSolid[object=parallelepiped,a=1,b=2,c=3,action=draw,num=0 1 2 3]% |
| 992 |
%\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 993 |
%\end{pspicture} |
| 994 |
%& |
| 995 |
%\begin{pspicture}(-10,-10)(10,10) |
| 996 |
% \psframe(-10,-10)(10,10) |
| 997 |
%\psSolid[object=parallelepiped,a=1,b=2,c=3,action=draw,show=0 1 2 3,num=0 1 2 3]% |
| 998 |
%\axesIIID[linecolor=red](0,0,0)(1,1,1) |
| 999 |
%\end{pspicture}\\ \hline |
| 1000 |
%show=0 1 2 3 & num=0 1 2 3 & show=0 1 2 3,num=0 1 2 3 \\ \hline |
| 1001 |
%\end{tabular} |
| 1002 |
|
| 1003 |
%\bigskip |
| 1004 |
%\psset{unit=.5cm} |
| 1005 |
%\begin{pspicture}(-3,-2.5)(7,2.5) |
| 1006 |
%%\psset{viewpoint=50 20 20 rtp2xyz,Decran=40} |
| 1007 |
%\psSolid[action=draw,object=cube,RotZ=30,show=0 1 2 3,num=0 1 2 3]% |
| 1008 |
%\end{pspicture} |
| 1009 |
% |
| 1010 |
%\begin{pspicture}(-3,-2.5)(7,2.5) |
| 1011 |
%%\psset{viewpoint=50 20 20 rtp2xyz,Decran=40} |
| 1012 |
%\psSolid[action=draw,object=parallelepiped,RotZ=30,show=0 1 2 3,num=0 1 2 3]% |
| 1013 |
%\end{pspicture} |
| 1014 |
|
| 1015 |
|
| 1016 |
%\subsection{Coloriage numérotation} |
| 1017 |
\SbSSCT{Coloriage numérotation}coloring and numbering{} |
| 1018 |
|
| 1019 |
\psset{unit=.15cm} |
| 1020 |
|
| 1021 |
|
| 1022 |
|
| 1023 |
|
| 1024 |
|
| 1025 |
|
| 1026 |
\begin{tabular}{|c|c|c|}\hline |
| 1027 |
\multicolumn{3}{|c|}{ \BS{psSolid}[\RDD{fcol}=0 (green) 1 (red) 4 (cyan) 13 (blue) 40 (black), object=cube,mode=3] \RDI{fcol}{pst-sol3d}} |
| 1028 |
\\ \hline |
| 1029 |
\begin{pspicture}(-10,-10)(10,10) |
| 1030 |
\psSolid[fcol=0 (green) 1 (red) 4 (cyan) 13 (blue) 40 (black), object=cube,mode=3]% |
| 1031 |
\end{pspicture} |
| 1032 |
& |
| 1033 |
\begin{pspicture}(-10,-10)(10,10) |
| 1034 |
\psSolid[numfaces=all, object=cube,mode=3]% |
| 1035 |
\end{pspicture} |
| 1036 |
& |
| 1037 |
\begin{pspicture}(-10,-10)(10,10) |
| 1038 |
\psSolid[numfaces=0 1 2 3, object=cube,mode=3]% |
| 1039 |
\end{pspicture} |
| 1040 |
\\ \hline |
| 1041 |
\RDD{fcol}=0 (green) 1 (red) ... & \RDD{numfaces}=all \RDI{numfaces}{pst-sol3d}& \RDD{numfaces}=0 1 2 3 |
| 1042 |
\\ \hline |
| 1043 |
\end{tabular} |
| 1044 |
\bigskip |
| 1045 |
|
| 1046 |
\begin{tabular}{|c|c|c|}\hline |
| 1047 |
\multicolumn{3}{|c|}{ \BS{psSolid}[\RDD{fcol}=0 (green) 1 (red) 2 (cyan) 3 (magenta), object=parallelepiped,mode=3] } |
| 1048 |
\\ \hline |
| 1049 |
\begin{pspicture}(-10,-10)(10,10) |
| 1050 |
\psSolid[fcol=0 (green) 1 (red) 2 (cyan) 3 (magenta), object=parallelepiped,mode=3]% |
| 1051 |
\end{pspicture} |
| 1052 |
& |
| 1053 |
\begin{pspicture}(-10,-5)(10,15) |
| 1054 |
\psSolid[fcol=0 (green) 1 (red) 2 (cyan) 3 (magenta), object=cylindre,h=4,ngrid=4,mode=3]% |
| 1055 |
\end{pspicture} |
| 1056 |
& |
| 1057 |
\begin{pspicture}(-10,-10)(10,10) |
| 1058 |
\psSolid[fcol=0 (green) 1 (red) 2 (cyan) 3 (magenta) , object=tore,r1=2,r0=1,ngrid=4,mode=3]% |
| 1059 |
\end{pspicture} |
| 1060 |
\\ \hline |
| 1061 |
\RDD{fcol}= 0 (green) 1 (red) ... & \RDD{numfaces}=all & \RDD{numfaces}=0 1 |
| 1062 |
\\ \hline |
| 1063 |
|
| 1064 |
\end{tabular} |
| 1065 |
|
| 1066 |
\newpage |
| 1067 |
|
| 1068 |
% \subsection{Dans une prochaine version} |
| 1069 |
\SbSSCT{Dans une prochaine version}{In a future version} |
| 1070 |
|
| 1071 |
|
| 1072 |
%\subsubsection{Surface d'après une équation} |
| 1073 |
\SbSbSSCT{Surface d'après une équation}{Equation define surface} |
| 1074 |
|
| 1075 |
\begin{tabular}{|c|c|c|} \hline |
| 1076 |
%\psset{llx=-.5cm,lly=-.5cm,urx=.5cm,ury=0.5cm,fillstyle=none,linewidth=2pt} |
| 1077 |
\psset{fillcolor=yellow,fillstyle=none,linecolor=blue,unit=.4cm} |
| 1078 |
|
| 1079 |
% \psset{unit=0.5} |
| 1080 |
% \psset{lightsrc=30 30 25} |
| 1081 |
\psset{viewpoint=50 40 30 rtp2xyz,Decran=50} |
| 1082 |
\begin{pspicture}(-7,-8)(7,8) |
| 1083 |
\psSurface[algebraic,ngrid=.25 .25,hue=0 1](-6,-6)(6,6){sin(x) *cos(y)} |
| 1084 |
\end{pspicture} |
| 1085 |
\\ \hline |
| 1086 |
\BSS{psSurface}[algebraic,ngrid=.25 .25,hue=0 1](-6,-6)(6,6)\AC{sin(x) *cos(y)} \BSI{psSurface}{pst-sol3d} |
| 1087 |
\\ \hline |
| 1088 |
\end{tabular} |
| 1089 |
|
| 1090 |
%\subsubsection{Fusion de 2 solides} |
| 1091 |
\SbSbSSCT{Fusion de 2 solides}Fusion of two solids{} |
| 1092 |
\psset{unit=1cm} |
| 1093 |
\begin{center} |
| 1094 |
% \begin{pspicture}(-1,1)(10,8) |
| 1095 |
% \psframe(-1,-1)(10,10) |
| 1096 |
\begin{animateinline}[poster=first, palindrome,autoplay]{5}% |
| 1097 |
\multiframe{30}{iAngle=10+30}{\mydessin{\iAngle} } |
| 1098 |
\end{animateinline} |
| 1099 |
% \end{pspicture} |
| 1100 |
|
| 1101 |
% \begin{pspicture}(-.3\linewidth,-12)(.35\linewidth,30) |
| 1102 |
%\psframe(-.3\linewidth,-12)(.35\linewidth,30) |
| 1103 |
%\psset{unit=.15cm} |
| 1104 |
%\psset{solidmemory} |
| 1105 |
%\psSolid[object=cylindrecreux,h=10,r=2,fillcolor=white,mode=4,name=A1,incolor=green!50](0,0,-3) |
| 1106 |
%\psSolid[object=conecreux,h=15,r=2,RotY=-60,fillcolor=white,incolor=red!50,mode=5,name=B1](4,0,0)% |
| 1107 |
%\psSolid[object=fusion,action=draw**,base=A1 B1,](0,0,0) |
| 1108 |
%\composeSolid |
| 1109 |
% \end{pspicture} |
| 1110 |
|
| 1111 |
\psset{unit=1cm} |
| 1112 |
\bigskip |
| 1113 |
\begin{tabular}{|l|} \hline |
| 1114 |
\BSS{psset}\AC{solidmemory}\\ |
| 1115 |
\\ |
| 1116 |
\BS{psSolid}[object=cylindrecreux,h=10,r=2,fillcolor=white,mode=4,name=A1,incolor=green!50](0,0,-3)\\ |
| 1117 |
\BS{psSolid}[object=conecreux,h=15,r=2,RotY=-60,fillcolor=white,incolor=red!50,mode=5,name=B1](4,0,0)\\ |
| 1118 |
\BS{psSolid}[object=fusion,action=draw**,base=A1 B1,](0,0,0)\\ |
| 1119 |
\BSS{composeSolid} \BSI{composeSolid}{pst-sol3d} |
| 1120 |
\\ \hline |
| 1121 |
\end{tabular} |
| 1122 |
\end{center} |
| 1123 |
|
| 1124 |
|
| 1125 |
\begin{center} |
| 1126 |
|
| 1127 |
\end{center} |
| 1128 |
|
| 1129 |
|
| 1130 |
|