mike j
mikejonezk0 followers
Follow
mikejonezk
mikejonezk
|
Image 1 of 4
flowerButton.stl 3d model
mikejonezk
mikejonezk
|
Image 1 of 4
flowerButton.stl 3d model
flowerButton.stl 3d model
flowerButton.stl 3d model
flowerButton.stl 3d model
flowerButton.stl 3d model

flowerButton.stl

This is a thing. The idea was to get chatgpt to make a flower like torus using code in openscad and I got this. I modified the segments to be 1000 for a smoother look but made the stl that much bigger. Heres the openscad code you can change the parameters and make a different one yourself. Simply get openscad software (free) type this code in and hit preview or render. Then you export to stl for printing etc.

// 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 * sin(petals * angle * 360 / 360), x = radius_outer + r * cos(angle), y = r * sin(angle) ) [x, y] // Ensures all points have positive X-coordinates ];

// Render the flower-like torus flower_torus();


Discussions

flowerButton.stl

2 downloads · 1 year ago in 
mike j
mikejonezk0 followers
Follow