Mesh cut through
Mesh cut through
I need to 'project' a mesh on a specific axis to create a hole on a second mesh.
So if i have a bullet and second mesh is a cube the result i need is just a cube with a cylindrical hole.
But then it gets more complicated if my "bullet" is a complex mesh with any orientation.
Example imagine the light is -x
The outline of a model on a certain axis (curve or smthing) would be handy as well.
Any ideas?
So if i have a bullet and second mesh is a cube the result i need is just a cube with a cylindrical hole.
But then it gets more complicated if my "bullet" is a complex mesh with any orientation.
Example imagine the light is -x
The outline of a model on a certain axis (curve or smthing) would be handy as well.
Any ideas?
Re: Mesh cut through
Perhaps the best way, theoretically, it is to start from resulting mesh, it's cube here. Projection could be done in ICE by ray-casting toward cutter, or even by render mapping a shadow of directional light ( let's say the one that's present in screenshot). This makes the correct ''projection'' (while something like SI Slice Polygons won't). From that, projection phase, should be possible to make a cut and delete polygons, or extract a curve. Don't know is there already available an ICE topology ''cutter by weightmap value'', anyway.
In any case, I think it should be easier to start from another, usually planar mesh, - instead of 'projector'.
In any case, I think it should be easier to start from another, usually planar mesh, - instead of 'projector'.
Re: Mesh cut through
Try this compound (add the ICE tree to a null).. First object is the Subdivided grid to cut and second is the object shape to cut. It works on the y plane and its not perfect but might give you a starting point
- Attachments
-
- CUT HOLE RAYCAST.xsicompound
- (28.83 KiB) Downloaded 117 times
Re: Mesh cut through
Thx for replies
I just added the compound to a null with only 2 meshes in the scene grid and cylinder, result grid dissappears
If i switch order cylinder disapears
I entered the compound and i see
is tht ok? :?
--
@Matheus i actually scaled a mesh to z=0 to hack it in to something planar but too many components overlaping, and i couldnt find a way to makes somehing useful out of it.
Hey Pooby a raycast on a dense grid is not a bad start indeed, unfortunately cant get it to work (nub with ice here)Pooby wrote:Try this compound (add the ICE tree to a null).. First object is the Subdivided grid to cut and second is the object shape to cut. It works on the y plane and its not perfect but might give you a starting point
I just added the compound to a null with only 2 meshes in the scene grid and cylinder, result grid dissappears
If i switch order cylinder disapears
I entered the compound and i see
is tht ok? :?
--
@Matheus i actually scaled a mesh to z=0 to hack it in to something planar but too many components overlaping, and i couldnt find a way to makes somehing useful out of it.
Re: Mesh cut through
Figured a manual way still looking forward to something more automated like ICE.
Hidden content: [ Show ]
Re: Mesh cut through
Oh sorry that must have referenced my own compounds. You just need to get point position to fill in the missing connections.
So getdata. Pointpositions. And plug into the yellow connector/s on the right
(Which is the Multiply node on the first and 'array average' on the second)
So getdata. Pointpositions. And plug into the yellow connector/s on the right
(Which is the Multiply node on the first and 'array average' on the second)
Re: Mesh cut through
Thanx alot Pooby!
Cut hole raycast is awesome, thanx for sharing! I spend half hour only observing how the grid polygons update while im changing orientation scaling moving etc.
I was expecting a pixelized result this is great!
Cheers
Cut hole raycast is awesome, thanx for sharing! I spend half hour only observing how the grid polygons update while im changing orientation scaling moving etc.
I was expecting a pixelized result this is great!
Cheers
Re: Mesh cut through
You're welcome. Thanks for the challenge. It was fun to figure out how to do it.
Re: Mesh cut through
Hi mc.axe,
I'm totally lost in ice. It can't seem to add the missing nodes correctly and nothing happens so I must be missing something obvious. Would you be able to share your simple test setup?
Much appreciated if you can, this looks very interesting.
I'm totally lost in ice. It can't seem to add the missing nodes correctly and nothing happens so I must be missing something obvious. Would you be able to share your simple test setup?
Much appreciated if you can, this looks very interesting.
Re: Mesh cut through
Hey ActionArt
Here is the scene, (i hope the compound is in there)
If you want to try new objects, dont forget to click the compound (ice tree of null) in order to go through the pick session to get right names.
--
Edit
@Pooby if you looking for more challenges with cuts and slices take a look on this thread, I hope you find it interesting.
Here is the scene, (i hope the compound is in there)
If you want to try new objects, dont forget to click the compound (ice tree of null) in order to go through the pick session to get right names.
--
Edit
@Pooby if you looking for more challenges with cuts and slices take a look on this thread, I hope you find it interesting.
Re: Mesh cut through
I have to try this!
Re: Mesh cut through
Thanks for uploading! I'm sorry however I only have 2014 so the scene won't load. Perhaps a screenshot of what you did if you have time? Thanks so much for your help.
Re: Mesh cut through
I only added these 2 nodes
So you can do Get data -> write PointPosition or just copy/paste the 'Get Point Position' node in the bottom right
Make sure Grid and null is in default possitions (with no transforms), + make your grid like 30% larger area than the expected hole.
So you can do Get data -> write PointPosition or just copy/paste the 'Get Point Position' node in the bottom right
Make sure Grid and null is in default possitions (with no transforms), + make your grid like 30% larger area than the expected hole.
Re: Mesh cut through
Thanks, that worked. I had the nodes right but the possition of my null was wrong. Thanks again!
Re: Mesh cut through
No problem glad it worked for you
Who is online
Users browsing this forum: No registered users and 9 guests