discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Making adjustments to an STL in OpenSCAD? Image attached

T
Terry
Mon, Jul 17, 2023 11:07 AM

Sorry forgot the screenshot, now attached or here:
https://www.dropbox.com/scl/fi/4nosz3eh4nq1hfwywf0op/ImportedSTL-1.jpg?rlkey=0gs7678r5rs5xvfbjkoiqf6wb&raw=1


This 16x2 1602A LCD bezel from Thingiverse printed and fitted pretty
well a few months ago, and I made a couple in anticipation of future
use.

But I'd now like to quickly make two small adjustments before printing
another in Cura:

  1. Reduce the 'lip' from 4 to 2 mm. After much experiment I think I now
    have a way of making the rectangular hole in the project case with
    sufficient accuracy to allow such a tiny overlap; we'll see!

  2. Reduce the diameters of the four tiny push-fit pillars by say 0.1 mm.
    A couple broke when I tried to push-fit, and I used hot glue. The change
    will probably need trial/error. (Unless I can improvise something. I'm
    thinking maybe a tightly folded cylinder of sandpaper?)

No SCAD file was available so I imported the STL (an excellent feature
of OpenSCAD). But is there some way to get the STL converted to SCAD
code?

I know I can Add, Difference, Translate, etc, but apparently not
directly change dimensions of the existing objects?

Terry

Sorry forgot the screenshot, now attached or here: https://www.dropbox.com/scl/fi/4nosz3eh4nq1hfwywf0op/ImportedSTL-1.jpg?rlkey=0gs7678r5rs5xvfbjkoiqf6wb&raw=1 -------------------- This 16x2 1602A LCD bezel from Thingiverse printed and fitted pretty well a few months ago, and I made a couple in anticipation of future use. But I'd now like to quickly make two small adjustments before printing another in Cura: 1. Reduce the 'lip' from 4 to 2 mm. After much experiment I think I now have a way of making the rectangular hole in the project case with sufficient accuracy to allow such a tiny overlap; we'll see! 2. Reduce the diameters of the four tiny push-fit pillars by say 0.1 mm. A couple broke when I tried to push-fit, and I used hot glue. The change will probably need trial/error. (Unless I can improvise something. I'm thinking maybe a tightly folded cylinder of sandpaper?) No SCAD file was available so I imported the STL (an excellent feature of OpenSCAD). But is there some way to get the STL converted to SCAD code? I know I can Add, Difference, Translate, etc, but apparently not directly change dimensions of the existing objects? Terry