ugh. the good news is that I can write some clever xpath that makes this SVG-manipulation trivial

the bad news is that I'm having to use ElementTree, which has "limited support for XPath expressions", so NOPE! my xpath won't work

it has been zero days since I crashed fusion360
ooh it's repeatable. that's fun
I continue to enjoy programming for fusion360
currently engaging in crash-oriented programming. the docs are incomplete and unclear, so I'm trying different things and seeing if they crash, work, or give me an error
one part of the python API for Fusion 360 is undocumented and just assumes you recognize that it's backed by a certain C++ object and that you know how STL std::vector's work

well I can do it one way, which crashes, and another way, which silently does nothing.

quality software and/or documentation

well I searched the docs for the function that's failing, and got two result:
the lying docs
and a forum post from 4 months ago saying that the function may have a bug that makes it not work
no replies

ahh, I figured out it was generating the wrong kind of operation. so I switched it to the correct operation!

and it still crashes

I'm assigning an array to another array, and it's throwing a null pointer error in Iron::CadCurvesBase::setInputs. Weird.
I am trying SO HARD to not open ghidra right now
I have apparently crashed fusion360 so hard that it won't open again. uh-oh
oh my god
it WAS ghidra!
I didn't even try to open fusion360 in ghidra, but I had ghidra running in the background for my duke nukem project.
when I closed ghidra, fusion360 finally opened
and I crashed it again

good news!
it didn't crash.

it instead hung.

and then it gave me a browser error?
welcome to the future:
where even your CAD program is actually chrome
I'm looking at screenshots from July and they're not matching my current program
and I can't tell if something has gone wrong or if they've updated the program in the background
it could easily be both

fusion360 is the king of code that looks like it contains obvious typos but doesn't:

op.parameters.itemByName('tool_coolant').value.value = "'disabled'"

that last bit is a little easier to see if you have your mastodon set to a monospaced font but who would do such a thing?

even better, it turns out this code DOES contain a bug!
despite the saved templates storing the value as "'disabled'" (that's double-quote-single-quote-disabled-single-quote-doublequote) and the list of values clearly saying single-quote-disabled-single-quote, and you assigning a value, not a name... it wants no single quotes.

the name would be Disabled, btw, but apparently the correct value is disabled, no quotes.

fusion360 interprets programmers trying to use their API/docs as damage and routes around them
@foone that gave me a headache 😂
@foone Your instance doesn't support markdown for inline code blocks?
@jernej__s if it does, I have no idea how to activate it.
@foone For me it's on by default, but can be changed to plain text or HTML in the toolbar below the text entry box:
@foone Wait, if so, then what happens to the precise placement? Who takes care of that?
@foone The new Fusion360 UI is really bad. It being a chrome Frankenstein kind of makes sense
@foone hate fusion360, onshape is actually kinda great though. I wish there was a Linux version of solidworks.
@foone yeah they decided to make web version of it and then of course replaced the native one with a shell to that afaict. awful
@foone have you seen onshape.com?
@Zoarial94 @foone I thought they were poking fun at Onshape at first.
@foone I thought this was going to be about sketchup until I scrolled up 😳
@foone Oh no, not my Control-Alt-Delete program!!
@foone Google. We somehow turned Apple and Microsofts OSes into ChromeOS. FTC Please ignore us.
@foone god I hate this so much lmfao
@foone Software carcinization, everything becomes chrome
@foone Chrome was the only program to survive the Applicatio Wars. Now all applications are Chrome.
@brouhaha @foone Spongebob: "Everything's Chrome in the future!"
@foone is this like the cake thing?
@foone Where every app is Electron, even when it doesn't need to be (and probably shouldn't be).
@foone what if all programs were just chrome
@jarhill0 @foone It's the tech equivalent of cutting open something and realizing that it was cake all along.
@foone I don't like this future we're heading

@foone Fusion 360, running on your PC in CEF:

(Btw, isn't it funny that Fusion 360 is running in Chromium Embedded Framework and yet can only be locally installed on Windows and macOS?)

@foone Not just Chrome. It wouldn't be AS bad if it were just Chrome. But everything is a separate INSTANCE of Chrome. UGH. It's no wonder 64GB doesn't feel like 64GB.
@foone
Fusion 360 makes me want to cry
@foone Electron ruined desktop apps
@foone Does it have a ghidra detection?
@dascandy42 it can't have, I'm basically always running ghidra
@foone gonna get permbanned from fusion360 for hacking
@foone I'm trying so hard to reinstall r2 and it doesn't work…
@foone oh gosh the sys/install.sh script silently failed with USE_SU=1 so I had to su - to run make symstall directly 🤷

@foone I decided this year that I'd rather deal with the jank of literally any other CAD app than deal with Autodesk anymore

the second someone programs a KiCad<->Blender(+manufacturing mod) connector, it's pretty much over for Fusion360

@foone Autodesk. Have you looked at Rhino? Or does it do your job?
@ravenonthill I've not looked at rhino, this is a work project where the fusion360 was built in from the start, so I can't really pick a different CAD program