Digital Art Community Forum for Artists & Creators

The eraser doesn't work in python example for me

Username: syno
Post Date: 2024-01-02 12:37:50
I tried tweaking all the parameters and the suggestions for debugging in the commented-out lines of the script, but I did not get the previous frame erased. In the circle.json, I see the erase brush defined every few frames but no other events like pointer down, move, or up to actually erase the drawn line. Do you have anything like this in your tests? Thanks! [img]https://www.escapemotions.com/community/uploads/posts/2024/01/89/2024-01-02_10-01:26_0184.png[/img]
Username: Michal Escape Motions
Post Date: 2024-01-12 16:35:19
Hi [USER=3183]@syno[/USER]! I've added an example JSON output into that [url=https://www.escapemotions.com/products/rebelle/motionio_doc/examples_python/object_moving_along_trajectory/]tutorial[/url]. Here's the direct link: [URL]https://www.escapemotions.com/products/rebelle/motionio_doc/download/examples_python/object_moving_along_trajectory/circle.json.zip[/URL] Could you post your python code here? Or do have just the code from the tutorial without any modifications?
Username: missguidedghst
Post Date: 2024-02-20 16:02:32
Hi! I have the same issue and I have not changed anything in the python script. I've run everything as the tutorial says without modifications - downloaded the python script and used the same bash commands to run - and the result was the same as the person above. I'm running mine on macOS if that makes a difference. Thanks!
Username: syno
Post Date: 2024-04-02 10:47:55
Hi Michael! I used the same code from the tutorial. Ever since I purchased the rebelle licence it doesn't get pass the opening of the MotionIO app. I get the GUI and the app freezes until I shut it down. I am very much looking forward for your updates and support for this amazing thing you make.
Username: Michal Escape Motions
Post Date: 2024-05-07 18:18:17
Hi everyone, You were right! Somehow I mistakenly removed [code]frame_events += get_draw_shape_events(shape_diff)[/code] from the example.py script. It was correct in the code listing on the tutorial page, but the downloadable file was missing that line responsible for drawing the eraser stroke. It's fixed now, so you can redownload example.py, run it again to generate circle.json and process that by Motion IO. Please, let me know if there are any other issues I might have overlooked. [USER=3183]@syno[/USER], I'm writing you an email so that we can debug your license issue.