Re: Scripts/functions to split/cut model with an axis-orthogonal plane

Posted by randress on
URL: http://forum.featool.com/Scripts-functions-to-split-cut-model-with-an-axis-orthogonal-plane-tp666p668.html

Quite welcome. I am just giving back :-) I would never have gotten started without your help and code snips.

I do hope you will find the time to look it over. As you might guess it has been tested on only a few geometries. You may know where the mine fields are and could suggest (or try it on) one where it is apt to fail.  I did most of my testing on the software/features rather than its ability to work on particularly difficult geometries.

I would also appreciate comments on the code itself (style, best practices, and suitability to MATLAB).  Most of it probably looks like 'c' :-).  I still struggle with the "morphing" data types, the cell concept, and text/string manipulation in general ("this" or 'that'?).  Although I wrote my first code in FORTRAN IV, I'd like to think that it does not still show too badly :-)

As always thanks for any comments or suggestions and

Kind regards,
Randal