Changeset 40

Show
Ignore:
Timestamp:
06/08/08 18:57:30 (6 months ago)
Author:
jpv
Message:

Correction bug de solidfuz sur les faces internes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/solides.pro

    r39 r40  
    11%! 
    22% PostScript prologue for pst-solides3d.tex. 
    3 % Version 3.25, 2008/06/07 
     3% Version 3.27, 2008/06/08 
    44% 
    55%% COPYRIGHT 2008 by Jean-Paul Vignault, Manuel Luque 
     
    37763776   /F [FO aload pop FI aload pop] def 
    37773777   /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 
    37793786 
    37803787   S F generesolid 
     
    54605467 
    54615468%%%%% ### solidchanfreine ### 
    5462 %% syntaxe : solid coeff i s@lidaffinefac
     5469%% syntaxe : solid coeff solidchanfrein
    54635470/solidchanfreine { 
    5464547110 dict begin 
     
    83788385      dualpolyedreregulier 
    83798386   } if 
     8387   chanfrein { 
     8388      dup chanfreincoeff solidchanfreine 
     8389   } if 
    83808390   RotX 0 ne RotY 0 ne or RotZ 0 ne or { 
    83818391      {RotX RotY RotZ rotateOpoint3d} solidtransform 
  • trunk/tests/index.txt

    r32 r40  
    11test_01 : tronquer un solide 
    2 test_02 : champfreinage 
     2test_02 : affinage + chanfreinage 
    33test_03 : tube 
    44test_04 : ecriture de fichier obj 
  • trunk/tests/test_02.tex

    r24 r40  
    9898\end{center} 
    9999 
     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 
    100116\end{document}