<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>how to curve a beam?</title>
        <description> I want to build new batteries for my drone. 
After having welded the Li-ion cells in the proper config, I want to place them in a square container. It will be 6 battery cells stacked on each other.
So that will be a beam shaped object.  (subtract a cube from a cube will do the math)

However, the remaining box must be slightly curved to follow the shape of the drone landing gear, to which the boxes will be fixed.

Any help in bending a beam , of the resulting box ? 

Thomas</description>
        <link>https://reprap.org/forum/read.php?313,865852,865852#msg-865852</link>
        <lastBuildDate>Mon, 08 Jun 2026 17:23:07 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?313,865852,866012#msg-866012</guid>
            <title>Re: how to curve a beam?</title>
            <link>https://reprap.org/forum/read.php?313,865852,866012#msg-866012</link>
            <description><![CDATA[ As I only have version 2015.03 of OpenScad, I can't (yet) use the new <i>angle=</i>... parameter of <i>rotate_extrude()</i>.  Here is how I did the example below:<br />
<pre class="bbcode">
$fn=180;
difference(){
  rotate_extrude(angle=3)translate([200,0,0])square([24,24]);
  for(a=[0,90])rotate(a) translate([-300,0,-1])cube([600,600,26]);
  translate([0,0,3])rotate_extrude(angle=3)translate([203,0,0])square([18,18]);
}</pre>
<br />
<div id="div_15980126bb5d36949442bff0fa882053"
     class="mod_embed_images_extended"
     style="width:533px">

  

    
      
    

    <div id="imagediv_15980126bb5d36949442bff0fa882053" class="mod_embed_images_image"
         style="width:533px; height:400px">

    

    <a href="https://reprap.org/forum/file.php?313,file=114216,filename=beam2.png">
        <img src="/forum/thumbcache/865/4eb/df3/e42/8d0/d77/bd8/376/276/4f6/48_800x400.png"
             width="533"
             height="400"
             id="image_15980126bb5d36949442bff0fa882053"
             alt=""
             title=""/>
    </a>

    

    </div>

    <div class="mod_embed_images_info " id="info_15980126bb5d36949442bff0fa882053"
      style="display:block">
      <a id="link_15980126bb5d36949442bff0fa882053" href="https://reprap.org/forum/file.php?313,file=114216,filename=beam2.png"></a>
    </div>

  

 </div>


<script type="text/javascript">
mod_embed_images_loadimage('15980126bb5d36949442bff0fa882053', '/forum/thumbcache/865/4eb/df3/e42/8d0/d77/bd8/376/276/4f6/48_800x400.png', 'https://reprap.org/forum/file.php?313,file=114216,filename=beam2.png', 'https://reprap.org/forum/addon.php?313,module=embed_images,check_scaling=1,url=https%3A%2F%2Freprap.org%2Fforum%2Ffile.php%3F313%2Cfile%3D114216%2Cfilename%3Dbeam2.png', '', 866012, 800, 400, 'Loading image ...', false);
</script>
<br/>]]></description>
            <dc:creator>enif</dc:creator>
            <category>OpenSCAD</category>
            <pubDate>Sat, 18 Jan 2020 07:09:18 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?313,865852,866011#msg-866011</guid>
            <title>Re: how to curve a beam?</title>
            <link>https://reprap.org/forum/read.php?313,865852,866011#msg-866011</link>
            <description><![CDATA[ Yes, <br />
<br />
only one radius.  <br />
<br />
So I just rotate extrude a square ?   and than make it hollow ?<br />
<br />
Thanks I will try.]]></description>
            <dc:creator>Replace</dc:creator>
            <category>OpenSCAD</category>
            <pubDate>Sat, 18 Jan 2020 06:55:31 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?313,865852,866002#msg-866002</guid>
            <title>Re: how to curve a beam?</title>
            <link>https://reprap.org/forum/read.php?313,865852,866002#msg-866002</link>
            <description><![CDATA[ Is it something like this that you are looking for?<br />
<div id="div_c9c5bf5b887cbdbca1e48eb64229f8ea"
     class="mod_embed_images_extended"
     style="width:533px">

  

    
      
    

    <div id="imagediv_c9c5bf5b887cbdbca1e48eb64229f8ea" class="mod_embed_images_image"
         style="width:533px; height:400px">

    

    <a href="https://reprap.org/forum/file.php?313,file=114213,filename=beam1.png">
        <img src="/forum/thumbcache/835/32e/567/8f5/3e3/89a/6a0/e18/a06/851/9b_800x400.png"
             width="533"
             height="400"
             id="image_c9c5bf5b887cbdbca1e48eb64229f8ea"
             alt=""
             title=""/>
    </a>

    

    </div>

    <div class="mod_embed_images_info " id="info_c9c5bf5b887cbdbca1e48eb64229f8ea"
      style="display:block">
      <a id="link_c9c5bf5b887cbdbca1e48eb64229f8ea" href="https://reprap.org/forum/file.php?313,file=114213,filename=beam1.png"></a>
    </div>

  

 </div>


<script type="text/javascript">
mod_embed_images_loadimage('c9c5bf5b887cbdbca1e48eb64229f8ea', '/forum/thumbcache/835/32e/567/8f5/3e3/89a/6a0/e18/a06/851/9b_800x400.png', 'https://reprap.org/forum/file.php?313,file=114213,filename=beam1.png', 'https://reprap.org/forum/addon.php?313,module=embed_images,check_scaling=1,url=https%3A%2F%2Freprap.org%2Fforum%2Ffile.php%3F313%2Cfile%3D114213%2Cfilename%3Dbeam1.png', '', 866002, 800, 400, 'Loading image ...', false);
</script>
<br />
This one is composed of 3 sections with [angle,radius] pairs [20,200],[-25,450],[-180,150].<br />
If you only have one section with a constant radius, you can just with a difference of two rotate_extrude(...)square(...).<br/>]]></description>
            <dc:creator>enif</dc:creator>
            <category>OpenSCAD</category>
            <pubDate>Sat, 18 Jan 2020 03:04:23 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?313,865852,865961#msg-865961</guid>
            <title>Re: how to curve a beam?</title>
            <link>https://reprap.org/forum/read.php?313,865852,865961#msg-865961</link>
            <description><![CDATA[ ehh..   imagine that you have the outer part of a match box.<br />
Now try to bend it alongside a football. (not possible, but as a thought experiment)<br />
<br />
What remains is a hollow square beam with a bend according the outer perimeter of the ball.<br />
<br />
<br />
Now scale up the result to the dimensions of 6 lipo 18650 cells stacked upon each other along their long sides and put it in the box.<br />
<br />
Does this help ?]]></description>
            <dc:creator>Replace</dc:creator>
            <category>OpenSCAD</category>
            <pubDate>Fri, 17 Jan 2020 11:43:16 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?313,865852,865932#msg-865932</guid>
            <title>Re: how to curve a beam?</title>
            <link>https://reprap.org/forum/read.php?313,865852,865932#msg-865932</link>
            <description><![CDATA[ I tried to understand what you are trying to do, but without further information (e.g. photos of your drone or you current battery pack) I don't think it's possible to give you the desired help.]]></description>
            <dc:creator>enif</dc:creator>
            <category>OpenSCAD</category>
            <pubDate>Fri, 17 Jan 2020 03:32:35 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?313,865852,865852#msg-865852</guid>
            <title>how to curve a beam?</title>
            <link>https://reprap.org/forum/read.php?313,865852,865852#msg-865852</link>
            <description><![CDATA[ I want to build new batteries for my drone. <br />
After having welded the Li-ion cells in the proper config, I want to place them in a square container. It will be 6 battery cells stacked on each other.<br />
So that will be a beam shaped object.  (subtract a cube from a cube will do the math)<br />
<br />
However, the remaining box must be slightly curved to follow the shape of the drone landing gear, to which the boxes will be fixed.<br />
<br />
Any help in bending a beam , of the resulting box ? <br />
<br />
Thomas]]></description>
            <dc:creator>Replace</dc:creator>
            <category>OpenSCAD</category>
            <pubDate>Wed, 15 Jan 2020 11:15:21 -0500</pubDate>
        </item>
    </channel>
</rss>
