Search - User list
Full Version: Poly extrude along curve
Root » Houdini Learning Materials » Poly extrude along curve
Xue_Yue
Hi there,

I was following this tutorial https://vimeo.com/142470680 [vimeo.com] but the extrude just doesn't behave like in the video. The extruded object seems to be in the right shape (except the start), but in a different scale/rotation/position. What am I missing? This should be super straight forward, right? Sorry if this has been answered before.


a placed box, the curve. selected face is 3.


The resulting gemoetry doesn't match the curve.

Attached you'll find the simple scene file, but its essentially the exact same steps than in the movie.

Thanks!
mouse_art
Actually i don't know if it even shoul'd be on the curve. (But i am a starter…and i don't know many nodes yet.)
Anyway here is your Scene file re-saved as *.hipnc(sorry only Apprentice here) with one added switch node, state 0 is a grid(a face) extruded along curve1(through a sweep node and some other nodes(inside the subnet).

Hope this helps somewhat.
Image Not Found
Xue_Yue
Thanks, yes that sweep works well.

I just wondered why it is now so different than in the tutorial (there the geo was definitely on the curve).

There must have been some changes to the polyextrude node, and I wanted to understand what it is. Because I would think that it should behave like your sweep-setup. The odd scaling/translating doesn't really make sense to me and renders the “extrude along curve” pretty much useless for most cases, right?

Cheers!
rmagee
When you set up a curve in the second input that curve will be “fit” between the start point of the extrude to the “extruded front” which is by default a certain distance from the start based on the distance attribute.

In the attached file, I turned on “Transform Extruded Front” in the Extrusion tab which freed up the front to be moved anywhere I wanted so I point snapped it to the end of the curve. I then used the rotate handle to rotate the end face to align with the curve. This gives you something much closer to what you wanted.

In the tutorial this wasn't needed because the endpoints of the input curve were both aligned along a straight line so the distance attribute did the trick. Since your endpoints are not aligned, the Transform Extruded Front option was necessary.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB