manahter / nCNC

Blender CNC Add on - nCNC - G code visualizer, g code converter, g code sender, CNC Milling
MIT License
74 stars 10 forks source link

access /dev/ttyACM0 blender in flatpak #6

Closed Condiolov closed 3 years ago

Condiolov commented 3 years ago

Help me I use linux, I can't access /dev/ttyACM0. If I run Blender from the executable it works ok, if I run Blender from the flatpak it doesn't access. Do I have to give flatpak permission? permission to blender? or is it some local variable path i should create? Congratulations on the masterpiece!!

Condiolov commented 3 years ago

I solved it!! I edited the shortcut adding just --device=all

[Desktop Entry] Name=Blender GenericName=3D modeler GenericName[pt_BR]=Modelador 3D Comment=3D modeling, animation, rendering and post-production Comment[pt_BR]=Modelagem 3D, animação, renderização e pós-produção Keywords=3d;cg;modeling;animation;painting;sculpting;texturing;video editing;video tracking;rendering;render engine;cycles;game engine;python; Exec=/usr/bin/flatpak run --device=all --branch=stable --arch=x86_64 --command=blender --file-forwarding org.blender.Blender @@ %f @@ Icon=org.blender.Blender Terminal=false Type=Application Categories=Graphics;3DGraphics; MimeType=application/x-blender; X-Desktop-File-Install-Version=0.26 X-Flatpak=org.blender.Blender

If you want to run through the terminal use: flatpak run --device=all org.blender.Blender