Tobin Yehle
Tobin Yehle
The clash of double quotes having special meaning in both json and xml is highly annoying. I'm not sure I'm sold here though because a `string.replace("'", '"')` should fix problems...
Sorry that should replace single quotes with double quotes so the value can be read by eg `json.loads` something like this is what I was thinking of: ```python >>> import...
Yeah good points all around. I agree that putting things into xml attributes isn’t better than json.
@abey79 this seems like an improvement. I’d you’d like to merge it that is great to me
> vsk save does not use this thread. whiiiiich also means that it doesn't save the params, so that's something we'll need to address. If I remember correctly, it does...
Yeah I saw that, but I don't think anything in there is quite what I'd like to do. I was trying to do something like this: ```rust |triangles, transform, g|...
Could also `eval` an fstring instead of using `format_map` to allow full python expressions within the curly braces. ```python >>> template = "{layer_id*20}mm" >>> vars = {"layer_id": 2} >>> eval("f'{}'".format(template),...
This would also let you do awesome stuff like ``` layer_join = "{'G01 X0 Y0\nM0 Change color' if layer_index == 2 else ''}" ```