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$
4
  • 1
    $\begingroup$ I do not understand what you mean by "triangle line". Try Graphics3D[{EdgeForm[None], robotPartsGraphics}] $\endgroup$
    – Szabolcs
    Aug 31, 2017 at 8:36
  • $\begingroup$ Thank you very much! i means the "connect line" in function "graphicscomplex ", like the black connect line in picture $\endgroup$
    – lumw
    Aug 31, 2017 at 8:50
  • $\begingroup$ Can you respond to my suggestion above to confirm if I understood your question? $\endgroup$
    – Szabolcs
    Aug 31, 2017 at 8:54
  • $\begingroup$ EdgeForm[None] can work successfully! thank you again! $\endgroup$
    – lumw
    Aug 31, 2017 at 8:54

1 Answer 1

4
$\begingroup$
Graphics3D[{EdgeForm[None],
  Import["ExampleData/seashell.stl", "GraphicsComplex"]
  }
 ]

enter image description here

$\endgroup$
2
  • $\begingroup$ EdgeForm@None can work successfully! you code is more concise than me! thank you very much ! $\endgroup$
    – lumw
    Aug 31, 2017 at 9:11
  • 1
    $\begingroup$ EdgeForm[] works as well. $\endgroup$ Aug 31, 2017 at 9:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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