Slicer Discord
fill a prisma with randomly distributed objects – 3D printable model from Thingiverse Thingiverse

fill a prisma with randomly distributed objects

by Knochi
3 Downloads
2 Likes
0 Makes
Go to Model
For a design idea i needed to fill a prismatic volume with randomly distributed and sized objects. I did a few trigonometric calculations to derive x and y positions from to lines dividing two corners so that the crossover point always lays within the triangle.

maybe there are a more sophisticated way doing this, but it works.

Next step is to alter the triangle in size depending on the objects size, so that the object lays always within the volume. [done]

Now need to fix objects that pop out on top and bottom. [done]

Final step would be some postcalculation to tune the overlaps and connections to make it 3D printable. [halfway done]

Update V2:
- collision detection! Objects only placed within a certain distance (negative for overlap).

Update V3:
- added a vector rotation every iteration for better distribution
- added custom seeds (reproducible randomness, yeah)
Source
Thingiverse
What you need to print this: Beginner Low confidence
Single piece
Supports 1/3
Assembly 0/3
Settings 1/3
Bed size 0/3
Post-process 0/3
Printer
FDM / FFF
File format
STL
Material
PLA
Software
Cura, PrusaSlicer, or similar
Same designer, more platforms

Knochi also publishes on

14 additional models across 1 more platforms

Verified by matching model titles across platforms.
No ratings yet
No comments yet – be the first!

Similar Models

6 Suggestions
Feed Blog Slicer Cost Calculator Image Search Submit Kontakt Discord ☕ Buy me a coffee
DE EN FR ES IT NL

Add to Collection