sdf icon indicating copy to clipboard operation
sdf copied to clipboard

Openscad interpretor

Open traverseda opened this issue 3 years ago • 0 comments

Just wanted to mention that I'm working on an implementation of the openscad language that uses this as the backend. Still quite early, but you can see that here: https://github.com/traverseda/PySdfScad

image

Openscad is not the best language, but it already exists and a lot of people are already familiar with it. Extending it to support things like fillets/chamfers would be very nice.

I'm a long way from general openscad compatibility, although that's something I intend on working on. There are a number of SDF features that I don't feel I'm currently capable of implement myself that an openscad interpreter would eventually need.

  • Minkowski sum
  • Hull operation
  • mesh (3D and 2D) to SDF

Other than those I think I should eventually be able to make this fully openscad compatible, eventually. Of course I would appreciate help on that front.

After openscad compatibility hopefully comes making something that's a bit better, but honestly I'll be happy to just get it to interpret arbitrary openscad while supporting this projects more advanced features.

traverseda avatar Jan 08 '23 15:01 traverseda