Code Monkey home page Code Monkey logo

cascadeur_bridge's People

Contributors

arcsikex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cascadeur_bridge's Issues

import-export cause cascadeur turn off

Exported from blender to cascadeur, made some changes in cascadeur and while importing changes back to blender, cascadeu goes off or there is no changes in blender.

Mesh Binding Issues, and after that animation issues

Some parts of the mesh stay in place while moving the rig. The rig is made using rigify, and particularly, it's the Zelda Rig by Soranin, link: https://80.lv/articles/a-free-zelda-rig-for-blender-3-0/

Steps to reproduce the behavior:

  1. Append the the rig into blender, open cascadeur through blender, select the mesh and the armature, and hit export
  2. Auto Rig the imported model in cascadeur, using the Rigify default mappings
  3. use AutoPose to pose zelda like she's falling, and some part of the mesh stays in place
  4. Even try to make the animation, and import it in blender back, the animation on zelda's rig is broken

Environment:

  • OS: Ubuntu 22.04 LTS
  • Blender version: 3.6.0
  • Cascadeur version 2023.1

Additional context
Nothing in particular though, @arcsikex I showed up back, since went to a long detour to work on some other projects and my studies. And yes, it worked on linux after the last issue

Screenshots:
Screenshot from 2023-07-21 16-15-42
Screenshot from 2023-07-21 16-15-49
image

ue5 manny

Describe the bug
A clear and concise description of what the bug is.

when i try to import the ue5 manny into blender, some bones are missing like "head", and when I try to export that back into cascadeur, it has some issues with rigging the character, as the rig elements are not correctly sized and some are missing. this happens even if i use the ue5 manny project provided by cascadeur.

Steps to reproduce the behavior:

  1. if i export the scene in cascadeur as an fbx, then import that into blender, then all the bones are there.
  2. then if i use the plugin to export it back to cascadeur, then there are no issues, so it seems to be an issue with the 'import from cascadeur to blender' function of the plugin.

Environment:

  • OS: Windows
  • Blender version: 3.5.1
  • Cascadeur version 2023.1

Additional context
i am using the method shone in your video of deleting the transform object

由于目标计算机积极拒绝,无法连接。

Describe the bug
A clear and concise description of what the bug is.

Steps to reproduce the behavior:

[19:24:38] ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。

At:
C:\Program Files/Cascadeur/resources/scripts/python\commands\externals\client_socket.py(13): init
C:\Program Files/Cascadeur/resources/scripts/python\commands\externals\temp_exporter.py(27): run

Environment:

  • OS: [e.g. Windows]
  • Blender version: [e.g. 3.6.4]
  • Cascadeur version [e.g. 0.4.1]

Additional context
Add any other context about the problem here.

going back to blender

Describe the bug
im using a human meta rig from the rigify addon, and when i use the cascadeur bridge addon to import the action, the arms are always a bit behind what they should be. when i try importing scene it works fine, but i dont want to do that as i want to keep some constraints. (in the picture pink is the imported action and white is the imported scene.
image_2023-12-21_151147513
image_2023-12-21_151204017
image_2023-12-21_151212334

Environment:

  • OS: [e.g. Windows]
  • Blender version: [e.g. 3.6.4]
  • Cascadeur version [e.g. 2023.2.1]

Additional context
if i copy the pose from the white one to the pink one then it fixes it, however i dont want to do this for every frame of an animation

Cannot run with uninstallable version o flibstdc++.so.6

Describe the bug
Cascadeur will not start. It complains about a library. The library in question doesn't install through the Ubuntu package manager.

Steps to reproduce the behavior:

  1. Download Linux archive from web site. Unzip. Try to run executable.

Environment:

  • OS: Linux Ubuntu 20.04
  • Blender version: 3.6
  • Cascadeur version 2023.1.1

Additional context

(base) me@predator:~/Programs/cascadeur-linux$ ./cascadeur
./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by ./cascadeur) ./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.13' not found (required by ./cascadeur)
./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.13' not found (required by /home/me/Programs/cascadeur-linux/csc-lib/libtools.so) ./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /home/me/Programs/cascadeur-linux/csc-lib/libtools.so)
./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /home/me/Programs/cascadeur-linux/lib/libtorchvision.so) ./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.30' not found (required by /home/me/Programs/cascadeur-linux/csc-lib/libpresenter_lib.so)
./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /home/me/Programs/cascadeur-linux/csc-lib/libpresenter_lib.so) ./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.13' not found (required by /home/me/Programs/cascadeur-linux/csc-lib/libpresenter_lib.so)
./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /home/me/Programs/cascadeur-linux/csc-lib/libdata_source_lib.so) ./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.13' not found (required by /home/me/Programs/cascadeur-linux/csc-lib/libdata_source_lib.so)
./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /home/me/Programs/cascadeur-linux/csc-lib/libpy_constr_lib.so) ./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.13' not found (required by /home/me/Programs/cascadeur-linux/csc-lib/libpy_constr_lib.so)
./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /home/me/Programs/cascadeur-linux/csc-lib/libdomain_tools.so) ./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /home/me/Programs/cascadeur-linux/csc-lib/libdomain_timeline.so)
./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /home/me/Programs/cascadeur-linux/csc-lib/libdomain_viewport.so) ./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /home/me/Programs/cascadeur-linux/csc-lib/libdomain_scene.so)
./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.13' not found (required by /home/me/Programs/cascadeur-linux/csc-lib/libdomain_scene.so) ./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /home/me/Programs/cascadeur-linux/csc-lib/libcommon_lib.so)
./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /home/me/Programs/cascadeur-linux/lib/libhpp-fcl.so) ./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.13' not found (required by /home/me/Programs/cascadeur-linux/lib/libhpp-fcl.so)
./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /home/me/Programs/cascadeur-linux/lib/libdynamicedt3d.so.1.9) ./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /home/me/Programs/cascadeur-linux/lib/liboctomap.so.1.9)
./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /home/me/Programs/cascadeur-linux/csc-lib/libdto.so) ./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /home/me/Programs/cascadeur-linux/csc-lib/liblogger_lib.so)
./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.13' not found (required by /home/me/Programs/cascadeur-linux/lib/libtbb.so.12) ./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /home/me/Programs/cascadeur-linux/lib/librttr_core.so.0.9.6)
./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.30' not found (required by /home/me/Programs/cascadeur-linux/lib/libtorch_cpu.so) ./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /home/me/Programs/cascadeur-linux/lib/libtorch_cpu.so)
./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.13' not found (required by /home/me/Programs/cascadeur-linux/lib/libtorch_cpu.so) ./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /home/me/Programs/cascadeur-linux/lib/libc10.so)
./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.30' not found (required by /home/me/Programs/cascadeur-linux/lib/libc10.so) ./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /home/me/Programs/cascadeur-linux/lib/libifopt_core.so)
./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /home/me/Programs/cascadeur-linux/lib/libipopt.so.3) ./cascadeur: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /home/me/Programs/cascadeur-linux/lib/libsipopt.so.3)

I couldn't Install the addn can you help me to fix that?

Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\modules\addon_utils.py", line 351, in enable
mod = import(module_name)
File "C:\Users\SERGIO\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\cascadeur_bridge_init_.py", line 28, in
class CBB_preferences(bpy.types.AddonPreferences):
File "C:\Users\SERGIO\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\cascadeur_bridge_init_.py", line 43, in CBB_preferences
default=default_csc_exe_path(),
TypeError: 'staticmethod' object is not callable

cascadeur to blender is wrong

Describe the bug
cascadeur to blender is wrong
cascadeur :
image
Cascadeur Blender:Import Scene:
image

Environment:

  • OS: [Windows]
  • Blender version: [3.6.4]
  • Cascadeur version [2023.1.1]

Error while adding add-on to Blender

Hi, thank for your wonderful work. i have this bug while adding the addon to blender. I've pictured the log hope you can give me a clue to what the problem might be

