Actually, normally, those includes that are documented in the BOSL2 library
are instructions for what you need to include in your part file(s).
Generally, people do not edit the library files, but use them only as
includes. For example, in a file that I have to create a gear, I could
have:
//--------------------------------------------
$fn = 24;
include <BOSL2/std.scad>
include <BOSL2/gears.scad>
gearCircularPitch = 10;
gearTeeth = 20;
gearLength = 5;
spur_gear( gearCircularPitch, _gearTeeth, splineL );
--
Sent from: http://forum.openscad.org/
Thanks Len, very helpful. That's exactly the sort of truly basic stuff I need
to learn about libraries.
--
Sent from: http://forum.openscad.org/
How did you decide which includes to include? <BOSL2/gears.scad> obviously,
but <BOSL2/std.scad> ?
And what are the basic rules about folder locations for the library and your
fresh scad file please?
Terry
--
Sent from: http://forum.openscad.org/