Jump to content
Vinz

Cushion pattern

Recommended Posts

On 11/18/2020 at 9:24 PM, konstantin magnus said:

Here is a way:

leather_pattern.hipnc

There is a small bug in your file, the input geo to sweep1 is not an Eulerian path on the points, and about half of the edges are swept twice, hence potential problems down the graph (either some zfight at render time / boolean problems / bad performance...) 

I think it can be fixed with a few Divide / Remove shared edges / Group Edges / Unshared + some logic to find the longest outer edges or something

Share this post


Link to post
Share on other sites
Posted (edited)

Hi Antoine, maybe I'd rather come up with a clean input curve such as a mirrored zigzag-line:

v@P.x += i@ptnum % 4 == 0;
v@P.x -= i@ptnum % 4 == 2;

zigzag.hipnc

Edited by konstantin magnus

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×