r/openscad • u/Moltean • Jul 29 '26
I designed this solar vehicle in OpenSCAD
OpenSCAD source code is here: https://github.com/solar-b
More pictures are here:
r/openscad • u/Moltean • Jul 29 '26
OpenSCAD source code is here: https://github.com/solar-b
More pictures are here:
r/openscad • u/WilstonOreo • Nov 17 '25
Hey everyone,
we wanted to share our project, a new CAD programming language called µcad (pronounced micro-cad).
µcad is similar in spirit to OpenSCAD—fully programmable, open source, text-based geometry - but it takes a different, more declarative design approach. Here are some additional built-in features, that OpenSCAD is missing:
module system, including a standard library
binary operators
assignments
attributes to attach metadata to geometries
strong type system with units
parameter multiplicity
align and distribute operations
SVG export
While haven't a binary release yet, you can compile it from source.
We plan a binary release for the beginning of next year.
We would be very happy for to hear your suggestions and feedback!
If you are interested, please checkout our website and code repository!
r/openscad • u/thijsdaniels89 • Jan 12 '25
I started work on a VSCode plugin as an alternative to the official OpenSCAD GUI. The benefit would be to have all of the great VSCode features like multi-cursor, theming and copilot without having to switch between windows, as well as an improved graphical design (in my opinion anyway).
The project is just a proof of concept at the moment, it doesn't even display the OpenSCAD command output, and doesn't have an export button yet or anything like that, but I'm curious to hear if anyone here would be interested in using this plugin, and what kind of features you would like it to support.
When the project is slightly better organized I'll make this open source of course, and then I'll post the GitHub repo here for anyone that's interested in contributing.
EDIT: I finally took the time to publish this extension. See this post for more info.
r/openscad • u/zachdive • Nov 27 '25
Happy Thanksgiving everyone!
I’ve been developing and maintaining an open source text to CAD app called CADAM and figured this sub might enjoy using it or even have some strong opinions on directions to take it next.
Link: https://adam.new/cadam
Code (GPL-3): https://github.com/Adam-CAD/CADAM
HN post: https://news.ycombinator.com/item?id=45140921
Discord (added here if you want to leave feedback): https://discord.gg/nyMQgeWC
What it does in short:
* Generates parametric 3D models from natural language descriptions, with support for both text prompts and image references
* Outputs OpenSCAD code with automatically extracted parameters that surface as interactive sliders for quick dimension tweaking
* Exports as .STL or .SCAD so you can keep editing the code however you like
You can clone the repo and run it locally. Contributions and nitpicky feedback are very welcome! I’m actively working on it and would love input from people who actually live in OpenSCAD 💙
r/openscad • u/thijsdaniels89 • Mar 23 '26
I finally took the time to release an extension for VSCode (and derivatives like Cursor and Antigravity and such) to prview OpenSCAD directly inside the IDE.
The GitHub Repository is public and it is published to both the VSCode Marketplace and the Open VSX Registry, or you can just download the .vsix file from the GitHub releases.
It's not 100% feature-complete yet, but it has most of the features from the official OpenSCAD software that I tend to use, including realtime parameter adjustments, parameter presets (stored on disk in the official JSON format) and custom color declarations.
At the same time, it fully inherits your IDE theme and uses native elements wherever possible. I used Three.js for the preview and responsiveness is noticeably better than the official software (rendering speed is the same, as it uses the openscad CLI to render). These two improvements, as well as avoiding the context switch from working in two separate pieces of software, are the main reasons why I wanted to create this extension.
If you're interested, please give it a go and let me know what you think! If you want to request features or report bugs, feel free to create an issue in the repo. And of course you're welcome to contribute with pull requests or to fork the repo as well.
Note that you will need to have the `openscad` CLI installed and in your system path (I'll add an optional setting to provide an absolute path in the near future) and that I'm assuming you will be using a recent nightly build. If you're on the 2021.01 stable release, you will need to change the previewFormat setting from 3mf to stl as 3MF is not yet supported in that build.
EDIT: Just fixed the icons and widened engine support for Cursor and Antigravity users.
r/openscad • u/ardvarkmadman • Dec 15 '20
r/openscad • u/IMissedOut • Aug 18 '25
So a couple times every year I need to trace an object to make a case or a custom cutout. Historically I would bring in the file with import(), scale it, then painstakingly hand write a list of coordinates to make the shape. With the recent release of GPT5 I wanted to see If I could make a tracing app in just one single prompt (no follow up conversation). Took a couple hours but I was successful. One single prompt to create the entire web app. For anyone that is interested, I would think this about the same time it would take me to make the app traditionally. Very cool that I didn't have to write any code though. It's a single file html/js app, so you can right-click and save as for future use.
This web app outputs the shape coordinates of your trace for direct use in OpenSCAD.
Usage:
First you take a picture of the object you want to trace with a known size object (a ruler is perfect). Try to take the picture as perpendicular as possible and fairly far away to minimize distortion.
In the app:
- Click Load Background Image and load the image (stays local no backend upload to a server)
- The app goes directly into "Scale Mode". You can pan (middle mouse button) and zoom (scroll wheel) to position the image. Then you'll need to click two known distance points and tell the app the actual distance between those two points to set the scale of the image.
- Then you create shapes by pressing "Start New Shape" or type 's'. Click and trace the picture. Hit "Complete Shape" or type 'c' to complete the shape. You can also select points and hit <del> to delete them.
- Add as many shapes as you want and you can move any points already made for fine tuning.
- Select any line and hit <space> to create a midpoint on the line for more editing.
- Pan (middle mouse button) and zoom (scroll wheel) to position the image.
- The shape coordinates will be put into the textbox for you to copy and past into OpenSCAD
- Reset the origin (0,0) but hitting "Set Origin". It will translate all the current shape coordinates accordingly.
- You can also Save/Load the entire workspace to JSON. So you can work on something more later.
Hope it is a handy tool for you all. https://peach-kyla-36.tiiny.site
Remember right-click and "save as" form offline use. And finally, it's not perfect, but completely functional. I just wanted to see how far I could get with the challenge of a single prompt.
r/openscad • u/alinekb • Aug 16 '25
Just sharing this because I’m proud of it :)
I shared a project I did with OpenSCAD and toothpicks and it went viral on instagram and tik tok. Turns out there were a lot of programmers that had no idea they could do this.
The post is in Portuguese, but hopefully closed captions are enabled.
https://www.instagram.com/reel/DNYT_5fxN2W/?igsh=MWZ5Ynp3Znpwa2gw
Makerworld link: https://makerworld.com/models/1591595
r/openscad • u/LegitimateBluebird42 • May 12 '26
I’m building a visual editor for OpenSCAD with bidirectional code sync. The overall architecture, direction, and design decisions are human-driven, while AI coding agents were used as development assistants for rapid prototyping and experimentation. Feel free to explore the repository, share ideas, open discussions, or suggest directions for future development. The application can currently work side-by-side with OpenSCAD: generated .scad files can be previewed live in an open OpenSCAD window. Since the project is still in development, some geometry operations and scene interactions may not always behave correctly yet.
r/openscad • u/alinekb • Nov 05 '25
That’s all I want to share
I publish my models on MakerWorld (mainly because the customizer just makes it so much easier for other people to use)
Recently started sharing on instagram, and this model got 25 million views. Exciting!
Keep creating!
Video on instagram: https://www.instagram.com/reel/DQXFu8DChDV/?igsh=MTNteWF4eDJ4cmY5cQ==
MakerWorld model: https://makerworld.com/models/1593739
r/openscad
•
u/Mrblindguardian
•
Jan 02 '25
Hello everyone :)
I am fully blind. Some of you know me from the disabled dragon and other designs.
Many have asked me how I 3D design and print without sight.
i have made this video demonstrating that.
i hope that you will watch it, share it and tag along so that we can get even more accessibility awareness into 3D design and printing.
Thank you! :)
r/openscad • u/elgrekoo • Aug 06 '25
I designed a fully parametric robot in OpenSCAD - entirely 3D-printable.
It supports Ackermann steering, dual Raspberry Pi cameras, a UPS module, and both N20/yellow motors. Everything is defined in OpenSCAD with over 300 adjustable parameters. No external dependencies.
It also provides full assembly views with batteries, servos, motors, bearings, and Raspberry Pi mockups.
Took me weeks. Feedback welcome! Repository:
https://github.com/KarimAziev/picar-cad If you're also looking for a ready-to-use control app, check this out:
https://github.com/KarimAziev/picar-x-racer (be sure to use the dev branch)
r/openscad • u/2Uncreative4Username • Aug 26 '23
r/openscad • u/fsfarimani • 24d ago
In 2018 I opened an OpenSCAD issue asking whether its GUI could serve other scripting languages (openscad/openscad#2299). It was closed, but the idea stuck with me, and GCAD Studio is the result.
Jupyter split the notebook from IPython so any language could plug in as a kernel. GCAD Studio does the same for code-CAD: the editor, 3D/2D viewer and exporters are the studio, and the language is a kernel.
A kernel is either:
a grammar kernel: a Lark EBNF grammar plus rewrite rules into a small functional core, no Python needed, or
a process kernel: any program that speaks a small JSON-RPC protocol over stdin/stdout. OpenSCAD itself (your installed copy) and CadQuery come bundled this way.
Bundled kernels include an OpenSCAD subset, an S-expression CSG language, parametric STEP (ISO 10303, AP242), and two formats that aren't CAD languages at all: ElmerGrid .grd files from Elmer FEM and OpenFOAM's blockMeshDict.
Geometry goes through Manifold (meshes) or OpenCASCADE (exact B-rep). Export: STEP, IGES, STL, OBJ, glTF, X3D, VRML, COLLADA, UNV, and in 2D DXF, SVG, PDF, EPS, CGM.
Try it in the browser, nothing to install: https://gcadstudio.github.io/studio/
(The browser version can't export STEP/IGES; the local install can.)
Code: https://github.com/GCADstudio/studio
It's pre-alpha (0.2.0a1), AGPL-3.0, Python, CPU only, Windows/macOS/Linux.
What I'd love from you:
Try it and open an issue when something breaks or feels wrong.
Tell me which language or file format you'd want as a kernel.
Send a PR. A new grammar kernel is a good first contribution; docs/kernel-authoring.md walks through one.
r/openscad • u/sponnonz • Oct 13 '24
Relatively new to OpenScad and I'm loving how I can code my models and easily change them. I've always been really disappointed at how slow rendering has been - 10s for a model with about 10 objects/features.
I installed the Development Snapshot from https://openscad.org/downloads.html which is only 3 days old (vs 3 years).
Then in Settings > Advanced > 3D Rendering > CGAL (old slow) -> change this drop down to Manifold. 🤯
Rending is now instant for a basic model.
r/openscad • u/Federal_Discipline_4 • Feb 09 '22
r/openscad • u/Stone_Age_Sculptor • Jul 04 '25
Hello, I saw this video https://youtu.be/QSAZiZdSSwM by Youtube channel "MangoJelly Solutions for FreeCAD" and I thought: Well, that is easy, and we have a Customizer in OpenSCAD.
It was not easy! I don't know why I had to use a double mirror() and I just tuned the calculations until it fits, such as "size/2+width/4-thickness/4".
If you want to have fun with it, here is my script:
// A remake in OpenSCAD of:
// "Freecad illusion Sculpture : Inspired by steinmanzachary"
// by Youtube channel: MangoJelly Solutions for FreeCAD
// https://youtu.be/QSAZiZdSSwM
$fn = 100;
// Thickness.
thickness = 4; // [1:10]
// Width.
width = 15; // [5:20]
// A base number for the size.
size = 30; // [10:100]
for(i=[0,1,2])
{
a = (i==0) ? 0 : 1;
b = (i==1) ? 0 : 1;
c = (i==2) ? 0 : 1;
mirror([a,b,c])
mirror([a,c,b])
translate([-size+thickness/2,-size+thickness/2,0])
{
linear_extrude(width,center=true)
intersection()
{
difference()
{
circle(size);
circle(size-thickness);
}
square(size);
}
translate([size-thickness/2,-width/2,size/2+width/4-thickness/4])
cube([thickness,width,size+1.5*width-thickness/2],center=true);
translate([-width/2,size-thickness/2,-size/2])
cube([width,thickness,size+width],center=true);
}
}r/openscad • u/Internal_Teach1339 • Aug 05 '26
I see most the posts nowadays are from folk making apps to create OpenSCAD objects. Recently a part of a roller blind in my bathroom disintegrated and the blind fell off. I looked at the pieces and worked out is was a simple 10mm dia tube 17mm high but with stepped inners and a triple cutout around the circumference. I re-engineerered this using good old fashioned brain cells and it worked perfectly on the first print. The picture shows the finished design. Under 50 lines of OpenSCAD script. Could AI do this? I don't think so yet it is a simple object but quite difficult to describe.
r/openscad • u/wirehead • Apr 10 '26
Last week, r/programming instituted a ban on all LLM-related posts.
I had some really neat stuff that I used OpenSCAD for at the last Maker Faire and a few people asked if I was going to post the code and I told them that, while I'll talk their ear off about the math and would share code privately, I'm not interested in training LLMs for free anymore so, while I would have posted an explainer on the math to my blog and maybe a cut-down version of the library in the past, the well has been poisoned.
Then, I looked today to see that a lot of people have decided that they want to write their own OpenSCAD AI tool. Two different people posted two different but nearly identical low-effort posts today. When there was one person who was doing it, who actually put in some serious effort making it work, it was not content I enjoyed, but it was just one project. At this point, we've got a bunch of people all posting what looks like the results of a single vibe-coded session and then asking for feedback.
It's reached the point where it's spam. Can we have at least a temporary ban on LLM posts here?
r/openscad • u/jakeblakedrake • Dec 22 '24
r/openscad • u/Dirk_39 • Aug 27 '26
Hello les amis !
Je suis restée un peu en rade voulant faire un ruban Moebius avec OpenSCAD, alors je me suis fait aider par l' IA de ChatGTP. Voici donc une solution intéressante m'a été proposée. Ce qui m'a particulièrement plu es l'utilisation d'un "hull()" dans la boucle "for()". cela permet de grouper des petits blocs les uns après les autres grâce à l'itération.
Voici le script proposé :
dia=40;
wdt=60;
thk=3;
seg=200;
module BAR(ang){
rotate([0,0,ang])
translate([dia,0,0])
rotate([0,ang/2,0])
cube([wdt,1,thk],center=true);}
module MOEBIUS(){
for(i = [0:seg-1]){
a1 = 360*i/seg;
a2 = 360*(i-1)/seg;
hull(){BAR(a1);
BAR(a2);}}}
MOEBIUS();
#OpenSCAD #Modélisation3D #Impression3D #ConceptionParamétrique #Maker #FabLab #OpenSource