Hi,
Is there any way to make the nodes invisible or even just smaller, once they’ve been created?
Any help with this would be greatly appreciated.
Thanks
Rachel
Hi,
Is there any way to make the nodes invisible or even just smaller, once they’ve been created?
Any help with this would be greatly appreciated.
Thanks
Rachel
Hi Rachel,
Yes it is possible,
If you have used AnyDrawNodes there is a posibility to set the ScaleXYZ to a different value the default is 0.025m
So if you write eg.
ScaleXYZ=0.01*{1,1,1} ;
the nodes will smaller.
Hope it helps, note that if you place the cursor on a object you can jump to the reference manual by pressing F1 this will display you the options.
Best regards
Søren
Hi,
Thanks for the reply. I have used AnyRefNode, not AnyDrawNodes, where would I insert AnyDrawNodes so that I can use the scaling function.
Thank you
Rachel
Hi Rachel,
Which object did you use for visualization of the nodes was it then AnyDrawSeg? this will show both all nodes plus an ellipsoid representing the intertia.
If this is the case i think it is not possible to change the node visual appearance.
Then i would use the AnyDrawNodes instead this is the description from the reference manual
This object draws all the nodes (AnyRefFrames) in a certain folder, including the folder itself if it is an AnyRefFrame. This is an easy way to display all nodes on a segment without displaying the segment itself. This can be a practical alternative to AnyDrawSeg.
So in the segment you want to display the nodes for you write eg.
AnyDrawNodes mynodes ={
ScaleXYZ=0.005*{1,1,1};
RGB={0,0,1};
};
Hope it helps
Best regards
Søren
Hi,
Sorry I’m very new at this and I am completing a university project so have only been using AnyBody for a few months.
The nodes I want to alter are the the reference nodes that I have been using for the muscles, for example the PatellarTendonOrigin, not the actual segment nodes.
I’ve included a section of my code for reference:
AnySeg Femur = {
r0 = {0, 9, 0};
Axes0 = RotMat(pi/180, z);
Mass = 0.06775;
Jii = {0.12212, 0.02125, 0.11154};
AnyDrawSeg drw ={};
AnyRefNode KneeNode = {
sRel = {0, 3, 0};
};
AnyRefNode HipNode = {
sRel = {0, -3, 0};
};
AnyRefNode PatellarTendonOrigin = {
sRel = {0.3, 2.2, 0};
};
Thank you
Rachel
Hi Rachel,
Ok i understand then i think you can write like this:
Best regards
Søren
This topic was automatically closed 125 days after the last reply. New replies are no longer allowed.