1
$\begingroup$

Code follows:

partsName = {
  "1.stl", "2.stl", "3.stl", "4.stl", "5.stl", "6.stl", "7.stl", "8.stl", "9.stl"
}; 

robotPartsGraphics = Import[#, "GraphicsComplex"] & /@ partsName;

Graphics3D[{robotPartsGraphics}]

enter image description here

and now, I want to remove the "triangle" line from the picture. What can I do? (Comment: CAD product, format "stl" -> contains GraphicsComplex data.

I appreciate Szabolcs's and Kuba's advice, all can work successfully! add EdgeForm[None] in last code sentence. The successful code is: Graphics3D[{EdgeForm[None], robotPartsGraphics}].

Thank you again!

enter image description here

$\endgroup$
  • 1
    $\begingroup$ I do not understand what you mean by "triangle line". Try Graphics3D[{EdgeForm[None], robotPartsGraphics}] $\endgroup$ – Szabolcs Aug 31 '17 at 8:36
  • $\begingroup$ Thank you very much! i means the "connect line" in function "graphicscomplex ", like the black connect line in picture $\endgroup$ – Ben Aug 31 '17 at 8:50
  • $\begingroup$ Can you respond to my suggestion above to confirm if I understood your question? $\endgroup$ – Szabolcs Aug 31 '17 at 8:54
  • $\begingroup$ EdgeForm[None] can work successfully! thank you again! $\endgroup$ – Ben Aug 31 '17 at 8:54
4
$\begingroup$
Graphics3D[{EdgeForm[None],
  Import["ExampleData/seashell.stl", "GraphicsComplex"]
  }
 ]

enter image description here

$\endgroup$
  • $\begingroup$ EdgeForm@None can work successfully! you code is more concise than me! thank you very much ! $\endgroup$ – Ben Aug 31 '17 at 9:11
  • 1
    $\begingroup$ EdgeForm[] works as well. $\endgroup$ – J. M. will be back soon Aug 31 '17 at 9:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.