[Opensimws_apr10-news] Model not showing up in GUI
Ayman Habib
ahabib at stanford.edu
Tue Apr 27 00:56:25 PDT 2010
Hi Michele,
I suspect that the .vtp files were not in the same folder as the .osim
file. What you can do is copy the .vtp, .obj files from the example folder
to the same folder as the generated osim model file and retry. (Did you try
to run the "INSTALL" target?)
Please let me know how that goes,
-Ayman
----- Original Message -----
From: "Michele Vanoncini" <michele.vanoncini at lirmm.fr>
To: <opensimws_apr10-news at simtk.org>
Sent: Tuesday, April 27, 2010 12:29 AM
Subject: [Opensimws_apr10-news] Model not showing up in GUI
> Hi again,
>
> I now have a problem with the visualization of the model in the Tug of War
> example...
> I could compile and run step 2 of the tutorial, and got the executable to
> produce a model.
> However, when I use the GUI to open the tugOfWar_model.osim model, nothing
> appears.
> Other models seems to load fine.
> The model produced by the executable is reported below...any hint for
> trouble shooting will be wellcome!
>
>
> Thanks!
> Michele
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <OpenSimDocument Version="20001">
> <Model name="tugOfWar">
> <credits> Unassigned </credits>
> <publications> Unassigned </publications>
> <ForceSet name="">
> <objects/>
> <groups/>
> <datafile> </datafile>
> </ForceSet>
> <length_units> Unassigned </length_units>
> <force_units> Unassigned </force_units>
> <!--Acceleration due to gravity.-->
> <gravity> 0.00000000 -9.80665000 0.00000000 </gravity>
> <!--Bodies in the model.-->
> <BodySet name="">
> <objects>
> <Body name="ground">
> <mass> 0.00000000 </mass>
> <mass_center> 0.00000000 0.00000000 0.00000000
> </mass_center>
> <inertia_xx> 1.00000000 </inertia_xx>
> <inertia_yy> 1.00000000 </inertia_yy>
> <inertia_zz> 1.00000000 </inertia_zz>
> <inertia_xy> 0.00000000 </inertia_xy>
> <inertia_xz> 0.00000000 </inertia_xz>
> <inertia_yz> 0.00000000 </inertia_yz>
> <!--Joint that connects this body with the parent body.-->
> <Joint/>
> <VisibleObject name="">
> <geometry_files> ground.vtp anchor1.vtp anchor2.vtp </geometry_files>
> <VisibleProperties name="">
> <display_preference> 4 </display_preference>
> <show_normals> false </show_normals>
> <show_axes> false </show_axes>
> <material_name> DEFAULT </material_name>
> </VisibleProperties>
> <scale_factors> 1.00000000 1.00000000 1.00000000
> </scale_factors>
> </VisibleObject>
> <WrapObjectSet name="">
> <objects/>
> <groups/>
> </WrapObjectSet>
> </Body>
> </objects>
> <groups/>
> </BodySet>
> <!--Constraints in the model.-->
> <ConstraintSet name="">
> <objects/>
> <groups/>
> </ConstraintSet>
> <!--Markers in the model.-->
> <MarkerSet name="">
> <objects/>
> <groups/>
> </MarkerSet>
> <!--ContactGeometry objects in the model.-->
> <ContactGeometrySet name="">
> <objects/>
> <groups/>
> </ContactGeometrySet>
> </Model>
> </OpenSimDocument>
>
>
>
> _______________________________________________
> Opensimws_apr10-news mailing list
> Opensimws_apr10-news at simtk.org
> https://simtk.org/mailman/listinfo/opensimws_apr10-news
>
More information about the Opensimws_apr10-news
mailing list