deadsy / sdfx

A simple CAD package using signed distance functions
MIT License
533 stars 52 forks source link

Guidance in creating a manifold #3

Closed delaneyj closed 3 years ago

delaneyj commented 6 years ago

Know how to 3d model and program in Go so this seems way better than dealing with openscad. [Want to create a 6 in to dual 4 in manifold for my dust collector. manifold

There are many parametric details to this and seemed like the perfect project to use sdfx for but don't know where to get started.

deadsy commented 6 years ago

Lot's of interesting curves on that render - suggesting some sort of NURBS or 3d bezier curves.

Making a functional 3-way manifold in sdfx should be easy enough. Essentially it's three intersecting cylinders. I'd create an outer shell and an inner core and the subtract them - that way the inside will be clean. Some blending at the intersections will smooth out the transitions at the joins. Take a look at examples/challenge/cc18.go - the cc18b example is similar to what you want.