Forum Replies Created
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
30 May 2017 at 16:21 in reply to: [SOLVED] Mapping between BeamFEMForceField behavioral model and oglmodel #9224rtriviBlocked
Hey !
May I ask you to check the orientation of your catheter ?
In particular could you tell me if the x-axis of your catheter’s beams is the same as the global sofa x-axis ?To see your beams reference frame, in your viewer you just have to check Force Fields and uncheck any other option.
To see Sofa reference frame, just click on “r” on your keybordrtriviBlockedHi Jason,
here you have an example on how I use a ReadState in one of my scenes.
Although you don’t have the whole context, I hope it can still be useful 🙂Don’t hesitate to ask any other question ! 🙂
Ciao ciao
Raffa<Node name="Catheter"> <EulerSolver /> <EdgeSetTopologyContainer name="Container" position="0.01 0 0 0.015 0 0 0.02 0 0 0.025 0 0 " edges= "0 1 1 2 2 3 "/> <MechanicalObject name="ms" template="Rigid" /> <ReadState filename="catheter" /> <Sphere radius="0.0003" color="1 0 0 1" /> <Node name="CollisionCatheter"> <EdgeSetTopologyContainer name="Container" position="0.01 0 0 0.015 0 0 0.02 0 0 0.025 0 0 " edges= "0 1 1 2 2 3 "/> <MechanicalObject name="ms" /> <Line color="0 0 0 1" /> <EdgeLinearInterpolation name="catheter" /> <BeamLinearMapping localCoord="false" /> </Node> </Node>
rtriviBlockedOk, I did it by myself…
it’s just <BackgroundSetting image =”/path/file.jpg” />Thank you anyway,
ciao a tutti !!! -
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)