10 Modeling shapes with signed distance functions and surrogates

 

This chapter covers

  • Understanding the merits and flaws of modeling shapes with signed distance functions (SDFs)
  • Using typical operations on SDFs: offset, unite, intersect, and subtract
  • Learning the basics of generative design with tri-periodic minimal surfaces
  • Understanding metaballs as a design technique

Signed distance functions (SDFs) as instruments of geometric modeling have become important only recently. They were known for ages, but mostly in academic circles. Boundary representations and images, which we’ll look into in the following chapters, were the main techniques for modeling in computer-aided design (CAD), medical imaging, and games. Now the tables are turning.

The driving force behind the prominence of SDFs is 3D printing. With a printer, you can easily produce forms so complex that chiseling them with milling tools would have been unheard of only a few decades ago. With SDFs, you can program these complex forms to follow the properties you desire. You can “program” the material to hold stress, dissipate heat, or even merge with a living tissue properly, all by programming an SDF behind the produced body (figure 10.1).

Figure 10.1 This femur model, generated from an SDF, is specifically made to be porous. Porosity is important so that implants can grow properly into living tissue.
10-01

But what is an SDF? Let’s find out.

10.1 What’s an SDF?

 
 

10.1.1 Does it have to be an SDF?

 
 
 

10.1.2 How to program SDFs?

 

10.1.3 Theoretical example: Making an SDF of a triangle mesh

 
 

10.1.4 Practical example: Making an SDF of a rectangle in 2D

 

10.1.5 Section 10.1 summary

 
 

10.2 How to work with SDFs

 
 
 
 

10.2.1 How to translate, rotate, or scale an SDF

 
 
 
 

10.2.2 How to unite, intersect, and subtract SDFs

 
 

10.2.3 How to dilate and erode an SDF

 
 
 

10.2.4 How to hollow an SDF

 
 
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage