1

Topic: Slicing a 3D Image File For Photos.

If I wanted to take a .stl file and cut it into slices front to back and take photos of each slice from a fixed camera position and white background how could that be done?

2

Re: Slicing a 3D Image File For Photos.

slice it. use the g-code viewer and set the layer range where you want it http://soliforum.com/i/?tNiZfV9.jpg

Sd4 #9080 with a glass bed. E3d chimera duel extruder. Paste extruder , duet wifi.
Lawsy carriages. linear bearings. Y axis direct drive, Kinect scanner
SD4#8188 glass bed, lawsly carriages, E3d v6, octoprint http://www.ustream.tv/channel/hotrod96z28
Filastruder/filawinder, Custom Delta 300mm x 600mm

3

Re: Slicing a 3D Image File For Photos.

How exactly? I have SD2. This is Repetier Slic3r?

4 (edited by heartless 2020-02-26 21:11:02)

Re: Slicing a 3D Image File For Photos.

that looks more like S3D, but something similar is available in Repetier Host - but it will not be on a white background.

However.. either will give you top to bottom slices, not front to back - you can re-orient the piece to get front to back, but that would be the only way i know in a slicing program.

after slicing in RH, in the Preview tab, select "Show Single Layer" then step the slider as needed to view the layer you want - then it is just a simple screen capture for the "picture"

http://soliforum.com/i/?yFWREAR.png

Alternatively, you can select "Show Layer Range" and view specific layers in a given range using the sliders to set the range

SD4 #1 & #2 - Lawsy carriages, E3D v6, Rumba controller board, mirror bed plate, X motor fan, upgraded PSU & Mica bed heater
SD4 #3 - in the works ~ Folgertech FT-5, rev 1
Printit Industries Beta Tester - Horizon H1

5

Re: Slicing a 3D Image File For Photos.

Lets say the object is 3 inches from front to back and I want 10 equal slices of it. Is there an easy way to do that? There is a printing on transparent sheets technique MIT came up with to create a 3D effect in 2D space.

6 (edited by heartless 2020-02-27 14:31:10)

Re: Slicing a 3D Image File For Photos.

not terribly difficult, really..
Slice it.
divide the number of layers by how many slices you want - say 350 / 10 = 35
set the preview to individual layers and then set the slider to layer 1 to start with.. then add 35 to that, so layer 36 would be next, then add 35 again to get the next slice at 71, and so on

if you want to use the layer range thing.. you would set one slider to 1, 2nd slider to 35 - that will show all layers between 1 & 35.
for the next "image" set the 1st slider to 36, and 2nd to 70, and it will show all layers between 36 & 70, and so on
(i may have that backwards... 1st slider may be the upper limit, 2nd the lower - would have to test)

but again, this will not be front to back, unless you orient the piece that way. and it will not be on a white background.

SD4 #1 & #2 - Lawsy carriages, E3D v6, Rumba controller board, mirror bed plate, X motor fan, upgraded PSU & Mica bed heater
SD4 #3 - in the works ~ Folgertech FT-5, rev 1
Printit Industries Beta Tester - Horizon H1

7

Re: Slicing a 3D Image File For Photos.

another option would be to open the file in Meshmixer and slice it up there, but not sure how you would get X number of equal slices - have not tried it.

SD4 #1 & #2 - Lawsy carriages, E3D v6, Rumba controller board, mirror bed plate, X motor fan, upgraded PSU & Mica bed heater
SD4 #3 - in the works ~ Folgertech FT-5, rev 1
Printit Industries Beta Tester - Horizon H1

8

Re: Slicing a 3D Image File For Photos.

ok, so pic tutorial in RH

stl oriented to get front to back slices...

http://soliforum.com/i/?zz5VsU3.png

after slicing, find the number of layers and divide by how many slices you want..
201 / 10 = 20 (rounded off)

http://soliforum.com/i/?6OkSwZe.png

first image slices would be from 1 to 20 like this..

http://soliforum.com/i/?NvVMXER.png

then 21 to 40...

http://soliforum.com/i/?qr285Yp.png

then 41 to 60...

http://soliforum.com/i/?fOrdXQa.png

and so on until you get all layers

SD4 #1 & #2 - Lawsy carriages, E3D v6, Rumba controller board, mirror bed plate, X motor fan, upgraded PSU & Mica bed heater
SD4 #3 - in the works ~ Folgertech FT-5, rev 1
Printit Industries Beta Tester - Horizon H1