Skip to content

About

3D models created using build123d framework, mostly board game inserts

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

build123d-models

This project contains 3D models (board game inserts, hydroponic and home improvements) and helper tools for their creation based on the build123d framework.

High-Level Utilities

The project includes a set of high-level wrapper classes that simplify common 3D modeling operations with build123d:

  • SmartSolid - Primary wrapper around build123d shapes with fluent API for transformations, alignment system, and bound box helpers
  • SmartBox - Box primitive with cutout operations and tapered walls support
  • SmartSphere - Sphere primitive with hollow interior and shell creation
  • SmarterCone - Cone/cylinder primitive with shell and offset methods
  • Pencil - 2D drawing tool for creating complex profiles via lines and arcs, then extruding/revolving into 3D
  • SweepSolid - Creates 3D shapes by sweeping a 2D profile along a path
  • ModelCutter - Advanced cutting system for splitting models along wire paths

Mesh Reconstruction

Convert a triangle mesh (STL, OFF) into authored build123d code: Pencil sketches extruded along a detected axis, with primitive recognition for cylinders and rectangular boxes, plus N-fold polar pattern detection that collapses repeated features into a single template + rotate loop. Targets 2.5D-extrudable parts (stacked planar caps with side walls parallel to one axis); aborts with a reason if the input fails the 2.5D check.

python -m sava.csg.build123d.reconstruct path/to/blade.stl --out reconstructed_blade.py

See docs/code/reconstruct/ for the algorithm, findings, and the public Python API.

Models

Board Game Inserts

  • Grand Austria Hotel - Player trays, turn order track, celebrities storage (work in progress)

Hydroponics

  • Basket - Hydroponic basket with cap (Thingiverse, Maker world).
  • Connector - Pipe connector.
  • Planter Tray - One-piece elliptical variant of the hydroponic tray holding two baskets and a watering hole, standing on screw-in pegs, with a raised text label.
  • Splitter - Water pump flow control connector (Thingiverse, Maker world).
  • Stand - Hydroponic setup stand with side piping.
  • Tray - Germination tray for Ahopegarden hydroponic system (Thingiverse, Maker world).

Other

  • Cable Channel - Snap-on cable channel with puzzle-piece connectors and corner pieces (work in progress).
  • Cable Holder - Wall-mounted holder with split ball cable organizers (Thingiverse, MakerWorld).
  • Cable Storage - Wall-mounted cable organizer with railings (work in progress).
  • Dispenser Bottle Mount - Inverted-bottle refill mount with iris grip for simplehuman wall pump dispensers (Thingiverse, MakerWorld).
  • Marker Holder - Wall-mounted marker holder (Thingiverse, MakerWorld).
  • Power Adapters - Travel power adapter storage box for 12 international socket types (Thingiverse, MakerWorld).
  • Toothpaste Cap - Replacement screw-on cap for a toothpaste tube, with a ribbed grip.

Claude Code Skills

  • /model-create — Create new model based on build123d framework
  • /model-publish — Create model description and publish to Thingiverse and MakerWorld
  • /model-reconstruct — Reconstruct a 2.5D mesh (STL/OFF) into parametric build123d code and integrate it into a model
  • /model-dimensioned-draft — Generate a dimensioned technical drawing (SVG) of a model

Installation

The .3mf model files are stored with Git LFS; install it before cloning so they check out as real files.

Install the required dependencies:

pip install -r requirements.txt

Viewing 3D Models with F3D

This project uses F3D as the recommended viewer for generated 3D models. It provides an opportunity to automatically reload model upon file changes. Having export operation as the last step of your script will let you see the changes after each execution:

from sava.csg.build123d.common.exporter import export, save_3mf

export(model_to_export)
save_3mf()  # writes models/current_model.3mf

Quick Start

A convenience f3d.bat batch file is provided at the project root:

f3d-console models\current_model.3mf --watch --opacity=0.6

It uses the following arguments:

  • models\current_model.3mf - Path to the (default) model file to view
  • --watch - Automatically reload the file when it changes
  • --opacity=0.6 - Set model transparency to 60% for better visibility

About

3D models created using build123d framework, mostly board game inserts

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages