Results 1 to 10 of 41

Thread: Nov/Dec/Jan '23 Lite Challenge: Seeing the Red mist...

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #16
    Administrator Redrobes's Avatar
    Join Date
    Dec 2007
    Location
    England
    Posts
    7,201
    Blog Entries
    8

    Default

    Quote Originally Posted by Bogie View Post
    The fountain is cool!
    Thanks its a representation of:
    a tiered series of 4 basins. The fourth and largest never overflows, so it must have a drain system somewhere.
    and has some kind of fish with a head which is feeding the top tier.

    the code for this is for this OpenSCAD and I can post it because its not too difficult a program to use. So paste this into the text area and press F5 to see the 3D model. You make one basin and then call that function 4 times with different translations, rotations and scaling to make this tiered set. Really its just playing with the model and keep looking at the 3D window to see what it looks like, adjusting the numbers until its about what you had in mind.
    Code:
    $fn = 90;
    
    module Basin()
    {
    	scale([1,1,0.5])
    	{
    		rotate_extrude()
    		{
    			union()
    			{
    				difference()
    				{
    					circle(500);
    					translate([-2000,-1000]) square(2000,2000);
    					translate([0,1020]) circle(1000);
    				}
    				translate([470,120,0]) circle(50);
    			}
    		}
    	}
    }
    
    module BasinSpout()
    {
    	difference()
    	{
    		Basin();
    		translate([0,-200,300]) rotate([120,0,0]) cylinder(500,100,100);
    	}
    }
    
    module Fountain()
    {
    	scale([40,40,40]) Basin();
    	translate([0,20000,5000]) scale([32,32,32]) BasinSpout();
    	translate([-14000,30000,10000]) rotate([0,0,50]) scale([25,25,25]) BasinSpout();
    	translate([-25000,30000,14000]) rotate([0,0,100]) scale([20,20,20]) BasinSpout();
    }
    
    module Scene()
    {
    	Fountain();
    }
    
    Scene();
    Last edited by Redrobes; 11-30-2022 at 06:10 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •