2008-01-22 10:56 PM
2008-01-23 02:17 PM
2008-01-23 03:00 PM
laszlonagy wrote:Of course. It's an autoscripted object.
Post the 3D Script here so we can check it out.
2008-01-23 03:15 PM
Mats_Knutsson wrote:The first Material parameter applies to the two end surfaces.laszlonagy wrote:Of course. It's an autoscripted object.
Post the 3D Script here so we can check it out.
The material definition aaaa is my material but it only applies to the "intestants" of the pipe and not the surfaces. There should be a material definition for each line in the 2D profile that is revolved. When I do a straight pipe I get it right with autoscripted ----ind(material,"Färg-07"),----
Mats
revolve{2} 9, 0, 143.6102553225, 444, aaaa,
-0.003645035534536, 0.6587998942228, 1, 18,
-0.01244492975734, 0.6624449297573, 1, 18,
-0.02124482398015, 0.6587998942228, 1, 18,
-0.02488985951469, 0.65, 1, 18,
-0.02124482398015, 0.6412001057772, 1, 18,
-0.01244492975734, 0.6375550702427, 1, 18,
-0.003645035534536, 0.6412001057772, 1, 18,
-0, 0.65, 1, 18,
-0.003645035534536, 0.6587998942228, 2, 18
revolve{2} 9, 0, 143.6102553225, 444, aaaa, -0.003645035534536, 0.6587998942228, 1, aaaa, -0.01244492975734, 0.6624449297573, 1, aaaa, -0.02124482398015, 0.6587998942228, 1, aaaa, -0.02488985951469, 0.65, 1, aaaa, -0.02124482398015, 0.6412001057772, 1, aaaa, -0.01244492975734, 0.6375550702427, 1, aaaa, -0.003645035534536, 0.6412001057772, 1, aaaa, -0, 0.65, 1, aaaa, -0.003645035534536, 0.6587998942228, 2, aaaa
2008-01-23 03:28 PM
laszlonagy wrote:Mats_Knutsson wrote:The first Material parameter applies to the two end surfaces.laszlonagy wrote:Of course. It's an autoscripted object.
Post the 3D Script here so we can check it out.
The material definition aaaa is my material but it only applies to the "intestants" of the pipe and not the surfaces. There should be a material definition for each line in the 2D profile that is revolved. When I do a straight pipe I get it right with autoscripted ----ind(material,"Färg-07"),----
Mats
revolve{2} 9, 0, 143.6102553225, 444, aaaa,
-0.003645035534536, 0.6587998942228, 1, 18,
-0.01244492975734, 0.6624449297573, 1, 18,
-0.02124482398015, 0.6587998942228, 1, 18,
-0.02488985951469, 0.65, 1, 18,
-0.02124482398015, 0.6412001057772, 1, 18,
-0.01244492975734, 0.6375550702427, 1, 18,
-0.003645035534536, 0.6412001057772, 1, 18,
-0, 0.65, 1, 18,
-0.003645035534536, 0.6587998942228, 2, 18
Then each segment has its own material definition. That is the 4th parameter, according to the GDL Manual.
I modified all 18s to aaaa.
revolve{2} 9, 0, 143.6102553225, 444, aaaa, -0.003645035534536, 0.6587998942228, 1, aaaa, -0.01244492975734, 0.6624449297573, 1, aaaa, -0.02124482398015, 0.6587998942228, 1, aaaa, -0.02488985951469, 0.65, 1, aaaa, -0.02124482398015, 0.6412001057772, 1, aaaa, -0.01244492975734, 0.6375550702427, 1, aaaa, -0.003645035534536, 0.6412001057772, 1, aaaa, -0, 0.65, 1, aaaa, -0.003645035534536, 0.6587998942228, 2, aaaa