Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

culture fail #19

Open
metrizzi opened this issue Dec 12, 2024 · 1 comment
Open

culture fail #19

metrizzi opened this issue Dec 12, 2024 · 1 comment

Comments

@metrizzi
Copy link

Hello,
I have integrated UkooLabs.FbxSharpie into my VB project using the Nuget Manager.
Now I am trying to load an FBX file, change it and save it again, but the created file cannot be opened.
After a comparison, I noticed that a comma is used instead of a point in the exported file.
I use VB.Net in German.
Can I change something?

Dim fbxDoc As FbxDocument = FbxIO.Read("N:\PX\Neutraler Ordner\Datenaustausch\Test_3D\TEST_3D-Daten\Baugr1_STD.fbx") FbxIO.WriteAscii(fbxDoc, "N:\PX\Neutraler Ordner\Datenaustausch\Test_3D\TEST_3D-Daten\FBXSharpie_Baugr1_STD.fbx")
TEST_3D-Daten.zip

@metrizzi
Copy link
Author

Hello, here is a workaround

                Dim aktCulture As Globalization.CultureInfo = Globalization.CultureInfo.CurrentCulture
                My.Application.ChangeCulture("en-US")
                Dim fbxDoc As FbxDocument = FbxIO.Read("N:\PX\Neutraler Ordner\Datenaustausch\Test_3D\TEST_3D-Daten\Baugr1_STD.fbx")
                '### Kamma statt Punkt wird verwendet
                FbxIO.WriteAscii(fbxDoc, "N:\PX\Neutraler Ordner\Datenaustausch\Test_3D\TEST_3D-Daten\FBXSharpie_Baugr1_STD.fbx")
                My.Application.ChangeCulture(aktCulture.Name)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant