sdf

Dev tools

3d modeling library

SHOW HN2021

157points
51comments
#309of 2,533 in 2021
Top 13%of 2021 by points

How HN took it

LovedMost comments that take a side are positive

12 positive, 12 neutral or asking, 1 mixed, 0 critical, out of 25 comments about the project. Thread score +0.43.

Idea: 6 for, 0 againstDesign: 5 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Elegant library and API design

    From 3 comments
    • So elegant. Nice job!
      bhouston on HN
    • What a beautiful library and api! I don't 3D print, but I'll be studying your code as a master-class in how python should be done.
      jmpeax on HN
    • This is great. Thank you for making it! The api layout tells me you are a nice person.
      stuntkite on HN
  • Simple syntax and easy to use

    From 2 comments
    • Very cool, love the simple syntax
      tarsiel on HN
    • Looks pretty cool! Kind of reminds me of Google sketchup but in code.
      kavalg on HN

Objections

  • Marching cubes mesh quality needs high resolution

    From 2 comments
    • That's pretty cool. I see you are using marching cubes. How are you handling sharp geometry (I'm assuming previews use a finite difference for normals)? Also I see you are at…
      sjkelly on HN
    • Or Surface Nets. Nice compromise of speed and quality. Marching cubes needs a lot of resolution and it's imperfections are especially ugly my eyes. Maybe mesh resolution isn't a…
      andybak on HN

Requests

  • Publish to PyPI

    From 1 comment
    • Nice! Do you have any plans to publish to PyPI? Is there an API to access numpy array containing the evaluated SDF volume?
      1wd on HN
  • API to access numpy array of evaluated SDF volume

    From 1 comment
    • Nice! Do you have any plans to publish to PyPI? Is there an API to access numpy array containing the evaluated SDF volume?
      1wd on HN
  • Shader or real-time ray marching output

    From 2 comments
    • It would be really cool to have a library like this that could spit out a shader for real-time rendering with ray marching on your GPU and then use marching cubes to compute the…
      nopsles on HN
    • I don't think rendering is the end goal here - the bigger potential is real-time manipulation of SDFs similar to Dreams geometry editor. As for rendering, the SDF can be…
      jmiskovic on HN

Questions

  • How are sharp edges and normals handled

    From 1 comment
    • That's pretty cool. I see you are using marching cubes. How are you handling sharp geometry (I'm assuming previews use a finite difference for normals)? Also I see you are at…
      sjkelly on HN
  • Why not use OpenSCAD

    From 1 comment
    • out of curiosity, why did you not want to use OpenSCAD?
      blt on HN

Alternatives named

  • OpenSCAD

    From 2 comments
    • Hi HN. Well, I wanted to make a 3D model and 3D print it, but I just didn't want to use OpenSCAD. So I ended up making a whole new 3D modeling library based on signed distance…
      fogleman on HN
    • OpenSCAD is pretty rigorous regarding defining relative geometry. Like shifting origin and sketch on plane rotated 30° around X. It leads to unnecessary math to place objects.
      bvrmn on HN
  • CadQuery

    From 1 comment
    • Impressive work! CadQuery is another library for programming 3d-models in Python. A good alternative to OpenSCAD. Has integration in FreeCAD but can also be used stand-alone.
      jononor on HN
  • sdfx

    From 1 comment
    • I am also a big fan of iquilez, and a little fed up with openscad. I recently tried out deadsy/sdfx, a similar tool written in golang. I was impressed and I enjoyed using it, but…
      alanbernstein on HN
  • libfive

    From 1 comment
    • That's pretty cool. I see you are using marching cubes. How are you handling sharp geometry (I'm assuming previews use a finite difference for normals)? Also I see you are at…
      sjkelly on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/26142864)