discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Saxophone flared bell tube, curved and graduated, how to model it?

C
cgriffith
Wed, Dec 4, 2019 3:08 AM
I remember this being discussed before. Always try searching to see if your question was asked. http://forum.openscad.org/Curved-bent-conical-tubing-td20686.html#a20699 <http://forum.openscad.org/Curved-bent-conical-tubing-td20686.html#a20699> http://forum.openscad.org/more-sweep-issues-td22926.html <http://forum.openscad.org/more-sweep-issues-td22926.html> -- Sent from: http://forum.openscad.org/
LA
Lee A
Fri, Dec 6, 2019 6:55 PM

I went to breathflute and downloaded the project. I found a file
bflute_079.scad that seems like it should be it but I get an error at
line 5697 and have no idea how to   fix it. So I can't look at it or
print it.

Lee

On 12/3/2019 1:08 PM, Clint Goss wrote:

You may be interested in the Breath Flute project ... BreathFlute.com.

The bottom of the flue (windway) was initially modeled after various
19th century recorders for which I have good measurements (available
on-line). After mulling over these, I found that there was a suitable
function based on ArcTAN() that fit those measurements quite well. So
I created a curve and rotated it around the bore of the instrument.

The Breath Flute project is open-source, so you can download the code
and find the appropriate section (I don't recall the details at the
moment). There is also a massive Developer's Guide, which I think has
details of how that was done ...

-- Clint Goss

FluteCast.com http://FluteCast.com ... direct links to Native
American flute resources

Goss.com http://www.goss.com/  ... index of all our web sites

On Tue, Dec 3, 2019 at 2:03 PM Kenneth Beesley <krbeesley@gmail.com
mailto:krbeesley@gmail.com> wrote:

 Relative beginner question:  Saxophone flared bell tube, curved
 and graduated, how to model it?

 I'm trying to model a saxophone bell, which has a bore (hole) that
 flares from beginning to end over a range of angles.  For the time
 being, I'm assuming that
 1.  The bore is circular, so some kind of extruded circle would be
 appropriate
 2.  But the bore flares (increases in diameter) exponentially from
 beginning to end (it should be possible to specify the diameter of
 each "section" as a function of the angle)
 3.  The center of the bore rotates around a radius

 4.  Also, I'm assuming that one would first model the bore as a
 kind of solid curved graduated cylinder, and then model a
 larger-diameter "shell" as another solid curved graduated cylinder
 (on the same radius), and then just subtract/difference the bore
 from the shell to get a curved graduated tube (like a saxophone
 bell).  The walls of the tube should be the same thickness
 throughout the result.

 I'm a beginner, but I have some acquaintance with linear_extrude
 and rotate_extrude.  rotate_extrude would seem to be perfect IF it
 offered (like linear_extrude) the possibility of specifying the
 scale as an interpolated function.  I also just looked at
 ring_extrude, which seems promising, except that the shape to be
 extruded must be specified as a vector of points---it would be
 nice if one could simply extrude a simple circle.

 Are there any available functions that might help me model a
 saxophone bell?  Is there any better way to go about it?
 Thanks,  Ken

 *******************************
 Kenneth R. Beesley, D.Phil.
 PO Box 540475
 North Salt Lake UT 84054
 USA







 _______________________________________________
 OpenSCAD mailing list
 Discuss@lists.openscad.org <mailto:Discuss@lists.openscad.org>
 http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

I went to breathflute and downloaded the project. I found a file bflute_079.scad that seems like it should be it but I get an error at line 5697 and have no idea how to   fix it. So I can't look at it or print it. Lee On 12/3/2019 1:08 PM, Clint Goss wrote: > You may be interested in the Breath Flute project ... BreathFlute.com. > > The bottom of the flue (windway) was initially modeled after various > 19th century recorders for which I have good measurements (available > on-line). After mulling over these, I found that there was a suitable > function based on ArcTAN() that fit those measurements quite well. So > I created a curve and rotated it around the bore of the instrument. > > The Breath Flute project is open-source, so you can download the code > and find the appropriate section (I don't recall the details at the > moment). There is also a massive Developer's Guide, which I think has > details of how that was done ... > > -- Clint Goss > > FluteCast.com <http://FluteCast.com> ... direct links to Native > American flute resources > > Goss.com <http://www.goss.com/>  ... index of all our web sites > > > > On Tue, Dec 3, 2019 at 2:03 PM Kenneth Beesley <krbeesley@gmail.com > <mailto:krbeesley@gmail.com>> wrote: > > Relative beginner question:  Saxophone flared bell tube, curved > and graduated, how to model it? > > I'm trying to model a saxophone bell, which has a bore (hole) that > flares from beginning to end over a range of angles.  For the time > being, I'm assuming that > 1.  The bore is circular, so some kind of extruded circle would be > appropriate > 2.  But the bore flares (increases in diameter) exponentially from > beginning to end (it should be possible to specify the diameter of > each "section" as a function of the angle) > 3.  The center of the bore rotates around a radius > > 4.  Also, I'm assuming that one would first model the bore as a > kind of solid curved graduated cylinder, and then model a > larger-diameter "shell" as another solid curved graduated cylinder > (on the same radius), and then just subtract/difference the bore > from the shell to get a curved graduated tube (like a saxophone > bell).  The walls of the tube should be the same thickness > throughout the result. > > I'm a beginner, but I have some acquaintance with linear_extrude > and rotate_extrude.  rotate_extrude would seem to be perfect IF it > offered (like linear_extrude) the possibility of specifying the > scale as an interpolated function.  I also just looked at > ring_extrude, which seems promising, except that the shape to be > extruded must be specified as a vector of points---it would be > nice if one could simply extrude a simple circle. > > Are there any available functions that might help me model a > saxophone bell?  Is there any better way to go about it? > Thanks,  Ken > > ******************************* > Kenneth R. Beesley, D.Phil. > PO Box 540475 > North Salt Lake UT 84054 > USA > > > > > > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org <mailto:Discuss@lists.openscad.org> > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
CG
Clint Goss
Fri, Dec 6, 2019 7:39 PM

The offending line is the fourth line - the polygon() - in this snippet:

color (SoundChamberColor) {
rotate_extrude (convexity = 10, $fn=fnSoundChamberDist) {
translate ([SoundChamberProx_ID/2, MorticeLength, 0]) {
polygon (points = MorticeChamferPoly_Angle, $fn=fnSoundChamberDist);
}
}
}

... and I don't offhand know what would be the issue ... unless

What OpenSCAD version are you running? The Breath Flute runs under version
[2015, 3, 0]

Also ... why can't you view the code? In my setup, the code opens in the
editor and does not render until requested ...

-- Clint Goss

FluteCast.com ... direct links to Native American flute resources

Goss.com http://www.goss.com/  ... index of all our web sites

On Fri, Dec 6, 2019 at 2:24 PM Lee A 683lee@337lee.com wrote:

I went to breathflute and downloaded the project. I found a file
bflute_079.scad that seems like it should be it but I get an error at
line 5697 and have no idea how to  fix it. So I can't look at it or
print it.

Lee

On 12/3/2019 1:08 PM, Clint Goss wrote:

You may be interested in the Breath Flute project ... BreathFlute.com.

The bottom of the flue (windway) was initially modeled after various
19th century recorders for which I have good measurements (available
on-line). After mulling over these, I found that there was a suitable
function based on ArcTAN() that fit those measurements quite well. So
I created a curve and rotated it around the bore of the instrument.

The Breath Flute project is open-source, so you can download the code
and find the appropriate section (I don't recall the details at the
moment). There is also a massive Developer's Guide, which I think has
details of how that was done ...

-- Clint Goss

FluteCast.com http://FluteCast.com ... direct links to Native
American flute resources

Goss.com http://www.goss.com/  ... index of all our web sites

On Tue, Dec 3, 2019 at 2:03 PM Kenneth Beesley <krbeesley@gmail.com
mailto:krbeesley@gmail.com> wrote:

 Relative beginner question:  Saxophone flared bell tube, curved
 and graduated, how to model it?

 I'm trying to model a saxophone bell, which has a bore (hole) that
 flares from beginning to end over a range of angles.  For the time
 being, I'm assuming that
 1.  The bore is circular, so some kind of extruded circle would be
 appropriate
 2.  But the bore flares (increases in diameter) exponentially from
 beginning to end (it should be possible to specify the diameter of
 each "section" as a function of the angle)
 3.  The center of the bore rotates around a radius

 4.  Also, I'm assuming that one would first model the bore as a
 kind of solid curved graduated cylinder, and then model a
 larger-diameter "shell" as another solid curved graduated cylinder
 (on the same radius), and then just subtract/difference the bore
 from the shell to get a curved graduated tube (like a saxophone
 bell).  The walls of the tube should be the same thickness
 throughout the result.

 I'm a beginner, but I have some acquaintance with linear_extrude
 and rotate_extrude.  rotate_extrude would seem to be perfect IF it
 offered (like linear_extrude) the possibility of specifying the
 scale as an interpolated function.  I also just looked at
 ring_extrude, which seems promising, except that the shape to be
 extruded must be specified as a vector of points---it would be
 nice if one could simply extrude a simple circle.

 Are there any available functions that might help me model a
 saxophone bell?  Is there any better way to go about it?
 Thanks,  Ken

 *******************************
 Kenneth R. Beesley, D.Phil.
 PO Box 540475
 North Salt Lake UT 84054
 USA







 _______________________________________________
 OpenSCAD mailing list
 Discuss@lists.openscad.org <mailto:Discuss@lists.openscad.org>
