正在加载视频...
视频加载失败
This is MicroCAD. The programming language for your 3D projects. You can design your own Lego block in a few lines of code, ready to be exported as an STL file for 3D printing.
117 条评论

Oh cool, looks pretty similar

have you seen build123d? currently messing around with it, it's pretty neat imo

It seems really great with a lot of features.

yeah; one thing is that it is actually built on Python which is (a) nice in the sense that you can leverage all of Python's standard tools but (b) annoying in the sense that you kind of have to work _within_ Python's "way of doing things" which may make things clunkier

overall, it's been pretty smooth sailing; really the weird thing is mostly getting used to referring to edges/vertices/etc in terms of other objects instead of being able to click on them and set constraints

but that's less specific to this and more just remembering that you can do it/what the commands are to filter/remove/sort/sort_by_distance/etc

Cool project!! You might also take a look at cadquery:

Thanks! Never heard about!

My pleasure! It's the CAD engine of @FreeCADNews , so it's fully featured, and can be used both within freecad, and outside of it, as standalone software. A cool aspect of it is that it works with STEP geometry, not only STL, which is much easier to work with in any other CAD.

@FreeCADNews Veery interesting!! Thank you for sharing!

Already exists!

ohh fine I didn't know. How it works? with microcad?

We have a scripting language at @zoodotdev called KCL ( and build a hybrid GUI around it where you can do both prompt-based and traditional edits.

@zoodotdev Ohhh I see, never heard about it. Thanks for sharing.

@zoodotdev

I made a toy where you can code voxel art and MUCH MURE

the UI is awesome. love it

…OpenSCAD with cooler UI

at least there is something different

You know there is an app called OpenSCAD, right?

I didn't know, now I know it. But still I think this is fine.

This is literally CADAM

Oh, cool, never heard about.

This seems like a really cool thing. We should definitely hook an LLM into it and see where it goes.

This is what I am doing in the web editor mate

@sanjuhs123 Curious to see how it performs, I did the same but with blender backend (tried JSCAD as well), link in my bio if you want to try

@sanjuhs123 oh, thank you, I'll try for sure.

cool af but using a non-standard ascii char in the extension is a bad move

I think I didn't get your point, can you explain me better?

I feel it could generate easily avoidable problems, like when you create a file from the terminal and usually don’t have quick access to those characters

oh I got it know. have you got some suggestion?

allowing variations like .ucad or .mcad sounds cool too, and so terminal users without Unicode support (if any exist) won’t suffer

thank you, I am a newbie on this field, so every new information is useful

bro... you dont seem newbie at all hahah you created an awesome project keep it up 💪

thank you very much! Appreciated!

Or you can design a Lego with a couple clicks in cad

You can, or you script your models

How does it compare to OpenSCAD? Is it also a pure / referentially transparent / side effect free language (culling out all the bugs that can stem from for this use-case unnecessary statefulness).

Never tried openscad

Sounds great, I'll test it as soon as I can. I used openSCAD and it was quite powefull but unfortunately the development stopped.

this is a newborn language, so let's see

Reminds me of OpenSCAD

I didn't know openscad

Well done 👍

Modeling 3d model has always been frightening to me. Use a mouse to sculpt a virtual blob 😱 I love so much being able to code 3d models. It’s mesmerizing to me. OpenSCAD revival 🥹

Time to play with 3D models.

can ai generate it

i think gemini 3 is able to generate them. I prefer this approach because I can have more control on the process in this way

generate the code

Exactly, that's the plan, integrate into the webeditor and llm so I can let it write the code

@OliverBarnum That's very good.👏🏻

@OliverBarnum Thanks! Hope it works!

totally ground-breaking, amazing work, marco!

It is pretty awesome! 3D printing goes brrrr

it's almost too easy

it's becoming just a funny game

the game of life

I once tried hooking OpenSCAD up to an LLM, and it just didn’t work at all.

Cadquery?

what is cadquery?

Similar, but a very stable Python library with kits of component libraries. Also check build123d

oh very interesting. Thanks for sharing

Literally math cad.

literally.

No, it specifically is. Mathcad or openscad is literally already this. It’s been around a long time.

Ya, I am not joking, I didn't know that. I discovered today here in the comments, many people talk about openscad

Love it, if you need a beta tester... just send a msg

thanks! I will share the web editor soon

openscad exists you know

@MrPewpyButWhole ya I received many comments about that

will you support the superior .step format? the .stl format is late 1980's and is very out of date

can any current AI LLM use it ?

I am doing exactly this. Like an agent to properly write this syntax on a given prompt

looking forward then

working on it, stay tuned!

Can it do animal figures? Like Huskies?

@GaryWA9 pretty complex task. I think we can try to make a very rough version of a husky. Let me try.

That would be cool. I'd love to find a way without 3D scanning gear. I have Huskies and wanted to make their own statues and they generally won't sit still for a scanner process. I was thinking 3-4 images from different angles could be crunched up but have no idea what AI would crunch that up or if it exists yet. I use FreeCAD and Blender for other things.

@GaryWA9 oh, very nice. I think you should try with gemini 3 maybe. Uploading the pictures and asking for a 3d model of them. I have seen something like this for cars and it looks pretty nice.

Will try...but then have to get to STL for the 3D Printer. Someone could make a business out of that, doing custom 3D statues for people's pets. Just spit balling. But that would be cool for my crew.

@GaryWA9 I am sure that it already exists but we just don't know XD

Web3 is vast.😎

Can you also choose color for the piece?

ya sure

Cool, thx.

soon online, stay tuned.

Fantastic

ya, it really is!

How am I supposed to find mu on my keyboard for the file extension good sir

I think that is a very good question. That is why it is better to use a fully integrated editor

@virtuaboii .microcad extension is better XD

@virtuaboii simple, clean, fast. Like it.

Ever tried OpenSCAD?

yep, i discovered it today

looks super sick. what is the coolest thing you have made with it?

lego

This is awesome. Being able to git diff cad designs. Text based git diffable engineering ftw.

EXACTLY. You got the point, that is the real value of this.

Cool where can I try it

the code is open source and you can install the software with cargo

One can make a static website for this thing with codemirror, webassembly, and webgpu right?

yep why not!

I am lazy, I will wait until someone else builds it

just a couple of hours and I am going to host the website

@fs9h7kh4b5 lol let's go marco

@fs9h7kh4b5 we are sooo back

cool.

It is.

Fusion 360 has had scripting for making objects through code from the starting...

Oh I didn't know🚀

the cursor for CAD implementations here could be incredible - generative design and representations here could be awesome

This is literally what I am doing right now.

Now do an icosahedron

Let's go

😅 First time I modeled one after seeing how to construct it with 3 orthogonal golden ratio rectangles like a month ago in an x post, maybe it was one of yours. Last week I started to try it with grasshopper in rhino but I was too clueless compared to how to do it far more simply in Solidworks which this is.

oh well, it looks really complex XD

It was a little annoying to make ha.

