Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to Draw Arbitrary 3D Graphics in CST?

Status
Not open for further replies.

mfhsu

Newbie level 3
Joined
Sep 27, 2007
Messages
4
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
1,302
Hi Everybody,
We can easily draw 2D/3D curves with polygon/spline and some simple 3D solids in CST. But how can we draw an arbitrary 3D surface in CST?
For example, how to put the following Matlab draw 3D surface into CST?

Matlab code:
/---------------------------------------------------------------------
function saddle_surf()
[th,r]=meshgrid((0:5:360)*pi/180,0:.05:1);
[X,Y]=pol2cart(th,r);
Z=X+i*Y;
F=abs( (Z.^4-1).^(1/4));
S=[X( : ),Y( : ),Z( : )];
surf(X,Y,F);
/----------------------------------------------------------------------


Thanks for your reply in advance.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top