Live data from Hacker News

3D-Printed Mathematical Lampshades

hessammehr.github.io

11–20 of 34 posts

Re: 3D-Printed Mathematical Lampshades

#11
post #2

In theory, one should be able to use OpenSCAD to come up with fancy surfaces to 3-D print, right? I'm just dipping my toes in 3D printing, with a recent acquisition of a Bambu P2S

> In theory, one should be able to use OpenSCAD to come up with fancy surfaces to 3-D print, right?

Yes, but it is painfully slow. Even perforated patterns are quite slow to generate.

Re: 3D-Printed Mathematical Lampshades

#12
post #2

In theory, one should be able to use OpenSCAD to come up with fancy surfaces to 3-D print, right? I'm just dipping my toes in 3D printing, with a recent acquisition of a Bambu P2S

> In theory, one should be able to use OpenSCAD to come up with fancy surfaces to 3-D print, right? Yes, but it is painfully slow. Even perforated patterns are quite slow to generate.

Aside from Fusion360, is there a Free (or FOSS) cad package that uses breps and is scriptable?

Fusion360 is just stupid fast at perforations and sophisticated modeling constructions via its python API. I use it because it works well, but I'd be happier if I didn't have to maintain that Autodesk dependency...

Re: 3D-Printed Mathematical Lampshades

#13
post #2

In theory, one should be able to use OpenSCAD to come up with fancy surfaces to 3-D print, right? I'm just dipping my toes in 3D printing, with a recent acquisition of a Bambu P2S

I used OpenSCAD to create a map of Manhattan. It shows the live location of subway trains. It was surprisingly easy, I struggled a lot with OnShape and Fusion360 trying to do this because there were too many polygons.

I found that starting with an SVG and extruding from there is perfect in OpenSCAD, but I’m sure I’m underutilizing it a lot.

I wrote a bit about it here if you’re curious https://hackaday.io/project/202488-manhattan-subway-map/deta...

Re: 3D-Printed Mathematical Lampshades

#14
post #2

In theory, one should be able to use OpenSCAD to come up with fancy surfaces to 3-D print, right? I'm just dipping my toes in 3D printing, with a recent acquisition of a Bambu P2S

I was able to take the image of the star-shaped graph from OP, fed it to claude and used this for the prompt: "figure out a good formula or equation for this graph and use it to create the lampshade in openscad. use the graph as the bottom for a lampshade, and taper it all up to center point. leave a hole at the top big enough for a lightbulb fixture to pass through." It did a surprisingly good job of generating the OpenSCAD, STL, and preview renders in-browsers.

Re: 3D-Printed Mathematical Lampshades

#15
post #7

This is awesome. I’ve also been playing with OnShape to make lamps and it’s been quite challenging. I also tried Blender but the learning curve is just too steep for me. I like this idea of using Python. I might try OpenSCAD too like someone else suggested. Here’s my lamp if you’re curious, printed with a .8 mm nozzle, otherwise it would fail https://imgur.com/a/mRqw1pI

heres an example of OpenSCAD in Clojure

https://www.juxt.pro/blog/designing-3d-printable-objects-wit...

Looks quite fun

Re: 3D-Printed Mathematical Lampshades

#16

Earlier quoted context omitted.

> In theory, one should be able to use OpenSCAD to come up with fancy surfaces to 3-D print, right? Yes, but it is painfully slow. Even perforated patterns are quite slow to generate.

Aside from Fusion360, is there a Free (or FOSS) cad package that uses breps and is scriptable? Fusion360 is just stupid fast at perforations and sophisticated modeling constructions via its python API. I use it because it works well, but I'd be happier if I didn't have to maintain that Autodesk dependency...

freeCAD is brep based and scriptable.

Re: 3D-Printed Mathematical Lampshades

#17
post #2

In theory, one should be able to use OpenSCAD to come up with fancy surfaces to 3-D print, right? I'm just dipping my toes in 3D printing, with a recent acquisition of a Bambu P2S

For this case, I'm not exaggerating when I say you would probably have an easier time generating the meshes yourself in python and something like the trimesh library to load the vertices into.

Re: 3D-Printed Mathematical Lampshades

#18
post #2

In theory, one should be able to use OpenSCAD to come up with fancy surfaces to 3-D print, right? I'm just dipping my toes in 3D printing, with a recent acquisition of a Bambu P2S

Yes. Claude is surprisingly capable in this area, maybe because the shapes are so simple. Using a slicer in vase mode should make it print quickly too.

Re: 3D-Printed Mathematical Lampshades

#19
post #2

In theory, one should be able to use OpenSCAD to come up with fancy surfaces to 3-D print, right? I'm just dipping my toes in 3D printing, with a recent acquisition of a Bambu P2S

Yeah OpenSCAD would have made this a lot easier than the exported-SVG-DXF pipeline

Re: 3D-Printed Mathematical Lampshades

#20
post #2

In theory, one should be able to use OpenSCAD to come up with fancy surfaces to 3-D print, right? I'm just dipping my toes in 3D printing, with a recent acquisition of a Bambu P2S

> In theory, one should be able to use OpenSCAD to come up with fancy surfaces to 3-D print, right? Yes, but it is painfully slow. Even perforated patterns are quite slow to generate.

OpenSCAD nightly using the Manifold engine is a lot faster than the CGAL crap the stable version ships with
Post reply on HN