r/openscad • u/AthleteBoth5982 • Jan 28 '26
My first ever creation in scad. It's beautiful
Created this after installing and setting up scad for the first time ever. It's beautiful đ„č.
r/openscad • u/AthleteBoth5982 • Jan 28 '26
Created this after installing and setting up scad for the first time ever. It's beautiful đ„č.
r/openscad • u/luisxbrito • 24d ago
Hi Everyone
Like many of you, I love OpenSCAD for its programmatic, reproducible, code-as-design philosophy. However, I often found myself frustrated by a few recurring workflow bottlenecks:
Constantly guessing translation/rotation coordinates and refreshing to see if a part lined up.
Having to look up parameter signatures for built-in primitives or user modules.
Wishing I could simply click on a piece in the 3D viewport to jump to its node or code.
Explaining boolean subtraction (`difference()`) to newcomers who struggle with "what gets subtracted from what."
To address this, I built **Enhanced OpenSCAD GUI (OPENSCAD-GUIEXP2026)** â an open-source desktop environment that adds modern visual CAD ergonomics **without compromising code control or file integrity**.
---
### Key Principles & Features
* **100% Vanilla `.scad` Compatibility (Zero Lock-in):**
It reads, parses, and edits standard `.scad` scripts bidirectionally. It preserves comments, custom variables, user modules, and loops. You can open any file in this GUI, save it, and continue editing it in standard OpenSCAD or your preferred text editor.
* ** Direct 3D Translation Gizmos & Raycasting Selection:**
Drag 3D coordinate axes directly in the OpenGL viewport to position solids interactively. Click on any 3D face to immediately select and locate that part in the hierarchy.
* ** Interactive Exploded View:**
A smooth slider expands multi-part mechanical assemblies outward from their center of mass â ideal for inspecting internal clearances, bushings, and fastener fits.
* ** VS Code-Style Code Ergonomics:**
- **Parameter Hints & Signature Help:** Typing `cylinder(`, `cube(`, `linear_extrude(`, math functions, or custom modules brings up a floating card showing argument names, types, and defaults, highlighting the active parameter.
- **Keyboard-First:** Press `Tab` or `Enter` to accept completions and snippets on the fly without reaching for the mouse.
- Line numbers, bracket matching, unbalanced brace warnings, block indentation (`Tab` / `Shift+Tab`), comment toggle (`Ctrl + /`), and floating search (`Ctrl + F`).
* ** Didactic Boolean Helper:**
Clear visual tags in the tree: `[Base (+)]` for the main body and `[- Subtraction]` for cutting solids, complete with tooltips and guided autocompletion.
* **đ 2D Sketching Canvas (Sketch-to-3D):**
Draw 2D profiles on an interactive millimeter grid with magnetic snapping and extrude them into 3D solids with one click.
* **đ© Default Engineering Assembly:**
Boots with a complete 6-part standardized mechanical assembly (Figure 5.31 â Caster Wheel with Swivel Axis) showcasing material colors, bushings, and fastener hierarchies.
* ** Multi-language Support:**
Dynamic real-time translation into 6 languages (English, Spanish, French, German, Italian, Portuguese).
---
### How to Test It
You can run it from Python source or use the standalone portable Windows executable (no Python or installation needed):
#### 1. From Python Source (Cross-platform):
```bash
git clone https://github.com/luisxbrito/OPENSCAD-GUIEXP2026.git
cd OPENSCAD-GUIEXP2026
pip install -r requirements.txt
python main.py
If you want to build or run the zero-install standalone binary:
You can build it with python build_portable.py or double-click build_portable.bat (outputs a single ~64 MB .exe in dist/).
It automatically detects your installed OpenSCAD or any portable openscad.com placed in the same folder.
r/openscad • u/lightofshadow_ • May 26 '26
r/openscad • u/atom2ueki • Oct 04 '26
I'm maintaining this open source project, hopefully it helps every openscad lovers, still lack a lot of features, need our real openscad users test and contribute, it pre-baked some documentations as knowledge e.g. ikea skadis, gridfinity.
also going to add rules on how to make 3d object 3d print friendly, without support, or something.
r/openscad • u/defrillo • Jul 13 '26
Hi everyone,
Iâm building Forma3D, a free browser-based STL editor focused on quick edits for 3D printing.
The idea is not to replace Fusion/Blender/CAD software, but to make common STL fixes easier when you just need to modify a downloaded model without rebuilding it from scratch.
It runs locally in the browser: files are not uploaded to a server.
Current features include:
\- Open and export STL files
\- Select faces or whole connected bodies
\- Push/Pull flat faces
\- Shorten a model along X/Y/Z without scaling it
\- Split a model into two parts and export each side
\- Hollow / shell a model with wall thickness
\- Add/subtract simple solids: box, cylinder, cone, pyramid
\- Add 3D text
\- Create 2D profiles and push/pull them
\- Mechanical joint presets: arc, dovetail and T-slot
\- Object/body panel with select, rename, duplicate/pattern, export and delete
\- Basic mesh repair
\- Undo/redo with Ctrl+Z, Ctrl+Y and Ctrl+Shift+Z
\- English/Italian UI
A recent user here gave me a practical example: shortening a fridge door shelf bin STL without simply scaling it, because scaling would ruin the locking features and fillets. That feedback led to improving the Shorten tool so it now closes cut profiles better on rounded geometry.
Iâd really appreciate feedback from people who often download STLs and need small functional edits before printing.
The project is here:
https://lukethehawk.github.io/Forma3D/
GitHub:
https://github.com/lukethehawk/Forma3D
Things Iâm especially interested in:
\- Does the workflow feel understandable?
\- Which STL edit do you often need but current tools make annoying?
\- Does Shorten/Split/Hollow behave as you would expect?
\- Are there cases where the mesh result looks wrong or slicers complain?
\- What would make this useful enough to keep bookmarked?
Itâs still early and mesh-based, so complex/non-manifold STLs can still be tricky, but Iâm trying to improve it based on real print use cases rather than guessing.
Thanks!
r/openscad • u/Mayal0 • Apr 02 '26
I've tried a few of the available AI coding agents and tested them for their ability to generate SCAD (programming computer aided design) files from a given file. I entertained their questions for a few hours and then evaluated their ability to recreate a simple enclosure with a base and a lid where the lid slid on and then snapped into place with a retaining nub.
In my experiment, I gave each AI agent the same input which was a prompt and a reference CAD file (STL and STEP) which I generated myself in OnShape. I'm not an expert OpenSCAD user so I didn't really know if this file would be easy or hard for the agents to recreate. My findings were interesting.
I also started each AI agent in the paid $20/month model with the exception of Gemini which I already had a business account with.
Here are my notes:
Claude
Mildly successful at generating a base part model after several prompts.
Took around an hour or so between prompts
Total failure at generating a cover that worked.
Eventually got to the point where a single prompt in paid professional mode used up all of the tokens for a single session and resulted in no changes to the model.
Gemini
Quickly generated a base part model that worked.
Iterated very quickly and ended up with 44 iterations of the enclosure before ending the experiment
Did not ever get to a point with a proper sliding mechanism on the cover part
Gemini was very quick and willing to iterate as many times as I was willing to prompt it.
Unwilling to check it's own work
Codex
A little slower and more intentional than Gemini but much faster than Claude
Was the only one successful at generating identical models without cheating
Tried to cheat at first by just importing the model into OpenSCAD and not telling me
Offered several quality of life updates to the model
Overall, none of these AI agents could replace me as a mechanical engineer. Not even close. But they're getting better and better at making CAD models. The other main one that I'd like to try is Grok. But after a week of this, I'm not feeling as inclined. If anyone else would like to try to recreate my experiment. Please reach out and I'll provide you with original files.
Edit: Here is a link to the final resultant model:
https://makerworld.com/en/models/2607436-click-lock-enclosure
r/openscad • u/dddhhyyw • Oct 03 '26
Hey everyone,
I built Local AI CAD Agent, an open-source, local-first web app that generates parametric 3D models using OpenSCAD and LLMs (via OpenRouter or OpenAI).
Instead of treating the LLM as a simple script generator, the app treats CAD like software engineering with deterministic code, sandboxing, and automated verification:
Kernel Sandbox (bwrap + Xvfb): Untrusted AI-generated code runs inside a Bubblewrap container with --unshare-net (network disabled) and read-only mounts. Offscreen rendering uses Xvfb so nothing touches the host display server.
Visual Verification (cad_build_and_verify): An exit 0 from OpenSCAD doesn't guarantee valid geometry. The pipeline compiles the model, spawns 4 workers to render 8 canonical views, hashes them, and generates a contact sheet so the agent can visually inspect its work and self-correct.
Git-like Revisions: Every build computes a model_sha and commits immutable source snapshots to .cad-agent/history/ for diffing and rollback.
Truly Local-First: Flask + SSE for streaming reasoning tokens, Three.js for preview, and all frontend dependencies pinned locally in static/vendor (no external CDNs).
Scope: Works best for functional mechanical parts, brackets, mounts, and geometric enclosures. (Linux-only due to Bubblewrap/Xvfb dependencies).
License: MIT
Feedback and critiques on the sandbox isolation or the verification loop are very welcome.
r/openscad • u/Dirk_39 • 17d ago
La boucle âforâ permet non seulement de disposer un Ă©lĂ©ment autour dâun axe, mais elle permet aussi dâaligner les Ă©lĂ©ments pour suivre des alignements des courbes et dâorienter des Ă©lĂ©ments comme des textes sur des surfaces courbes, grĂące aux fonctions trigonomĂ©triques, de lâarsenal mathĂ©matique de OpenSCAD.
Notre code commence par le âmoduleâ ARROW() qui modĂ©lise une petite flĂšche, qui pourrait ĂȘtre remplacĂ©e par tout autre objet destinĂ© Ă ĂȘtre orientĂ© de la mĂȘme façon.
Ce qui nous intĂ©resse ici ce sont ces quelques lignes de code autour dâune boucle âforâ.
Vous pouvez copier le code et expĂ©rimenter les rĂ©sultats en modifiant des valeurs dans le code. Cela vous permettra de dĂ©couvrir le fonctionnement et lâintĂ©rĂȘt de cette fameuse boucle dâitĂ©ration (rĂ©plĂ©tion programmĂ©e dâune action). Vous dĂ©couvrirez ainsi son utilitĂ© et des nombreuses applications qui pourraient se prĂ©senter Ă vous.
module ARROW(){
rotate([0,0,30])
cylinder(d=30,h=9,$fn=3);
translate([0,10,4.5])
cube([5,40,9],center=true);}
module LOOP(ch=0) {
r = 150; // pattern radius
n = 3; // ARROW density
step = 60/n;
for (angle=[1:step:360]) {
dx = r*cos(angle);
dy = r*sin(angle);
translate([dx,dy,0])
rotate([0,0,angle+ch])
color("orange")ARROW();}}
LOOP(90);
Pour plus de détails, consultez :
r/openscad • u/Jealous_Slip3955 • Mar 19 '26
I'm trying to take over maintenance of the text_on_SCAD library. The last commit on the original repo was 8 years ago, and I've recently used Claude code to extend it, and I'd like to make that available to others and fix bugs as best I can.
r/openscad • u/LForbesIam • Apr 02 '25
I have been having fun getting AI to create openscade code from an image. It is pretty decent. I have to re-write the code and tweak it but it is a good base.
Yes I can do it manually but it sure speads it up with AI starting the base.
r/openscad • u/Roberto_3D • Oct 23 '25
Bonjour Ă tous,
Jâai rĂ©cemment publiĂ© un livre en français intitulĂ© âĂa, câest OpenSCADâ, dĂ©diĂ© Ă la modĂ©lisation 3D paramĂ©trique avec OpenSCAD.
Jây prĂ©sente de nombreux exemples de scripts et dâobjets imprimables, accessibles aux dĂ©butants.
Voici la présentation vidéo (YouTube) : https://youtu.be/wdbxxTW-xas
Et la page du livre : https://www.amazon.fr/dp/B0FNLPF5HP
Jâaimerais beaucoup avoir vos retours ou suggestions !
r/openscad • u/Sea_Advance273 • Aug 03 '26
Iâve been using Claude Code and Codex to help develop a physical magnetic-chessboard prototype in OpenSCAD.
Instead of asking for one enormous board model, I divided it into replaceable modules:
Common motor/idler base
28BYJ-48 motor mount and printed GT2 pulley
Adjustable free-spinning idler
Two-piece belt clamp
SG90 servo plate and integrated magnet arm
Printed anti-roll and dovetail-guide experiments
A 210 Ă 26.25 mm, eight-square bridge
The design targets a 0.4 mm nozzle, fast OpenSCAD rendering, support-free printing, and parts that can be revised without rebuilding the complete assembly.
The coding agents were useful for generating parametric geometry and revising dimensions, but the productive loop was always: generate â render â print â assemble â observe the failure â revise.
The video shows the first successful one-axis movement. The next CAD challenge is converting this into a compact XY mechanism while keeping enough vertical separation for reliable magnetic release.
Iâd welcome feedback on the modular structure or alternative printed linear-guide approaches.
r/openscad • u/Magik6k • Jul 10 '26
Did this in-between two other projects of porting LibreCAD and FreeCAD to also run in browsers, this one is probably the most practical of the 3, so want to get it out there.
The only real noticeable bug is that in preview mode Difference looks like Union, but the Render view is correct so just use that.
Edit: Works only on up-to-date Chrome based browsers, desktop and maybe Android too. That's because to run it requires some really fancy new browser features.
r/openscad • u/AcrobaticCook3929 • Apr 16 '26
I understand it may be a bit of a controversial take, but AI coding got me into OpenSCAD. As an EE who does CAD design for 3D printing as a hobby, I came upon OpenSCAD years ago but didn't really understand how powerful it could be until I recently started using AI agents to create OpenSCAD scripts for me. Previously, a project like this would have been something I wouldn't even have considered doing, since to manually create the tape with all it's details in CAD would be a monstrous effort and be hopelessly inefficient to modify, and the barrier of entry for OpenSCAD was a bit too high for my flimsy attention span. But using AI agents, I was able to do this in a reasonable amount of time and was able to enjoy the process.
To me, AI agents don't take away from the creative pursuit of my hobby, but amplify the output of my creativity. And since LLM's aren't yet at the point of fully understanding the concept that's in my head, I still need to understand the code to some degree and force the AI into using a design concept that is actually rational and will work for printing.
The tape is available for free here, but fair warning, the OpenSCAD script is not up yet since I am working on refining it and optimizing it.
r/openscad • u/Elrodvoss • Oct 17 '26
Just found this a few days ago, and Im blown away how much of a bridge this is from Tinkercad to the more advanced programs.
I am using the PC version at home ( and the web version at work), but my biggest question:
* Is there an upload limit for the PC version??
My intent is to be able to use my 3D scanner that I was never able to use due to the upload limit on Tinkercad and my lack of training on more advanced software.
Thanks in advance.
r/openscad • u/Ok_Calligrapher_8210 • Jul 06 '26
Hi everyone,
I wanted to share a small project I've been working on: openscad-wasm-mcp. It's a Model Context Protocol (MCP) server that runs OpenSCAD entirely via WebAssembly.
The main advantage is that you don't need to install OpenSCAD locally on your machine. You can directly let your AI assistants generate, compile, and render 3D models seamlessly. You can check out the source code and how to use it here:
I also recorded a quick demo video showing how it works in action:

I'd love to hear your feedback or any suggestions for improvement!
r/openscad • u/PeteMinus • Sep 07 '26
Quick one, SCAD support just landed in Modelist. It indexes, renders and opens the file directly in OpenSCAD with single click. Test it out.
r/openscad • u/MikeNc51W • Jul 03 '26
Inspired by OpenSCAD Playground, and empowered by Gemini and Claude, as I'm not much of a Javascript programmer, I vibe-coded a free and open source OpenSCAD PWA called SCADLite, for getting web-centric platforms like ChromeOS in on the fun. The main driver for this project was the long-time observation that K-12 education is dominated by Chromebooks, and I feel that OpenSCAD is an amazing tool that should get more use in K-12 education. I know in K-12, 3D modeling is dominated by Autodesk software, but free and open source software should get more representation too, especially considering the multidisciplinary aspects of OpenSCAD -- modeling and programming. My PWA is at...
My GitHub page for it is here, where I have features listed...
https://github.com/myoung8223/scadlite
It certainly doesn't have all of the bells and whistles of OpenSCAD. Getting modifiers working properly was also quite the challenge. I think I got them working properly, using multiple passes, though in this project, it seems like bugs rear their heads at every corner. The most recent major frustration was CodeJar, the JS-based code editor I was using, acting very bizarre. Perhaps that was my use of it, or just a natural ceiling for its capabilities. Replaced that with customized CodeMirror and that seems to be working out well so far. Also recently added model encoding in URLs. Other nifty features are support for importing fonts, STLs, and SVGs. The PWA works completely offline and self-contained.
Ultimately, when I'm modeling on a desktop I'll probably still be using the full-blown OpenSCAD application. Though I think this PWA is featured enough to be a handy tool for web-based platforms.
r/openscad • u/Chivilin • Dec 06 '24
Hello, guys.
I'm trying to get these corners less smooth so they can fit in a parametric box I have. Do you know how I can do it? This vial holder was a remix I made in another tool. Do you think it is possible? I need them with 3 mm (my box specs). Do you know how I can find you their angle?
TIA!
r/openscad • u/Dirk_39 • 8d ago
Comment placer un texte sur un cylindre, est une question qui se pose tÎt ou tard, lorsque on fait de la modélisation 3D. La boucle "for" aligne les caractÚres du texte, l'un aprÚs l'autre.
rotate([0,0,a])
place les caractĂšres autour d'un cylindre virtuel.
La commande "linear_exrude()" est primordiale car la commande "text()" de OpenSCAD, génÚre de caractÚres en 2D qu'il faut donc extruder pour leur donner du volume.
$fn =60;
module ROTASCRIPT(font,pas,r,ht,zp){
ln = len(font);ch = 0;for(i=[0:ln-1]) {a = ch + i*pas;rotate([0,0,a])translate([r,0,zp])rotate([90,0,90])linear_extrude(height=ht,convexity=10)text(text=font[i],size=8,halign="center");}}
ROTASCRIPT("OpenSCAD",15,30,2,5);
Voici la signification des variables Ă Â l'appel
de notre script :
ROTASCRIPT(font,pas,r,ht,zp);
font : texte Ă afficher
pas : espacement angulaire
r : position radiale
ht : taille Y des caractĂšres
zp : profondeur en Z
Pour plus dâinformarion voir :
https://robotix.ah-oui.org/site/main.php?found=261113-text-rotation
#3D_text #ParametricDesign #OpenSCAD #Maker 3Dprint
r/openscad • u/Rick_Sanchez1094 • Sep 16 '25
Hey everyone,
I don't know about you, but I always find installing apps, dealing with cracks, and learning new interfaces annoying. That's why I've really started to love web-based solutions.
I especially love the idea of being able to check large 3D models right from my web browser without using heavy software. It's super practical for doing a quick check or instantly seeing the final version of a model.
As an engineer, you'd design something and people would say, "Open it and show us," or "Render it and put it in the report." Instead of delegating these tasks, I'd have to do everything myself since I knew how the process worked. This led to a lot of wasted time.
So, to solve this problem, I developed VizCAD, a tool that can quickly open even complex files like the one you see in the video. Not requiring any installation and its fluid performance are huge advantages.
What tools do you guys use to quickly view models like this? Are you interested in web-based solutions?
r/openscad • u/transdimensionalmeme • Nov 20 '23
r/openscad • u/UnderstandingIcy8801 • Aug 07 '25
It is necessary to make this drawing in 3D. I made it isometric in AutoCAD, but it is very difficult for me to convert it to 3D from the isometric drawing. Could you tell me how to do it? I know it's stupid because it's basic, but I'm just learning. Any help would be greatly appreciated.