1
submitted 2 months ago by Osnapitsjoey@lemmy.one to c/3dprinting@lemmy.ml

cross-posted from: https://lemmy.one/post/27366079

So I'm building a box turtle ams for my modded to all hell ender 3. My main idea was to create a filament cutter for the microswiss ng, but I cannot figure out a good way to do it with such a low filament travel path...which really sucks, as this is a very good hot end. Since I'm already doing this ams project, and have a wedding (very excited to marry my future wife) coming up, I really don't have the time for a second project. At this point I believe it will be easier to 3d print a voron hotend adapter to work with my ender 3, then to try and retrofit a filament cutter onto my ender 3 microswiss.

If you guys and gals know of anyone selling a completed one. Or have any ideas, please let me know!

0

So I was able to get the cad files from the good folks at micro swiss for their microswiss ng ender 3 edition. I also found a step file for a generic filament slicer. How easy would it be for me to somehow combine the two? I am okay at cad. But this seems like an undertaking, unless there's an easy way to do it. Has anyone done something like this before? The closest I've found was someone made one for the microswiss ng ender 5 edition, but I haven't been able to get a hold of the creator.

[-] Osnapitsjoey@lemmy.one 12 points 2 years ago

I like how the url could also have the picture changed if someone wanted to lol. You don't even own the picture that the url points to, you just have a receipt that says "this url is my url, no I don't own the url, because someone can change what's on that. No I also don't own whatever is hosted on that url either"

[-] Osnapitsjoey@lemmy.one 8 points 2 years ago

Wait fr? I've never heard that before, do you have a source?

[-] Osnapitsjoey@lemmy.one 2 points 2 years ago

Ahhh you know what. This would help me. Because when I'm stumped, I'm definitely just "blindly" trying different orders of things and getting frustrated. Thank you very much for the tip

31
submitted 2 years ago* (last edited 2 years ago) by Osnapitsjoey@lemmy.one to c/programming@programming.dev

so ill post a few of my failed examples below along with what I came up with as a fix, and then the actual correct code. I feel like im so close to grasping this, but missing some logic. this is for a hangman game.

one of the failed attempts:

import random
word_list = ["aardvark", "baboon", "camel"]
chosen_word = random.choice(word_list)

#Testing code
print(f'Pssst, the solution is {chosen_word}.')

#Create an empty List called display.
#For each letter in the chosen_word, add a "_" to 'display'.
#So if the chosen_word was "apple", display should be ["_", "_", "_", "_", "_"] with 5 "_" representing each letter to guess.


display = ["_"] * len(chosen_word)


guess = input("Guess a letter: ").lower()

#If the letter at that position matches 'guess' then reveal that letter in the display at that position.
#e.g. If the user guessed "p" and the chosen word was "apple", then display should be ["_", "p", "p", "_", "_"].

for letter in chosen_word:
if guess == letter:
for i in range(len(chosen_word)):
display.insert(i, guess)

print(display)

second:

for letter in chosen_word:
  if guess == letter:
    for i in range(len(chosen_word[letter])):
      display.insert(i, guess)

I ended up just saying screw it and went to this:

display = []
for char in chosen_word:
    if guess == letter:
        display += letter
   else:
    display += "_"

correct way of doing it:

import random
word_list = ["aardvark", "baboon", "camel"]
chosen_word = random.choice(word_list)

print(f'Pssst, the solution is {chosen_word}.')

display = []
word_length = len(chosen_word)
for _ in range(word_length):
  display += "_"
print(display)
  
guess = input("Guess a letter: ").lower()


for position in range(word_length):
  letter = chosen_word[position]
  if letter == guess:
    display[position] = letter

print(display)

so as you can see, i get that I can grab specific parts of a list using indices or slices, but somewhere in my brain my logic is wrong. if you guys have struggled with this before or if you have a good youtube video to help me break it down id be beyond thankful!

[-] Osnapitsjoey@lemmy.one 2 points 2 years ago

No shit. So you're saying I can hook up like three mini pcs and make a mega at home server!? I gotta look into this. Did you follow a guide or anything you think is good enough or is as easy as a Google?

[-] Osnapitsjoey@lemmy.one 3 points 2 years ago

Oooh whats a good one called?

[-] Osnapitsjoey@lemmy.one 2 points 2 years ago* (last edited 2 years ago)

Does rancher connect the pcs together? I have like 3 mini pcs sitting around, and I've always wanted to kinda combine them somehow

Like being able to combine cpu power or something. Idk if this is possible without getting a mobo with multiple cpu slots, but if it is. I'd love to learn!

[-] Osnapitsjoey@lemmy.one 2 points 2 years ago

Wut?

The pyramid builders weren't even slaves ya dumbass

[-] Osnapitsjoey@lemmy.one 2 points 2 years ago

Calcium is a metal. So we're just normal robots

[-] Osnapitsjoey@lemmy.one 4 points 2 years ago

Like for stealing your code?

Also vscodium vs vscode-server. What's the difference? I've heard the ladder has Spyware or something?

[-] Osnapitsjoey@lemmy.one 3 points 2 years ago
[-] Osnapitsjoey@lemmy.one 2 points 2 years ago

That's just be on them losing tons and tons of money from bad usable platter space lol they're machine gunning themselves in the legs

[-] Osnapitsjoey@lemmy.one 3 points 2 years ago

Can you share a list of some of your favorites/some that are just gimmicks and shit?

view more: next ›

Osnapitsjoey

joined 2 years ago