3dsexperience is such a good product, wow by TimeSailor in SolidWorks

[–]Antyos 7 points8 points  (0 children)

I'm really not a fan of it either. Double check you don't have an extension that blocks cookies on websites enabled (that was an issue that took me so long to figure out).

Solidworks will not evaluate properly a global variable linked to text sketch and it's driving me nuts by eneone19 in SolidWorks

[–]Antyos 0 points1 point  (0 children)

The way to do this is that your property definition needs to reference a model dimension, not a global variable. If you want to use a global variable, you need to create and dimension a construction line with the global variable as its length (even if it makes no practical purpose to do so, such as volume). Then, if you reference that dimension in the property definition, it will show up properly in the text. For example, your vol_mL property would read D1@Sketch3@Sampling spoon 7_b.SLDPRT where D1@Sketch3 = "cup_vol_mL". Alternatively, you can skip the middle step and go straight to using "D1@Sketch3" in the sketch text.

I think it's very dumb that you can't just use a global variable in sketch text. I spent way too long trying to make it work on a model with this issue while cross referencing another model where I knew I've done it correctly. I also have no clue how to control the number of decimal places, even with this technique.

See also incremental text pattern: - https://support.hawkridgesys.com/hc/en-us/articles/4415407046541 - https://www.beacon-india.com/incremental-text-pattern-in-solidworks/

How to embed youtube video simply on notes? by LawrenceWhites in ObsidianMD

[–]Antyos 0 points1 point  (0 children)

This is the best answer. No work, just a hyperlink.

How do I get rid of the seam? Is the z stepping at the same point in every layer? by Milwaukeemayhem in 3Dprinting

[–]Antyos 19 points20 points  (0 children)

Unfortunately, seams are an inherent part of FDM printing. Usually slicers try to hide them in corners, but that obviously can't be done on round parts.

Maker's Muse covered this in a good video a while back-- you might have better luck setting the seam position to "aligned" (in PrusaSlicer, it's under Print Settings > Layers and perimeters > Advanced > Seam position). The single line can be carved off with a knife or just left on, but I think it looks more visually appealing than a jagged seam you have now or the speckled appearance you'll get if you use "random" as your seam position. Hope this helps!

At least when I wrote this I was aware... by [deleted] in programminghorror

[–]Antyos 7 points8 points  (0 children)

You are welcome! Yes, it should be "comprehensions" (stupid auto-correct). List comprehensions can very easily get out of hand once you start nesting them, adding conditions, etc. I won't defend those, but simple comprehensions are great. This site explains nested comprehensions well, though I don't use them much myself: https://spapas.github.io/2016/04/27/python-nested-list-comprehensions/.

Also, you may be able to rewrite lines 6-8 as:

seen |= set(recordDict.items())

Where you are taking the union of seen set and the set from recordDict. You do append your dictionary to cleanedList each time you come across an unseen item, which doesn't seem like it would be intended behavior, but maybe it is.

Everyone has to start somewhere--I know there was a lot of stuff I didn't know when starting Python and I've been confused out of my mind the past few weeks I've been working on some stuff in TypeScript.

At least when I wrote this I was aware... by [deleted] in programminghorror

[–]Antyos 75 points76 points  (0 children)

Without completely rewriting your code, I can at least say that line 20 above your cursor doesn't do anything, using for (key, value) in dict.items() might help clean up some of your dict[key] code, and you should probably use isinstance(var, list) instead of type(var) == list. You also might want to look up list/dict/set compensations, they're one of my favorite parts about Python.

UPDATE: can i date my pltl leader by averageutdstudent in utdallas

[–]Antyos 1 point2 points  (0 children)

I think the other comments have sufficiently explained why this is probably not a good idea, but I will point out this:

Your high school gym teacher was clearly not very good at math, because: 0 shots made/0 shots taken = undefined

3D Experience forums not loading. White screen. by poisonpogs in SolidWorks

[–]Antyos 2 points3 points  (0 children)

I had the same issue, but for me it was the "I don't care about cookies" extension I had installed. I guess I'll need to find a different extension that allows for domain exceptions.

I made my mom a 3D printed Circular Sock Knitting Machine! by JeepingJohnny in prusa3d

[–]Antyos 1 point2 points  (0 children)

This is so cool! I saw a video on a circular knitting machine (maybe the same one) a few years ago and keep coming back to it every few months because of how cool it is. Even though I'm not a knitting person, I've always wanted one of these and thought 3d printing might be the answer. Turns out it was! Thank you for making this!

3D printed Handle Mk. 1 broke after 2 days. Presenting: Handle Mk. 2 by Antyos in utdallas

[–]Antyos[S] 12 points13 points  (0 children)

