Created
January 30, 2018 02:19
-
-
Save hakanai/bdecc3874e496d14d225d3fad83041a3 to your computer and use it in GitHub Desktop.
Basic example of how to model Miku's hair accessories in OpenSCAD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
color([0,0,0,1]) { | |
difference() { | |
cube([10,10,1], true); | |
cube([8,8,1.1], true); | |
for (i = [0:90:270]) { | |
rotate([0,0,i]) { | |
translate([4.8,0,0]) { | |
cube([0.6,11,1/3], true); | |
} | |
} | |
} | |
} | |
} | |
color([1,0,1/2,1]) { | |
for (i = [0:90:270]) { | |
rotate([0,0,i]) { | |
translate([4.65,0,0]) { | |
cube([0.3,9.6,1/3], true); | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment