r/openscad • • 1h ago

Parametric clip-free cable lanes in OpenSCAD (openGrid / Multiconnect / screws)

Thumbnail
gallery
• Upvotes

I wrote Snakeway in OpenSCAD because I wanted under-desk cable lanes without clips or zip ties, and I needed the sizes to be parametric.

Cables snake between alternating hooks and stay put. You lay a cable beside a hook, slide it under, and the hook overlaps it so it can't fall out. Slide it back out when you want it free. The holders lock together with puzzle-style tabs.

The customizer is set up in 28 mm openGrid cells: width, length, one lane for thick cables (up to 9.5 mm) or two for thin ones (about 3.7–4.0 mm), an optional stacked-cable hook height, and the mount type — openConnect, Multiconnect, or none, with optional countersunk holes for 3.0 mm wood screws. There's also a snap-on cover. (Multiconnect needs a thicker plate, so the max cable in a 1-lane cell drops to 8.2 mm.) The .scad file is on the model page.

It prints without supports. I recommend PETG, 0.2 mm, 3 walls, 25% infill. The default profile is about 2.3 hours and 56 g on one plate.

The images are renders — I don't have a make photo up yet. It's a free model:

https://makerworld.com/en/models/3625038-snakeway-clip-free-under-desk-cable-lanes

Happy to talk through the OpenSCAD approach or the hook geometry if useful.


r/openscad • • 3h ago

[ Removed by Reddit ]

0 Upvotes

[ Removed by Reddit on account of violating the content policy. ]


r/openscad • • 16h ago

Open scad web based shapes to code generator

4 Upvotes

I am still playing around this tool to make 3d model
quick bracket tutorial


r/openscad • • 1d ago

A box with a curved bottom

11 Upvotes

I attempted to create a type of box with a curved bottom using OpenSCAD; to achieve this, I used two vector drawings created in Inkscape. One drawing is applied along the X-axis, and the other along the Y-axis. Here is the code.

module SHAPE(){
linear_extrude(height=60,convexity=10){
import("curved-01.svg",center=true);}}

module CURVE(){
rotate([0,-90,0])
linear_extrude(height=160,convexity=10){
import("curved-02.svg",center=true);}}

module BOX(){
difference(){
SHAPE();
translate([80,0,-10])
CURVE();
translate([80,0,60])
CURVE();}}

module CURVBOX(){
minkowski(){
difference(){
scl=0.96;
BOX();
translate([1,0.2,4])
scale([scl-0.02,scl,1])
BOX();}
sphere(2,$fn=20);}
minkowski(){
translate([-60,19,30])
cube([24,0.7,25]);
sphere(1.5,$fn=20);}}

CURVBOX();

#OpenSCAD #FabLab #Maker #3D_design #3D_paramétrique #Atelier_3D


r/openscad • • 21h ago

Openscad shapes builder and turn that into code with selected params

Thumbnail
gallery
0 Upvotes

Web based shapes to openscad code generator

So i have been tinkering around the basic shapes and for something small like a solar light bracket, user should be able to build a code and be able to share, so i am taking tinkercad sort of approach and building it with shapes and then select the params you wanna expose,

What this can be used for?
User can share their models on makerlab- parametric model maker for other people to edit and download models from bambu lab


r/openscad • • 1d ago

Claude Code + OpenSCAD is my new 3D modelling workflow

Thumbnail
gallery
0 Upvotes

I've been testing out a new workflow lately where I start doing all my 3D modeling with claude code, using OpenScad. I'm used to working in fusion 360, but since openscad stores every model as code, its really easy to store the models as code on Github, which hasn't been possible before for me.

The reason I stumbled into this workflow is because I was on a mission to 3d print a case for my coffee grinder. My grinder is a full metal body and it was damaging my stuff inside my backpack, and I needed a solid case for it.

I found this workflow to be really effective. There's a bunch of gotchas to it though where Claude is really bad at making replicas of real world objects, and it makes a lot of assumptions about measurements, which is not good when you're trying to make functional models. I learned this the hard way after a few failed 3d prints.

But I did find that Claude was really good at setting up the case that I created here for my coffee grinder. Once I had the model of the coffee grinder set up well and I thought it was 100% accurate, Sonnet 5.5 was able to generate a really good model for me of the case, and I was even able to add the tongue and groove-like click system which was always a pain to add in Fusion 360.

