1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 22:28:16 +01:00
dotSCAD/README.md
2017-03-28 20:56:13 +08:00

2.4 KiB

dotSCAD

These fundamental modules and functions are helpful when playing OpenSCAD.

license/LGPL

Introduction

Every module or function is located in the file which has the same name as the module or the function. For examples, if you want to use the line2d module to draw a line, include <line2d.scad> first.

include <line2d.scad>;

line2d(p1 = [0, 0], p2 = [5, 0], width = 1);

Some modules may depend on other modules. For example, the polyline2d module depends on the line2d module, so you also have to include <line2d.scad> besides include <polyline3d.scad>.

include <line2d.scad>;
include <polyline3d.scad>;

polyline2d(points = [[1, 2], [-5, -4], [-5, 3], [5, 5]], width = 1);

Documentation

About dotSCAD

I've been using OpenSCAD for years and created some funny things. Some of them include several important ideas and details. To prevent forgetfulness, I decided to write them down. Some examples developed in the documentation are useful so I elaborate them into this library.