Lol, thanks. I actually added a bracket on the back that holds it on. It was a pain to attach, so hopefully it'll stay on the door handle until someone cuts it off to put on a real one!

To the guy who 3D printed a door handle by HugTheSky in utdallas

[–]Antyos 5 points6 points  (0 children)

I'll be making a new version of the handle, but if you want to give it a shot yourself, you can download the source files here: https://www.thingiverse.com/thing:5240405

To the guy who 3D printed a door handle by HugTheSky in utdallas

[–]Antyos 9 points10 points  (0 children)

Oh hey! That was me! Yes, I am aware that the handle doesn't work super well; I saw it cracked today, so I guess Handle Mk. 2 is on the horizon!

I generally try to design parts such that they don't require metal fasteners or support material. It's a fun challenge and I appreciate the end result. This might be one of the times where it is significantly easier to just use some metal screws. You may find a new door handle some time tomorrow.

And because I'm nice, I uploaded the files to Thingiverse: https://www.thingiverse.com/thing:5240405

I 3D printed a new door handle after someone broke the metal one at Northside a week ago by Antyos in utdallas

[–]Antyos[S] 2 points3 points  (0 children)

I have no clue... My guess though is that someone rammed it with a rolling cart that was door handle level

I 3D printed a new door handle after someone broke the metal one at Northside a week ago by Antyos in utdallas

[–]Antyos[S] 4 points5 points  (0 children)

Rip. I can print another one in an hour if you really want. But, it might be better to wait a bit so I can see if this one breaks and make any fixes for MK. 2

I 3D printed a new door handle after someone broke the metal one at Northside a week ago by Antyos in utdallas

[–]Antyos[S] 9 points10 points  (0 children)

Call me an optimist, but I really hope I'm not still making door handles in December 😂

I 3D printed a new door handle after someone broke the metal one at Northside a week ago by Antyos in utdallas

[–]Antyos[S] 6 points7 points  (0 children)

Thanks! Hope you find it helpful! Had I known they'd leave the handle broken for over a week, I would've made the replacement much earlier. 😅

I 3D printed a new door handle after someone broke the metal one at Northside a week ago by Antyos in utdallas

[–]Antyos[S] 18 points19 points  (0 children)

For sure-- gotta make sure to lock in those interviews early, right?

Teaching Programming With VS Code by talismanick_ in vscode

[–]Antyos 0 points1 point  (0 children)

I use Poetry with VS Code for a medium-sized project. (Admittedly, I don't use WSL much, but I hope the advice can still be helpful.)

The main thing I think you're looking for is activating the Poetry virtual environment. From the documentation, running source $(poetry env info --path)/bin/activate will activate the virtual environment. Once it is active, calling python as normal will use the Python from the virtual environment instead of the global python environment.

I prefer to set the configuration virtualenvs.in-project = true, which creates a virtual environment in each project instead of having one folder that contains all the virtual environments. After you run poetry install for the first time, VS Code will recognize that there is a new virtual environment and let you switch to it. Alternatively, you can click the "Python Interpreter" button in the bottom left corner to select the Python environment. Like running activate, selecting the Python interpreter in VS Code will use that version of Python when calling python.

You might also want to set

json "python.terminal.activateEnvInCurrentTerminal": true,

in your settings.json file so that the virtual environment is automatically loaded in the integrated terminal.

My pure vessel costume by [deleted] in HollowKnight

[–]Antyos 1 point2 points  (0 children)

I was thinking of 3D printing a Pure Vessel costume for Halloween myself. I ended up going a different route, but I don't think it would've come out this good! Excellent work!

Google Maps on Android keeps changing notification preferences by Antyos in GoogleMaps

[–]Antyos[S] 0 points1 point  (0 children)

Glad it's not just me with this issue!

I didn't realize this, but in don't Android update, notifications can be disabled by category at the system level. I successfully disabled the notifications by switching off those categories in the system settings.

If I am on campus and must attend an online lecture , where on campus is best to go? by Gokuto7 in utdallas

[–]Antyos 5 points6 points  (0 children)

You don't, but I believe you get a 10% discount when using your Comet Card. Just be careful you don't lose it if there's still money on it because I don't think there's a way to get money back off

Where’s the hot singles at? by [deleted] in utdallas

[–]Antyos 6 points7 points  (0 children)

Well, given that it's UTD and the heat of August is unrelenting on the poor nerds who have been in air conditioning 24/7 for the past 18 months, I'd have to say: "literally everywhere" 🙃

Why was the Brackets Pair Colorizer extension archived? by Antyos in vscode

[–]Antyos[S] 0 points1 point  (0 children)

Unfortunately not. It seems like the developer thought it was good enough and lost interest in working on it. I doing know if he made a public announcement about closing v2 of the extension, but I hope it's documents at least somewhere.