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

Add: handle string attributes #8

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

eprana
Copy link

@eprana eprana commented Jul 20, 2020

To resolve this issue : #7

String attributes are stored in json file as follow :
[
"size",1,
"storage","int32",
"strings",["/pCube1/pCubeShape1","/pSphere1/pSphereShape1"],
"indices",[
"size",1,
"storage","int32",
"arrays",[[0,1,0,1,0,1,0,1,0,1]]
]
]

Store "arrays" in new 'stringIdxs' attribute

String attributes are stored in json file as follow :
[
    "size",1,
    "storage","int32",
    "strings",["/pCube1/pCubeShape1","/pSphere1/pSphereShape1"],
    "indices",[
	"size",1,
	"storage","int32",
	"arrays",[[0,1,0,1,0,1,0,1,0,1]]
    ]
]

Store "arrays" in new 'stringIdxs' attribute
@eprana
Copy link
Author

eprana commented Jul 20, 2020

@aoblet & @AlexiaLT if you want to have a look.

@eprana eprana force-pushed the fix/stringAttributes branch from d283a78 to cb76fb2 Compare July 20, 2020 15:28
Elisa Prana added 2 commits July 20, 2020 17:29
If there are many points in file, declare/undeclare can be very
consuming.

Also remove unused variables
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

Successfully merging this pull request may close these issues.

1 participant