It's pretty wild that you can do this with Claude Code. I feel like now I can stay in my preferred workflow of using VS Code and GitHub with the Claude Code extension or using the Claude Code terminal while I do 3d modeling. I never thought this day would come.

I made a whole video showing this workflow if you're interested: https://youtu.be/1Gm2xxaxk2Y


r/openscad • • 1d ago

Prompt → multi-part parametric CAD: We tested what Kybz engine produces when you ask for a full assembly (18-part controller as the test case)

Thumbnail
gallery
0 Upvotes

I ran this prompt through Kybz Parametric Studio, and honestly, I wasn’t expecting results like this at this stage.

A little context: I’m part of the small team building Kybz, focused on making CAD modeling and rapid prototyping more accessible.

This week, I decided to push the platform a little further by testing whether it could generate a complete, assembled 3D model with multiple moving parts.

I gave it a shot, and these were the results.
Still a work in progress, but I’m genuinely impressed with how far it’s come.

What do you think? I’d love to hear your honest feedback.

Explore Kybz: https://kybztech.com/gallery


r/openscad • • 2d ago

351 parametric OpenSCAD objects inside OrcaSlicer, with the .scad reachable if you want to edit it

4 Upvotes

I got tired of the OpenSCAD -> export STL -> import into slicer loop for small parametric parts, so I built a plugin that puts the library and editor in OrcaSlicer as a tab. It's my own project; the plugin is not a fork of OrcaSlicer.

What's in it now (v0.9.27): - 351 objects across 32 categories: Gridfinity, organisation, workshop, cases, fasteners, mounts, cable management, panels, basics. Each object exposes its parameters as sliders, fields, toggles or option pickers, with presets. - The library is mostly not mine: Gridfinity Rebuilt, rackstack, split-flap and threads-scad are vendored, pinned and permissively licensed, with attribution in the UI. The actual .scad sources ship with the plugin. - An OpenSCAD editor with syntax highlighting, line numbers and error-line marking. include <src/...> resolves to the bundled libs; you can put your own libraries on OPENSCADPATH and render them in place. - Live Three.js viewport (orbit/pan/zoom, wireframe, edges), STL/3MF export and Send to plate into the open OrcaSlicer plater.

Repo and install notes: https://github.com/yazdannl/orcad-plugin

I'd especially like to hear which categories are thin or which parameters are badly chosen. PRs for new .scad objects are straightforward: a file plus a parameter block


r/openscad • • 2d ago

How to make a screw with BOSL2 with a 'knurled' head?

1 Upvotes

Hello,

based on the sample from the BOSL2 wiki

include <BOSL2/std.scad>
include <BOSL2/screws.scad>
shoulder_screw("iso",20,length=45,drive="none");

I want to similar create a screw but with a 'knurled' head.
Can I create this object with pure BOLS2 ?
Any suggestion is much appreciated.
TIA


r/openscad • • 2d ago

Handy OpenSCAD guide... and some more !

Post image
10 Upvotes

I invite you to browse a few pages of the book, available in French, English, or Spanish. If you have any comments or suggestions, I would be delighted to hear from you.

Best regards,
Roberto Hamm

Book preview:
French: https://robotix.ah-oui.org/scadbook-fra
English: https://robotix.ah-oui.org/scadbook-eng
Spanish: https://robotix.ah-oui.org/scadbook-spa


r/openscad • • 2d ago

ZIMA-CAD – A New Open-Source Parametric CAD. Looking for Honest Feedback!

Thumbnail gallery
0 Upvotes

r/openscad • • 2d ago

I built an open-source CAD kernel in Zig + WASM (<1MB) combining B-Rep, CSG, and Implicit SDFs with zero-copy SharedArrayBuffer

0 Upvotes

Hey everyone — as a Linux user working on local browser-based design tools, I kept running into the wall where existing open-source CAD kernels either use purely polygonal CSG (OpenSCAD) or require 15+ MB WASM builds (OpenCASCADE) without native implicit field modeling.

I spent the last few months building OpenCAD from scratch in Zig and WebAssembly:

- Pure Math Core (<1 MB WASM): Every curve, surface, and field is an equation evaluated with forward-mode automatic differentiation (dual numbers) and interval arithmetic.

- 3-in-1 Representation: Combines constrained 2D sketches & SE(3) B-Rep sweeps, CSG booleans, and implicit SDF fields (like stress-driven gyroids) in one engine, exporting to STEP and STL.

- Zero-Copy Shared Memory: Uses a single `SharedArrayBuffer` between the Zig WASM kernel, Three.js, and external WASM extensions so simulation fields can drive geometry directly without file exports.

- Live Demo: https://hassaanmaqsood.github.io/opencad/

- GitHub Repo: https://github.com/hassaanmaqsood/opencad

It's still early (currently refining boolean seam triangles and B-Rep edge cases), and I'd love for you to try breaking it and let me know what you think!


r/openscad • • 4d ago

I wrote an OpenSCAD snowflake generator: each seed grows a different crystal (flat or slot-together 3D)

Post image
0 Upvotes

r/openscad • • 5d ago

I got real OpenSCAD running offline on the iPad – with sliders, an object editor and optional AI

0 Upvotes

Hi everyone,

I'm not a programmer, but I wanted to design and print parts without sitting at a computer. So I built ScriptSCAD – a free, open-source suite that runs entirely on the iPad (and iPhone) inside the Scriptable app.

What it does:

- Real OpenSCAD running locally as WebAssembly – offline, no account, no server
- Code editor with autocompletion, plus sliders for every parameter and an object editor (tap a part in 3D to move, rotate or resize it)
- Optional AI: say "make the wall 2 mm thicker" and it edits your .scad code. It runs through an Apple Shortcut with Apple Intelligence, the ChatGPT app or the Claude app – no API key needed
- BOSL2, MCAD and NopSCADlib built in, plus import of STL/OBJ/3MF/SVG/DXF
- Export to STL or 3MF with colors
- A separate slicer based on CuraEngine: about 300 printer profiles, layer preview, and upload to OctoPrint, Klipper (Moonraker) or PrusaLink

Everything stays as normal files in your iCloud Drive. No tracking, no subscription, GPL-3.0.

The slicer is still new – please check the layer preview before printing and stay near your printer for the first prints.

GitHub (install takes about 5 minutes):GitHub

I'd love feedback – especially bug reports, printer profiles that don't work, and ideas for what's missing.


r/openscad • • 6d ago

Texte sur un cylindre avec OpenSCAD

3 Upvotes

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 • • 7d ago

Parametric Spirograph Generator with Trace Preview

Thumbnail
gallery
75 Upvotes

This is a fully parametric, gear-driven spirograph generator. You choose the shape of the track, the type and size of the wheel, the number of teeth and the position of the pen holes.

free download: https://makerworld.com/en/models/3593114-parametric-spirograph-generator-with-trace-preview


r/openscad • • 7d ago

Les 1001 arbres de OpenSCAD

35 Upvotes

Fabuleux ! en quelques lignes seulement OpenSCAD permet de construire un arbre dont à chaque appel, la physionomie change grâce à l'instruction"rands" qui génère des valeurs aléatoires.

Puis une variable "h" qui se renouvelle à chaque niveau

translate([0,0,h])

et fait converger le départ des ramages chaque niveau.
Puis la variable "b" renouvelée à chaque niveau dans la boucle "for"

b=[0:120:240])

déploie les branches sur les axex X et Y de l'arbre.

Ci-dessous don les quelques lignes de code qui permettent d'obtenir ces arbres magnifiques.

Nous avons obtenu ce code grâce à une discussion très constructive avec ChatGTP.

fn = 12;

module FEUILLE() {
color("lightgreen")
scale([1,0.5,0.15])
sphere(r=6,$fn=16);}

module ARBRE(n,h,r) {
if(n>0) {
color("#d80")
cylinder(h=h,r1=r,r2=r*0.7);
translate([0,0,h])
rotate([0,0,rands(0,360,1)[0]])
for(b=[0:120:240])
rotate([0,0,b])
rotate([0,30,0])
ARBRE(n-1,h*0.7,r*0.7);
} else {
FEUILLE();}}

ARBRE(5,50,2);

La commande ARBRE(n,h,r) se définit ainsi :
n : nombre di niveaux des ramages
h : point de départ des faisceaux de ramage
r : épaisseur des branches

Pour plus d'info voir 🔥 https://robotix.ah-oui.org/site/main.php...

#OpenSCAD #Modélisation_3D #Makers #FabLab #Paramétrique_3D


r/openscad • • 6d ago

Parametric Box with Latch - Make ANY Size Box in 10 Seconds

Thumbnail
gallery
6 Upvotes

Stop downloading 100 different static boxes. This generator makes the perfect box for your exact stuff.

Just open Customize and set:

Length: 30mm to 200mm

Width: 30mm to 200mm

Height: 20mm to 120mm

Wall Thickness: 1.6mm to 3.2mm

Latch: Snap Latch / Hinge Only / No Latch

The lid clicks shut with a print-in-place snap latch. No screws, no magnets, no assembly. Print it closed or open - it just works.

FEATURES:

- Parametric: Any size, instantly. No CAD needed.

- Print-in-Place Latch: 0.4mm tolerance, clicks on first print

- Hinged Lid: Print-in-place hinge, opens 180 degrees

- Optional: Label Slot, Dividers

PERFECT FOR:

Electronics, SD cards, screws, beads, fishing tackle, batteries, EDC, craft supplies, board games, parts storage, travel

Want a different size? Hit Customize at the top and make your own. No more guessing.

If this helped you, please leave a Like and a Print Profile rating - it helps more people find it!

https://makerworld.com/en/models/2834638-customisable-box#profileId-3249767


r/openscad • • 7d ago

I made a tool that turns an STL of a simple part back into a parametric .scad file

5 Upvotes

I kept finding brackets and plates on Printables that were almost what I needed, but only as STL. Changing one hole meant remodeling the whole thing, so I wrote mesh2cad. It fits planes, cylinders and fillets to the mesh and writes an OpenSCAD file where the dimensions are named variables (base_x, hole_1_d, slot_1_len and so on), so you change a number and render again. It also works in the Customizer.

pip install mesh2cad
mesh2cad convert bracket.stl --openscad bracket.scad

To be honest about what it can't do: it only handles simple prismatic stuff right now, like plates, L brackets, rounded boxes, through holes, hole rows and slots. Organic shapes, figurines or anything sculpted won't give you a clean script, and in that case it says so instead of guessing. I tested it on six Original Prusa MK3S printed parts and they all came out as editable scripts.

It's free and MIT, I'm the author. Code and examples: https://github.com/emirmrkaljevic/mesh2cad

If you have an STL of a mechanical part it chokes on I'd really like to see it.


r/openscad • • 6d ago

Bienvenue sur r/NASSCAD — NASSCAD 4.7.0, CAO 3D libre

0 Upvotes

Bienvenue sur r/NASSCAD !

NASSCAD 4.7.0 est un logiciel de CAO 3D libre (AGPLv3), disponible dans le navigateur et sur Windows. Il permet de modéliser des pièces, de travailler avec des esquisses 2D et des opérations CSG, d’inspecter des assemblages et de préparer des modèles pour l’impression 3D.

La version actuelle prend en charge l’import et l’export STEP (AP203, AP214, AP242), ainsi que les modèles IFC. Le traitement des modèles se fait localement, sans compte ; l’édition Windows intègre le moteur MEDUSA.

Ce subreddit est ouvert à vos questions, modèles, rapports de bugs et idées d’amélioration. Vos retours concrets nous aideront à faire progresser NASSCAD.

Site et téléchargement : https://www.nasscad.com/

Code source : https://github.com/Nx-Nass/NassCAD


r/openscad • • 7d ago

FC SubD Modeller

Thumbnail gallery
0 Upvotes

r/openscad • • 8d ago

OpenSCAD at 39,000 feet

Thumbnail
gallery
16 Upvotes

I'm halfway between Japan and Seattle, passing the time by creating a new pattern that I'll use for fabric printing.

Bonus pic:The moon and Mount Fuji as my plane was leaving Haneda.


r/openscad • • 7d ago

ZIMA-CAD – Improved User Interface and Toolbar Layout

Thumbnail gallery
0 Upvotes

r/openscad • • 8d ago

ZIMA-CAD — A Different Philosophy of Parametric CAD

Thumbnail
0 Upvotes

r/openscad • • 8d ago

ZIMA-CAD We're looking for ZIMA-CAD testers!

Post image
0 Upvotes