Close



Page 4 of 4 FirstFirst ... 234
Results 31 to 33 of 33

Hybrid View

  1. #1
    Staff Engineer
    Join Date
    Jun 2014
    Posts
    887
    Quote Originally Posted by jamcultur View Post
    Do you have OpenSCAD? I can send you the script. It is set up so that you can use it with the customizer to change the width and height of the object.
    Is your code a state secret too? Something I can view and be illuminated?

  2. #2
    Engineer-in-Training
    Join Date
    Jul 2020
    Location
    Monterey Bay, California
    Posts
    368
    Add jamcultur on Thingiverse
    Here's what the code should look like:

    Griffenmcg2.JPG

  3. #3
    Super Moderator curious aardvark's Avatar
    Join Date
    Jul 2014
    Posts
    8,818
    lol thought someone who wasn't broke would do that.
    Clever way to do it too - way simpler than my method.
    If only i understood geometry :-)

    Added another variable to give you control over the angle of rotation, makes some interesting shapes :-)
    width = 76;
    height = 130;
    ar=100; // angle of rotation

    module draw_one() {
    hull() {
    cube([width, width, 0.01], center=true);
    translate([0, 0, (height/2)]) rotate([0, 0, ar]) cube([width, width, 0.01], center=true);
    }
    }

    draw_one();
    translate([0, 0, (height/2)-0.01]) rotate([0, 0, ar]) draw_one();
    Last edited by curious aardvark; 09-11-2020 at 09:50 AM.

Page 4 of 4 FirstFirst ... 234

Posting Permissions

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