The offending line is the fourth line - the polygon() - in this snippet: color (SoundChamberColor) { rotate_extrude (convexity = 10, $fn=fnSoundChamberDist) { translate ([SoundChamberProx_ID/2, MorticeLength, 0]) { polygon (points = MorticeChamferPoly_Angle, $fn=fnSoundChamberDist); } } } ... and I don't offhand know what would be the issue ... unless What OpenSCAD version are you running? The Breath Flute runs under version [2015, 3, 0] Also ... why can't you view the code? In my setup, the code opens in the editor and does not render until requested ... -- Clint Goss FluteCast.com ... direct links to Native American flute resources Goss.com <http://www.goss.com/> ... index of all our web sites On Fri, Dec 6, 2019 at 2:24 PM Lee A <683lee@337lee.com> wrote: > I went to breathflute and downloaded the project. I found a file > bflute_079.scad that seems like it should be it but I get an error at > line 5697 and have no idea how to fix it. So I can't look at it or > print it. > > Lee > > On 12/3/2019 1:08 PM, Clint Goss wrote: > > You may be interested in the Breath Flute project ... BreathFlute.com. > > > > The bottom of the flue (windway) was initially modeled after various > > 19th century recorders for which I have good measurements (available > > on-line). After mulling over these, I found that there was a suitable > > function based on ArcTAN() that fit those measurements quite well. So > > I created a curve and rotated it around the bore of the instrument. > > > > The Breath Flute project is open-source, so you can download the code > > and find the appropriate section (I don't recall the details at the > > moment). There is also a massive Developer's Guide, which I think has > > details of how that was done ... > > > > -- Clint Goss > > > > FluteCast.com <http://FluteCast.com> ... direct links to Native > > American flute resources > > > > Goss.com <http://www.goss.com/> ... index of all our web sites > > > > > > > > On Tue, Dec 3, 2019 at 2:03 PM Kenneth Beesley <krbeesley@gmail.com > > <mailto:krbeesley@gmail.com>> wrote: > > > > Relative beginner question: Saxophone flared bell tube, curved > > and graduated, how to model it? > > > > I'm trying to model a saxophone bell, which has a bore (hole) that > > flares from beginning to end over a range of angles. For the time > > being, I'm assuming that > > 1. The bore is circular, so some kind of extruded circle would be > > appropriate > > 2. But the bore flares (increases in diameter) exponentially from > > beginning to end (it should be possible to specify the diameter of > > each "section" as a function of the angle) > > 3. The center of the bore rotates around a radius > > > > 4. Also, I'm assuming that one would first model the bore as a > > kind of solid curved graduated cylinder, and then model a > > larger-diameter "shell" as another solid curved graduated cylinder > > (on the same radius), and then just subtract/difference the bore > > from the shell to get a curved graduated tube (like a saxophone > > bell). The walls of the tube should be the same thickness > > throughout the result. > > > > I'm a beginner, but I have some acquaintance with linear_extrude > > and rotate_extrude. rotate_extrude would seem to be perfect IF it > > offered (like linear_extrude) the possibility of specifying the > > scale as an interpolated function. I also just looked at > > ring_extrude, which seems promising, except that the shape to be > > extruded must be specified as a vector of points---it would be > > nice if one could simply extrude a simple circle. > > > > Are there any available functions that might help me model a > > saxophone bell? Is there any better way to go about it? > > Thanks, Ken > > > > ******************************* > > Kenneth R. Beesley, D.Phil. > > PO Box 540475 > > North Salt Lake UT 84054 > > USA > > > > > > > > > > > > > > > > _______________________________________________ > > OpenSCAD mailing list > > Discuss@lists.openscad.org <mailto:Discuss@lists.openscad.org> > > > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > > > > > _______________________________________________ > > OpenSCAD mailing list > > Discuss@lists.openscad.org > > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
LA
Lee A
Fri, Dec 6, 2019 11:25 PM

Ignore my error comment. I missed copying some files. I can see the
code, just not the object.
I am version 2019.05
I think I got it to display but any time I try to rotate or move or zoom
it takes minutes for the software to reposition it so I moved it off the
screen and can't get it centered again. I didn't think my computer was
that slow but maybe it is, an iMac.
It appears that the object is not on the plate but elevated above it.
And there are artifacts on the plate. I would like to play with it but
maybe have to find another computer somewhere.

Lee

On 12/6/2019 1:39 PM, Clint Goss wrote:

The offending line is the fourth line - the polygon() - in this snippet:

 color (SoundChamberColor) {
    rotate_extrude (convexity = 10, $fn=fnSoundChamberDist) {
      translate ([SoundChamberProx_ID/2, MorticeLength, 0]) {
        polygon (points = MorticeChamferPoly_Angle,
$fn=fnSoundChamberDist);
      }
    }
  }

... and I don't offhand know what would be the issue ... unless

What OpenSCAD version are you running? The Breath Flute runs under
version [2015, 3, 0]
Also ... why can't you view the code? In my setup, the code opens in
the editor and does not render until requested ...

-- Clint Goss

FluteCast.com http://FluteCast.com ... direct links to Native
American flute resources

Goss.com http://www.goss.com/  ... index of all our web sites

On Fri, Dec 6, 2019 at 2:24 PM Lee A <683lee@337lee.com
mailto:683lee@337lee.com> wrote:

 I went to breathflute and downloaded the project. I found a file
 bflute_079.scad that seems like it should be it but I get an error at
 line 5697 and have no idea how to   fix it. So I can't look at it or
 print it.

 Lee

 On 12/3/2019 1:08 PM, Clint Goss wrote:

You may be interested in the Breath Flute project ...

 BreathFlute.com.

The bottom of the flue (windway) was initially modeled after

 various

19th century recorders for which I have good measurements

 (available

on-line). After mulling over these, I found that there was a

 suitable

function based on ArcTAN() that fit those measurements

 quite well. So

I created a curve and rotated it around the bore of the instrument.

The Breath Flute project is open-source, so you can download the

 code

and find the appropriate section (I don't recall the details at the
moment). There is also a massive Developer's Guide, which I

 think has

details of how that was done ...

-- Clint Goss

FluteCast.com http://FluteCast.com ... direct links to Native
American flute resources

Goss.com http://www.goss.com/ ... index of all our web sites

On Tue, Dec 3, 2019 at 2:03 PM Kenneth Beesley

 <krbeesley@gmail.com <mailto:krbeesley@gmail.com>

<mailto:krbeesley@gmail.com mailto:krbeesley@gmail.com>> wrote:

     Relative beginner question:  Saxophone flared bell tube, curved
     and graduated, how to model it?

     I'm trying to model a saxophone bell, which has a bore

 (hole) that

     flares from beginning to end over a range of angles. For the

 time

     being, I'm assuming that
     1.  The bore is circular, so some kind of extruded circle

 would be

     appropriate
     2.  But the bore flares (increases in diameter)

 exponentially from

     beginning to end (it should be possible to specify the

 diameter of

     each "section" as a function of the angle)
     3.  The center of the bore rotates around a radius

     4.  Also, I'm assuming that one would first model the bore as a
     kind of solid curved graduated cylinder, and then model a
     larger-diameter "shell" as another solid curved graduated

 cylinder

     (on the same radius), and then just subtract/difference the bore
     from the shell to get a curved graduated tube (like a saxophone
     bell).  The walls of the tube should be the same thickness
     throughout the result.

     I'm a beginner, but I have some acquaintance with linear_extrude
     and rotate_extrude.  rotate_extrude would seem to be perfect

 IF it

     offered (like linear_extrude) the possibility of specifying the
     scale as an interpolated function.  I also just looked at
     ring_extrude, which seems promising, except that the shape to be
     extruded must be specified as a vector of points---it would be
     nice if one could simply extrude a simple circle.

     Are there any available functions that might help me model a
     saxophone bell?  Is there any better way to go about it?
     Thanks,  Ken

     *******************************
     Kenneth R. Beesley, D.Phil.
     PO Box 540475
     North Salt Lake UT 84054
     USA

     _______________________________________________
     OpenSCAD mailing list
