algorithmic modeling for Rhino
Hi GH Gurus,
I am trying to subtract a series of capped Pipes from a Sweep1 Solid. I have done this before on a simpler model and it worked correctly.
The issue I am having is that the Pipes are not subtracting they are adding to the Sweep1 solid.
Images below, code attached. The code requires a point at 0,0,0 to be selected from Rhino.
Tags:
Hyunqsoo,
How did you change the shader and color of the preview to render-yellow? that looks nice, I'd like to use that too.
thanks,
Peter
There's the "Document Preview Settings" icon(Circle divided into left and right) on the canvas tool bar. (Upper right corner)
Hi Peter - Hyungsoo, that's happening because the (sweep) surface's normals are pointing inwards (the surface is inside-out). To fix that you could reverse the direction of the elliptical section curve before sweeping it. (Or alternatively use negative values for the ellipse's radii).
Hi Peter,
Thanks for the suggestion, I'll give that a try later today. I was thinking it was something like this but didn't know how to solve it.
Thanks,
Peter
Hi Peter,
I added an expression to the ellipse inputs (x*-1) and it solved the issue. The code works lighting fast too. Thanks for taking the time to help me with this.
Peter
You're welcome Peter, and thanks for making the efford to reply.
I really meant for you to reverse the ellipse (using [Flip Curve]), since the negative radii method is a bit too 'alternative', and also notice: it moves the seam to the outside of the sweep... ~:/
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by