07-26-2011 01:07 PM
I am having trouble displaying the color of a SolidWorks assembly I have created and uploading using stl format. I am able to see my solidworks object but it comes out in pure grey. I attached my vi and files I that are used in the vi.
07-26-2011 03:53 PM
There is lots of extra code and missing subVIs. It would help of you could strip the exaple down to a single code fragment dealing with the 3D picture. I don't really understand why all this code is in a tight loop, because the data never changes. Only the transformations at the end depend on external inputs and should be in a polling loop with a reasonable wait. All the code before needs to execute only once. Right?
You also did not attach any of the files used (*.stl, *.jpg, etc.)
07-26-2011 05:05 PM
No the only file that is missing is the stl file which I could not upload in this forum but you can ignore all the disable code it is not required. The only thing I am having trouble in the code where I bring in the stl file, where I cannot see the color of my solidworks object, but I get the object there(in pure grey). What is happening in the code is that I am accessing data from an IMU with the stop and continuous functions, then with the Euler angles I get from the IMU I use them to move my solidworks object. I did attach the JPG file.
08-01-2011 01:52 PM - edited 08-01-2011 01:52 PM
I don't believe the color data is actually stored within the STL file, and it is stored is another file which Solidworks uses. You can change the color of the whole object in LabVIEW there is an example of this linked below.
https://decibel.ni.com/content/docs/DOC-15744
Matt M.