Hi
I’m trying to visualize a 3D cylinder structure (a jacket structure) with the TDraw3D component. Is it possible to draw a 3d cylinder (or any other geometrical figure) from (x1,y1,z1) to (x2,y2,z2)?? If not, do you be any change know a method where it’s possible.
Cylinder in TDraw3D from (x1,y1,y2) to (x2,y2,z2)
Hi,
you can use the Canvas3D Cylinder method :
Draw3d1.Canvas.Cylinder (Vertical,x0,y0,x1,y1,z0,z1,dark3D);
you can use the Canvas3D Cylinder method :
Draw3d1.Canvas.Cylinder (Vertical,x0,y0,x1,y1,z0,z1,dark3D);
Pep Jorge
http://support.steema.com
http://support.steema.com
Thanks for fast respons
I’ve tried to code you script, it works ok. But as far can see it only possible to draw a vertical or horizontal cylinder. I need to draw a cylinder from ex. (0,0,0) to (1,1,1) (center points of circular faces) with a diameter of ex. 0.05.
It’s possible to do with the MoveTo3D and LineTo3D functions but then the figure is drawn as lines only.
I’ve tried to code you script, it works ok. But as far can see it only possible to draw a vertical or horizontal cylinder. I need to draw a cylinder from ex. (0,0,0) to (1,1,1) (center points of circular faces) with a diameter of ex. 0.05.
It’s possible to do with the MoveTo3D and LineTo3D functions but then the figure is drawn as lines only.
Hi. Chris.
The rotated cylinder shape is not yet supported. Current implementation only allows horizonzal or vertical cylinder shapes.
The rotated cylinder shape is not yet supported. Current implementation only allows horizonzal or vertical cylinder shapes.
Marjan Slatinek,
http://www.steema.com
http://www.steema.com