You are browsing as a guest. Sign up (or log in) to start making projects!

3h 12m logged

Devlog 2 - Fusion Voronoi Script

Big improvements here! Today I thought a lot about how I’m going to do this project and realized that on top of making the voronoi pattern, it would also be very important to mantain the original shape/boundaries, so, I decided to convert body into a wireframe and use it’s vertices as seeds for the voronoi.

I started thinking about how I would go about the rounded edges, and to be honest, I took longer than what I’d like to admit for me to realize that I could just sweep a circle through its edges, for some reason I thought that the rounded edges didn’t count as edges in the API 😅

To connect it all, I revolved spheres using the same radius as the edges in the vertices (this radius can be inputted by the user), another problem I faced was that after combining I wanted to intersect the new wireframe with the original body to cut any excess over the original volume, but for some reason that also took me a good time, when I put the original body as the target body it didn’t work, I needed to use it as the tool body and the wireframe as the target.
Also I organized most of the code, separating it in modules for easier reuse.

0
45

Comments 4

@sak

what are voronoi patterns

@GabrielD

@sak So imagine you have some random point inside the area/volume, each point “claims” the area thats closer to it than to the other points, the boundaries of those areas form the voronoi pattern.

@sak

wait thats pretty cool, are the patterns for your script 3d or 2d

@GabrielD

@sak Thank you!! I’m trying to make them 3D, but thats harder than I thought tbh 😞