Discuss@lists.openscad.org mailto:Discuss@lists.openscad.org

 <mailto:Discuss@lists.openscad.org
 <mailto:Discuss@lists.openscad.org>>
 http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
 http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


 _______________________________________________
 OpenSCAD mailing list
 Discuss@lists.openscad.org <mailto:Discuss@lists.openscad.org>
 http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Ignore my error comment. I missed copying some files. I can see the code, just not the object. I am version 2019.05 I think I got it to display but any time I try to rotate or move or zoom it takes minutes for the software to reposition it so I moved it off the screen and can't get it centered again. I didn't think my computer was that slow but maybe it is, an iMac. It appears that the object is not on the plate but elevated above it. And there are artifacts on the plate. I would like to play with it but maybe have to find another computer somewhere. Lee On 12/6/2019 1:39 PM, Clint Goss wrote: > The offending line is the fourth line - the polygon() - in this snippet: > >  color (SoundChamberColor) { >     rotate_extrude (convexity = 10, $fn=fnSoundChamberDist) { >       translate ([SoundChamberProx_ID/2, MorticeLength, 0]) { >         polygon (points = MorticeChamferPoly_Angle, > $fn=fnSoundChamberDist); >       } >     } >   } > > ... and I don't offhand know what would be the issue ... unless > > What OpenSCAD version are you running? The Breath Flute runs under > version [2015, 3, 0] > Also ... why can't you view the code? In my setup, the code opens in > the editor and does not render until requested ... > > -- Clint Goss > > FluteCast.com <http://FluteCast.com> ... direct links to Native > American flute resources > > Goss.com <http://www.goss.com/>  ... index of all our web sites > > > > On Fri, Dec 6, 2019 at 2:24 PM Lee A <683lee@337lee.com > <mailto:683lee@337lee.com>> wrote: > > I went to breathflute and downloaded the project. I found a file > bflute_079.scad that seems like it should be it but I get an error at > line 5697 and have no idea how to   fix it. So I can't look at it or > print it. > > Lee > > On 12/3/2019 1:08 PM, Clint Goss wrote: > > You may be interested in the Breath Flute project ... > BreathFlute.com. > > > > The bottom of the flue (windway) was initially modeled after > various > > 19th century recorders for which I have good measurements > (available > > on-line). After mulling over these, I found that there was a > suitable > > function based on ArcTAN() that fit those measurements > quite well. So > > I created a curve and rotated it around the bore of the instrument. > > > > The Breath Flute project is open-source, so you can download the > code > > and find the appropriate section (I don't recall the details at the > > moment). There is also a massive Developer's Guide, which I > think has > > details of how that was done ... > > > > -- Clint Goss > > > > FluteCast.com <http://FluteCast.com> ... direct links to Native > > American flute resources > > > > Goss.com <http://www.goss.com/> ... index of all our web sites > > > > > > > > On Tue, Dec 3, 2019 at 2:03 PM Kenneth Beesley > <krbeesley@gmail.com <mailto:krbeesley@gmail.com> > > <mailto:krbeesley@gmail.com <mailto:krbeesley@gmail.com>>> wrote: > > > >     Relative beginner question:  Saxophone flared bell tube, curved > >     and graduated, how to model it? > > > >     I'm trying to model a saxophone bell, which has a bore > (hole) that > >     flares from beginning to end over a range of angles. For the > time > >     being, I'm assuming that > >     1.  The bore is circular, so some kind of extruded circle > would be > >     appropriate > >     2.  But the bore flares (increases in diameter) > exponentially from > >     beginning to end (it should be possible to specify the > diameter of > >     each "section" as a function of the angle) > >     3.  The center of the bore rotates around a radius > > > >     4.  Also, I'm assuming that one would first model the bore as a > >     kind of solid curved graduated cylinder, and then model a > >     larger-diameter "shell" as another solid curved graduated > cylinder > >     (on the same radius), and then just subtract/difference the bore > >     from the shell to get a curved graduated tube (like a saxophone > >     bell).  The walls of the tube should be the same thickness > >     throughout the result. > > > >     I'm a beginner, but I have some acquaintance with linear_extrude > >     and rotate_extrude.  rotate_extrude would seem to be perfect > IF it > >     offered (like linear_extrude) the possibility of specifying the > >     scale as an interpolated function.  I also just looked at > >     ring_extrude, which seems promising, except that the shape to be > >     extruded must be specified as a vector of points---it would be > >     nice if one could simply extrude a simple circle. > > > >     Are there any available functions that might help me model a > >     saxophone bell?  Is there any better way to go about it? > >     Thanks,  Ken > > > >     ******************************* > >     Kenneth R. Beesley, D.Phil. > >     PO Box 540475 > >     North Salt Lake UT 84054 > >     USA > > > > > > > > > > > > > > > >     _______________________________________________ > >     OpenSCAD mailing list > > Discuss@lists.openscad.org <mailto:Discuss@lists.openscad.org> > <mailto:Discuss@lists.openscad.org > <mailto:Discuss@lists.openscad.org>> > > > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > > > > > _______________________________________________ > > OpenSCAD mailing list > > Discuss@lists.openscad.org <mailto:Discuss@lists.openscad.org> > > > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org <mailto:Discuss@lists.openscad.org> > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
MM
Michael Marx
Sat, Dec 7, 2019 2:41 AM

so I moved it off the

screen and can't get it centered again.

Try these two buttons

-----Original Message-----

From: Discuss [mailto:discuss-bounces@lists.openscad.org] On Behalf Of Lee A

Sent: Sat, 7 Dec 2019 10:26

Subject: Re: [OpenSCAD] SPAM Re: Saxophone flared bell tube, curved and graduated, how to

model it?

Ignore my error comment. I missed copying some files. I can see the

code, just not the object.

I am version 2019.05

I think I got it to display but any time I try to rotate or move or zoom

it takes minutes for the software to reposition it so I moved it off the

screen and can't get it centered again. I didn't think my computer was

that slow but maybe it is, an iMac.

It appears that the object is not on the plate but elevated above it.

And there are artifacts on the plate. I would like to play with it but

maybe have to find another computer somewhere.

Lee

On 12/6/2019 1:39 PM, Clint Goss wrote:

The offending line is the fourth line - the polygon() - in this snippet:

color (SoundChamberColor) {

 rotate_extrude (convexity = 10, $fn=fnSoundChamberDist) {
   translate ([SoundChamberProx_ID/2, MorticeLength, 0]) {
     polygon (points = MorticeChamferPoly_Angle,

$fn=fnSoundChamberDist);

   }
 }

}

... and I don't offhand know what would be the issue ... unless

What OpenSCAD version are you running? The Breath Flute runs under

version [2015, 3, 0]

Also ... why can't you view the code? In my setup, the code opens in

the editor and does not render until requested ...

-- Clint Goss

FluteCast.com http://FluteCast.com ... direct links to Native

American flute resources

Goss.com http://www.goss.com/  ... index of all our web sites

On Fri, Dec 6, 2019 at 2:24 PM Lee A <683lee@337lee.com

 I went to breathflute and downloaded the project. I found a file
 bflute_079.scad that seems like it should be it but I get an error at
 line 5697 and have no idea how to   fix it. So I can't look at it or
 print it.
 Lee
 On 12/3/2019 1:08 PM, Clint Goss wrote:

You may be interested in the Breath Flute project ...

 BreathFlute.com.

The bottom of the flue (windway) was initially modeled after

 various

19th century recorders for which I have good measurements

 (available

on-line). After mulling over these, I found that there was a

 suitable

function based on ArcTAN() that fit those measurements

 quite well. So

I created a curve and rotated it around the bore of the instrument.

The Breath Flute project is open-source, so you can download the

 code

and find the appropriate section (I don't recall the details at the

moment). There is also a massive Developer's Guide, which I

 think has

details of how that was done ...

-- Clint Goss

FluteCast.com http://FluteCast.com ... direct links to Native

American flute resources

Goss.com http://www.goss.com/ ... index of all our web sites

On Tue, Dec 3, 2019 at 2:03 PM Kenneth Beesley

 <krbeesley@gmail.com <mailto:krbeesley@gmail.com>
 Relative beginner question:  Saxophone flared bell tube, curved
 and graduated, how to model it?
 I'm trying to model a saxophone bell, which has a bore
 (hole) that
 flares from beginning to end over a range of angles. For the
 time
 being, I'm assuming that
 1.  The bore is circular, so some kind of extruded circle
 would be
 appropriate
 2.  But the bore flares (increases in diameter)
 exponentially from
 beginning to end (it should be possible to specify the
 diameter of
 each "section" as a function of the angle)
 3.  The center of the bore rotates around a radius
 4.  Also, I'm assuming that one would first model the bore as a
 kind of solid curved graduated cylinder, and then model a
 larger-diameter "shell" as another solid curved graduated
 cylinder
 (on the same radius), and then just subtract/difference the bore
 from the shell to get a curved graduated tube (like a saxophone
 bell).  The walls of the tube should be the same thickness
 throughout the result.
 I'm a beginner, but I have some acquaintance with linear_extrude
 and rotate_extrude.  rotate_extrude would seem to be perfect
 IF it
 offered (like linear_extrude) the possibility of specifying the
 scale as an interpolated function.  I also just looked at
 ring_extrude, which seems promising, except that the shape to be
 extruded must be specified as a vector of points---it would be
 nice if one could simply extrude a simple circle.
 Are there any available functions that might help me model a
 saxophone bell?  Is there any better way to go about it?
 Thanks,  Ken
 *******************************
 Kenneth R. Beesley, D.Phil.
 PO Box 540475
 North Salt Lake UT 84054
 USA
 _______________________________________________
 OpenSCAD mailing list
 <mailto:Discuss@lists.openscad.org
 <mailto:Discuss@lists.openscad.org>>
 http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

OpenSCAD mailing list

 http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
 _______________________________________________
 OpenSCAD mailing list
 Discuss@lists.openscad.org <mailto:Discuss@lists.openscad.org>
 http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

OpenSCAD mailing list


OpenSCAD mailing list

