Urgent.News

What's breaking now, across thousands of outlets.

Tech

From STL to an editable FreeCAD macro: change one number, run it again

mesh2cad turns an STL into CAD. Every part gets a STEP file with real planes, cylinders and cones. When the part is simple enough it also gets a script with named parameters, so "make the hole 2 mm bigger" is one edited number instead of an afternoon of mesh surgery. Until now that script was CadQuery or OpenSCAD. A lot of people who print parts use FreeCAD, though, and asking them to install…

The mesh2cad tool now adds support for generating FreeCAD macros as an additional output format, alongside CadQuery and OpenSCAD scripts. This allows users to easily modify existing parts by simply editing one number in the macro and rerunning it. For example, changing the diameter of a hole from 10mm to 12mm updates the macro accordingly.

The macros are designed for parts that fit within a few supported shapes, such as boxes, extruded outlines, holes, chamfers, and fillets. The macro checks the generated part against the original STL, ensuring the deviation is within acceptable limits (maximum of 0.1mm or 4 times the tolerance, whichever is greater, and a 1% volume error).

If the part doesn't meet the criteria or the freecadcmd command-line tool isn't installed, the macro won't be generated. The tool also includes a new to_freecad utility for converting STL files to macros and checking the results.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

The Room That Forgot You: A Museum Mystery with an Archivist That Runs in Your Browser

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine . What I Built The museum knows every donor's name. It cannot tell you who washed the cups.

  • Players explore a railway museum at night in a first-person browser game
  • Archivist remembers key visitors and events while details are left in the margins
  • Game uses React 19, React Three Fiber, Three.js, TypeScript, Vite, and two open-weight models

Lunar Hollow: The Vanished Webmaster

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine What I Built Lunar Hollow is a small offline mystery.

  • Lunar Hollow vanished in 2004 with no trace
  • NightowlRen stopped posting on March 14, 2004
  • Password hidden in HTML comment for game solution

My family tree became a 404, so I built one that lives on my computer

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine What I Built I used to keep my family tree on a genealogy website: names, dates, photos.

  • Carla created open-source project Tell the Tree to build family trees locally
  • Uses Gemma 4 E2B language model on user's computer via Ollama tool
  • Allows editing, adding photos, searching, and exporting in GEDCOM format

Why Referral Attribution Fails Silently: A Lesson in Write-Once Design

Every referral system I have audited has the same shape: one write, at account creation, and no way to correct it afterwards. That shape is not an accident.

  • Referral systems store single write during account creation, no modification allowed later
  • Design prioritizes fraud resistance over user experience, creates unnoticed failure mode

More from Saturday 31 October →