

Hence, on Windows, 6k names and color info went in one statement. I’ll have to check my code, but I’m really sure I did not do any length checks on the execute_script string that loads the html table. I just opened it with 6k materials, and it loaded. Odd question, do you know if you had previously opened the Materials Window in the session you did the testing in? Also, what the view setting was?Īs an aside, the Web Dialog I showed a screen grab of is the Materials WD in my plug-in. I didn’t run ‘Large Thumbnails’, but ‘Small’ and ‘Medium’ had little effect on the timing, it’s only when I selected ‘List View’ that the time jumped to the level that your test was. Solution: create a point on the surface of the location, and grab the component by the corresponding point and snap it to it.
#GOOGLE SKETCHUP PRO V6.0.312 WINDOWS#
I did some more Windows tests (listed below). The 2nd post results I listed were with the Materials window closed. Regardless, it seems like your application requires ‘painting’ in such a way that using discrete materials for each color may not be possible. I’ve attached my model in case you want to test with it (1 MB). Of course, materials aren’t added this time, but it took 14.7 seconds to determine that the 6k materials already existed. Got the following – Faces & Materials Count = 6000 Verified that the model has 12k materials. I verified that there were 6k materials, then I changed the red value to 64, and ran it again. An investigation has been made in the Langley Unitary Plan wind tunnel. I ran it with the loop counter at 6k, and got the following – Faces & Materials Count = 6000 My model has a little over 6k faces, and no materials. When your system hangs, and mine completes in 30 seconds, something is very odd. I wish I knew what was so different with our models / hardware, etc. Top 5 Contributors sofiane 41,005 Points PKO17 16,000. Google SketchUp 5.0.295 Beta Google SketchUp Comments. upload screenshot upload screenshot upload screenshot upload screenshot. # number_of_cells is the number of polygons of polymesh Google SketchUp 6.0.312 Change Log Add info. # polymesh is a Polymesh defined elsewhere
#GOOGLE SKETCHUP PRO V6.0.312 CODE#
This is an extract from the code that I am using at the moment. My understanding is that for each different color I have to define a new material and then assign this material to the face. For example with around 500 polygons and colors/materials it takes more than 16 seconds and I usually deal with meshes of a few thousands polygons. It seems that the time required grows very quickly with the number of polygons. I am trying to color each polygon of a Polymesh with a different color based on a specific criteria.
