Thingiverse
Thing
door mike2mars
0
Downloads
0
Likes
0
Makes
Another interesting shape done with the help of AI. I asked for a flower like torus and got this. In my model I upped the segmetns to 1000 for a smooth look hence the large size of the stl. You could probably just copy the code into openscad and generate the stl yourself and change the parameters to suit your liking. The openscad code:
// Flower-like Torus Design in OpenSCAD
// Parameters for customization
segments = 100; // Resolution of the torus
petals = 6; // Number of petal-like distortions
radius_outer = 30; // Outer radius of the torus
radius_inner = 10; // Inner radius of the torus
petal_amplitude = 5; // Amplitude of petal-like features
module flower_torus() {
rotate_extrude($fn = segments) {
polygon(points = generate_profile());
}
}
// Function to generate the 2D profile points for the torus
function generate_profile() = [
for (angle = [0:360 / segments:360])
let (
r = radius_inner + petal_amplitude * s
// Flower-like Torus Design in OpenSCAD
// Parameters for customization
segments = 100; // Resolution of the torus
petals = 6; // Number of petal-like distortions
radius_outer = 30; // Outer radius of the torus
radius_inner = 10; // Inner radius of the torus
petal_amplitude = 5; // Amplitude of petal-like features
module flower_torus() {
rotate_extrude($fn = segments) {
polygon(points = generate_profile());
}
}
// Function to generate the 2D profile points for the torus
function generate_profile() = [
for (angle = [0:360 / segments:360])
let (
r = radius_inner + petal_amplitude * s
Heb je dit model geprint? Inloggen en deel je make!
Log in om een reactie achter te laten
InloggenNog geen reacties – wees de eerste!