Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.5K Views
|
1 Reply
|
1 Total Like
View groups...
Share
Share this post:

Plot a Tube around a circular arc

Posted 4 years ago

I want to plot a Tube around a circular arc.

Tube has the built in syntax that accepts a curve in 3D:

 Tube[curve,…] 

And Circle can plot a circular arc:

 Circle[{x,y},…,{θ1,θ2}] 
(* gives a circular or ellipse arc from angle θ1 to θ2. *)

But Circle is for 2D graphics, and Tube is for 3D.

Can I make use of both? Or am I missing a geometrical object that can solve the problem?

I came across this answer, that suggests using BSplineCurve:

BSplineCurve[Table[{Cos[x], Sin[x]}, {x, 0, Pi, Pi/10}]]

But I prefer an object that is built-in in the Wolfram language.

Any help would be appreciated.

POSTED BY: Ehud Behar
Posted 4 years ago
POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard