mirror of
https://github.com/kennetek/gridfinity-rebuilt-openscad.git
synced 2024-12-22 06:43:25 +00:00
Move scad files not meant for end users to "src" directory
This commit is contained in:
parent
cf377bdd48
commit
2216f766e5
10 changed files with 21 additions and 14 deletions
|
@ -1,7 +1,3 @@
|
||||||
include <gridfinity-rebuilt-utility.scad>
|
|
||||||
include <standard.scad>
|
|
||||||
use <gridfinity-rebuilt-holes.scad>
|
|
||||||
|
|
||||||
// ===== INFORMATION ===== //
|
// ===== 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
|
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
|
||||||
|
@ -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 ===== //
|
// ===== PARAMETERS ===== //
|
||||||
|
|
||||||
/* [Setup Parameters] */
|
/* [Setup Parameters] */
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
include <gridfinity-rebuilt-utility.scad>
|
|
||||||
|
|
||||||
// ===== INFORMATION ===== //
|
// ===== 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
|
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
|
||||||
|
@ -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 ===== //
|
// ===== PARAMETERS ===== //
|
||||||
|
|
||||||
/* [Setup Parameters] */
|
/* [Setup Parameters] */
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
include <gridfinity-rebuilt-utility.scad>
|
|
||||||
|
|
||||||
// ===== INFORMATION ===== //
|
// ===== 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
|
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
|
||||||
|
@ -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 ===== //
|
// ===== PARAMETERS ===== //
|
||||||
|
|
||||||
/* [Setup Parameters] */
|
/* [Setup Parameters] */
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
include <gridfinity-rebuilt-utility.scad>
|
|
||||||
|
|
||||||
// ===== INFORMATION ===== //
|
// ===== 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
|
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
|
||||||
|
@ -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 ===== //
|
// ===== PARAMETERS ===== //
|
||||||
|
|
||||||
/* [Special Variables] */
|
/* [Special Variables] */
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
include <standard.scad>
|
include <standard.scad>
|
||||||
use <generic-helpers.scad>
|
use <../helpers/generic-helpers.scad>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Determines the number of fragments in a circle. Aka, Circle resolution.
|
* @brief Determines the number of fragments in a circle. Aka, Circle resolution.
|
|
@ -5,9 +5,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
include <standard.scad>
|
include <standard.scad>
|
||||||
use <generic-helpers.scad>
|
|
||||||
use <gridfinity-rebuilt-holes.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 ===== //
|
// ===== User Modules ===== //
|
||||||
|
|
|
@ -10,7 +10,7 @@ from openscad_runner import *
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def openscad_runner(pytestconfig) -> OpenScadRunner:
|
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 = OpenScadRunner(scad_path)
|
||||||
scad_runner.image_folder_base = pytestconfig.rootpath.joinpath('images/hole_cutouts/')
|
scad_runner.image_folder_base = pytestconfig.rootpath.joinpath('images/hole_cutouts/')
|
||||||
scad_runner.camera_arguments = CameraArguments(Vec3(0,0,0), CameraRotations.AngledTop, 50)
|
scad_runner.camera_arguments = CameraArguments(Vec3(0,0,0), CameraRotations.AngledTop, 50)
|
||||||
|
|
Loading…
Reference in a new issue