gridfinity-rebuilt-openscad icon indicating copy to clipboard operation
gridfinity-rebuilt-openscad copied to clipboard

How to use

Open joshcomley opened this issue 1 year ago • 3 comments

Before I continue:

  • I'm relatively new to OpenSCAD but have done quite a lot
  • I've read the docs

What is the correct way to use this to make custom Gridfinity prints?

I don't want to customise the git files because then pulling the latest becomes a bit of a nuisance.

But say I import gridfinity-rebuilt-baseplate.scad into my own .scad file, then the "implementation" section of gridfinity-rebuilt-baseplate.scad renders it out before I can tweak it. I can't modify the variables in my own .scad file. The only option seems to be to call it from the command line with the custom variables, which makes mathematical things tricky.

I would have expected something like this:

include <gridfinity-rebuilt-openscad\gridfinity-rebuilt-baseplate.scad>

gridfinityBaseplate(...);

To me it seems the modules and the default variables should be separated from another scad file that just imports the two and performs a render.

Happy to help with a PR for this.

Unless I'm fundamentally missing something?!

joshcomley avatar Jul 30 '23 13:07 joshcomley