loiCascadeur

Updated to 1.0.1 cannot import/export

Describe the bug
After updating the the latest version 1.0.1 the system hangs each time I try to export. The hang resolves when it seems to time out trying to export. Importing does nothing.

Steps to reproduce the behavior:

  1. Remove 1.0.0 through the blender addons ui.
  2. Double check it's removed from appdata.
  3. Install 1.0.1 through blender addons ui.
  4. configure settings.
  5. Use Bridge UI to start Cascadeur.
  6. Import/Export

Environment:

  • OS: Windows 11
  • Blender version: 3.6.1
  • Cascadeur version: 2023.1.1

Additional context
There's no Blender output for export. For import it only has "Server listening on localhost:53169" and never times out. This was working with 1.0.0, which I'll roll back to.

Language has changed for entire program

Language in menus in cascadeur has completely changed do random strings of letters

Cascadeur-Blender Cas Bridge Issue
  1. Every time i load up cascadeur. Even if uninstalling and re installing the language has changed and i cannot get it back into standard english
  • OS: Windows 10
  • Blender version: 3.6
  • Cascadeur version 23.2.1

Access denied error

Hey !
I add this issue :
When I click on "open cascadeur" or anything on the pannel I have an error that said : python: permissionerror: [winerror 5] accès refusé
And yes I ran as administrator !

Blender > Cascadeuer Export: PermissionError: [WinError 10013] Der Zugriff auf einen Socket war aufgrund der Zugriffsrechte des Sockets unzulässig

I have installed
Cascadeur :Program version: 2023.1.1 License: Basic
Blender: 3.6.8 from Blender Foundation
File "C:\Program Files\Blender Foundation\Blender 3.6\

I get an error while export to cascadeuer:

Python: Exception ignored in: <function CBB_OT_export_blender_fbx.del at 0x0000015235FE3250>
Traceback (most recent call last):
File "C:\Users\t\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\cascadeur_bridge\operators\fbx_transfer.py", line 106, in del
self.server_socket.close()
File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\modules\bpy_types.py", line 854, in getattribute
properties = StructRNA.path_resolve(self, "properties")
ReferenceError: StructRNA of type CBB_OT_export_blender_fbx has been removed
Traceback (most recent call last):
File "C:\Users\t\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\cascadeur_bridge\operators\fbx_transfer.py", line 133, in execute
self.server_socket = ServerSocket()
File "C:\Users\t\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\cascadeur_bridge\utils\server_socket.py", line 15, in init
self.sock.bind((self._host, self._port))
PermissionError: [WinError 10013] Der Zugriff auf einen Socket war aufgrund der Zugriffsrechte des Sockets unzulässig

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\t\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\cascadeur_bridge\operators\fbx_transfer.py", line 135, in execute
self.report({"ERROR"}, e)
TypeError: CBB_OT_export_blender_fbx.report(): error with argument 2, "message" - Function.message expected a string type, not PermissionError

Opening scene failed

Describe the bug
When I click on import the scene, the stunt software puts an error message, it says that the opening of the scene failed, and that the extension in the Blender file is invalid the file is commmands.externals.temp -export, I tried to see the file but there was not that file and it's the same when I want to export.

Steps to reproduce the behavior:

  1. Downlaod the add-on
  2. Install the add-on in the blender
  3. Restart Blender without being an administrator

Environment:

  • OS: [e.g. Windows]
  • Blender version: [e.g. 3.6.0]
  • Cascadeur version [e.g. 2023.1]
    20230814_123235

Additional context
Add any other context about the problem here.

export from blender

Describe the bug
A clear and concise description of what the bug is.

see errors in attached png
Export standard mesh cube to Cascsadeur

Windows 11 pro
Blender 4.1
Casscadeur version: 2023.2.1

export blender to casc

Cannot export Blender Animations to Cascadeur

Describe the bug
there is not keyframes when export Blender Animations to Cascadeur
Blender:
image
Cascadeur:
image

Steps to reproduce the behavior:
Here is my blender export settings:
image

