Profile avatar
adam-james.bsky.social
Clojure programmer slowly and steadily working on CAD tools.
22 posts 55 followers 79 following
Regular Contributor

Make your code more tangible #clojure #clojurescript #svg

Using github.com/clj-python/l..., and #build123d, I have attempted yet again to use #clojure for CAD. Here's a successful 'sweep' operation, exported to STEP (viewed in #freecad @freecad.bsky.social). Also have an SVG export that you can open up and view directly in emacs.

Patterning things on circles can look quite fun #clojure #svg This is roughly based on a Swarovski Crystal Star ornament. My mom has a collection of them and, well, some of them are quite beautiful!

Writing as a form of thinking is something I hope to use somewhat regularly in my 'year of crafting'. Won't set a writing goal specifically, nor will I post every day, but writing and posting is nice, so I'll do it sometimes :) adam-james.weblog.lol/2025/01/just...

hacked together a #clojure tool to make little art 'cards'. With improvements, the idea is to be able to use this on my phone and save the SVGs. Hoping to use it when I get bored in lines or whatever, hopefully leading to some more artistic output

adam-james.weblog.lol/2025/01/the-...

Over the holidays my family decided to exchange experiences rather than gifts. It was an enjoyable idea and we all loved it. 2 of the experiences involved creativity. A crayon print and a pebble picture.

A new version of my #Lisp NES #chiptune sequencer is live: codeberg.org/bobbicodes/L... It now uses a more tracker-like pattern system which allows for longer compositions and much easier arrangement.

Here's an example of using #clojure to define a data model for CAD geometry and operations. From that model, I can create a STEP file via #FreeCAD and also view/export a meshed solid via #OpenSCAD

I'm thinking about how I can angle my career towards 'making bespoke CAD tools for makers'. I... don't know exactly how to proceed, does anyone have some general advice? Or, perhaps there are companies or labs that do work related to CAD design and automation that I could poke at?

First success using #clojure to create STEP files. Here I'm using #FreeCAD as a python module and using libpython-clj to script a 3D model. It's promising!

Tableplot, our #Clojure library for easy layered #grammarofgraphics, has made some progress recently. scicloj.github.io/tableplot/ Among other things, it now has new, detailed documentation for its #plotly API. scicloj.github.io/tableplot/ta...

What makes someone an excellent programmer?

Are there any examples of programmatic CAD tools used in industry? I'm really curious if there are professional-grade tools along the lines of #openscad

Thomas Clark's recent talk at #clojureconj is a fantastic overview of recent developments in the #Clojure stack for #scientific computing. www.youtube.com/watch?v=_D5d...

I gave a short talk at #Clojure conj this year showing how I use #badspreadsheet. It's a tool built with a combo of javascript, Clojure, and #HTMX , and just enough naivety to think I can actually build stuff :) Give it a watch here: youtu.be/OOtgJm-RL_I?...

Here's a fun #badspreadsheet demo. Use a set of draggable points to sketch shapes over an image. Simple pieces, a way to view SVG, a way to get the position of every point, and a way to layer cells over one another. Add some #clojure and you've got a powerful tool :)

Here's code for my #badspreadsheet with #clojure and #htmx driving the bulk of functionality. It's firmly a 'prototype' but this is the year I go from prototype -> real software, and this is step 1. github.com/adam-james-v... Try it, share it, and talk to me about it :)