> Anyone got any ideas or even better example code?
To get a gentle curve, use a quarter of a torus and attach the cylinders to that. I'm at work so unable to give you some code examples, sorry.
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com ______________________________________________________________________
> Hi David,
> > Anyone got any ideas or even better example code?
> To get a gentle curve, use a quarter of a torus and attach the cylinders to
> that. I'm at work so unable to give you some code examples, sorry.
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com > ______________________________________________________________________
> OpenSCAD mailing list
> [hidden email] > http://rocklinux.net/mailman/listinfo/openscad
On Mon, Nov 21, 2011 at 9:34 PM, David Goodenough
<[hidden email]> wrote:
> I can make pipes out of concentric cylinders, and I can make sharp
> bends by cutting the pipe at an angle and then reattaching it.
> However what I can not work out how to do is model a bent pipe with
> a bend radius of say 10 times the pipe radius - so a gently bend that
> one might get with a plumbers pipe bender.
This post has NOT been accepted by the mailing list yet.
I have tried to use your code in production, and it turned out that it is limited. It does not work for bend radius>100, for outer pipe radius>100 and in some other special cases. Here is a better version that - in theory - works with any parameters within common sense.
Welcome to the forum. Your post is still flagged as "This post has NOT been accepted by the mailing list yet", so nobody gets it unless they look.
You need to subscribe to the mailing list, and respond to the registration email.
Admin - email* me if you need anything, or if I've done something stupid...
* click on my MichaelAtOz label, there is a link to email me.
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
The TPP is no simple “trade agreement.”Fight it! http://www.ourfairdeal.org/ time is running out!