foone,
@foone@digipres.club avatar

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

lukeshu,
@lukeshu@fosstodon.org avatar
foone,
@foone@digipres.club avatar

it has been zero days since I crashed fusion360

foone,
@foone@digipres.club avatar

ooh it's repeatable. that's fun

foone,
@foone@digipres.club avatar

I continue to enjoy programming for fusion360

foone,
@foone@digipres.club avatar

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

foone,
@foone@digipres.club avatar

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

ravenonthill,
@ravenonthill@mastodon.social avatar

@foone Autodesk. Have you looked at Rhino? Or does it do your job?

foone,
@foone@digipres.club avatar

@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

ravenonthill,
@ravenonthill@mastodon.social avatar

@foone sigh.

foone,
@foone@digipres.club avatar

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

quality software and/or documentation

amoose136,
@amoose136@3dp.chat avatar

@foone A couple months ago I tried to write a simple plugin to drill holes along a cylinder in a helical pattern. Quickly learned Fusion's API documentation is poor quality and the error handling is S level awful. Even though what I wanted should be a trivial task, it was pulling teeth to get anywhere.

foone,
@foone@digipres.club avatar

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

foone,
@foone@digipres.club avatar

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

and it still crashes

foone,
@foone@digipres.club avatar

I'm assigning an array to another array, and it's throwing a null pointer error in Iron::CadCurvesBase::setInputs. Weird.

foone,
@foone@digipres.club avatar

I am trying SO HARD to not open ghidra right now

foone,
@foone@digipres.club avatar

I have apparently crashed fusion360 so hard that it won't open again. uh-oh

foone,
@foone@digipres.club avatar

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

foone,
@foone@digipres.club avatar

and I crashed it again

foone,
@foone@digipres.club avatar

good news!
it didn't crash.

it instead hung.

foone,
@foone@digipres.club avatar

and then it gave me a browser error?

foone,
@foone@digipres.club avatar

welcome to the future:
where even your CAD program is actually chrome

soil_dirt,

@foone
Fusion 360 makes me want to cry

philip,
@philip@mallegolhansen.com avatar

@foone I want off this ride.

synths,

@foone god I hate this so much lmfao

ic7,
@ic7@frogs.lgbt avatar

@foone Software carcinization, everything becomes chrome

brouhaha,
@brouhaha@mastodon.social avatar

@foone Chrome was the only program to survive the Applicatio Wars. Now all applications are Chrome.

jaykass,

@foone is this like the cake thing?

amev7fam,

@foone Where every app is Electron, even when it doesn't need to be (and probably shouldn't be).

jarhill0,

@foone what if all programs were just chrome

vl2m,
@vl2m@mastodon.gamedev.place avatar

@foone I don't like this future we're heading

shac,
@shac@ioc.exchange avatar

@foone The new Fusion360 UI is really bad. It being a chrome Frankenstein kind of makes sense

Genstar,
@Genstar@meow.social avatar

@foone Wait, if so, then what happens to the precise placement? Who takes care of that?

baloo,
@baloo@sfba.social avatar

@foone hate fusion360, onshape is actually kinda great though. I wish there was a Linux version of solidworks.

Flynn_Mandrake,

@foone Found the electron app

beeoproblem,
@beeoproblem@mastodon.gamedev.place avatar

@foone I thought this was going to be about sketchup until I scrolled up 😳

Hempuli,
@Hempuli@mastodon.gamedev.place avatar

@foone Oh no, not my Control-Alt-Delete program!!

foone,
@foone@digipres.club avatar

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

foone,
@foone@digipres.club avatar

it could easily be both

foone, (edited )
@foone@digipres.club avatar

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

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

foone,
@foone@digipres.club avatar

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?

jernej__s,

@foone Your instance doesn't support markdown for inline code blocks?

foone,
@foone@digipres.club avatar

@jernej__s if it does, I have no idea how to activate it.

jernej__s,

@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:

stalecu,

@foone wait

NO WAY

for everyone wondering, "disabled" (the word) is surrounded by single quotes ('disabled') which is surrounded by double quotes ("'disabled'")

slaeshjag,

@foone I feel attacked.

foone,
@foone@digipres.club avatar

@slaeshjag bitlbee?

slaeshjag,

@foone @slaeshjag yep, bitlbee through irssi

foone,
@foone@digipres.club avatar

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.

foone,
@foone@digipres.club avatar

fusion360 interprets programmers trying to use their API/docs as damage and routes around them

Serophos,
@Serophos@mstdn.social avatar

@foone that gave me a headache 😂

jvilk,
@jvilk@mastodon.social avatar

@foone oh no

Felice,
@Felice@mastodon.social avatar

@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.

dascandy42,
@dascandy42@mastodon.social avatar

@foone Does it have a ghidra detection?

foone,
@foone@digipres.club avatar

@dascandy42 it can't have, I'm basically always running ghidra

mmu_man,
@mmu_man@m.g3l.org avatar

@foone I'm trying so hard to reinstall r2 and it doesn't work…

mmu_man,
@mmu_man@m.g3l.org avatar

@foone oh gosh the sys/install.sh script silently failed with USE_SU=1 so I had to su - to run make symstall directly 🤷

radfordhound,

@foone This was me with the poorly-documented Adobe After Effects SDK when trying to make a plugin 🙃

greenmoonmoon,
@greenmoonmoon@mastodon.gamedev.place avatar

@foone oh yeah brings me back to scripting tools for and integrating Maya in a movie pipeline
The few studio I did TD for where at it for at least 15 to 20 years prior. You'd think they'd finished a solid base by then? Nope, thx Autodesk.
Unfinished docs, multiple pipeline, mixed C++ version and more, that's the Autodesk difference! (and then there was the python 2 to 3 switch)

a13cui,

@foone aka the enterprise version of fucking around and finding out

Wikisteff,
@Wikisteff@mastodon.social avatar

@foone I hate AND love the science part of the job. :/

MishaVanMollusq,
@MishaVanMollusq@sfba.social avatar

@foone znort

petrillic,
@petrillic@hachyderm.io avatar

@foone are you even using it if it doesn't crash?

glyph,
@glyph@mastodon.social avatar

@foone lxml.etree has a full xpath and a compatible API, mostly: https://lxml.de/xpathxslt.html#xpath

glyph,
@glyph@mastodon.social avatar

@foone (I know this really depends on the context of "having to use")

foone,
@foone@digipres.club avatar

@glyph yeah. I actually prototyped this with lxml first, and then had to backport to elementtree later because I can't use lxml in this context.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines