It's great to be able to chamfer boolean operations between shapes, but something missing is the ability to generate chamfered shaped initially.```letchamferedrect = size -> chamfer_r ->letr = size / 2 - chamfer_r;inmake_shape {dist[x,y,z,t] =if (abs(x) > abs(r@X) && abs(y) > abs(r@Y))(abs(x)-abs(r@X)+abs(y)-abs(r@Y)) - chamfer_relse(max(abs([x,y]) - (r + chamfer_r)));bbox = [[-r@X,-r@Y,0],[r@X,r@Y,0]];is_2d = true;};inshow_dist (chamferedrect (2, 3) .5)```This could be added as a `.chamfered` alternate distance field like `.exact` or `.mitred` and could be added to all of the primitives with sharp edges. since it would be an addition it should not break any backwards compatibility.
--You received this message because you are subscribed to the Google Groups "Curv" group.To unsubscribe from this group and stop receiving emails from it, send an email to curv+uns...@googlegroups.com.To view this discussion on the web, visit https://groups.google.com/d/msgid/curv/3c1fba75-7ad1-471f-a0f8-dd84070fd20en%40googlegroups.com.
If that were possible, it would mean we should be able to have just a chamfer(shape)
function, right?
To view this discussion on the web, visit https://groups.google.com/d/msgid/curv/3ee4a926-675d-4749-8cba-b8e05f73f2e4n%40googlegroups.com.