Environment:

  • OS: Windows
  • Blender version: 3.6
  • Cascadeur version 2023.1

Additional context
Any help would be appreciated!

Apple Silicon Automation Permissions

When I try to use the add-on, I always get an error message as soon as I press 'start cascadeur'. I believe the issue is that on the current Mac OS, you can't allow automation permissions. An app has to first request permission, and then you can grant it. Nothing in Blender, including the add-on, has requested automation permission, so there seems to be nothing I can do. If anyone has any advice, or has gotten the add-on to work on apple silicon, please let me know.

Here's the specific error message I get:
Screenshot 2024-01-30 at 6 42 42 PM

Environment:

  • OS: MacOS Sonoma 14.3 (M2 Chip)
  • Blender version: 4.0.0
  • Cascadeur version [e.g. 2023.2.1]

Cascadeur Access Error in BLENDER

Python: Traceback (most recent call last):
File "/Users/sabbirhossain/Library/Application Support/Blender/3.6/scripts/addons/cascadeur_bridge/operators/csc_ops.py", line 20, in execute
CascadeurHandler().start_cascadeur()
File "/Users/sabbirhossain/Library/Application Support/Blender/3.6/scripts/addons/cascadeur_bridge/utils/csc_handling.py", line 52, in start_cascadeur
subprocess.Popen([csc_path])
File "/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/subprocess.py", line 1863, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: '/Applications/Cascadeur.app'

"Having this error even after the installation is complete & files copied to cascadeur app through blender addon installation"

Environment:

  • OS: Mac Os Sonoma 14.0
  • Blender version: 3.6.5
  • Cascadeur version 2023.1

Errors on installing cascadeur_bridge

Describe the bug
When I instell cascadeur_bridge to cascadeur.exe,blender will show this:↓

Python: Traceback (most recent call last):
File "C:\Users\86136\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\cascadeur_bridge\operators\csc_ops.py", line 39, in execute
commands_path = os.path.join(ch.commands_path, "externals")
File "C:\Users\86136\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\cascadeur_bridge\utils\csc_handling.py", line 41, in commands_path
with open(commands_config, "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Program Files\Cascadeur\resources\settings.ini'

Environment:

  • OS: Windows i7
  • Blender version: 3.5.0(almost every version)
  • Cascadeur version:2024.1.1

Additional context
Add any other context about the problem here.
my email: [email protected]

Blender to Cascadeur : Cascadeur->ModuleNotFoundError : No module named 'commands.externals'

Describe the bug
Open Cascadeur from Blender : OK
Export to Cascadeur : not OK : Cascadeur->ModuleNotFoundError : No module named 'commands.externals'

Steps to reproduce the behavior:
1.

Environment:

  • OS: [e.g. Windows] _ Windows 11
  • Blender version: [e.g. 3.5.0] _ Blender 4.0.2
  • Cascadeur version [e.g. 2023.1] _ Cascadeur 2024.1 (corrected)
    Screen Shot 03-26-24 at 06 39 AM

Additional context
Add any other context about the problem here.

ModuleNotFoundError: No module named 'commands.externals'

Describe the bug
Both Import and Export crash.
My custom rigged humanoid model may be difficult to Export, but it seems weird that it crashes to import a jumping Cascadeur model into Blender, which is also on your youtube video.

Steps to reproduce the behavior:

  1. Open Blender.
  2. Press Start Cascaduer button.
  3. In Cascadeur, open scene with LEARN/Backflip animation.
  4. In Blender, press Import Scene button then crashed .

Environment:

  • OS: Win11
  • Blender version: 3.5.1 and 3.6.0 Both.
  • Cascadeur version: 2023.1.1
  • cascadeur_bridge: 0.7.0

Additional context
Attached log file. Suspicious last error.
cascadeur_log.log

読み込んだらこなった

トレースバック(最新の呼び出し:ファイル「/Applications/Blender.app/Contents/Resources/3.6/scripts/modules/addon_utils.py」、333行目、有効mod = _ import_(module_name)ModuleNotFoundError: 'cascadeur_bridge-1'という名前のモジュールはありません
osはMac
blenderのバージョンは3.6.2です
Cascadeurのバージョンは20231.1です
スクリーンショット 2023-09-25 21 49 15

Broken on Linux

Hey there @arcsikex !
Since this is the first issue here, I state that I really like your initiative! That would save me us tons of time.

Now the thing is, This doesn't work on ubuntu, yet. The add-on installed perfectly, cascedeur ran perfectly, but the very moment I press export button, and error pops-up!

And I technically can't use Windows, because blender 2.9+ won't run on my old windows 8.1

Here is the screenshot:
Screenshot from 2023-05-04 11-06-23

And there is nothing imported in Cascedeur, but I can see those Temp import/export options in Cascedeur as you showed in your lastest Video, so it is installed correctly

From what I found out by digging into the project files, you use .pyd file, and as far as I know, .pyd binary runs on Windows and linux needs .so libraries.

And then if I again press the button, it says port in use, (which should be an easy bug to fix)

At last, Again thanks for starting this project. Fell free to ask me for any help!

Regards,
Harsh Narayan Jha

Can't import Cascadeur scene to blender

Describe the bug
I opened Cascadeur From blender with the addon and clicked import scene and i keep getting this error:
Opening scene failed! Invalid extension in file: C:/Program Files/Blender Foundation/Blender 3.3/commands.externals.temp_exporter

Steps to reproduce the behavior:

  1. Open blender, open Cascadeur from the addon then click import scene.

Environment:

  • OS: [e.g. Windows]
  • Blender version: [e.g. 3.3.1] and Blender version: [e.g. 3.6.0] (Tried both)
  • Cascadeur version [e.g. 2023.1]

Additional context
When i click import scene i get the error message i shared above and then in Cascadeur a new scene is created

Cascadeur crashes

I have tried exporting a model from Blender to Cascadeur and it seems to minimize, disappear and run in the background under Blender. I need to manually shut it down through the task manager. The export worked once, I had only the armature selected and so it exported only the armature. Sadly, even that stopped working and I am unable to reproduce it.

Mesh not showing good (fixed)

Hello, if like me when you import the model, it's broken, just check "Use Pre/Post Rotation" in the armature section of the addon's blender menu.

PS: Hey sorry if I'm not posting in the right place, I haven't found where else to post this solution :)

Errors on MacOS (permissions/address already in use)

Installed fresh version of the plugin with the latest MacOS, Cascadeur and Blender versions.

When clicking "Import Scene" error is the same as in #40 - "Permission denied: '/Applications/Cascadeur.app'".

However, if I click "Install Requirements" in Preferences, and try again, error is "address already in use":
Screenshot 2023-11-02 at 15 43 25

Restarting Blender leads to the same sequence – "Permission denied" is shown again. Going to preferences, clicking "Install Requirements" leads to "Addres already in use".

try to fix PermissionError: [WinError 5] Access is denied

Describe the bug
A clear and concise description of what the bug is.

Python: Traceback (most recent call last):
File "C:\Users\catafest\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\cascadeur_bridge\operators\csc_ops.py", line 21, in execute
CascadeurHandler().start_cascadeur()
File "C:\Users\catafest\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\cascadeur_bridge\utils\csc_handling.py", line 55, in start_cascadeur
subprocess.Popen([csc_path])
File "C:\blender-4.0.0-alpha+main.3f90bb6a48d2-windows.amd64-release\4.0\python\lib\subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\blender-4.0.0-alpha+main.3f90bb6a48d2-windows.amd64-release\4.0\python\lib\subprocess.py", line 1456, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
PermissionError: [WinError 5] Access is denied

Steps to reproduce the behavior:

  1. I follow the steps from your video, and when I press the Cascadeur button I got the error.
  2. the cascadeur is installed in AppData\Local\Cascadeur
    https://www.youtube.com/watch?v=0muo9EPIPSE

Environment:

  • OS: [e.g. Windows] Windows 10
  • Blender version: [e.g. 3.5.0] 4.0.0-alpha+main.3f90bb6a48d2-windows.amd64-release
  • Cascadeur version [e.g. 2023.1] 2023.1.1

Additional context
Add any other context about the problem here.

I think the access folder can be fixed with :

import os
import stat
import shutil

def change_folder_permissions(folder_path):
    try:
        # Get current permissions
        current_permissions = os.stat(folder_path).st_mode

        # Set new permissions (Full control for the current user)
        new_permissions = current_permissions | stat.S_IREAD | stat.S_IWRITE | stat.S_IEXEC

        # Apply new permissions
        os.chmod(folder_path, new_permissions)
        print(f"Folder permissions for '{folder_path}' have been changed.")
    except OSError as e:
        print(f"Failed to change permissions: {e}")

Can't install requirements (FileNotFoundError)

I get this error message when I'm trying to install the requirements
Python: Traceback (most recent call last):
File "C:\Users\Vera\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\cascadeur_bridge\operators\csc_ops.py", line 39, in execute
commands_path = os.path.join(ch.commands_path, "externals")
File "C:\Users\Vera\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\cascadeur_bridge\utils\csc_handling.py", line 41, in commands_path
with open(commands_config, "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'D:\programme\cascadeur\resources\settings.ini'

I'f tried coping the files manually, but that didn't do anything.
for me the "settings.ini" file that can't be found is a .json file
image

Steps to reproduce the behavior:

  1. Install Blender 3.6
  2. Install Cascadeur 2023.2
  3. Install add-on 1.0.0
  4. Install requirements

Environment:

  • OS: Windows 10
  • Blender version: 3.6.
  • Cascadeur version2023.2

Some Mesh is not rigged and mild distortion.

I have two issues, that may be related.

In Cascadeur I Generated a control rig for my character (Originally Rigged, in Blender, with Rigify) but the chest and back area have issues.

The Chest, does not seem to be assigned to any bone, so it floats.

The Back deforms a bit (looks like it's seperated just a tad, but it is noticable.

Can't launch Cascadeur via `Start Cascadeur` button in panel

Describe the bug
Launching Cascadeur via the start cascadeur button does nothing.
Running via shell yields the following output:

2023-10-21 11:34:16,930 INFO [default] Failed to open primary settings
qt.qml.typeregistration: Invalid QML element name "NodeEditorToolData"; value type names should begin with a lowercase letter
qt.qml.typeregistration: Invalid QML element name "VisibilityData"; value type names should begin with a lowercase letter
qt.qml.typeregistration: Invalid QML element name "ViewportMode"; value type names should begin with a lowercase letter
qt.qml.typeregistration: Invalid QML element name "ViewSettingsTypeData"; value type names should begin with a lowercase letter
qt.qml.typeregistration: Invalid QML element name "MirrorPlaneVisibility"; value type names should begin with a lowercase letter
qt.qml.typeregistration: Invalid QML element name "SceneTabAction"; value type names should begin with a lowercase letter
qt.qml.typeregistration: Invalid QML element name "Interpolation"; value type names should begin with a lowercase letter
qt.qml.typeregistration: Invalid QML element name "Kinematics"; value type names should begin with a lowercase letter
qt.qml.typeregistration: Invalid QML element name "TimeDisplayFormat"; value type names should begin with a lowercase letter
qt.qml.typeregistration: Invalid QML element name "SelectedTheme"; value type names should begin with a lowercase letter
qt.qml.typeregistration: Invalid QML element name "PropertyEditorData"; value type names should begin with a lowercase letter
2023-10-21 11:34:16,949 Application executable path: /home/jfaz/Software/cascadeur-linux/cascadeur
2023-10-21 11:34:16,966 Operating system: fedora 38
2023-10-21 11:34:16,966 Window manager: Mutter
2023-10-21 11:34:16,966 CPU_0 - product: AMD Ryzen 7 5800X 8-Core Processor, vendor: AuthenticAMD
2023-10-21 11:34:16,966 RAM - capacity: 31974 MB
2023-10-21 11:34:16,966 Program version: 2023.2 5fdd9b44a36c501b1085de63ae73bd6bdaab8a6f
2023-10-21 11:34:17,106 GL_VERSION: "4.6.0 NVIDIA 535.113.01
2023-10-21 11:34:17,108 ScriptsDir: "/home/jfaz/resources/scripts"
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt.
You must not let any exception whatsoever propagate through Qt code.
2023-10-21 11:34:17,109 WARNING [/builds/csc/cascadeurcode/src/main.cpp:220] The scripts directory doesn't include the parts

Cascadeur launches fine on its own.

Environment:

  • OS: Fedora Linux
  • Blender 3.6.0
  • Cascadeur 2023.2

Issue with getting the addon to run on a mac

Hey, after following your instructions to the dot : extracting the addon zip folder to copy the externals folder and paste it into cascadeur's scripts/python/commands to get the cascadeur executable path to be /Applications/Cascadeur.app/Contents/MacOS/resources/scripts/python/commands/externals/temp_exporter.py

but even after multiple reinstalls of both the cascadeur app (2023.1.1), the cascadeur addon for blender (0.7) and of blender itself (3.5) i still get the same error message
Python: Traceback (most recent call last):
File "/Users//Library/Application Support/Blender/3.5/scripts/addons/cascadeur_bridge/operators/csc_ops.py", line 39, in execute
commands_path = os.path.join(ch.commands_path, "externals")
File "/Users//Library/Application Support/Blender/3.5/scripts/addons/cascadeur_bridge/utils/csc_handling.py", line 41, in commands_path
with open(commands_config, "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/Applications/Cascadeur.app/Contents/MacOS/resources/scripts/python/commands/externals/resources/settings.ini'

*Edit : I even found the "settings.ini" file which is originally in /Applications/Cascadeur.app/Contents/MacOS/resources/settings.ini so i tried with that executable path as well as copying it in /Applications/Cascadeur.app/Contents/MacOS/resources/scripts/python/commands/externals/resources/settings.ini , to no avail ... i still get the same error message *

I always launch blender as admin through terminal and am really unsure what i'm doing wrong.
The context menu of the addon does appear as soon as install the addon (even before inputing the executable path
Capture d’écran 2023-07-04 à 08 25 41

but i get an error whatever i chose :

Python: Traceback (most recent call last):
File "/Users//Library/Application Support/Blender/3.5/scripts/addons/cascadeur_bridge/operators/csc_ops.py", line 21, in execute
CascadeurHandler().start_cascadeur()
File "/Users///Library/Application Support/Blender/3.5/scripts/addons/cascadeur_bridge/utils/csc_handling.py", line 55, in start_cascadeur
subprocess.Popen([csc_path])
File "/Applications/3.5.app/Contents/Resources/3.5/python/lib/python3.10/subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/Applications/3.5.app/Contents/Resources/3.5/python/lib/python3.10/subprocess.py", line 1847, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: '/Applications/Cascadeur.app/Contents/MacOS/resources/scripts/python/commands/externals/temp_exporter.py'

And i double checked having admin rights on the user as well as launching the app as admin through terminal (i.e. sudo /Applications/3.5.app/Contents/MacOS/Blender)

*Edit : Upon restarting Cascadeur i got an error message stating the app was corrupted and prompting me to delete it. So i did and the only way to have the correct folder in the installation directory (i.e. /Applications/Cascadeur.app/Contents/MacOS/resources/scripts/python/commands/externals/temp_exporter.py ) without crashing Cascadeur, was to install it, launch it, copy the folder and then restart Cascadeur. ( now i see the external commands drop-down menu in Cascadeur, but i get another error )
Capture d’écran 2023-07-04 à 09 03 49

[Nothing has changed on Blender's side]

Hope you can help and thanks in advance !

Model Dose not move after clicking "Import Animation."

Describe the bug
The character does not move when clicking Import Action. I assume it is because I use the Deform (DEF) bones to generate a rig in Cascadeur, but not 100% and not certain which bones should be used as Rigify has IK and FK rig controls.

Steps to reproduce the behavior:

  1. IN BLENDER - Export To Cascadeur
  2. IN CASCADEUR - Use Quick Rig Tool to Rig. Using DEF-bones.
  3. IN CASCADEUR - Create animation.
  4. IN BLENDER - Import Action
  5. IN BLENDER - Run Animation. = Character does not move.

Environment:

  • OS: [Windows 11]
  • Blender version: [4.1]
  • Cascadeur version [2024.1 Pro]
  • Model&Rig [Human Genator model (has a rigify rig.)]

Additional context
Import Scene works, but has some distortion in back.

ModuleNotFoundError - command isn't there in cascadeur

Describe the bug:
When I try to import scene or action from cascadeur to blender it doesn't work because the external commands aren't there. They can also not be found in the command tab in cascadeur.

Steps to reproduce the behavior:

  1. Have a Blender character and a animated cascadeur character with the same rig
  2. Import action

Environment:

  • Windows 11
  • Blender version: 3.6.5
  • Cascadeur version 2023.2

Additional context:
my theory is that I have a newer version than the addon is supposed to be for of blender or cascadeur

update version #

Describe the bug
A clear and concise description of what the bug is.

Steps to reproduce the behavior:

  1. Updating to version 1.0.3 doesn't change the version # in Blender

Environment:
-Windows 11 pro

  • Blender version: 4.0
  • Cascadeur version 2024.1

Screenshot 2024-03-24 082111

Calling operator "bpy.ops.import_scene.fbx" error, could not be found

Python: Traceback (most recent call last):
File "G:\Blender\blender_scripts\addons\cascadeur_bridge\operators\fbx_transfer.py", line 187, in modal
import_fbx(file)
File "G:\Blender\blender_scripts\addons\cascadeur_bridge\operators\fbx_transfer.py", line 14, in import_fbx
bpy.ops.import_scene.fbx(
File "G:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\modules\bpy\ops.py", line 113, in call
ret = _op_call(self.idname_py(), None, kw)
AttributeError: Calling operator "bpy.ops.import_scene.fbx" error, could not be found

Rotation on x-axis

While importing from cascadeur to blender rotation on x-axis is -180 degree.

Import action not working

Hey, I don't think this is a bug however I was wondering if anyone knows how to fix this problem, when ever I try to import my action from cascadeur 2024:1 to blender 4.1, it just glitches and does not work as you can see in the picture. Anyone know the cause and or the fix? In case it has something to do with the settings I will send add a screenshot of all my settings for the addon. If you read this then thank you for taking your time to read this :)

image_2024-04-18_011508304

image_2024-04-18_011638855

Couldn't create socket. Error: [WinError 10061] No connection could be made because the target machine actively refused it

Describe the bug
I've installed the addon according to instructions, I think, and can start cascadeur from blender via the addon.
But when I try to export a scene to cascadeur I get this error message (in Cascadeur):
"Couldn't create socket. Error: [WinError 10061] No connection could be made because the target machine actively refused it"

There's no error message in blender from what I can see.

Steps to reproduce the behavior:
Started Blender as admin
Started Cascadeur from blender
Clicked "export to cascadeur" in blender

Environment:
Cascadeur_bridge version 1.0.1
Blender 3.6 (installed via Steam)
Cascadeur 2023.2.1 (basic)
Windows

Armature Inconsistencies

Describe the bug
When using the "Export to Cascadeur" feature, the armature seems to not export 100%

Steps to reproduce the behavior:

  1. Select mesh and armature
  2. Export to Cascadeur

Environment:

  • OS: Windows
  • Blender version: 3.6.2
  • Cascadeur version 2023.1.1

Additional context
Most of the armature is fine, however the feet and head seem to be weirdly short. Here's two images comparing a manual export, and an export using the add-on. It's not the biggest deal since exporting animations into blender seems to work fine, but it seems like a bug, none the less.

image
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.