thePretendgineer

Web/Wordpress/PHP

Random web things that I needed or something. Who knows. If you don't like it, the X is in the top right. Or if you're gay, it's in the top left.🔴🟡🟢

accordionAnchorTagGaper

This was built specifically for Bricks Builder, but I’m sure it could be easily adapted to anything. The gist is it expands an accordion at the ID pulled from the anchor tag target in the URL.

window.addEventListener("load", function() {
  var hash = window.location.hash;
  if (hash) {
    // Remove the "#" from the hash to get the element ID.
    var elementId = hash.substring(1);
    var accordionEl = document.getElementById(elementId);
    if (accordionEl) {
      // If the accordion isn't expanded, simulate a click to expand it.
      if (accordionEl.getAttribute("aria-expanded") === "false") {
        accordionEl.click();
      }
      // Scroll to the element with an offset for better visibility.
      var offset = 50; // Adjust as needed.
      var elementPosition = accordionEl.getBoundingClientRect().top + window.pageYOffset;
      var offsetPosition = elementPosition - offset;
      window.scrollTo({
        top: offsetPosition,
        behavior: "smooth"
      });
    }
  }
});

3d Printing

This is a collection of random 💩 that I either thought people would find useful or (more likely) that I want easily accessible for my own selfish reasons. It is not organized. It is not curated in any way. It just is.

filamentCompatibility

I had Grok make me a table of filament compatibility for multi-material prints. I picked up an Anycubic Kobra 3 combo with their material changer on BF but I’ve never done multi-material, so this should be interesting…

Material PLA PETG ABS ASA TPU Nylon
PLA ✓ △ ✗ ✗ △ ✗
PETG △ ✓ △ △ ✓ △
ABS ✗ △ ✓ ✓ △ ✗
ASA ✗ △ ✓ ✓ △ ✗
TPU △ ✓ △ △ ✓ △
Nylon ✗ △ ✗ ✗ △ ✓

Key:
✓: Good compatibility; similar properties, print temperatures, adhesion.
â–³: Possible with caution; may require careful setting adjustments, special design considerations, or might not bond well but can be used for supports or different parts of the model.
✗: Not recommended; significant differences in print temperature, chemical properties, or adhesion issues.

Notes:
- PLA with PETG or TPU: While possible, the bond might not be strong, making it suitable for support structures or parts where adhesion isn't critical.
- ABS with ASA: Good match due to similar properties, but still, manage your print environment for best results.
- ASA with TPU: TPU's flexibility might complicate adhesion, but with careful design and temperature control, it can work for specific applications.
- Nylon: Generally, it's best used alone or with materials that can handle its high printing temperatures, like other high-performance plastics.

filamentTypes

3D Printing Filaments: A No-Nonsense Guide

Picking a filament for your 3D printer is like choosing a tool from the shed—each one’s got its own strengths, weaknesses, and weird little quirks. I’ve broken down the usual suspects so you can figure out what’ll work for your next project without wading through a bunch of techy gibberish. Let’s get into it.

PLA: The Beginner’s Best Friend
  • What it is: Polylactic Acid—fancy name for plastic made from stuff like cornstarch.
  • Pros: Prints easy, barely warps, tons of colors to play with.
  • Cons: Turns into goo above 60°C, so no hot car dashboards.
  • Good for: Desk toys, prototypes, or anything that doesn’t need to take a beating.
  • Heads-up: This is the starter filament. Cheap, smells vaguely like breakfast, and forgiving as hell. Just don’t expect it to hold up when the heat’s on.

ABS: The Tough Guy
  • What it is: Acrylonitrile Butadiene Styrene—yep, LEGO plastic.
  • Pros: Solid, handles heat up to 100°C, and you can smooth it with acetone for that pro finish.
  • Cons: Warps like crazy without the right setup. Heated bed required.
  • Good for: Car parts, tool handles, or anything that needs some grit.
  • Heads-up: It’s a bit of a diva—needs a draft-free zone and maybe an enclosure. Worth it if you’ve got the patience.

PETG: The All-Rounder
  • What it is: Polyethylene Terephthalate Glycol—think water bottle plastic with a twist.
  • Pros: Strong, bends a little without snapping, easier than ABS to print.
  • Cons: Stringy if your settings suck.
  • Good for: Gizmo parts, food-safe stuff (check your brand), or anything needing balance.
  • Heads-up: Middle-of-the-road perfection. Tweak retraction to dodge the cobwebs, and you’re golden.

TPU: The Flexible Filament
  • What it is: Thermoplastic Polyurethane—rubber’s nerdy cousin.
  • Pros: Stretchy as hell, great for squishy stuff.
  • Cons: Pain to print if your extruder’s not direct-drive.
  • Good for: Phone cases, shoe inserts, or anything you can squeeze.
  • Heads-up: Slow your roll—literally. Low speed keeps it from turning into a stringy mess.

Nylon: The Heavy-Duty Option
  • What it is: Polyamide—tough-as-nails plastic.
  • Pros: Durable, takes a hit without cracking.
  • Cons: Sucks up water like a sponge, needs high heat to print.
  • Good for: Gears, hinges, or anything you’d trust in a fight.
  • Heads-up: Keep it dry in a sealed bag with desiccant. Wet nylon’s a nightmare.

Specialty Filaments: For When You’re Feeling Extra
  • Wood-fill: Prints with a woody look and smell. Sandable.
  • Metal-fill: Heavy, polishes up shiny. Feels legit.
  • Conductive: Works for basic circuits or touch-sensitive bits.
  • Heads-up: These are the divas of the filament world. Check your nozzle and settings, or they’ll clog your life up.

How to Pick Your Poison
  • Want easy? PLA’s your go-to.
  • Need tough and heat-proof? ABS or PETG.
  • Something bendy? TPU’s got you.
  • Showing off? Specialty stuff.

There you go—filaments in a nutshell. Start with PLA if you’re new, mess around with the others when you’re ready to level up. Screw-ups are half the fun anyway; every melted blob’s a story. Got a favorite filament or a print worth bragging about? Drop it in the comments or whatever you’ve got going on your site. Happy printing!

WTF is this 💩?

Oh look, you’ve stumbled onto my site.

This is where I document my random projects, questionable experiments, and whatever else I decide is worth posting. Is it organized? No. Is it always useful? Absolutely not. Is it regularly updated? Eh. But if you’re into chaotic tech builds and the occasional half-decent idea, you might just enjoy it here.

Feel free to stick around if you want to see what happens when ambition meets procrastination.

Welcome to the mess. You’ve been warned.