From 2e111147083ff9bdf094e349f8382bf1fb3bcb4b Mon Sep 17 00:00:00 2001
From: Tom Whitwell <tom@whi.tw>
Date: Sat, 23 Oct 2021 23:50:47 +0100
Subject: [PATCH] Fix issues in profiles.scad

* profile_tslot_generic was missing parameter 'core'
* `circle` does not have a parameter 'center'
---
 profiles.scad | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/profiles.scad b/profiles.scad
index 95e6359f..bd77e1c7 100644
--- a/profiles.scad
+++ b/profiles.scad
@@ -58,7 +58,7 @@ module profile_channel(base, side, wall) {
 	}
 }
 
-module profile_tslot_generic (pitch, slot, lip, web, hole) {
+module profile_tslot_generic (pitch, slot, lip, web, core, hole) {
 	// pitch = side width, slot = slot width, lip = thickness of the lip, web = thickness of the web, core = side of the center square, hole = center hole diameter
 	difference () {
 		union() {
@@ -72,7 +72,7 @@ module profile_tslot_generic (pitch, slot, lip, web, hole) {
 			rotate ([0, 0, -45]) square ([pitch*1.15, web], center=true);
 			square (core, center=true);
 		}
-		circle (hole/2, center = true);
+		circle (hole/2);
 	}
 }