python - Slice a 3d object and extract point series of slices -


i have .obj file representing 3d object. important .obj file has inside 2 main arrays:

  • one array [3x1000] , contains 3d coordinates of each point (x,y,z of 1000 points) representing 3d object
  • another array contains triangles , it's example [3*500]. have [1,4,5] , indicates points 1,4 , 5 connected make triangle of surface

now comes problem: imagine have print 3d printer (i don't have same problem), slice it. imagine have horizontal plane, want take slices of object.

but printer needs have specific order of points go through. it's not enough points of 3d laying on plane, need them in right order of contour, otherwise printer jump 1 point other (if not consecutive).

how solve problem? know there way slice according found, require parametric definition of function. in case have points , triangles.


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -