Search found 56 matches

by Axel Koussou
Wed Sep 23, 2020 1:20 am
Forum: OpenSim
Topic: Scaled model displaced when loading .mot file
Replies: 9
Views: 1416

Re: Scaled model displaced when loading .mot file

Hi Sheeba, I'm using the Rajagopal model and I had the same problem of missing femur and tibia after scaling. So, as explained by Ayman, I renamed my .vtp files in my osim file. For example, if you look at the attachments, for the tibia I renamed from l_tibia.vtp to tibia_l.vtp. I can't explain to y...
by Axel Koussou
Mon Sep 21, 2020 11:18 pm
Forum: OpenSim
Topic: Edit xml Scale File via MatLab
Replies: 7
Views: 1088

Re: Edit xml Scale File via MatLab

Hi Ayman, Thanks for your reply. I'm aware that one can use cloneAndAppend to add a new "Measurement" to the "MeasurementSet". That's already what I do (you can see it if you go back to my first message with my entire code). I also define my "MarkerPairSet". I thought that it would be enough. But if...
by Axel Koussou
Sun Sep 20, 2020 2:33 am
Forum: OpenSim
Topic: Edit xml Scale File via MatLab
Replies: 7
Views: 1088

Re: Edit xml Scale File via MatLab

Hi, Thanks for your help. As explained, I'm trying to complete a .xml file directly via MatLab but I have trouble concerning the MeasurementSet. I thought that, after setting the MarkerPair and add them to the MarkerPairSet : MP=MarkerPair(); MP.setMarkerName(0,'MidPSIS'); MP.setMarkerName(1,'MidASI...
by Axel Koussou
Fri Sep 18, 2020 4:29 am
Forum: OpenSim
Topic: Edit xml Scale File via MatLab
Replies: 7
Views: 1088

Re: Edit xml Scale File via MatLab

Otherwise, to deal with this problem, I have tried to use a different approach. Briefly, I have created a .xml file corresponding to all the MeasurementSet I would like, and I have tried to add this .xml file to the whole Scale .xml file. For that, I have used : ScaleTool.getModelScaler().setScaleSe...
by Axel Koussou
Fri Sep 18, 2020 4:06 am
Forum: OpenSim
Topic: Edit xml Scale File via MatLab
Replies: 7
Views: 1088

Edit xml Scale File via MatLab

Hi guys, I am able to scale a Model by using the GUI of OpenSim. But, I would like to automate this process to implement it in a larger Matlab data processing pipeline. Thus, if I understand clearly, the whole thing is about to create an .xml file like the one loaded when you perform scaling directl...
by Axel Koussou
Thu Sep 17, 2020 1:18 am
Forum: OpenSim
Topic: Half-way there in creating a setup .xml file with Python API
Replies: 10
Views: 1547

Re: Half-way there in creating a setup .xml file with Python API

You can make sublime into a fully fledged IDE (which is what I have, though admittedly it only seems to work with established modules). But I get your point anyway. Thanks for help, if anyone wants the full code, I am happy to post it. Hey, Sorry to reopen this old channel but I'm facing the same p...