> so I moved it off the > screen and can't get it centered again. Try these two buttons > -----Original Message----- > From: Discuss [mailto:discuss-bounces@lists.openscad.org] On Behalf Of Lee A > Sent: Sat, 7 Dec 2019 10:26 > To: discuss@lists.openscad.org > Subject: Re: [OpenSCAD] ***SPAM*** Re: Saxophone flared bell tube, curved and graduated, how to > model it? > > Ignore my error comment. I missed copying some files. I can see the > code, just not the object. > I am version 2019.05 > I think I got it to display but any time I try to rotate or move or zoom > it takes minutes for the software to reposition it so I moved it off the > screen and can't get it centered again. I didn't think my computer was > that slow but maybe it is, an iMac. > It appears that the object is not on the plate but elevated above it. > And there are artifacts on the plate. I would like to play with it but > maybe have to find another computer somewhere. > > Lee > > On 12/6/2019 1:39 PM, Clint Goss wrote: > > The offending line is the fourth line - the polygon() - in this snippet: > > > > color (SoundChamberColor) { > > rotate_extrude (convexity = 10, $fn=fnSoundChamberDist) { > > translate ([SoundChamberProx_ID/2, MorticeLength, 0]) { > > polygon (points = MorticeChamferPoly_Angle, > > $fn=fnSoundChamberDist); > > } > > } > > } > > > > ... and I don't offhand know what would be the issue ... unless > > > > What OpenSCAD version are you running? The Breath Flute runs under > > version [2015, 3, 0] > > Also ... why can't you view the code? In my setup, the code opens in > > the editor and does not render until requested ... > > > > -- Clint Goss > > > > FluteCast.com <http://FluteCast.com> ... direct links to Native > > American flute resources > > > > Goss.com <http://www.goss.com/> ... index of all our web sites > > > > > > > > On Fri, Dec 6, 2019 at 2:24 PM Lee A <683lee@337lee.com > > <mailto:683lee@337lee.com>> wrote: > > > > I went to breathflute and downloaded the project. I found a file > > bflute_079.scad that seems like it should be it but I get an error at > > line 5697 and have no idea how to fix it. So I can't look at it or > > print it. > > > > Lee > > > > On 12/3/2019 1:08 PM, Clint Goss wrote: > > > You may be interested in the Breath Flute project ... > > BreathFlute.com. > > > > > > The bottom of the flue (windway) was initially modeled after > > various > > > 19th century recorders for which I have good measurements > > (available > > > on-line). After mulling over these, I found that there was a > > suitable > > > function based on ArcTAN() that fit those measurements > > quite well. So > > > I created a curve and rotated it around the bore of the instrument. > > > > > > The Breath Flute project is open-source, so you can download the > > code > > > and find the appropriate section (I don't recall the details at the > > > moment). There is also a massive Developer's Guide, which I > > think has > > > details of how that was done ... > > > > > > -- Clint Goss > > > > > > FluteCast.com <http://FluteCast.com> ... direct links to Native > > > American flute resources > > > > > > Goss.com <http://www.goss.com/> ... index of all our web sites > > > > > > > > > > > > On Tue, Dec 3, 2019 at 2:03 PM Kenneth Beesley > > <krbeesley@gmail.com <mailto:krbeesley@gmail.com> > > > <mailto:krbeesley@gmail.com <mailto:krbeesley@gmail.com>>> wrote: > > > > > > Relative beginner question: Saxophone flared bell tube, curved > > > and graduated, how to model it? > > > > > > I'm trying to model a saxophone bell, which has a bore > > (hole) that > > > flares from beginning to end over a range of angles. For the > > time > > > being, I'm assuming that > > > 1. The bore is circular, so some kind of extruded circle > > would be > > > appropriate > > > 2. But the bore flares (increases in diameter) > > exponentially from > > > beginning to end (it should be possible to specify the > > diameter of > > > each "section" as a function of the angle) > > > 3. The center of the bore rotates around a radius > > > > > > 4. Also, I'm assuming that one would first model the bore as a > > > kind of solid curved graduated cylinder, and then model a > > > larger-diameter "shell" as another solid curved graduated > > cylinder > > > (on the same radius), and then just subtract/difference the bore > > > from the shell to get a curved graduated tube (like a saxophone > > > bell). The walls of the tube should be the same thickness > > > throughout the result. > > > > > > I'm a beginner, but I have some acquaintance with linear_extrude > > > and rotate_extrude. rotate_extrude would seem to be perfect > > IF it > > > offered (like linear_extrude) the possibility of specifying the > > > scale as an interpolated function. I also just looked at > > > ring_extrude, which seems promising, except that the shape to be > > > extruded must be specified as a vector of points---it would be > > > nice if one could simply extrude a simple circle. > > > > > > Are there any available functions that might help me model a > > > saxophone bell? Is there any better way to go about it? > > > Thanks, Ken > > > > > > ******************************* > > > Kenneth R. Beesley, D.Phil. > > > PO Box 540475 > > > North Salt Lake UT 84054 > > > USA > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > OpenSCAD mailing list > > > Discuss@lists.openscad.org <mailto:Discuss@lists.openscad.org> > > <mailto:Discuss@lists.openscad.org > > <mailto:Discuss@lists.openscad.org>> > > > > > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > > > > > > > > _______________________________________________ > > > OpenSCAD mailing list > > > Discuss@lists.openscad.org <mailto:Discuss@lists.openscad.org> > > > > > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > > > > > _______________________________________________ > > OpenSCAD mailing list > > Discuss@lists.openscad.org <mailto:Discuss@lists.openscad.org> > > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > > > > > _______________________________________________ > > OpenSCAD mailing list > > Discuss@lists.openscad.org > > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
LA
Lee A
Sun, Dec 8, 2019 4:02 AM

Thanks, I didn't know they did that.

Has anyone else looked at the files? I see too many STL files to figure
out which ones I would need. There seems to be duplicates with only a
numbering system to identify them. I can't figure out what to make.

Lee

On 12/6/2019 8:41 PM, Michael Marx wrote:

so I moved it off the

screen and can't get it centered again.

Try these two buttons

-----Original Message-----

From: Discuss [mailto:discuss-bounces@lists.openscad.org] On Behalf Of

Lee A

Sent: Sat, 7 Dec 2019 10:26

Subject: Re: [OpenSCAD] SPAM Re: Saxophone flared bell tube,

curved and graduated, how to

model it?

Ignore my error comment. I missed copying some files. I can see the

code, just not the object.

I am version 2019.05

I think I got it to display but any time I try to rotate or move or zoom

it takes minutes for the software to reposition it so I moved it off the

screen and can't get it centered again. I didn't think my computer was

that slow but maybe it is, an iMac.

It appears that the object is not on the plate but elevated above it.

And there are artifacts on the plate. I would like to play with it but

maybe have to find another computer somewhere.

Lee

On 12/6/2019 1:39 PM, Clint Goss wrote:

The offending line is the fourth line - the polygon() - in this snippet:

 color (SoundChamberColor) {

    rotate_extrude (convexity = 10, $fn=fnSoundChamberDist) {

      translate ([SoundChamberProx_ID/2, MorticeLength, 0]) {

        polygon (points = MorticeChamferPoly_Angle,

$fn=fnSoundChamberDist);

      }

    }

  }

... and I don't offhand know what would be the issue ... unless

What OpenSCAD version are you running? The Breath Flute runs under

version [2015, 3, 0]

Also ... why can't you view the code? In my setup, the code opens in

the editor and does not render until requested ...

-- Clint Goss

FluteCast.com http://FluteCast.com ... direct links to Native

American flute resources

Goss.com http://www.goss.com/  ... index of all our web sites

On Fri, Dec 6, 2019 at 2:24 PM Lee A <683lee@337lee.com

     I went to breathflute and downloaded the project. I found a file

     bflute_079.scad that seems like it should be it but I get an error at

     line 5697 and have no idea how to   fix it. So I can't look at it or

     print it.

     Lee

     On 12/3/2019 1:08 PM, Clint Goss wrote:

     > You may be interested in the Breath Flute project ...

     BreathFlute.com.

     >

     > The bottom of the flue (windway) was initially modeled after

     various

     > 19th century recorders for which I have good measurements

     (available

     > on-line). After mulling over these, I found that there was a

     suitable

     > function based on ArcTAN() that fit those measurements

     quite well. So

     > I created a curve and rotated it around the bore of the instrument.

     >

     > The Breath Flute project is open-source, so you can download the

     code

     > and find the appropriate section (I don't recall the details at the

     > moment). There is also a massive Developer's Guide, which I

     think has

     > details of how that was done ...

     >

     > -- Clint Goss

     >

     > FluteCast.com http://FluteCast.com ... direct links to Native

     > American flute resources

     >

     > Goss.com http://www.goss.com/ ... index of all our web sites

     >

     >

     >

     > On Tue, Dec 3, 2019 at 2:03 PM Kenneth Beesley

     > <mailto:krbeesley@gmail.com mailto:krbeesley@gmail.com>> wrote:

     >

     >     Relative beginner question: Saxophone flared bell tube, curved

     >     and graduated, how to model it?

     >

     >     I'm trying to model a saxophone bell, which has a bore

     (hole) that

     >     flares from beginning to end over a range of angles. For the

     time

     >     being, I'm assuming that

     >     1.  The bore is circular, so some kind of extruded circle

     would be

     >     appropriate

     >     2.  But the bore flares (increases in diameter)

     exponentially from

     >     beginning to end (it should be possible to specify the

     diameter of

     >     each "section" as a function of the angle)

     >     3.  The center of the bore rotates around a radius

     >

     >     4.  Also, I'm assuming that one would first model the bore as a

     >     kind of solid curved graduated cylinder, and then model a

     >     larger-diameter "shell" as another solid curved graduated

     cylinder

     >     (on the same radius), and then just subtract/difference the bore

     >     from the shell to get a curved graduated tube (like a saxophone

     >     bell).  The walls of the tube should be the same thickness

     >     throughout the result.

     >

     >     I'm a beginner, but I have some acquaintance with linear_extrude

     >     and rotate_extrude. rotate_extrude would seem to be perfect

     IF it

     >     offered (like linear_extrude) the possibility of specifying the

     >     scale as an interpolated function.  I also just looked at

     >     ring_extrude, which seems promising, except that the shape to be

     >     extruded must be specified as a vector of points---it would be

     >     nice if one could simply extrude a simple circle.

     >

     >     Are there any available functions that might help me model a

     >     saxophone bell?  Is there any better way to go about it?

     >     Thanks,  Ken

     >

     >   *******************************

     >     Kenneth R. Beesley, D.Phil.

     >    PO Box 540475

     >    North Salt Lake UT 84054

     >    USA

     >

     >

     >

     >

     >

     >

     >

     >   _______________________________________________

     >     OpenSCAD mailing list

<mailto:Discuss@lists.openscad.org
<mailto:Discuss@lists.openscad.org>>

     >

http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

     >

     >

     > _______________________________________________

     > OpenSCAD mailing list

     >

http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
_______________________________________________

     OpenSCAD mailing list

Discuss@lists.openscad.org <mailto:Discuss@lists.openscad.org>
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

OpenSCAD mailing list


OpenSCAD mailing list

Thanks, I didn't know they did that. Has anyone else looked at the files? I see too many STL files to figure out which ones I would need. There seems to be duplicates with only a numbering system to identify them. I can't figure out what to make. Lee On 12/6/2019 8:41 PM, Michael Marx wrote: > > > so I moved it off the > > > screen and can't get it centered again. > > Try these two buttons > > > -----Original Message----- > > > From: Discuss [mailto:discuss-bounces@lists.openscad.org] On Behalf Of > Lee A > > > Sent: Sat, 7 Dec 2019 10:26 > > > To: discuss@lists.openscad.org > > > Subject: Re: [OpenSCAD] ***SPAM*** Re: Saxophone flared bell tube, > curved and graduated, how to > > > model it? > > > > > > Ignore my error comment. I missed copying some files. I can see the > > > code, just not the object. > > > I am version 2019.05 > > > I think I got it to display but any time I try to rotate or move or zoom > > > it takes minutes for the software to reposition it so I moved it off the > > > screen and can't get it centered again. I didn't think my computer was > > > that slow but maybe it is, an iMac. > > > It appears that the object is not on the plate but elevated above it. > > > And there are artifacts on the plate. I would like to play with it but > > > maybe have to find another computer somewhere. > > > > > > Lee > > > > > > On 12/6/2019 1:39 PM, Clint Goss wrote: > > > > The offending line is the fourth line - the polygon() - in this snippet: > > > > > > > >  color (SoundChamberColor) { > > > >     rotate_extrude (convexity = 10, $fn=fnSoundChamberDist) { > > > >       translate ([SoundChamberProx_ID/2, MorticeLength, 0]) { > > > >         polygon (points = MorticeChamferPoly_Angle, > > > > $fn=fnSoundChamberDist); > > > >       } > > > >     } > > > >   } > > > > > > > > ... and I don't offhand know what would be the issue ... unless > > > > > > > > What OpenSCAD version are you running? The Breath Flute runs under > > > > version [2015, 3, 0] > > > > Also ... why can't you view the code? In my setup, the code opens in > > > > the editor and does not render until requested ... > > > > > > > > -- Clint Goss > > > > > > > > FluteCast.com <http://FluteCast.com> ... direct links to Native > > > > American flute resources > > > > > > > > Goss.com <http://www.goss.com/>  ... index of all our web sites > > > > > > > > > > > > > > > > On Fri, Dec 6, 2019 at 2:24 PM Lee A <683lee@337lee.com > > > > <mailto:683lee@337lee.com>> wrote: > > > > > > > >     I went to breathflute and downloaded the project. I found a file > > > >     bflute_079.scad that seems like it should be it but I get an error at > > > >     line 5697 and have no idea how to   fix it. So I can't look at it or > > > >     print it. > > > > > > > >     Lee > > > > > > > >     On 12/3/2019 1:08 PM, Clint Goss wrote: > > > >     > You may be interested in the Breath Flute project ... > > > >     BreathFlute.com. > > > >     > > > > >     > The bottom of the flue (windway) was initially modeled after > > > >     various > > > >     > 19th century recorders for which I have good measurements > > > >     (available > > > >     > on-line). After mulling over these, I found that there was a > > > >     suitable > > > >     > function based on ArcTAN() that fit those measurements > > > >     quite well. So > > > >     > I created a curve and rotated it around the bore of the instrument. > > > >     > > > > >     > The Breath Flute project is open-source, so you can download the > > > >     code > > > >     > and find the appropriate section (I don't recall the details at the > > > >     > moment). There is also a massive Developer's Guide, which I > > > >     think has > > > >     > details of how that was done ... > > > >     > > > > >     > -- Clint Goss > > > >     > > > > >     > FluteCast.com <http://FluteCast.com> ... direct links to Native > > > >     > American flute resources > > > >     > > > > >     > Goss.com <http://www.goss.com/> ... index of all our web sites > > > >     > > > > >     > > > > >     > > > > >     > On Tue, Dec 3, 2019 at 2:03 PM Kenneth Beesley > > > >     <krbeesley@gmail.com <mailto:krbeesley@gmail.com> > > > >     > <mailto:krbeesley@gmail.com <mailto:krbeesley@gmail.com>>> wrote: > > > >     > > > > >     >     Relative beginner question: Saxophone flared bell tube, curved > > > >     >     and graduated, how to model it? > > > >     > > > > >     >     I'm trying to model a saxophone bell, which has a bore > > > >     (hole) that > > > >     >     flares from beginning to end over a range of angles. For the > > > >     time > > > >     >     being, I'm assuming that > > > >     >     1.  The bore is circular, so some kind of extruded circle > > > >     would be > > > >     >     appropriate > > > >     >     2.  But the bore flares (increases in diameter) > > > >     exponentially from > > > >     >     beginning to end (it should be possible to specify the > > > >     diameter of > > > >     >     each "section" as a function of the angle) > > > >     >     3.  The center of the bore rotates around a radius > > > >     > > > > >     >     4.  Also, I'm assuming that one would first model the bore as a > > > >     >     kind of solid curved graduated cylinder, and then model a > > > >     >     larger-diameter "shell" as another solid curved graduated > > > >     cylinder > > > >     >     (on the same radius), and then just subtract/difference the bore > > > >     >     from the shell to get a curved graduated tube (like a saxophone > > > >     >     bell).  The walls of the tube should be the same thickness > > > >     >     throughout the result. > > > >     > > > > >     >     I'm a beginner, but I have some acquaintance with linear_extrude > > > >     >     and rotate_extrude. rotate_extrude would seem to be perfect > > > >     IF it > > > >     >     offered (like linear_extrude) the possibility of specifying the > > > >     >     scale as an interpolated function.  I also just looked at > > > >     >     ring_extrude, which seems promising, except that the shape to be > > > >     >     extruded must be specified as a vector of points---it would be > > > >     >     nice if one could simply extrude a simple circle. > > > >     > > > > >     >     Are there any available functions that might help me model a > > > >     >     saxophone bell?  Is there any better way to go about it? > > > >     >     Thanks,  Ken > > > >     > > > > >     >  ******************************* > > > >     >     Kenneth R. Beesley, D.Phil. > > > >     > PO Box 540475 > > > >     > North Salt Lake UT 84054 > > > >     > USA > > > >     > > > > >     > > > > >     > > > > >     > > > > >     > > > > >     > > > > >     > > > > >     >  _______________________________________________ > > > >     >     OpenSCAD mailing list > > > >     > Discuss@lists.openscad.org <mailto:Discuss@lists.openscad.org> > > > > <mailto:Discuss@lists.openscad.org > > > > <mailto:Discuss@lists.openscad.org>> > > > >     > > > > > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > > >     > > > > >     > > > > >     > _______________________________________________ > > > >     > OpenSCAD mailing list > > > >     > Discuss@lists.openscad.org <mailto:Discuss@lists.openscad.org> > > > >     > > > > > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > > > > > > > > > > > _______________________________________________ > > > >     OpenSCAD mailing list > > > > Discuss@lists.openscad.org <mailto:Discuss@lists.openscad.org> > > > > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > > > > > > > > > > > _______________________________________________ > > > > OpenSCAD mailing list > > > > Discuss@lists.openscad.org > > > > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > > > > > > > > _______________________________________________ > > > OpenSCAD mailing list > > > Discuss@lists.openscad.org > > > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
CG
Clint Goss
Sat, Dec 14, 2019 5:51 PM

Sorry for the late reply ...

I was working on the assumption that people would be printing from STL, not
starting from OpenSCAD, so I included lots of variants.

File naming scheme is described in the included Developer's Guide (as a
PDF).

However, the most common / useful STL files are in the /STL_Core subdir of
the release. For a complete headjoint, you'll need one each of the BD,
BI, and BP components. You might try the _m variants, which use
"medium" curve parameters. So you would print:

BFlute_079_BD_BF_m125i0z5e008_20180810_0711.stl
BFlute_079_BI_BF_m125LbT_20180810_0711.stl
BFlute_079_BP_BF_m125LbTi0_20180810_0711.stl

-- Clint Goss

FluteCast.com ... direct links to Native American flute resources

Goss.com http://www.goss.com/  ... index of all our web sites

On Sat, Dec 7, 2019 at 11:03 PM Lee A 683lee@337lee.com wrote:

Thanks, I didn't know they did that.

Has anyone else looked at the files? I see too many STL files to figure
out which ones I would need. There seems to be duplicates with only a
numbering system to identify them. I can't figure out what to make.

Lee

On 12/6/2019 8:41 PM, Michael Marx wrote:

so I moved it off the

screen and can't get it centered again.

Try these two buttons

-----Original Message-----

From: Discuss [mailto:discuss-bounces@lists.openscad.org] On Behalf

Of

Lee A

Sent: Sat, 7 Dec 2019 10:26

Subject: Re: [OpenSCAD] SPAM Re: Saxophone flared bell tube,

curved and graduated, how to

model it?

Ignore my error comment. I missed copying some files. I can see the

code, just not the object.

I am version 2019.05

I think I got it to display but any time I try to rotate or move or

zoom

it takes minutes for the software to reposition it so I moved it off

the

screen and can't get it centered again. I didn't think my computer was

that slow but maybe it is, an iMac.

It appears that the object is not on the plate but elevated above it.

And there are artifacts on the plate. I would like to play with it but

maybe have to find another computer somewhere.

Lee

On 12/6/2019 1:39 PM, Clint Goss wrote:

The offending line is the fourth line - the polygon() - in this

snippet:

color (SoundChamberColor) {

 rotate_extrude (convexity = 10, $fn=fnSoundChamberDist) {
   translate ([SoundChamberProx_ID/2, MorticeLength, 0]) {
     polygon (points = MorticeChamferPoly_Angle,

$fn=fnSoundChamberDist);

   }
 }

}

... and I don't offhand know what would be the issue ... unless

What OpenSCAD version are you running? The Breath Flute runs under

version [2015, 3, 0]

Also ... why can't you view the code? In my setup, the code opens in

the editor and does not render until requested ...

-- Clint Goss

FluteCast.com http://FluteCast.com ... direct links to Native

American flute resources

Goss.com http://www.goss.com/  ... index of all our web sites

On Fri, Dec 6, 2019 at 2:24 PM Lee A <683lee@337lee.com

 I went to breathflute and downloaded the project. I found a file
 bflute_079.scad that seems like it should be it but I get an

error at

 line 5697 and have no idea how to   fix it. So I can't look at

it or

 print it.
 Lee
 On 12/3/2019 1:08 PM, Clint Goss wrote:

You may be interested in the Breath Flute project ...

 BreathFlute.com.

The bottom of the flue (windway) was initially modeled after

 various

19th century recorders for which I have good measurements

 (available

on-line). After mulling over these, I found that there was a

 suitable

function based on ArcTAN() that fit those measurements

 quite well. So

I created a curve and rotated it around the bore of the

instrument.

The Breath Flute project is open-source, so you can download

the

 code

and find the appropriate section (I don't recall the details

at the

moment). There is also a massive Developer's Guide, which I

 think has

details of how that was done ...

-- Clint Goss

FluteCast.com http://FluteCast.com ... direct links

to Native

American flute resources

Goss.com http://www.goss.com/ ... index of all our web sites

On Tue, Dec 3, 2019 at 2:03 PM Kenneth Beesley

 <krbeesley@gmail.com <mailto:krbeesley@gmail.com>

wrote:

 Relative beginner question: Saxophone flared bell tube,

curved

 and graduated, how to model it?
 I'm trying to model a saxophone bell, which has a bore
 (hole) that
 flares from beginning to end over a range of angles. For

the

 time
 being, I'm assuming that
 1.  The bore is circular, so some kind of extruded circle
 would be
 appropriate
 2.  But the bore flares (increases in diameter)
 exponentially from
 beginning to end (it should be possible to specify the
 diameter of
 each "section" as a function of the angle)
 3.  The center of the bore rotates around a radius
 4.  Also, I'm assuming that one would first model the bore

as a

 kind of solid curved graduated cylinder, and then model a
 larger-diameter "shell" as another solid curved graduated
 cylinder
 (on the same radius), and then just subtract/difference

the bore

 from the shell to get a curved graduated tube (like a

saxophone

 bell).  The walls of the tube should be the same thickness
 throughout the result.
 I'm a beginner, but I have some acquaintance with

linear_extrude

 and rotate_extrude. rotate_extrude would seem to be perfect
 IF it
 offered (like linear_extrude) the possibility of

specifying the

 scale as an interpolated function.  I also just looked at
 ring_extrude, which seems promising, except that the shape

to be

 extruded must be specified as a vector of points---it

would be

 nice if one could simply extrude a simple circle.
 Are there any available functions that might help me model

a

 saxophone bell?  Is there any better way to go about it?
 Thanks,  Ken
*******************************
 Kenneth R. Beesley, D.Phil.
 PO Box 540475
 North Salt Lake UT 84054
 USA
_______________________________________________
 OpenSCAD mailing list
<mailto:Discuss@lists.openscad.org
<mailto:Discuss@lists.openscad.org>>
_______________________________________________
 OpenSCAD mailing list
Discuss@lists.openscad.org <mailto:Discuss@lists.openscad.org>

OpenSCAD mailing list

Sorry for the late reply ... I was working on the assumption that people would be printing from STL, not starting from OpenSCAD, so I included lots of variants. File naming scheme is described in the included Developer's Guide (as a PDF). However, the most common / useful STL files are in the /STL_Core subdir of the release. For a complete headjoint, you'll need one each of the _BD_, _BI_, and _BP_ components. You might try the _m variants, which use "medium" curve parameters. So you would print: BFlute_079_BD_BF_m125i0z5e008_20180810_0711.stl BFlute_079_BI_BF_m125LbT_20180810_0711.stl BFlute_079_BP_BF_m125LbTi0_20180810_0711.stl -- Clint Goss FluteCast.com ... direct links to Native American flute resources Goss.com <http://www.goss.com/> ... index of all our web sites On Sat, Dec 7, 2019 at 11:03 PM Lee A <683lee@337lee.com> wrote: > Thanks, I didn't know they did that. > > Has anyone else looked at the files? I see too many STL files to figure > out which ones I would need. There seems to be duplicates with only a > numbering system to identify them. I can't figure out what to make. > > Lee > > On 12/6/2019 8:41 PM, Michael Marx wrote: > > > > > so I moved it off the > > > > > screen and can't get it centered again. > > > > Try these two buttons > > > > > -----Original Message----- > > > > > From: Discuss [mailto:discuss-bounces@lists.openscad.org] On Behalf > Of > > Lee A > > > > > Sent: Sat, 7 Dec 2019 10:26 > > > > > To: discuss@lists.openscad.org > > > > > Subject: Re: [OpenSCAD] ***SPAM*** Re: Saxophone flared bell tube, > > curved and graduated, how to > > > > > model it? > > > > > > > > > > Ignore my error comment. I missed copying some files. I can see the > > > > > code, just not the object. > > > > > I am version 2019.05 > > > > > I think I got it to display but any time I try to rotate or move or > zoom > > > > > it takes minutes for the software to reposition it so I moved it off > the > > > > > screen and can't get it centered again. I didn't think my computer was > > > > > that slow but maybe it is, an iMac. > > > > > It appears that the object is not on the plate but elevated above it. > > > > > And there are artifacts on the plate. I would like to play with it but > > > > > maybe have to find another computer somewhere. > > > > > > > > > > Lee > > > > > > > > > > On 12/6/2019 1:39 PM, Clint Goss wrote: > > > > > > The offending line is the fourth line - the polygon() - in this > snippet: > > > > > > > > > > > > color (SoundChamberColor) { > > > > > > rotate_extrude (convexity = 10, $fn=fnSoundChamberDist) { > > > > > > translate ([SoundChamberProx_ID/2, MorticeLength, 0]) { > > > > > > polygon (points = MorticeChamferPoly_Angle, > > > > > > $fn=fnSoundChamberDist); > > > > > > } > > > > > > } > > > > > > } > > > > > > > > > > > > ... and I don't offhand know what would be the issue ... unless > > > > > > > > > > > > What OpenSCAD version are you running? The Breath Flute runs under > > > > > > version [2015, 3, 0] > > > > > > Also ... why can't you view the code? In my setup, the code opens in > > > > > > the editor and does not render until requested ... > > > > > > > > > > > > -- Clint Goss > > > > > > > > > > > > FluteCast.com <http://FluteCast.com> ... direct links to Native > > > > > > American flute resources > > > > > > > > > > > > Goss.com <http://www.goss.com/> ... index of all our web sites > > > > > > > > > > > > > > > > > > > > > > > > On Fri, Dec 6, 2019 at 2:24 PM Lee A <683lee@337lee.com > > > > > > <mailto:683lee@337lee.com>> wrote: > > > > > > > > > > > > I went to breathflute and downloaded the project. I found a file > > > > > > bflute_079.scad that seems like it should be it but I get an > error at > > > > > > line 5697 and have no idea how to fix it. So I can't look at > it or > > > > > > print it. > > > > > > > > > > > > Lee > > > > > > > > > > > > On 12/3/2019 1:08 PM, Clint Goss wrote: > > > > > > > You may be interested in the Breath Flute project ... > > > > > > BreathFlute.com. > > > > > > > > > > > > > > The bottom of the flue (windway) was initially modeled after > > > > > > various > > > > > > > 19th century recorders for which I have good measurements > > > > > > (available > > > > > > > on-line). After mulling over these, I found that there was a > > > > > > suitable > > > > > > > function based on ArcTAN() that fit those measurements > > > > > > quite well. So > > > > > > > I created a curve and rotated it around the bore of the > instrument. > > > > > > > > > > > > > > The Breath Flute project is open-source, so you can download > the > > > > > > code > > > > > > > and find the appropriate section (I don't recall the details > at the > > > > > > > moment). There is also a massive Developer's Guide, which I > > > > > > think has > > > > > > > details of how that was done ... > > > > > > > > > > > > > > -- Clint Goss > > > > > > > > > > > > > > FluteCast.com <http://FluteCast.com> ... direct links > to Native > > > > > > > American flute resources > > > > > > > > > > > > > > Goss.com <http://www.goss.com/> ... index of all our web sites > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Tue, Dec 3, 2019 at 2:03 PM Kenneth Beesley > > > > > > <krbeesley@gmail.com <mailto:krbeesley@gmail.com> > > > > > > > <mailto:krbeesley@gmail.com <mailto:krbeesley@gmail.com>>> > wrote: > > > > > > > > > > > > > > Relative beginner question: Saxophone flared bell tube, > curved > > > > > > > and graduated, how to model it? > > > > > > > > > > > > > > I'm trying to model a saxophone bell, which has a bore > > > > > > (hole) that > > > > > > > flares from beginning to end over a range of angles. For > the > > > > > > time > > > > > > > being, I'm assuming that > > > > > > > 1. The bore is circular, so some kind of extruded circle > > > > > > would be > > > > > > > appropriate > > > > > > > 2. But the bore flares (increases in diameter) > > > > > > exponentially from > > > > > > > beginning to end (it should be possible to specify the > > > > > > diameter of > > > > > > > each "section" as a function of the angle) > > > > > > > 3. The center of the bore rotates around a radius > > > > > > > > > > > > > > 4. Also, I'm assuming that one would first model the bore > as a > > > > > > > kind of solid curved graduated cylinder, and then model a > > > > > > > larger-diameter "shell" as another solid curved graduated > > > > > > cylinder > > > > > > > (on the same radius), and then just subtract/difference > the bore > > > > > > > from the shell to get a curved graduated tube (like a > saxophone > > > > > > > bell). The walls of the tube should be the same thickness > > > > > > > throughout the result. > > > > > > > > > > > > > > I'm a beginner, but I have some acquaintance with > linear_extrude > > > > > > > and rotate_extrude. rotate_extrude would seem to be perfect > > > > > > IF it > > > > > > > offered (like linear_extrude) the possibility of > specifying the > > > > > > > scale as an interpolated function. I also just looked at > > > > > > > ring_extrude, which seems promising, except that the shape > to be > > > > > > > extruded must be specified as a vector of points---it > would be > > > > > > > nice if one could simply extrude a simple circle. > > > > > > > > > > > > > > Are there any available functions that might help me model > a > > > > > > > saxophone bell? Is there any better way to go about it? > > > > > > > Thanks, Ken > > > > > > > > > > > > > > ******************************* > > > > > > > Kenneth R. Beesley, D.Phil. > > > > > > > PO Box 540475 > > > > > > > North Salt Lake UT 84054 > > > > > > > USA > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > OpenSCAD mailing list > > > > > > > Discuss@lists.openscad.org <mailto:Discuss@lists.openscad.org> > > > > > > <mailto:Discuss@lists.openscad.org > > > > > > <mailto:Discuss@lists.openscad.org>> > > > > > > > > > > > > > > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > OpenSCAD mailing list > > > > > > > Discuss@lists.openscad.org <mailto:Discuss@lists.openscad.org> > > > > > > > > > > > > > > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > OpenSCAD mailing list > > > > > > Discuss@lists.openscad.org <mailto:Discuss@lists.openscad.org> > > > > > > > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > OpenSCAD mailing list > > > > > > Discuss@lists.openscad.org > > > > > > > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > > > > > > > > > > > > > > _______________________________________________ > > > > > OpenSCAD mailing list > > > > > Discuss@lists.openscad.org > > > > > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > > > > > _______________________________________________ > > OpenSCAD mailing list > > Discuss@lists.openscad.org > > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
J
jonnie
Thu, Nov 5, 2020 11:51 AM

Hi

I am a keen sax player and also a one time CAD pro ( so I had free access to
Solidworks, Unigraphics and so on ) I started a project to model one of my
saxes, ( I am a noobie to openScad though )

The route I went for the entire body was a lofted part, I modelled a planar
curve to represent the locus "centre line" of the main body, the rest of the
process involved planar profile curves arranged so that their planar normal
matched the tangent of the "centre line" of the sax body.

There may be some aspects of this that are simpler working directly with
mesh level data in openScad,

As far as I can see there are already libraries out there designed to take
arrays of points to loft between. The way to go might be to write code to
evaluate a 2D bezier or bspline corresponding to centre line of sax and then
at each point to evaluate curve tangent to define a plane normal. Then you
need to calculate points for a circle lying in that plane centred on the
bez/bspline taking care to make sure your seam stays constant otherwise you
will end up with a parametric twist.

This could actually end up being controlled by two curves, one to determine
the 'centre line' of the sax and the other to determine the radius at a
specific parameter, both curves having the same parameter range, ie evaluate
first curve at t=0.5 to get position and normal for circle and then the
second curve to get the radius, then "create your circle" - well actually of
course you don't create a circle but calculate N points sampled evenly
around a circle of that size, position and orientation. Then hopefully you
end up up with a stack of arrays of N points per array which can be used in
a loft.

Of course this sax body would have no material thickness but visually it
should be ok.

You would end up just tweaking the vertices of two parametric curves to get
the shape and flare as you wanted it, you probably need to model the "roll
over" of the bell as separate small radius torus.

I did not complete the project in Solidworks, it ended up taking more time
than I could spare at the time, creating the body it turned out was the easy
bit - the holes, and key work were the real time consumers.

--
Sent from: http://forum.openscad.org/

Hi I am a keen sax player and also a one time CAD pro ( so I had free access to Solidworks, Unigraphics and so on ) I started a project to model one of my saxes, ( I am a noobie to openScad though ) The route I went for the entire body was a lofted part, I modelled a planar curve to represent the locus "centre line" of the main body, the rest of the process involved planar profile curves arranged so that their planar normal matched the tangent of the "centre line" of the sax body. There may be some aspects of this that are simpler working directly with mesh level data in openScad, As far as I can see there are already libraries out there designed to take arrays of points to loft between. The way to go might be to write code to evaluate a 2D bezier or bspline corresponding to centre line of sax and then at each point to evaluate curve tangent to define a plane normal. Then you need to calculate points for a circle lying in that plane centred on the bez/bspline taking care to make sure your seam stays constant otherwise you will end up with a parametric twist. This could actually end up being controlled by two curves, one to determine the 'centre line' of the sax and the other to determine the radius at a specific parameter, both curves having the same parameter range, ie evaluate first curve at t=0.5 to get position and normal for circle and then the second curve to get the radius, then "create your circle" - well actually of course you don't create a circle but calculate N points sampled evenly around a circle of that size, position and orientation. Then hopefully you end up up with a stack of arrays of N points per array which can be used in a loft. Of course this sax body would have no material thickness but visually it should be ok. You would end up just tweaking the vertices of two parametric curves to get the shape and flare as you wanted it, you probably need to model the "roll over" of the bell as separate small radius torus. I did not complete the project in Solidworks, it ended up taking more time than I could spare at the time, creating the body it turned out was the easy bit - the holes, and key work were the real time consumers. -- Sent from: http://forum.openscad.org/
A
adrianv
Thu, Nov 5, 2020 12:35 PM

I said this already above in this thread, but there are several libraries
that provide a "loft" type functionality, and many people have written this
functionality and posted it on thingiverse and the like.

Note that when people talk about "loft" it seems like they usually mean a
method that takes a polygon and a curve and forms a solid by placing copies
of the polygon on the line, perpendicular to the line, and then connecting
them together into a solid.  You provide the polygon and the line as input.

The generic sweep() function provided by BOSL2 or list-comprehension-demos
will also handle changes in scale.  In BOSL2 you could use path_sweep to
produce a list of transformations without scale and then multiply the scales
in.  See the last example here:

https://github.com/revarbat/BOSL2/wiki/skin.scad#path_sweep

Note also that this operation creates a solid, so it wouldn't give you a
thin saxaphone shell because it would close the ends.  If you want your sax
to be a tube you also need to model its interior, which the example I note
above actually does.

jonnie wrote

Hi

I am a keen sax player and also a one time CAD pro ( so I had free access
to
Solidworks, Unigraphics and so on ) I started a project to model one of my
saxes, ( I am a noobie to openScad though )

The route I went for the entire body was a lofted part, I modelled a
planar
curve to represent the locus "centre line" of the main body, the rest of
the
process involved planar profile curves arranged so that their planar
normal
matched the tangent of the "centre line" of the sax body.

There may be some aspects of this that are simpler working directly with
mesh level data in openScad,

As far as I can see there are already libraries out there designed to take
arrays of points to loft between. The way to go might be to write code to
evaluate a 2D bezier or bspline corresponding to centre line of sax and
then
at each point to evaluate curve tangent to define a plane normal. Then you
need to calculate points for a circle lying in that plane centred on the
bez/bspline taking care to make sure your seam stays constant otherwise
you
will end up with a parametric twist.

This could actually end up being controlled by two curves, one to
determine
the 'centre line' of the sax and the other to determine the radius at a
specific parameter, both curves having the same parameter range, ie
evaluate
first curve at t=0.5 to get position and normal for circle and then the
second curve to get the radius, then "create your circle" - well actually
of
course you don't create a circle but calculate N points sampled evenly
around a circle of that size, position and orientation. Then hopefully you
end up up with a stack of arrays of N points per array which can be used
in
a loft.

Of course this sax body would have no material thickness but visually it
should be ok.

You would end up just tweaking the vertices of two parametric curves to
get
the shape and flare as you wanted it, you probably need to model the "roll
over" of the bell as separate small radius torus.

I did not complete the project in Solidworks, it ended up taking more time
than I could spare at the time, creating the body it turned out was the
easy
bit - the holes, and key work were the real time consumers.

--
Sent from: http://forum.openscad.org/


OpenSCAD mailing list

Discuss@.openscad

I said this already above in this thread, but there are several libraries that provide a "loft" type functionality, and many people have written this functionality and posted it on thingiverse and the like. Note that when people talk about "loft" it seems like they usually mean a method that takes a polygon and a curve and forms a solid by placing copies of the polygon on the line, perpendicular to the line, and then connecting them together into a solid. You provide the polygon and the line as input. The generic sweep() function provided by BOSL2 or list-comprehension-demos will also handle changes in scale. In BOSL2 you could use path_sweep to produce a list of transformations without scale and then multiply the scales in. See the last example here: https://github.com/revarbat/BOSL2/wiki/skin.scad#path_sweep Note also that this operation creates a solid, so it wouldn't give you a thin saxaphone shell because it would close the ends. If you want your sax to be a tube you also need to model its interior, which the example I note above actually does. jonnie wrote > Hi > > > I am a keen sax player and also a one time CAD pro ( so I had free access > to > Solidworks, Unigraphics and so on ) I started a project to model one of my > saxes, ( I am a noobie to openScad though ) > > The route I went for the entire body was a lofted part, I modelled a > planar > curve to represent the locus "centre line" of the main body, the rest of > the > process involved planar profile curves arranged so that their planar > normal > matched the tangent of the "centre line" of the sax body. > > There may be some aspects of this that are simpler working directly with > mesh level data in openScad, > > As far as I can see there are already libraries out there designed to take > arrays of points to loft between. The way to go might be to write code to > evaluate a 2D bezier or bspline corresponding to centre line of sax and > then > at each point to evaluate curve tangent to define a plane normal. Then you > need to calculate points for a circle lying in that plane centred on the > bez/bspline taking care to make sure your seam stays constant otherwise > you > will end up with a parametric twist. > > This could actually end up being controlled by two curves, one to > determine > the 'centre line' of the sax and the other to determine the radius at a > specific parameter, both curves having the same parameter range, ie > evaluate > first curve at t=0.5 to get position and normal for circle and then the > second curve to get the radius, then "create your circle" - well actually > of > course you don't create a circle but calculate N points sampled evenly > around a circle of that size, position and orientation. Then hopefully you > end up up with a stack of arrays of N points per array which can be used > in > a loft. > > Of course this sax body would have no material thickness but visually it > should be ok. > > You would end up just tweaking the vertices of two parametric curves to > get > the shape and flare as you wanted it, you probably need to model the "roll > over" of the bell as separate small radius torus. > > I did not complete the project in Solidworks, it ended up taking more time > than I could spare at the time, creating the body it turned out was the > easy > bit - the holes, and key work were the real time consumers. > > > > > > > > > > -- > Sent from: http://forum.openscad.org/ > > _______________________________________________ > OpenSCAD mailing list > Discuss@.openscad > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org -- Sent from: http://forum.openscad.org/
DE
David Eccles (gringer)
Fri, Nov 6, 2020 11:44 AM

Here's my attempt at creating a split linear/flared tube. It uses a
piece-wise function, sax_radius_inner to define the curve at any given point
along the tube length. This is paired with an offset function,
sax_radius_outer. The wall thickness is maintained [approximately] by
offsetting the distance from the wall thickness, and adding an additional
constant-radius portion at the end.
// tube lengthfull_tube_length = 1400; // tenor: 1.4m; alto: 1.2m // end
diameterend_diam = 100;// [see
https://www.syos.co/en/blog/gear/the-saxophone-mouthpiece-length]start_diam
= 17.25; // harder to find this dimension// length of flareflare_length =
50;// extra diameter for flareflare_extra_diam = flare_length;// wall
thicknesswall_thickness = 5;// determine the inner radius at distance d from
the start [plain tube]function base_radius_inner(d) =  ((end_diam -
start_diam) * (d / full_tube_length) + start_diam)/2;// determine the outer
radius at distance d from the start [plain tube]function
base_radius_outer(d, t) =  base_radius_inner + t;// inner radius
[quarter-circle-flared tube]function sax_radius_inner(d) =  (d <
(full_tube_length - flare_length)) ?    base_radius_inner(d) :    let(dc =
d - (full_tube_length - flare_length),        fl2 = (flare_length) *
(flare_length))        base_radius_inner(d) + ((flare_length) - sqrt(fl2 -
(dc*dc)));// outer radius [quarter-circle-flared tube]function
sax_radius_outer(d, t) =  (d < (full_tube_length - wall_thickness)) ?
sax_radius_inner(d+wall_thickness) + t :
sax_radius_inner(full_tube_length);// make function shortcutsfunction sri(d)
= sax_radius_inner(d);function sro(d) = sax_radius_outer(d,
wall_thickness);echo(concat([[1],[2]], [[3]], [[4], [5]]));rotate_extrude(){
polygon(concat(  [[sri(0),0]],
[for(y=[0:10:full_tube_length-flare_length]) [sro(y), y]],
[for(y=[full_tube_length-flare_length:1:full_tube_length])    [sro(y), y]],
[for(y=[full_tube_length:-1:full_tube_length-flare_length])    [sri(y),
y]],  [for(y=[full_tube_length-flare_length:-10:0]) [sri(y), y]])); };
http://forum.openscad.org/file/t452/saxophone_linear_flare.png

--
Sent from: http://forum.openscad.org/

Here's my attempt at creating a split linear/flared tube. It uses a piece-wise function, sax_radius_inner to define the curve at any given point along the tube length. This is paired with an offset function, sax_radius_outer. The wall thickness is maintained [approximately] by offsetting the distance from the wall thickness, and adding an additional constant-radius portion at the end. // tube lengthfull_tube_length = 1400; // tenor: 1.4m; alto: 1.2m // end diameterend_diam = 100;// [see https://www.syos.co/en/blog/gear/the-saxophone-mouthpiece-length]start_diam = 17.25; // harder to find this dimension// length of flareflare_length = 50;// extra diameter for flareflare_extra_diam = flare_length;// wall thicknesswall_thickness = 5;// determine the inner radius at distance d from the start [plain tube]function base_radius_inner(d) = ((end_diam - start_diam) * (d / full_tube_length) + start_diam)/2;// determine the outer radius at distance d from the start [plain tube]function base_radius_outer(d, t) = base_radius_inner + t;// inner radius [quarter-circle-flared tube]function sax_radius_inner(d) = (d < (full_tube_length - flare_length)) ? base_radius_inner(d) : let(dc = d - (full_tube_length - flare_length), fl2 = (flare_length) * (flare_length)) base_radius_inner(d) + ((flare_length) - sqrt(fl2 - (dc*dc)));// outer radius [quarter-circle-flared tube]function sax_radius_outer(d, t) = (d < (full_tube_length - wall_thickness)) ? sax_radius_inner(d+wall_thickness) + t : sax_radius_inner(full_tube_length);// make function shortcutsfunction sri(d) = sax_radius_inner(d);function sro(d) = sax_radius_outer(d, wall_thickness);echo(concat([[1],[2]], [[3]], [[4], [5]]));rotate_extrude(){ polygon(concat( [[sri(0),0]], [for(y=[0:10:full_tube_length-flare_length]) [sro(y), y]], [for(y=[full_tube_length-flare_length:1:full_tube_length]) [sro(y), y]], [for(y=[full_tube_length:-1:full_tube_length-flare_length]) [sri(y), y]], [for(y=[full_tube_length-flare_length:-10:0]) [sri(y), y]])); }; <http://forum.openscad.org/file/t452/saxophone_linear_flare.png> -- Sent from: http://forum.openscad.org/