File:Defaut de surface cumules sur arete.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Defaut_de_surface_cumules_sur_arete.png(610 × 460 pixels, file size: 20 KB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description
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 autre direction.png: grooves have a different orientation

Scilab source

clear;

deff("[z] = f(x, y)", "z = 0.1*cos(2*%pi*x*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*X2(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)

// ** tracé de l'arête
 
y = 0:3e-3:1;
x = g(y, zeros(y))+0.1;
z = f(x, zeros(y));
param3d1(x, y, z, theta = 190, alpha = 30)
e = gce();
e.thickness = 3;

Licensing[edit]

I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head 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.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike Attribution-Share Alike 4.0 International, 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/TimeThumbnailDimensionsUserComment
current12:50, 30 January 2014Thumbnail for version as of 12:50, 30 January 2014610 × 460 (20 KB)Cdang (talk | contribs)edge highlighted with thick black line
09:43, 30 January 2014Thumbnail for version as of 09:43, 30 January 2014610 × 460 (20 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...

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file: