Skip to content

Commit

Permalink
Move scad files not meant for end users to "src" directory
Browse files Browse the repository at this point in the history
  • Loading branch information
EmperorArthur committed Oct 17, 2024
1 parent cf377bd commit 2216f76
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 14 deletions.
9 changes: 5 additions & 4 deletions gridfinity-rebuilt-baseplate.scad
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
include <gridfinity-rebuilt-utility.scad>
include <standard.scad>
use <gridfinity-rebuilt-holes.scad>

// ===== INFORMATION ===== //
/*
IMPORTANT: rendering will be better for analyzing the model if fast-csg is enabled. As of writing, this feature is only available in the development builds and not the official release of OpenSCAD, but it makes rendering only take a couple seconds, even for comically large bins. Enable it in Edit > Preferences > Features > fast-csg
Expand All @@ -10,6 +6,11 @@ https://github.com/kennetek/gridfinity-rebuilt-openscad
*/

include <src/core/standard.scad>
use <src/core/gridfinity-rebuilt-utility.scad>
use <src/core/gridfinity-rebuilt-holes.scad>
use <src/helpers/generic-helpers.scad>

// ===== PARAMETERS ===== //

/* [Setup Parameters] */
Expand Down
5 changes: 3 additions & 2 deletions gridfinity-rebuilt-bins.scad
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
include <gridfinity-rebuilt-utility.scad>

// ===== INFORMATION ===== //
/*
IMPORTANT: rendering will be better for analyzing the model if fast-csg is enabled. As of writing, this feature is only available in the development builds and not the official release of OpenSCAD, but it makes rendering only take a couple seconds, even for comically large bins. Enable it in Edit > Preferences > Features > fast-csg
Expand All @@ -26,6 +24,9 @@ https://github.com/kennetek/gridfinity-rebuilt-openscad
*/

use <src/core/gridfinity-rebuilt-utility.scad>
use <src/core/gridfinity-rebuilt-holes.scad>

// ===== PARAMETERS ===== //

/* [Setup Parameters] */
Expand Down
7 changes: 5 additions & 2 deletions gridfinity-rebuilt-lite.scad
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
include <gridfinity-rebuilt-utility.scad>

// ===== INFORMATION ===== //
/*
IMPORTANT: rendering will be better for analyzing the model if fast-csg is enabled. As of writing, this feature is only available in the development builds and not the official release of OpenSCAD, but it makes rendering only take a couple seconds, even for comically large bins. Enable it in Edit > Preferences > Features > fast-csg
Expand All @@ -8,6 +6,11 @@ https://github.com/kennetek/gridfinity-rebuilt-openscad
*/

include <src/core/standard.scad>
use <src/core/gridfinity-rebuilt-utility.scad>
use <src/core/gridfinity-rebuilt-holes.scad>
use <src/helpers/generic-helpers.scad>

// ===== PARAMETERS ===== //

/* [Setup Parameters] */
Expand Down
6 changes: 4 additions & 2 deletions gridfinity-spiral-vase.scad
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
include <gridfinity-rebuilt-utility.scad>

// ===== INFORMATION ===== //
/*
IMPORTANT: rendering will be better for analyzing the model if fast-csg is enabled. As of writing, this feature is only available in the development builds and not the official release of OpenSCAD, but it makes rendering only take a couple seconds, even for comically large bins. Enable it in Edit > Preferences > Features > fast-csg
Expand All @@ -8,6 +6,10 @@ https://github.com/kennetek/gridfinity-rebuilt-openscad
*/

include <src/core/standard.scad>
use <src/core/gridfinity-rebuilt-utility.scad>
use <src/helpers/generic-helpers.scad>

// ===== PARAMETERS ===== //

/* [Special Variables] */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

include <standard.scad>
use <generic-helpers.scad>
use <../helpers/generic-helpers.scad>

/**
* @brief Determines the number of fragments in a circle. Aka, Circle resolution.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
*/

include <standard.scad>
use <generic-helpers.scad>
use <gridfinity-rebuilt-holes.scad>
use <external/threads-scad/threads.scad>
use <../helpers/generic-helpers.scad>
use <../external/threads-scad/threads.scad>

// ===== User Modules ===== //

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/test_holes.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@pytest.fixture
def openscad_runner(pytestconfig) -> OpenScadRunner:
scad_path = pytestconfig.rootpath.joinpath('gridfinity-rebuilt-holes.scad')
scad_path = pytestconfig.rootpath.joinpath('src/core/gridfinity-rebuilt-holes.scad')
scad_runner = OpenScadRunner(scad_path)
scad_runner.image_folder_base = pytestconfig.rootpath.joinpath('images/hole_cutouts/')
scad_runner.camera_arguments = CameraArguments(Vec3(0,0,0), CameraRotations.AngledTop, 50)
Expand Down

0 comments on commit 2216f76

Please sign in to comment.