Skip to content

Bolt example STL non-manifold #9

@lynaghk

Description

@lynaghk

First, let me say thanks for making this cool library and sharing it! I'm thrilled to see SDFs of so many kinds of screw threads, they're much more interesting to me than that sphere subtracted from a cube nonsense every other SDF library has as the headline image =D

Anyway, I ran with go version go1.24.2 darwin/arm64 on an M1 Macbook Air with MacOS 14.7.5 (23H527) and ran into the same issue as #8.
I really wanted an STL, though, so I modified the bolt example with VisualOutput: nil here:

	err = gsdfaux.RenderShader3D(object, gsdfaux.RenderConfig{
		STLOutput:    fpstl,
		VisualOutput: nil,
		Resolution:   float32(resolution),
		UseGPU:       useGPU,
	})

Unfortunately, the STL looks much worse than the one you got in your README. I'm rendering with OrcaSlicer (background) and F3D (foreground).

Just figured I'd let you know. Have a great day!

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions