Merge pull request #101 from 1337joe/improve-thrown-together-rendering
Fix ghosted hole cutout rendering
This commit is contained in:
commit
ce9132f41c
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
rounded_rectangle(dx*2, dy*2, h_base*2, r_base);
|
||||||
|
|
||||||
pattern_linear(gx, gy, length) {
|
pattern_linear(gx, gy, length) {
|
||||||
render() {
|
render(convexity = 6) {
|
||||||
if (sm) block_base_hole(1);
|
if (sm) block_base_hole(1);
|
||||||
|
|
||||||
if (sp == 1)
|
if (sp == 1)
|
||||||
|
|
|
@ -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) {
|
module block_base(gx, gy, l, dbnx, dbny, style_hole, off) {
|
||||||
render()
|
render(convexity = 2)
|
||||||
difference() {
|
difference() {
|
||||||
block_base_solid(dbnx, dbny, l, off);
|
block_base_solid(dbnx, dbny, l, off);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue