Close



Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: next project

  1. #1
    Student DarthCrucias's Avatar
    Join Date
    Mar 2015
    Location
    Indiana
    Posts
    16

    next project

    i am now working on crafting chess pieces for a custom set i want to make. here is the king. any comments and critiques (be it that they be constructive) would be helpful.

    chess_king.scad
    Attached Images Attached Images

  2. #2
    Super Moderator curious aardvark's Avatar
    Join Date
    Jul 2014
    Posts
    8,818
    how did you do the reverse curve for the body ?
    that looks really neat.

  3. #3
    Student DarthCrucias's Avatar
    Join Date
    Mar 2015
    Location
    Indiana
    Posts
    16
    // create the donut shape that i am removing from the shaft
    module donut()
    {
    rotate_extrude()
    translate([41,0,0])
    circle(35);
    }
    //shaft
    // create the shaft, and remove the donut
    difference()
    {
    // shrinkwrap (hull) a large radius base cylinder and a small radius elevated cylinder to serve as the core of the shaft
    hull()
    {cylinder(5,15,15);
    translate([0,0,35])
    cylinder(5,8,8);
    }

    translate([0,0,28])
    donut();
    }

  4. #4
    Super Moderator curious aardvark's Avatar
    Join Date
    Jul 2014
    Posts
    8,818
    very cool - and very neat code too.
    You're way better at this than I am :-)
    I really do have to start using modules.

    The only slight issue I see is printing the cross. that'll need supports unless you slant the crosspieces up slightly

  5. #5
    Staff Engineer LambdaFF's Avatar
    Join Date
    Jan 2014
    Location
    France, Aix en Provence
    Posts
    1,139
    Nice shape.
    I don't know the scale you are shooting for but make sure your diameter is over 1mm for the cross (or you print with a 0,2 nozzle ?). Otherwise, won't be easy.

  6. #6
    Student DarthCrucias's Avatar
    Join Date
    Mar 2015
    Location
    Indiana
    Posts
    16
    I will tweak the design as needed when I get a printer. Atm I am in the design phase only. Ty for the tip tho. That is the kind of thing I need to know

    i am looking at the peachy printer, but I want to wait till there are some actual user reviews first before I buy it

    and aardvark, modules are nice if you want to compartmentalizations a whole shape, then translate or scale it as a whole. If you have projects that you are doing that are modifications off of each other, you may also want to look into importing shapes. Something I could have done with the queen (instead of copying the shaft code over) was create and save just the shaft, then import it as an object and use it like 'sphere()' or 'cylinder()'. Basically, it allows you to create your own library of custom shapes so u don't have to reinvent the wheel each time

  7. #7
    Student DarthCrucias's Avatar
    Join Date
    Mar 2015
    Location
    Indiana
    Posts
    16
    i have been busy, but have finished some of the other pieces, and in doing so, have learned some techniques

    note the code for the crown of the bishop. the () after the module is for you to add variables specific to that module. they can be defined when you insert the module in the code later. this allows for you to create a template and then use different dimensions or locations for each iteration. i remembered using that in java and it works here too.


    chess_bishup.scad
    chess_pawn.scad
    chess_queen.scad
    chess_rook.scad
    chess_unicorn.scad

  8. #8
    Student DarthCrucias's Avatar
    Join Date
    Mar 2015
    Location
    Indiana
    Posts
    16
    ok, im having trouble with the knight. i need to make a cone, but with the top point shifted off the center axis of the cylinder. does anyone have any suggestions on how to do this?

  9. #9
    Super Moderator curious aardvark's Avatar
    Join Date
    Jul 2014
    Posts
    8,818
    dead easy just use two stacked cones and move the second one.

    for example:
    $fn=100;
    cylinder(d1=30,d2=15,h=30);
    translate ([0,4,30]) cylinder(d1=15,d2=1,h=15);


    You can rescale the top cylinder to give a more horsey like profile :-)

  10. #10
    Student DarthCrucias's Avatar
    Join Date
    Mar 2015
    Location
    Indiana
    Posts
    16
    actually, i figured out how to do what i wanted. it was more like this

    //base
    cylinder(5,15,15);
    //body
    translate([0,0,5])
    intersection()
    {
    cylinder(30,15,15);
    translate([0,0,-5])
    rotate([0,10,0])
    cylinder(40,18,0);
    }

    i have had a busy few weeks, so i havent had time to get back to it, but im gonna spend some time today on it

Page 1 of 2 12 LastLast

Posting Permissions

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