Rank: 345 based on 266 downloads (last 30 days) and 6 files submitted
Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Adam View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
12 Feb 2013 Screenshot Mesh voxelisation Voxelise a triangular-polygon mesh. Author: Adam A cad, stl, data import, voxel, voxelise, voxelize 65 20
  • 4.91667
4.9 | 14 ratings
09 Jul 2012 Screenshot Converting a 3D logical array into an STL surface mesh Conversion of a voxelised object contained within a 3D logical array into an STL surface mesh. Author: Adam A stl, cad, data export, mesh, voxel, convert 43 3
  • 5.0
5.0 | 2 ratings
06 Jun 2012 Screenshot STL to ACIS SAT conversion Convert an STL file into ACIS SAT, which can be more readily imported into various CAD packages. Author: Adam A cad, stl, acis, sat, convert, data import 49 11
  • 4.0
4.0 | 4 ratings
10 Feb 2012 Screenshot Plot a 3D array using patch Plotting a 3D array using a patch surface mesh Author: Adam A 3d, patch, plot, 3d volume, 3d plot 57 11
  • 5.0
5.0 | 6 ratings
01 Dec 2010 Screenshot Compute mesh normals Calculate the normal vectors for each facet of a triangular mesh. Author: Adam A mesh, normals, stl 27 0
Comments and Ratings by Adam View all
Updated File Comments Rating
08 Feb 2013 Mesh voxelisation Voxelise a triangular-polygon mesh. Author: Adam A

Hi Yun-Ho Jang,

Yes, the code can be used to get a binary mask at a specified z-depth by specifying the required z-depth as the input gridZ. This works as long as gridZ is not an integer value. (By integer I do not mean in terms of datatype (int16, int32, int64, etc), I just mean in terms of being a whole number.)

However, if gridZ is an integer value then the code presumes that it defines the number of voxels in the grid in the z direction. To work around this, you could voxelise at two z-depths defined in gridZ (as a two-element vector), then discard the slice you don't want to leave you with a single binary layer. Not an elegant way to do it unfortunately, but this wasn't an anticipated use-case for the code when it was designed.

Hope this helps,
Adam

29 Nov 2012 STL to ACIS SAT conversion Convert an STL file into ACIS SAT, which can be more readily imported into various CAD packages. Author: Adam A

Hi Alonso,
The function tells you the path to the output .sat file, displaying it in the command window. Have you tried looking in that location?
Adam

16 Oct 2012 Mesh voxelisation Voxelise a triangular-polygon mesh. Author: Adam A

Hi Eff,
This code is designed for triangular-polygon meshes only, but your example mesh consists of quadrilateral faces.
Hope this helps,
Adam

09 Jul 2012 Mesh voxelisation Voxelise a triangular-polygon mesh. Author: Adam A

I suspect the best way will be to rotate the STL before voxelisation, like you suggest. If you try to do it post-voxelisation by rotating the 3D grid then you'll need to do a lot of interpolating, which will be slow and could introduce errors or artifacts. As for parallel processing - I don't see any reason why it shouldn't work, but I haven't looked into it.

05 Jul 2012 fdep: a pedestrian function dependencies finder FDEP dissects ML files and iteratively looks for all user defined functions used during runtime Author: us

Comments and Ratings on Adam's Files View all
Updated File Comment by Comments Rating
21 Aug 2014 Mesh voxelisation Voxelise a triangular-polygon mesh. Author: Adam A Ci

08 Aug 2014 Converting a 3D logical array into an STL surface mesh Conversion of a voxelised object contained within a 3D logical array into an STL surface mesh. Author: Adam A Nathan

Hi Adam,
Great program! Very helpful, and quite fast considering the computations involved.

28 Jul 2014 Mesh voxelisation Voxelise a triangular-polygon mesh. Author: Adam A M., Pavel

How to display the resultant [OUTPUTgrid] = VOXELISE(grid_s,grid_s,grid_s,'sample.stl','xyz'); in 3D?(Volumetric plot)...

24 Jun 2014 Plot a 3D array using patch Plotting a 3D array using a patch surface mesh Author: Adam A van Maanen, Peter-Paul

Hi Adam,

Great work!

I have to comment out line 511 in your file for the specified coordinates (gridX, gridY, gridZ) to work for my data:

%axis equal tight;

I get a 2D figure otherwise. I can send you my data if you want.

Thanks,

Peter-Paul

14 Feb 2014 Mesh voxelisation Voxelise a triangular-polygon mesh. Author: Adam A Christine

Has anyone attempted using this function to somehow return the volume of the voxelized solid?

Contact us