sdfx

一个使用符号距离函数的简单 CAD 软件包。「A simple CAD package using signed distance functions」

Github星跟踪图

Go Report Card
GoDoc

sdfx

A simple CAD package written in Go (https://golang.org/)

  • Objects are modelled with 2d and 3d signed distance functions (SDFs).
  • Objects are defined with Go code.
  • Objects are rendered to an STL file to be viewed and/or 3d printed.

How To

  1. See the examples.
  2. Write some Go code to define your own object.
  3. Build and run the Go code.
  4. Preview the STL output in an STL viewer (E.g. http://www.meshlab.net/)
  5. Print the STL file if you like it enough.

Why?

  • SDFs make CSG easy.
  • As a language Golang > OpenSCAD.
  • It's hard to do filleting and chamfering with OpenSCAD.
  • SDFs can easily do filleting and chamfering.
  • SDFs are hackable to try out oddball ideas.
  • Who needs an interactive GUI?

wheel
core_box
cylinder_head
axoloti
text
cc16a
cc16b
cc18b
cc18c
gear
camshaft
geneva
nutsandbolts
extrude1
extrude2
bezier1
bezier2
voronoi

主要指标

概览
名称与所有者deadsy/sdfx
主编程语言Go
编程语言Go (语言数: 3)
平台Linux, Mac, Windows
许可证MIT License
所有者活动
创建于2017-01-09 00:23:49
推送于2025-08-28 14:06:09
最后一次提交2025-01-27 08:58:59
发布数0
用户参与
星数583
关注者数17
派生数61
提交数800
已启用问题?
问题数40
打开的问题数12
拉请求数29
打开的拉请求数5
关闭的拉请求数6
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?