Double-Hung Window: Customizer at Thingiverse

Glenn Butcher Dec 8, 2022

  1. Glenn Butcher

    Glenn Butcher TrainBoard Member

    178
    344
    9
    At another forum, a member's experiences printing windows for a structure got me thinking; long story short, I wrote a OpenSCAD script to make variations of a double-hung window. Then, thinking about the best way to make it available for others to use (not getting a lot of love for OpenSCAD), decided to use it as a test article for Thingiverse customization:

    https://www.thingiverse.com/thing:5690155

    Basically, you define the following:

    1. the wall opening width and height
    2. The board dimensions for the trim and sashes
    3. The sash pane layouts as rows and columns

    and it pukes out a conformant double-hung window .stl

    You can use it most any way you want, but it's currently set up to use prototype dimensions (default is a 24"x48" 4x4 double-hung window made of 1"x3" planking) to make a HO (1/87) window in millimeter dimensions for printing. those things can be messed with in the parameters, e.g., O scale (48), or change the modeling scale to 1 and define the window in whatever measurement scale you care to use.

    The reference implementation is at my modelingtools Github repo, if you want to use/hack it directly with OpenSCAD:

    https://github.com/butcherg/modelingtools/blob/main/structures/doublehung-window.scad
     
    Jeff Vass likes this.
  2. SLSF Freak

    SLSF Freak Staff Member TrainBoard Supporter

    1,518
    1,466
    52
    That's a great idea. I've never used the customizer on Thingiverse before so maybe I can give this one a shot as I'm in the middle of designing a model house for a family member. I'd bet a lot of model rrer's are simply intimidated by OpenSCAD. As a business software developer I appreciate the flexibility afforded by being able to program exactly what I want as opposed to developing around pre-packaged drag and drop (like Tableau) However, since I am in code all day long for the day job straddling multiple languages I avoid practically every type of code or programming when I'm off the clock, so no DCC, no OpenSCAD for me. I need simple after work. That's my excuse. :cool: I've enjoyed checking out your work though as OpenSCAD is a completely different take on designing models than the rest of us are doing. And it gives you the flexibility to do cool things like this, so tip of the hat to you, sir!

    -Mike
     
    Glenn Butcher likes this.
  3. Glenn Butcher

    Glenn Butcher TrainBoard Member

    178
    344
    9
    @SLSF Freak , I get it. My training and education has been programming, but I've actually done very little on the job; instead, I've found myself more in system engineering roles, where the software was just a part of the whole thing. So, my programming has been almost all for personal aims. Well, I've also taught it a bit in college, but that doesn't count... :D

    IMHO the Thingiverse customization capability is a great place to leverage OpenSCAD for casual use. Thinking aloud, even complex models could benefit by just providing one parameter to size it to the desired modeling scale.
     
    SLSF Freak likes this.
  4. acsxfan1

    acsxfan1 TrainBoard Member

    345
    1
    24
    Glenn - I used it on my latest project --- it worked OK for me - I need to tweak the settings some more .. but thats on me .. thanks for developing
     
    Glenn Butcher likes this.
  5. Glenn Butcher

    Glenn Butcher TrainBoard Member

    178
    344
    9
    Excellent! Did you use the Thingiverse customizer, or the one I posted on my website?
     

Share This Page