Merge pull request #101 from 1337joe/improve-thrown-together-rendering

Fix ghosted hole cutout rendering
This commit is contained in:
Ruud 2023-04-25 21:37:54 +02:00 committed by GitHub
commit ce9132f41c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -92,7 +92,7 @@ module gridfinityBaseplate(gridx, gridy, length, dix, diy, sp, sm, sh, fitx, fit
rounded_rectangle(dx*2, dy*2, h_base*2, r_base);
pattern_linear(gx, gy, length) {
render() {
render(convexity = 6) {
if (sm) block_base_hole(1);
if (sp == 1)

View file

@ -103,7 +103,7 @@ module gridfinityBase(gx, gy, l, dx, dy, style_hole, off=0, final_cut=true) {
}
module block_base(gx, gy, l, dbnx, dbny, style_hole, off) {
render()
render(convexity = 2)
difference() {
block_base_solid(dbnx, dbny, l, off);