From: Travis on 15 Jul 2010 03:54 I'm trying to transform a solidworks file into a hexahedral mesh in order to be able to multiply it by a jacobian and transform that into a cube to be put into a finite difference scheme with the intent being to give the program the ability to perform over irregular surfaces. So far I've created meshes in solidworks and then saved them as vrml's which I then imported into matlab by Read VRML, an existing matlab code I found. It gives me the major vertices of my surface. I thought to use meshgrid(x points, y points, z points) to create the mesh but when I try to use Surf I'm getting an error: CData must be an M-by-N matrix or M-by-N-by-3 array I'd be happy to provide the model/code if anyone thinks they can help.
|
Pages: 1 Prev: Generating C code using the Real Time Workshop Next: How to draw 2d Histogram in 3d |