Replies: 1 comment 1 reply
-
Sounds like you want something like:
path = difference([
squircle(size=100, squareness=0.4),
right(50, p=circle(20))
])[0];
…-Revar
On May 10, 2025, at 9:21 AM, Matthew Pettitt ***@***.***> wrote:
difference(){ squircle(size=100, squareness=0.4); translate([50,0,0]) circle(20); }
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mpettitt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm attempting to make a squircle based panel, with custom edges, using a
hex_panel
fill. Essentially, the shape I want to fill is output byHowever,
hex_panel
requires a shape, whiledifference
returns a renderable object. Since I get the same issue when usingsquare
instead ofsquircle
, I'm fairly sure I'm misunderstanding how to return a valid shape. I can get a complete squircle with hex_panel fill by usinghex_panel(squircle(size=115, squareness=0.4), 1.5, 12, h = 5, frame = 2);
Is there an alternative method to achieve this? Due to the use of
hex_panel
, subtracting the cutout after generating the fill won't work - it would leave loose ends to some hexes.Beta Was this translation helpful? Give feedback.
All reactions