Changeset 40
- Timestamp:
- 06/08/08 18:57:30 (6 months ago)
- Files:
-
- trunk/solides.pro (modified) (4 diffs)
- trunk/tests/index.txt (modified) (1 diff)
- trunk/tests/test_02.pdf (modified) (previous)
- trunk/tests/test_02.tex (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/solides.pro
r39 r40 1 1 %! 2 2 % PostScript prologue for pst-solides3d.tex. 3 % Version 3.2 5, 2008/06/073 % Version 3.27, 2008/06/08 4 4 % 5 5 %% COPYRIGHT 2008 by Jean-Paul Vignault, Manuel Luque … … 3776 3776 /F [FO aload pop FI aload pop] def 3777 3777 /FC [FOC aload pop FIC aload pop] def 3778 /IO [0 FO length 1 sub dup 1 add dup FI length add 1 sub] def 3778 /IO [ 3779 0 FO length 1 sub 3780 FI length 0 gt { 3781 dup 1 add dup FI length add 1 sub 3782 } { 3783 -1 -1 3784 } ifelse 3785 ] def 3779 3786 3780 3787 S F generesolid … … 5460 5467 5461 5468 %%%%% ### solidchanfreine ### 5462 %% syntaxe : solid coeff i s@lidaffineface5469 %% syntaxe : solid coeff solidchanfreine 5463 5470 /solidchanfreine { 5464 5471 10 dict begin … … 8378 8385 dualpolyedreregulier 8379 8386 } if 8387 chanfrein { 8388 dup chanfreincoeff solidchanfreine 8389 } if 8380 8390 RotX 0 ne RotY 0 ne or RotZ 0 ne or { 8381 8391 {RotX RotY RotZ rotateOpoint3d} solidtransform trunk/tests/index.txt
r32 r40 1 1 test_01 : tronquer un solide 2 test_02 : champfreinage2 test_02 : affinage + chanfreinage 3 3 test_03 : tube 4 4 test_04 : ecriture de fichier obj trunk/tests/test_02.tex
r24 r40 98 98 \end{center} 99 99 100 \section {Test chanfreinage avec PSTricks} 101 102 \begin{center} 103 \psset{unit=0.75} 104 \psset{lightsrc=10 0 10,SphericalCoor=true,viewpoint=50 -20 30,Decran=50} 105 \begin{pspicture*}(-5,-4)(6,5) 106 \psframe(-5,-4)(6,5) 107 \psSolid[object=cube, 108 a=5, 109 fillcolor=red, 110 chanfrein, 111 chanfreincoeff=.2, 112 ] 113 \end{pspicture*} 114 \end{center} 115 100 116 \end{document}
