Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
# Changelog

## 1.7.0 (2026-11-24)

### Features

* Organic modelling: implicit fields, deformers (`displace`, `bend`, `twist`, `taper`,
`dent`, `blend`), seeded scatter, branching and phyllotaxis, `snap` and `lay` onto another
surface, rooted blades and fur with `tufts`, colour functions, optical media, and task
guides for nature (#44)
* Lights in lumens and lux, written by every export that can carry them (#43, fixes #38)
* A corner radius too large for its side is clamped with a warning, and a loft section that
crosses itself says where (#42, fixes #41)
* `export` writes a trace of what was built beside the file (#31)
* A cut, hole or pocket that misses warns by default; strict mode raises (#36)
* `copy(ob, name=…)` names a copy, and the parts and joints it holds (#30)
* `facets` sets the segments of a full circle (#19)
* `export` writes `.ifc`, and names it for Revit's `.rvt` (#12)

### Fixes

* `export` says which meshes it writes (#47)
* Binary STL headers no longer start with `solid` (#45)
* Text files are read and written as UTF-8 (#34)
* An empty intersection warns (#18, fixes #14)
* A solid with a long name builds, and keeps its face and edge names (#20, fixes #13)

### Behaviour changes

* `facets(n)` also sets the steps along lofts and sweeps, and parts built under a fixed
count are flat-shaded
* `snap` returns the outward normal
* Some published examples change topology, such as the spoon

Thanks to @BLTC-520, @usman7384, @Kaktusava, @wyddy7, @andrealoy, @dzyuan, @iyuzhang,
@abbigupta and @lmanhes for their contributions, and to @alaabenfatma for the review of #44.

## 1.6.3 (2026-11-06)

### Fixes
Expand Down
6 changes: 3 additions & 3 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# How to cite sand3d: GitHub shows it as "Cite this repository". The README's BibTeX says the same.
# Version and date are those of the public release, 1.6.3: update both at each public release.
# Version and date are those of the public release, 1.7.0: update both at each public release.
cff-version: 1.2.0
message: "If you use sand3d in your work, please cite it as below."
type: software
Expand All @@ -17,8 +17,8 @@ authors:
family-names: "Loy"
affiliation: "Sandflow"
license: Apache-2.0
version: 1.6.3
date-released: 2026-11-06
version: 1.7.0
date-released: 2026-11-24
repository-code: "https://github.com/Sandflow-ai/sand3d"
keywords:
- 3D
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ shows it as "Cite this repository".
author = {Neveu, Thibault and Loy, Andr{\'e}a},
title = {sand3d},
year = {2026},
note = {Version 1.6.3},
note = {Version 1.7.0},
url = {https://github.com/Sandflow-ai/sand3d}
}
```
Expand Down
4 changes: 2 additions & 2 deletions site/gallery.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion site/guidelines.html
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ <h2 id="8-one-frame-per-joint">8. One frame per joint</h2>
<div class="fiche"><pre class="code"> s3d.<span class="vb">joint</span>(<span class="s">&quot;door_hinge&quot;</span>, door, f, kind=<span class="s">&quot;revolute&quot;</span>, axis=<span class="s">&quot;-Z&quot;</span>, range=(<span class="n">0</span>, <span class="n">114.59</span>))</pre></div>
<p class="counts">the source of this page: <a href="https://github.com/Sandflow-ai/sand3d/blob/main/docs/guidelines.md">docs/guidelines.md</a></p>

<div class="fin"><span>sand3d 1.6.3 · Apache-2.0 · <a href="https://github.com/Sandflow-ai/sand3d">source</a></span>
<div class="fin"><span>sand3d 1.7.0 · Apache-2.0 · <a href="https://github.com/Sandflow-ai/sand3d">source</a></span>
<img src="assets/sandflow-signature.svg" alt="Sandflow"></div>
</div><script>
document.querySelectorAll("[data-copy]").forEach(b => b.addEventListener("click", () => {
Expand Down
6 changes: 3 additions & 3 deletions site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</head><body><div class="page">
<div class="nav"><a class="titre" href="index.html"><img src="assets/sandflow-symbol-black.svg" alt="">sand3d</a><nav><a href="https://sandflow.ai/sand3d/">Website</a><span class="hfg"><img src="assets/hf-logo.svg" alt="Hugging Face"><a href="https://huggingface.co/collections/Sandflow/sand3d-6aec268fbdcd3bc174236168">Datasets</a><span class="sep">·</span><a href="https://huggingface.co/spaces/Sandflow/sand3d-explorer">Explorer</a></span><a class="gh" href="https://github.com/Sandflow-ai/sand3d"><img src="assets/github.svg" alt="">GitHub</a></nav></div>

<p class="repere">sand3d 1.6.3</p>
<p class="repere">sand3d 1.7.0</p>
<h1>3D modeling in Python, built for LLMs</h1>
<div class="bande"></div>
<p class="chapo">sand3d is a library for writing 3D objects as short programs: profiles, solids, edits,
Expand Down Expand Up @@ -115,11 +115,11 @@ <h2 id="citation">Citation</h2>
author = {Neveu, Thibault and Loy, Andr{\&#x27;e}a},
title = {sand3d},
year = {2026},
note = {Version 1.6.3},
note = {Version 1.7.0},
url = {https://github.com/Sandflow-ai/sand3d}
}</pre></div>

<div class="fin"><span>sand3d 1.6.3 · Apache-2.0 · <a href="https://github.com/Sandflow-ai/sand3d">source</a></span>
<div class="fin"><span>sand3d 1.7.0 · Apache-2.0 · <a href="https://github.com/Sandflow-ai/sand3d">source</a></span>
<img src="assets/sandflow-signature.svg" alt="Sandflow"></div>
</div><script>
document.querySelectorAll("[data-copy]").forEach(b => b.addEventListener("click", () => {
Expand Down
8 changes: 4 additions & 4 deletions site/quickstart.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion site/tokens.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h2 id="12-articulated-objects">12 articulated objects</h2>
<div class="tablo"><table><tr><th>object</th><th>source</th><th>sand3d</th><th>Articraft program</th><th>ratio</th><th>uses CadQuery</th></tr><tr><td>a front-loading washing machine: a door on a hinge, an endless drum, a detergent drawer, an endless dial</td><td><a href="https://huggingface.co/datasets/camvsl/Articraft-10K">Articraft-10K</a> <code>rec_a-front-loading-washing-machine-with-a-white-rec_20260513_002941_547341_050bf63f</code></td><td>742</td><td>1538</td><td>2.1×</td><td>yes</td></tr><tr><td>a double-leaf garden gate: two leaves on hinges, a mirror pair, and a drop bolt sliding down the right leaf into a socket in the foundation</td><td><a href="https://huggingface.co/datasets/camvsl/Articraft-10K">Articraft-10K</a> <code>rec_garden_gate_30e6e784533b4583ac23a37b85f64c86</code></td><td>1232</td><td>2850</td><td>2.3×</td><td>no</td></tr><tr><td>a compact refrigerator: two doors on one hinge line, opening by negative angles, and a thermostat dial turning in a control housing fixed under the divider</td><td><a href="https://huggingface.co/datasets/camvsl/Articraft-10K">Articraft-10K</a> <code>rec_refrigerator_with_hinged_doors_eafdd7d9813b42fa80e8e2e8ff778665</code></td><td>1541</td><td>3264</td><td>2.1×</td><td>no</td></tr><tr><td>a compact keyboard: forty keys on plungers, a trackpoint on two crossed pivots, a media wheel on a fixed shaft</td><td><a href="https://huggingface.co/datasets/camvsl/Articraft-10K">Articraft-10K</a> <code>rec_keyboard_33e6828d32c148999830f99c31995d49</code></td><td>1628</td><td>3258</td><td>2.0×</td><td>no</td></tr><tr><td>a skateboard: two trucks steering on 45° kingpins, four endless wheels on the trucks</td><td><a href="https://huggingface.co/datasets/camvsl/Articraft-10K">Articraft-10K</a> <code>rec_skateboard_b74cde82df474176b7005c584ba8eb13</code></td><td>705</td><td>1505</td><td>2.1×</td><td>yes</td></tr><tr><td>a floor task lamp: a head that swivels on the column, an arm that lifts on the head's yoke, a shade that tilts at the arm's tip — a revolute chain three deep</td><td><a href="https://huggingface.co/datasets/camvsl/Articraft-10K">Articraft-10K</a> <code>rec_articulated_task_lamp_e3b37e132fda4a8b848be4c5ba370d7e</code></td><td>1319</td><td>2191</td><td>1.7×</td><td>no</td></tr><tr><td>an XYZ Cartesian stage: an X carriage on the base's rails, a Y stage on the carriage, a column welded to the Y stage, and a table sliding up the column</td><td><a href="https://huggingface.co/datasets/camvsl/Articraft-10K">Articraft-10K</a> <code>rec_xyz_cartesian_stage_9569f7654fbc435db20ac8bc588765a1</code></td><td>1271</td><td>2113</td><td>1.7×</td><td>no</td></tr><tr><td>a device on a tripod head: a pan, a tilt, a clamp that slides and its screw knob, two lock knobs; the legs and the device are fixed</td><td><a href="https://huggingface.co/datasets/camvsl/Articraft-10K">Articraft-10K</a> <code>rec_tripodmounted_device_a0b63454b90945138129d93d176264fc</code></td><td>3016</td><td>4192</td><td>1.4×</td><td>yes</td></tr><tr><td>compact theatre binoculars: two housings on a central hinge, a focus wheel that turns a full turn either way, two eyecups that twist</td><td><a href="https://huggingface.co/datasets/camvsl/Articraft-10K">Articraft-10K</a> <code>rec_binoculars_fc9fc306c6f8437683635fccb0369257</code></td><td>1467</td><td>2917</td><td>2.0×</td><td>no</td></tr><tr><td>a compact pickup tailgate: a gate on a lower hinge, two latch knobs and a work-stop bar that folds up from the gate's top edge</td><td><a href="https://huggingface.co/datasets/camvsl/Articraft-10K">Articraft-10K</a> <code>rec_pickup_tailgate_be20bae3a83e40c386c21adab290f72d</code></td><td>1808</td><td>3690</td><td>2.0×</td><td>no</td></tr><tr><td>a rugged screw-cap bottle: a cap that turns and lifts on the neck</td><td><a href="https://huggingface.co/datasets/camvsl/Articraft-10K">Articraft-10K</a> <code>rec_screwcap_bottle_aa1625790e9e4236941bc4c2650955de</code></td><td>1313</td><td>2520</td><td>1.9×</td><td>yes</td></tr><tr><td>a bevel-to-spur transfer: an endless vertical input shaft drives, through an 18/18 bevel pair, a horizontal transfer shaft, which drives a parallel output shaft through an 18/24 spur pair</td><td><a href="https://huggingface.co/datasets/camvsl/Articraft-10K">Articraft-10K</a> <code>rec_gear_assemblies_65e1d6ce16ad4dd58dffa5c555c5680b</code></td><td>1775</td><td>2675</td><td>1.5×</td><td>yes</td></tr></table></div>
<p class="counts">the source of this page: <a href="https://github.com/Sandflow-ai/sand3d/blob/main/docs/readme/tokens.md">docs/readme/tokens.md</a></p>

<div class="fin"><span>sand3d 1.6.3 · Apache-2.0 · <a href="https://github.com/Sandflow-ai/sand3d">source</a></span>
<div class="fin"><span>sand3d 1.7.0 · Apache-2.0 · <a href="https://github.com/Sandflow-ai/sand3d">source</a></span>
<img src="assets/sandflow-signature.svg" alt="Sandflow"></div>
</div><script>
document.querySelectorAll("[data-copy]").forEach(b => b.addEventListener("click", () => {
Expand Down
2 changes: 1 addition & 1 deletion src/sand3d/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from .solids import body, box, cone, cylinder, dome, extrude, helix, hull, loft, revolve, sphere, spiral, sweep, torus, tube, wedge, wire

# x-release-please-start-version
__version__ = "1.6.3"
__version__ = "1.7.0"
# x-release-please-end

__all__ = [
Expand Down
2 changes: 1 addition & 1 deletion tests/golden/bpy-4.5.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"case:export_glb": "bf9f924dac9a072d",
"case:export_articulated": "5528586c572d5f55",
"case:export_usd": "ce602d8180c1f8a8",
"case:export_ifc": "13d05c90ead7eeb7",
"case:export_ifc": "0a63296fc8ccccc3",
"case:export_trace": "76d19a8b60221f94",
"case:export_meshes": "49d47323e897e4ac",
"case:materials": "4c37230ee2cc72ee",
Expand Down
2 changes: 1 addition & 1 deletion tests/golden/bpy-5.2.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"case:export_glb": "b86f969688b56f5a",
"case:export_articulated": "1056bb5b95a1d463",
"case:export_usd": "ce602d8180c1f8a8",
"case:export_ifc": "13d05c90ead7eeb7",
"case:export_ifc": "0a63296fc8ccccc3",
"case:export_trace": "76d19a8b60221f94",
"case:export_meshes": "49d47323e897e4ac",
"case:materials": "4c37230ee2cc72ee",
Expand Down