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
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
well I can do it one way, which crashes, and another way, which silently does nothing.
quality software and/or documentation
ahh, I figured out it was generating the wrong kind of operation. so I switched it to the correct operation!
and it still crashes
good news!
it didn't crash.
it instead hung.
fusion360 is the king of code that looks like it contains obvious typos but doesn't:
op.parameters.itemByName('tool_coolant').value.value = "'disabled'"
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.
markdown for inline code blocks?@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 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