Init: DNA Double Helix OpenSCAD project.

This commit is contained in:
2024-10-04 14:46:22 +01:00
parent 45bb72ea3c
commit 5d39466974
6 changed files with 92 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
// Author: Edward Middleton-Smith
// Project: DNA Double Helix
// Technology: Constants and Variables
// Feature:
// constants
radius_rotation_helix = 80; // radius of helix (displacement of any part of helix from central axis)
radius_strand_helix = 20;
angle_twist_total = 1440;
height = 1300;
rise = 240; // vertical spacing between base-pair rungs
length_discretisation = 1; // length_discretisationretisation of points per units length
pi = 3.14159265359; // rounded
// intermediate variables
angle_incline = asin(height * 360 / angle_twist_total / 2 / pi / radius_rotation_helix);
echo("angle_incline: ", angle_incline);