File:Defaut de surface cumules sur arete autre direction.png
Defaut_de_surface_cumules_sur_arete_autre_direction.png (610 × 460 pixels, file size: 36 KB, MIME type: image/png)
File information
Structured data
Captions
Summary
editDescriptionDefaut de surface cumules sur arete autre direction.png |
English: Intersection of two wavy surfaces, to illustrate the fact that the defects of both surfaces cumulate on the edge. The sinusoid waves represent the grooves due to a milling process.
Français : Intersection de deux surfaces ondulées, pour illustrer le fait que l'arête cumule les défauts des deux surfaces. Les ondulations sinusoïdales représentent des stries de fraisage. |
|
Date |
|
|
Source | Own work | |
Author | Christophe Dang Ngoc Chan (Cdang (talk)) | |
Other versions |
File:Defaut de surface cumules sur arete.png: grooves have a different orientation File:Defaut de surface cumules sur arete autre direction autre vue.png: same plot, but with a different view angle |
Scilab source
This media was created with Scilab, a free open-source software. Here is a listing of the Scilab source used to create this file. |
clear;
deff("[z] = f(x, y)", "z = 0.1*cos(2*%pi*y*5 + %pi/2)");
deff("[z] = g(x, y)", "z = 0.1*cos(2*%pi*x*5)");
function [X1, Y1, Z1, X2, Y2, Z2] = generation(t, f, g)
taille = size(t, "*");
X1 = ones(taille,1)*t;
Y1 = X1';
Y2 = X1;
Z2 = 0.1 - Y1;
Z1 = f(X1, Y1);
for i = 1:taille
for j = 1:taille
if X1(i, j) <= (0.1 + 0.1*cos(2*%pi*Y1(i, j)*5))...
then Z1(i, j) = %nan;
end
end
end
X2 = g(X1, Y1) + 0.1;
for i = 1:taille
for j = 1:taille
if Z2(i, j) >= -0.1*sin(2*%pi*Y2(i, j)*5)...
then Z2(i, j) = %nan;
end
end
end
endfunction
// ***********************
// * Programme principal *
// ***********************
// ** Tracé des surfaces en nuances de gris
t = 0:3e-3:1;
[x, y, z, xx, yy, zz] = generation(t, f, g);
clf;
surf(x, y, z)
h1 = gce();
h1.thickness = 0;
surf(xx, yy, zz)
h2 = gce();
h2.thickness = 0;
cmap = 0.8*graycolormap(32) + 0.2;
xset("colormap", cmap)
// ** tracé des génératrices
t = 0:2e-2:1;
[x, y, z, xx, yy, zz] = generation(t, f, g);
param3d1(x, y, z)
param3d1(xx, yy, zz, theta = 190, alpha = 30)
// ** tracé de l'arête
y = 0:3e-3:1;
z = f(zeros(y), y);
x = g(y, zeros(y))+0.1;
param3d1(x, y, z, theta = 190, alpha = 30)
e = gce();
e.thickness = 3;
Licensing
editI, the copyright holder of this work, hereby publish it under the following licenses:
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported, 2.5 Generic, 2.0 Generic and 1.0 Generic license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
You may select the license of your choice.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 12:37, 30 January 2014 | 610 × 460 (36 KB) | Cdang (talk | contribs) | edge with a thick black line | |
09:57, 30 January 2014 | 610 × 460 (36 KB) | Cdang (talk | contribs) | {{Information |Description={{en|1=Intersection of two wavy surfaces, to illustrate the fact that the defects of both surfaces cumulate on the edge. The sinusoid waves represent the grooves due to a milling process.}} {{fr|1=Intersection de deux surface... |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.