Help on Live Sectioning- batch processing script.

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  07 July 2014
Lightbulb Help on Live Sectioning- batch processing script.

Hello Everyone,

I am an medical student with little knowledge of C++ & 0 knowledge of 3d softwares . So experts & gurus please bear with me

I need to know how to:-
convert STL file (or any other 3d format suited for this purpose) into a
series of cross-section images, as in the case of live-sectioning, using scripting/programming.

To better understand my needs, take a look at this image .
Let us assume a vector V, perpendicular to which is the sectioning plane we need.
"v_co-ordinate" is the z co-ordinate of tail of V vector, origin by default
"v_angle" is angle of V from xy plane, 90 degree by default
"v_magnitude" is the distance along V vector at which the section plane must be plotted/obtained/read

I need guidance for writing something like this-

	int split_3d_object(char *fileName, float v_magnitude, float v_co-ordinate=0, float v_angle=90)
	{	//fileName is name of source STL file
		 code to get a single cross section (in .jpg or any other format)
		 I can apply for loop, so don't bother with that :P
	 return 0;

More Details:-
The output image should look something like this .
but it is extremely important that user can define orientation of sectioning plane.

I researched a little more & learned ways to automate live sectioning in CATIA, but I need to
do it via script for implementation purposes.
I am open to any programming language & any 3d software for getting this done.
  07 July 2014
Red face Any Help Would Be Greatly Appreciated . . .

Someone please suggest some ideas or a different approach or anything.
  07 July 2014
Check out OpenSCAD, it should be able to do what you want.


  07 July 2014
Maybe You can do it in 3ds max and maxscript, for example with a use of slice or boolean?
Or simmilar tool in Maya, or any other software
reply share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 12:57 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.