Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!border4.nntp.dca.giganews.com!backlog4.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newspump.sol.net!post2.nntp.sol.net!posts.news.twtelecom.net!nnrp3.twtelecom.net!not-for-mail From: Narasimham Newsgroups: comp.soft-sys.math.mathematica Subject: Variable section and hollow Tubes for economic 3D printing Date: Sat, 12 Apr 2014 09:15:52 +0000 (UTC) Sender: steve@smc.vnet.net Approved: Steven M. Christensen , Moderator Message-ID: Lines: 13 Organization: Time-Warner Telecom NNTP-Posting-Date: 12 Apr 2014 09:21:52 GMT NNTP-Posting-Host: 75864d0a.news.twtelecom.net X-Trace: DXC=E7Qa;48kTg7Z4UDfW1fB>6C_A=>8kQj6=;[h;PUXBgb4Pm3bW^Q9cm6EFiONJ7[Go6\NXS2fQ\lU< X-Complaints-To: abuse@twtelecom.net X-Original-Bytes: 1571 Xref: csiph.com comp.soft-sys.math.mathematica:16784 Although the tube is not fully filled, a constant thickness prescribed on a variable cross section works. This meets a good number of solid modeling requirements. TubeRadius = 0.2 ; TR[u_] = 0.2 + 0.15 Cos[u] ; a = 1; Plot[TR[t], {t, 0, 2 Pi}] tor = ParametricPlot3D[ {(a + TR[t] Cos[ph]) Cos[t], (a + TR[t] Cos[ph]) Sin[t], .5 t + TR[t] Sin[ph]}, {ph, -Pi,Pi}, {t, 0, Pi}]; torTHK = ParametricPlot3D[ {(a + TR[t] Cos[ph]) Cos[t], (a + TR[t] Cos[ph]) Sin[t], .5 t + TR[t] Sin[ph]}, {ph, -Pi,Pi}, {t, 0, Pi}, PlotStyle -> Thickness[.07], Axes -> None, Boxed -> False] HelTHK = ParametricPlot3D[ {(a + TR[2 ph] Cos[ph]) Cos[ t], (a + TR[2 ph] Cos[ph]) Sin[t], .8 t + TR[2 ph] Sin[ph]}, {ph, -Pi, Pi}, {t, 0, Pi}, PlotStyle -> Thickness[.04], Axes -> None, Boxed -> False] Narasimham