Skip to content

Commit

Permalink
Adding GPLv3 headers to needed files
Browse files Browse the repository at this point in the history
  • Loading branch information
jcolafrancesco committed May 20, 2023
1 parent dc175fd commit 9d3c1dd
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 0 deletions.
16 changes: 16 additions & 0 deletions arms_module.scad
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
// OpticalMountCAD
// Copyright (C) 2023 Julien Colafrancesco
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

module build_lateral_arm(lateral_pos, depth_pos, thickness, front_back_margin, left_mrg, right_mrg , height) {
translate([lateral_pos, depth_pos - (right_mrg+left_mrg)/2+right_mrg, 0])
cube([thickness+front_back_margin, right_mrg+left_mrg, height], center=true);
Expand Down
8 changes: 8 additions & 0 deletions base_module.scad
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright (C) 2023 Julien Colafrancesco
// This program is free software: you can redistribute it and/or modify it under the terms of the
// GNU General Public License as published by the Free Software Foundation, version 3.
// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
// without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU General Public License for more details.
// You should have received a copy of the GNU General Public License along with this program.
// If not, see <https://www.gnu.org/licenses/>.

module base(base_height, base_depth, thread_diameter, head_radius, eps) {

Expand Down
16 changes: 16 additions & 0 deletions lens_module.scad
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
// OpticalMountCAD
// Copyright (C) 2023 Julien Colafrancesco
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

module build_onesided_lens(r1, r2, sag1, sag2, width, ct, gt) {
module lens_rect_superset(r1, r2, sag1, sag2, width, ct, gt) {
translate([-(ct/2) - (r2 > 0 ? sag2 : 0), -width/2, 0])
Expand Down
16 changes: 16 additions & 0 deletions main.scad
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
// OpticalMountCAD
// Copyright (C) 2023 Julien Colafrancesco
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

include <base_module.scad>
include <lens_module.scad>
include <arms_module.scad>
Expand Down

0 comments on commit 9d3c1dd

Please sign in to comment.