<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>This response seems to be, actually, a nonsense.<br>
      <br>
      If I am the creator of the STL and I positioned it, as you can
      see, exactly in X = 0, Y = 0 and Z = 0 and plain to Z, I'm almost
      sure I don't need to resize it! <br>
      <br>
      scale() and resize() deforms the original figure. linear_extrude
      only "EXTRUDE" it.  This is what I want. An extrusion. <br>
      <br>
      Thanks for your response, but it's not an appropriate solution for
      my problem.</p>
    <p><br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 19/07/2019 18:40, Ronaldo Persiano
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+i9EaCs7GGpfrR8aQMj+N1LpCA_Dfw3a_H=UYGpmxTmZ5+nCg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div class="gmail_default"
            style="font-family:arial,helvetica,sans-serif;color:#000000">To
            linear_extrude the projection of a linear_extruded shape in
            a STL file seems to be a nonsense. You just need to resize
            its import:</div>
          <div class="gmail_default"
            style="font-family:arial,helvetica,sans-serif;color:#000000"><br>
          </div>
        </div>
        <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
          <div>
            <div class="gmail_default" style="color:rgb(0,0,0)"><font
                face="courier new, monospace">resize([20,20,40])</font></div>
          </div>
          <div>
            <div class="gmail_default" style="color:rgb(0,0,0)"><font
                face="courier new, monospace">  <span
                  class="gmail_default" style=""></span><span
                  style="color:rgb(34,34,34)">import("PROFILE20X20_001.stl");</span></font></div>
            <div class="gmail_default" style="color:rgb(0,0,0)"><font
                face="courier new, monospace"><span
                  style="color:rgb(34,34,34)"><br>
                </span></font></div>
          </div>
        </blockquote>
        <font face="courier new, monospace"><span class="gmail_default"
style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)">Alternatively,
            you can generate the profile STL with a unitary height and
            scale its import:</span></font>
        <div><font face="arial, helvetica, sans-serif" color="#000000"><br>
          </font></div>
        <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
          <div>
            <div>
              <div class="gmail_default" style="color:rgb(0,0,0)"><span
                  style="color:rgb(34,34,34)"><font face="courier new,
                    monospace">scale([1,1,40])</font></span></div>
            </div>
          </div>
          <div>
            <div>
              <div class="gmail_default" style="color:rgb(0,0,0)"><font
                  face="courier new, monospace"><span
                    style="color:rgb(34,34,34)">  </span><span
                    class="gmail_default" style=""></span><span
                    style="color:rgb(34,34,34)">import("PROFILE20X20_001.stl");</span></font></div>
            </div>
          </div>
        </blockquote>
        <div>
          <div dir="ltr">
            <div class="gmail_default"
              style="font-family:arial,helvetica,sans-serif;color:#000000"><span
style="font-family:Arial,Helvetica,sans-serif;color:rgb(34,34,34)"><br>
              </span></div>
            <div class="gmail_default"
              style="font-family:arial,helvetica,sans-serif;color:#000000"><span
style="font-family:Arial,Helvetica,sans-serif;color:rgb(34,34,34)"><br>
              </span></div>
          </div>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">Em sex, 19 de jul de 2019
              às 08:19, Juan C.Cilleruelo <<a
                href="mailto:juanc.cilleruelo@gmail.com"
                moz-do-not-send="true">juanc.cilleruelo@gmail.com</a>>
              escreveu:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div bgcolor="#FFFFFF">
                <p>Thank you very much!!!!<br>
                  <br>
                  It's just what I looking for!!!<br>
                  <br>
                  <br>
                  <br>
                  /*----------  PROFILE 20X20 => ALUMINIUM PROFILE
                  20x20  ----------*/          <br>
                     linear_extrude(height = 40, center = false,
                  convexity = 10, twist = 0){<br>
                        projection(){   <br>
                          <span class="gmail_default"
                    style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)"></span>import("PROFILE20X20_001.stl");<br>
                        } <br>
                     }</p>
                <p><br>
                </p>
                <p><br>
                </p>
              </div>
            </blockquote>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
OpenSCAD mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Discuss@lists.openscad.org">Discuss@lists.openscad.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org">http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org</a>
</pre>
    </blockquote>
  </body>
</html>