Working repo to build a faithful KCL Implementation of Gridfinity from the ground up.
Gridfinity is originally developed by Zack Freedman
Merge PRs to the next
branch, not main.
Gridfinity conforms to a set of style guidelines to ensure consistency and readability. https://github.com/KittyCAD/kcl-samples?tab=readme-ov-file#guidelines-for-adding-samples
-
File Naming: Name your KCL files descriptively and concisely, using hyphens to separate words (e.g., flange.kcl, ball-bearing.kcl).
-
File Header: Include a title comment at the top of each file, followed by a brief description explaining what the model is and its typical use cases.
-
Inline Comments: Use inline comments to explain non-obvious parts of the code. Each major section should have a comment describing its purpose.
-
Constants: Define constants at the beginning of your KCL files for any values that might change or need to be reused (e.g., dimensions, angles).