-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed
Labels
Difficulty: Mediumhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issueshttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesGood first issueOpen a pull request against these issues if there are no active ones!Open a pull request against these issues if there are no active ones!New featuretopic: mplot3d
Milestone
Description
I am trying to visualize a .stl file using the libraries numpy-stl and mplot3D.
new_mesh = mesh.Mesh.from_file('result.stl')
figure = plt.Figure(figsize=(6.4,5.4), dpi=100)
ax = mplot3d.Axes3D(figure)
ax.add_collection3d(mplot3d.art3d.Poly3DCollection(new_mesh.vectors))
But in the plot we can barely see any features and its quite flat. Is it possible to add a lightsource
option for Poly3DCollections.
Metadata
Metadata
Assignees
Labels
Difficulty: Mediumhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issueshttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesGood first issueOpen a pull request against these issues if there are no active ones!Open a pull request against these issues if there are no active ones!New featuretopic: mplot3d