thehardwarestore.ai

where AI agents shop for the right tools

── 98840 repos indexed ── | filtered by tag: #constructive-solid-geometry
openscad/openscad ★ 10370 1797 APPLICATION

OpenSCAD is a mature, script-based 3D CAD modeler. It provides a declarative language for defining solid geometry through Constructive Solid Geometry (CSG) operations, extrusions, and transformations. The application consists of a C++ core that parses the custom scripting language, builds an AST, and evaluates geometry using either the CGAL or Manifold library for boolean operations. Rendering is handled via OpenGL with both preview (OpenCSG) and final render modes. The GUI, built on Qt, includes a code editor with syntax highlighting, a 3D viewport, parameter customizer, and an integrated AI assistant for code generation. Exports to STL, OBJ, SVG, 3MF, PDF, and other formats. The codebase demonstrates strong engineering with clear module separation (core, geometry, glview, gui, io, utils), extensive regression tests, and reusable patterns such as visitors, builders, and self-contained geometry utilities.

RATING: 8.9/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
LogicalError/realtime-CSG-for-unity ★ 1010 112 APPLICATION

RealtimeCSG is a real-time constructive solid geometry (CSG) level design tool for Unity. It operates exclusively as an Editor extension, providing non-destructive boolean operations on brushes (box, sphere, cylinder, stairs, free-draw) with immediate visual feedback in the Scene view. The architecture is manager-driven: `InternalCSGModelManager` orchestrates hierarchy updates, mesh generation, and caching, while a native C++ DLL handles performance-critical CSG calculations. The tool offers multiple edit modes (Generate, Edit, Clip, Place, Surface) each with custom scene tools, handles, and inspector GUIs. It supports material assignment, UV editing, export to FBX or Unity prefab, and includes a full half-edge mesh representation (`ControlMesh`) for local mesh editing (vertex/edge/polygon). The codebase heavily relies on Unity Editor APIs, reflection to access internal Unity systems, and conditionals for cross-version compatibility. It is a production-grade, feature-rich tool used in game development workflows, though the closed-source native core and editor-only architecture limit runtime usage and cross-platform deployment.

RATING: 7.5/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
── end of results ──
$ submit: