Thanks for that. Actually I don't really like it for several reasons :
Why not? This is for user-friendliness.
I don't think so. The filesystem is able to save 4K videos in realtime.
I added the try: ... except: cause and it was catching most such errors.
I'll respect this choice, as the one from the original author.
I indeed did.
Thanks, your way is better. My way is sometimes used in Python, though it's not a typical construct. I actually use the parameter system seldomly.
Not mine. Also saving video never write twice the same disk area. My concern is more about overwriting the same area again and again.
I think I saw that after I wrote.
I'd like to have community feedback on that so the majority will lead.
Feel free to feedback about coding style before I publish. I sometimes write macros, so better if I conform my coding style to expectations (whether it could be against a standard or specific rules).I think it's a nice macro. I think you can publish it. I "may" change the style a bit, then...
Hi galou. Made a reforging about variable casing and all. Should be better (not perfect yet, I can't dare to have same casing for functions & variables, will come ).galou_breizh wrote: ↑Wed Mar 18, 2020 12:33 pm I prefer the classical PEP-8 style. The most important in my opinion are good variable names, i.e. style corresponding to the function (class, function, variable, global vs. local, hidden, ...) and an expressive name. I'll have a look when I find the time.
Actually I like the current name (maybe because I chosen it ). But also I'm afraid that changing the name will be painful about changing the header, the wiki and the whole nine yards... So I'm a bit reticent ATM. But if you feel brave enough to do it, feel free to do so.
I think this is really nice, I have been doing this for a while, but by hand. May I suggest some improvements ?
Code: Select all
line 38: 'Modern' : [' ├─ ', ' │ '], # Unicode U+251C, Unicode U+2502 line 68: baselinechi = baseline + ' '
Code: Select all
└─ Model (Model) ├─ Origin (Origin) │ ├─ X_Axis (X_Axis) │ ├─ Y_Axis (Y_Axis) │ ├─ Z_Axis (Z_Axis) │ ├─ XY_Plane (XY_Plane) │ ├─ XZ_Plane (XZ_Plane) │ └─ YZ_Plane (YZ_Plane) ├─ LCS_0 (LCS_0) ├─ Constraints (Constraints) ├─ Variables (Variables) ├─ Sketch_master (Sketch_master) ├─ LCS_arm (LCS_arm) ├─ base (base001) │ ├─ Origin001 (Origin001) │ │ ├─ X_Axis001 (X_Axis001) │ │ ├─ Y_Axis001 (Y_Axis001) │ │ ├─ Z_Axis001 (Z_Axis001) │ │ ├─ XY_Plane001 (XY_Plane001) │ │ ├─ XZ_Plane001 (XZ_Plane001) │ │ └─ YZ_Plane001 (YZ_Plane001) │ ├─ LCS_1 (LCS_1) │ └─ Body (Body) │ ├─ Origin004 (Origin004) │ │ ├─ X_Axis004 (X_Axis004) │ │ ├─ Y_Axis004 (Y_Axis004) │ │ ├─ Z_Axis004 (Z_Axis004) │ │ ├─ XY_Plane004 (XY_Plane004) │ │ ├─ XZ_Plane004 (XZ_Plane004) │ │ └─ YZ_Plane004 (YZ_Plane004) │ ├─ Pad (Pad) │ │ └─ Sketch (Sketch) │ ├─ Pad001 (Pad001) │ │ └─ Sketch001 (Sketch001)