-
Notifications
You must be signed in to change notification settings - Fork 593
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to create a rectangle with trimesh.path.Path3D? #1243
Comments
Hey, if you're using booleans you might want to do it with a
|
@mikedh , Many thanks for you reply. However, I am a bit lost about your answer. I am intending to create a polygon using trimesh.path.Path3D. For example, a rectangle. So later on, I can use it to cut a mesh. However, I am not sure how can use trimesh.path.Path3D here given edges and vetices here. @mikedh , can you further clarify it? Thanks. (The polygon is actually in a plane) |
Also; the following error appeared when I did this:
|
I think the solution is as following:
|
Hi, All:
I am trying to create a 3D rectangle using trimesh.path.Path3D. But I am how to use trimesh.path.Path3D here?
The purpose is to cut a mesh with a polygon.
For example, if I have list of vertices as following:
How could I create a trimesh.path.Path3D with above vertices and edges?
trimesh.path.Path3D(entities=None, vertices=None)
What is the "entities" here?
Thanks in advance.
The text was updated successfully, but these errors were encountered: