Skip to content

Commit

Permalink
add pictures
Browse files Browse the repository at this point in the history
  • Loading branch information
soypat committed Aug 21, 2024
1 parent 7e480f6 commit c939e27
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# gsdf
Offshoot from [this project](https://github.com/soypat/sdf/pull/13). Is WIP.
Offshoot from [this project](https://github.com/soypat/sdf/pull/13).

![circle](https://github.com/user-attachments/assets/91c99f47-0c52-4cb1-83e7-452b03b69dff)
![iso-screw](https://github.com/user-attachments/assets/6bc987b9-d522-42a4-89df-71a20c3ae7ff)



## Features

Expand All @@ -19,6 +24,7 @@ Offshoot from [this project](https://github.com/soypat/sdf/pull/13). Is WIP.
- `glrender`: Triangle rendering logic which consumes gleval. STL generation.
- `forge`: Composed shape generation such as `threads` package for generating screw threads. Engineering applications.


## Part design - NPT Flange example.
This was converted from the [original example](https://github.com/soypat/sdf/blob/main/examples/npt-flange/flange.go). See [README](https://github.com/soypat/sdf/tree/main/examples) for images.

Expand Down Expand Up @@ -87,4 +93,6 @@ Below is the 3D scene code. Omits rendering pipeline.
// Convert from imperial inches units to millimeter:
union = gsdf.Scale(union, 25.4)
renderSDF(union)
```
```

![array-triangles](https://github.com/user-attachments/assets/6a479889-2836-464c-b8ea-82109a5aad13)

0 comments on commit c939e27

Please sign in to comment.