Hacker News new | ask | show | jobs
by theduemmer 1479 days ago
A while back over the course of a week I wrote a python script to modulate the extrusion flow on a 3D printer based on FEA data. I would simulate the forces that would be on the part in Inventor Nastran and export it to a text file (side note: Nastran had the strangest plaintext output of a program I've ever seen. It was like a book, with a title page, table of contents, page numbers, etc. It was clearly a relic of years past). Then I would the Nastran and gcode into the script, and it would increase extrusion where the stresses were high while reducing it where the stresses were low.

Even though it was fairly rudimentary and I never formally tested anything, it seemed to work well enough.