10-31-2006 09:41 AM
I have loaded and are displaying an STL file (created in Autodesk Inventor) using the 3D Picture Control. However, although I can rotate about any of the principal axis by a specified amount or a mixture of the axis (using Set Rotation), I am unable to rotate by independent amounts of an angle in each axis, i.e I would like to rotate about the X axis by 45 degrees and say the Z axis by 10 degrees. Does anybody know how this can be achieved? Because it would seem that subsequent ‘Set Rotations’ reset to the original orientation before applying the new specified rotation or axis.
10-31-2006 11:39 AM
It’s ok, I figured it out. I used ‘rotation’ instead of ‘set rotation’ but enclosed it within a case structure, which is triggered by a Boolean button (switch to latched). I can therefore set the angle and axis of rotation independently now.
07-15-2007 10:02 PM
Do you know how to change the location of the rotation axis, of the imported object?
for example, when i imported an ASE of STL file format, and then rotate it about x axis 45 degree, but the location of the coordinate origin is in the middle of the object, i want to relocate the location of the coordinate origin to the end of the object, so when i rotate it will rotate according to my desire. thanks.
07-16-2007 05:40 AM
02-19-2008 07:45 AM
Dear marcbrook
Could you please help me by sending me an example of how to correctly load and display an STL file? I am stranded and cannot seem to succeed. The 3D picture control always remains black.
Thank you so much in advance
Kind Regards
gigiozzi
07-20-2009 09:22 PM - edited 07-20-2009 09:24 PM
Gigiozzi,
It sounds like you just need to use a property node to change the background color and perhaps an invoke node to rotate the set and make your object viewable. The following community example might help you out: http://decibel.ni.com/content/docs/DOC-5691
09-15-2009 04:41 AM
hi Will S.
the link you've given is not working.
do i need to register in NI Developer Zone Community to access this example?
thanks
09-15-2009 04:48 AM
RENN wrote:the link you've given is not working.
do i need to register in NI Developer Zone Community to access this example?
No need to login to community to download that.
Link not working means what is exactly happening? Any browser problem for you? Post in detail.
Mathan
09-15-2009 05:33 AM
09-15-2009 05:36 AM
You are right am also not able to view the image. Something got screwed up or maybe our browser issue am using IE8 RC1
Mathan