I want to creat and display a 3D shell in matlab.(for example a barrel with 100 element) and I have a thickness vector(100*1) that containes the thicknesses of 100 shell elements.so I have an array that containes coordinates of shell nodes and element and a vector that containes thickness of shell element.
Now how can I display this 3D shell that each element , depend on value of its thickness was different in colour(gray)?.
Or how can I joint coordinate array and thickness vector or map the thickness vector on the shape of 3D shell and display a gray 3D shell? thank you
this question is about topology optimization. in final I must be have a figure like in attachment.i have a vector with size 100*1 for example [1 0 0 1 0 ….]. the name of this vector is thickness vector. ‘1’ means solid and ‘0’ means void in thickness vector. and I have an array (XYZ) for ploting 3D shell shap . I meshed this 3D shell to 100 rectangle elements. so corresponding each element in 3D shelh I have one number( 0 or 1) in thickness vector. now how can I display thickness of each element on output 3D shell plot with colour(e.g in final plot we can see each element that is solid be black and each element that is void be white ) .or how can I link or map thickness vector on the shell plot? address of picture: http://s9.picofile.com/file/8310446684/Capture.JPG
if you have matlab code about shell topology optimization please give me.