Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news


  

Author Topic: 3D Printing : Arcade Edition Thread  (Read 7888 times)

0 Members and 1 Guest are viewing this topic.

Titchgamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2746
  • I have a gaming addiction.....
Re: 3D Printing : Arcade Edition Thread
« Reply #120 on: January 19, 2018, 04:43:29 pm »
Ile be finishing all my prints once my paint arrives lol

Though the tank is still a work in progress, Need to print the tracks and guns then prep it all and paint.

Q*bert will be painted soon as my air brush paint arrives :)

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7793
  • Obey.
    • The Chris Burke Band
Re: 3D Printing : Arcade Edition Thread
« Reply #121 on: January 19, 2018, 05:05:21 pm »
Doesn't anyone bother finishing anything they 3D print? Have some pride in workmanship. The machine does all the work. The least you can do is get out some sandpaper or paint or something. I saw a Pokemon planter somewhere in this forum. It was actually finished. It looked sweet. I get it if the part is not going to be displayed, but most of this stuff is meant for display.

That Pokemon planter owns.  My wife loves it.

 :cheers:

05SRT4

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1046
  • Check out my Pow Pow
Re: 3D Printing : Arcade Edition Thread
« Reply #122 on: January 19, 2018, 10:05:54 pm »
Doesn't anyone bother finishing anything they 3D print? Have some pride in workmanship. The machine does all the work. The least you can do is get out some sandpaper or paint or something. I saw a Pokemon planter somewhere in this forum. It was actually finished. It looked sweet. I get it if the part is not going to be displayed, but most of this stuff is meant for display.

That Pokemon planter owns.  My wife loves it.

 :cheers:

I enjoyed painting it. Need to get a airbrush kit next. Still waiting on someone to print that pirate though......

yotsuya

  • Trade Count: (+21)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 18045
  • 2014 UCA Winner, 2014, 2015, 2016 ZapCon Winner
    • forum.arcadecontrols.com/index.php/topic,137636.msg1420628.html
Re: 3D Printing : Arcade Edition Thread
« Reply #123 on: March 08, 2018, 10:18:55 pm »
If you can guess what this is, I will print and send you one. First person only!



Smass, I still owe you the button plugs. Will mail soon.
***Build what you dig, bro. Build what you dig.***

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7793
  • Obey.
    • The Chris Burke Band
Re: 3D Printing : Arcade Edition Thread
« Reply #124 on: March 08, 2018, 10:23:19 pm »
Quarter holder?


yotsuya

  • Trade Count: (+21)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 18045
  • 2014 UCA Winner, 2014, 2015, 2016 ZapCon Winner
    • forum.arcadecontrols.com/index.php/topic,137636.msg1420628.html
Re: 3D Printing : Arcade Edition Thread
« Reply #125 on: March 08, 2018, 10:26:45 pm »
Quarter holder?

Good guess. Nope.
***Build what you dig, bro. Build what you dig.***

Titchgamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2746
  • I have a gaming addiction.....
Re: 3D Printing : Arcade Edition Thread
« Reply #126 on: March 09, 2018, 03:22:46 am »

Mike A

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2335
  • Buy a Multimeter
Re: 3D Printing : Arcade Edition Thread
« Reply #127 on: March 09, 2018, 04:22:43 am »
smass, I still owe you the button plugs. Will mail soon.

I had to read that twice this morning. Man I need some coffee. :laugh2:

05SRT4

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1046
  • Check out my Pow Pow
Re: 3D Printing : Arcade Edition Thread
« Reply #128 on: March 09, 2018, 05:43:57 am »
When I skimmed over it I saw the same thing at first.

Mike A

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2335
  • Buy a Multimeter
Re: 3D Printing : Arcade Edition Thread
« Reply #129 on: March 09, 2018, 06:05:32 am »
Does that say something about us?

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7793
  • Obey.
    • The Chris Burke Band
Re: 3D Printing : Arcade Edition Thread
« Reply #130 on: March 09, 2018, 07:05:33 am »
He knew what he was doing when he posted that.


yotsuya

  • Trade Count: (+21)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 18045
  • 2014 UCA Winner, 2014, 2015, 2016 ZapCon Winner
    • forum.arcadecontrols.com/index.php/topic,137636.msg1420628.html
Re: 3D Printing : Arcade Edition Thread
« Reply #131 on: March 09, 2018, 08:20:10 am »
Hey, Yot donít judge...
***Build what you dig, bro. Build what you dig.***

yotsuya

  • Trade Count: (+21)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 18045
  • 2014 UCA Winner, 2014, 2015, 2016 ZapCon Winner
    • forum.arcadecontrols.com/index.php/topic,137636.msg1420628.html
Re: 3D Printing : Arcade Edition Thread
« Reply #132 on: March 09, 2018, 08:40:02 am »
Here it is in hand. Any more guesses?

***Build what you dig, bro. Build what you dig.***

Nephasth

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 933
  • Bitches love Centipede
Re: 3D Printing : Arcade Edition Thread
« Reply #133 on: March 09, 2018, 11:16:57 am »
Nobody knows wtf that is.
%Bartop

yotsuya

  • Trade Count: (+21)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 18045
  • 2014 UCA Winner, 2014, 2015, 2016 ZapCon Winner
    • forum.arcadecontrols.com/index.php/topic,137636.msg1420628.html
Re: 3D Printing : Arcade Edition Thread
« Reply #134 on: March 09, 2018, 11:20:39 am »
HaRuMaN does
***Build what you dig, bro. Build what you dig.***

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7793
  • Obey.
    • The Chris Burke Band
Re: 3D Printing : Arcade Edition Thread
« Reply #135 on: March 09, 2018, 11:32:27 am »
Ball shaver.

Nephasth

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 933
  • Bitches love Centipede
Re: 3D Printing : Arcade Edition Thread
« Reply #136 on: March 09, 2018, 11:57:50 am »
The only thing that comes to mind is a tool to aid in the installation of t-molding around corners. But that just raises the question, why wasn't it designed more ergonomically? So I guess that's out.
%Bartop

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7793
  • Obey.
    • The Chris Burke Band
Re: 3D Printing : Arcade Edition Thread
« Reply #137 on: March 09, 2018, 12:06:57 pm »
Router guide for cutting rounded corners?

 :dunno

Nephasth

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 933
  • Bitches love Centipede
Re: 3D Printing : Arcade Edition Thread
« Reply #138 on: March 09, 2018, 12:14:51 pm »
Damn, Jim... Now I'm kind of wanting to buy a 3D printer...
%Bartop

05SRT4

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1046
  • Check out my Pow Pow
Re: 3D Printing : Arcade Edition Thread
« Reply #139 on: March 09, 2018, 12:22:34 pm »
It's definitely not a pirate model.......

yotsuya

  • Trade Count: (+21)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 18045
  • 2014 UCA Winner, 2014, 2015, 2016 ZapCon Winner
    • forum.arcadecontrols.com/index.php/topic,137636.msg1420628.html
Re: 3D Printing : Arcade Edition Thread
« Reply #140 on: March 09, 2018, 12:33:38 pm »
Router guide for cutting rounded corners?

 :dunno

Close. Think of the inverse
***Build what you dig, bro. Build what you dig.***

Slippyblade

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3152
  • And to the death god we say, "Not today!"
Re: 3D Printing : Arcade Edition Thread
« Reply #141 on: March 09, 2018, 06:57:21 pm »
Is it a jig to measure rounded corners?  I'm actually cutting myself several in different sizes.

yotsuya

  • Trade Count: (+21)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 18045
  • 2014 UCA Winner, 2014, 2015, 2016 ZapCon Winner
    • forum.arcadecontrols.com/index.php/topic,137636.msg1420628.html
Re: 3D Printing : Arcade Edition Thread
« Reply #142 on: March 09, 2018, 07:03:15 pm »
Is it a jig to measure rounded corners?  I'm actually cutting myself several in different sizes.

Very close, brother.

Itís a jig to help me re-Bondo and putty the rounded corners on my Dynamo cab. Iíll apply the putty, then press down on the round part, let it dry, then sand. Beats shaping it by hand.
***Build what you dig, bro. Build what you dig.***

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6858
  • 2013 UCA Awardee
Re: 3D Printing : Arcade Edition Thread
« Reply #143 on: March 09, 2018, 07:16:23 pm »
Is it a jig to measure rounded corners?
The name of the tool you're thinking about is a fillet gauge.

There are tons of them on thingiverse.

Here's the OpenSCAD code for a few of them I designed to measure curves on a small octagon.

Small metric 1 - 2.5mm
Code: [Select]
$fn=360;
//
difference (){
translate([0,0,0]) linear_extrude(height = 2, scale = 1)
        polygon(ngon(8,10));
        //linear extrude octagon
translate([-10,0,1]) cylinder(4, r=1, center=true); //Left

translate([0,10,1]) cylinder(4, r=1.5, center=true); //Top

translate([10,0,1]) cylinder(4, r=2, center=true); //Right

translate([0,-10,1]) cylinder(4, r=2.5, center=true); //Bottom

}
//

// Module call
LeftNumber("1");
// Module defined
module LeftNumber(letter, size=6) {
        translate([-5,0,1]) {
            color("black") linear_extrude(height=2, convexity=4)
                text(letter,
                     size=size*22/30,
                     font="Bitstream Vera Sans",
                     halign="center",
                     valign="center");
        }
}
//

// Module call
TopNumber("1.5");
// Module defined
module TopNumber(letter, size=6) {
        translate([0,5,1]) {
            color("black") linear_extrude(height=2, convexity=4)
                text(letter,
                     size=size*22/30,
                     font="Bitstream Vera Sans",
                     halign="center",
                     valign="center");
        }
}
//

// Module call
RightNumber("2");
// Module defined
module RightNumber(letter, size=6) {
        translate([5,0,1]) {
            color("black") linear_extrude(height=2, convexity=4)
                text(letter,
                     size=size*22/30,
                     font="Bitstream Vera Sans",
                     halign="center",
                     valign="center");
        }
}
//

// Module call
LowerNumber("2.5");
// Module defined
module LowerNumber(letter, size=6) {
        translate([0,-5,1]) {
            color("black") linear_extrude(height=2, convexity=4)
                text(letter,
                     size=size*22/30,
                     font="Bitstream Vera Sans",
                     halign="center",
                     valign="center");
        }
}
//

// Simple list comprehension for creating N-gon vertices
function ngon(num, r) =
[for (i=[0:num-1], a=i*360/num) [ r*cos(a), r*sin(a) ]];
// "ngon" function from "Polygon areas.scad" example. Written in 2015 by Marius Kintel <marius@kintel.net>
//

X-small metric 0.6-0.9mm
Code: [Select]
$fn=360;
//
difference (){
translate([0,0,0]) linear_extrude(height = 2, scale = 1)
        polygon(ngon(8,10));
        //linear extrude octagon
translate([-10,0,1]) cylinder(4, r=.6, center=true); //Left

translate([0,10,1]) cylinder(4, r=.7, center=true); //Top

translate([10,0,1]) cylinder(4, r=.8, center=true); //Right

translate([0,-10,1]) cylinder(4, r=.9, center=true); //Bottom

}
//

// Module call
LeftNumber(".6");
// Module defined
module LeftNumber(letter, size=6) {
        translate([-5,0,1]) {
            color("black") linear_extrude(height=2, convexity=4)
                text(letter,
                     size=size*22/30,
                     font="Bitstream Vera Sans",
                     halign="center",
                     valign="center");
        }
}
//

// Module call
TopNumber(".7");
// Module defined
module TopNumber(letter, size=6) {
        translate([0,5,1]) {
            color("black") linear_extrude(height=2, convexity=4)
                text(letter,
                     size=size*22/30,
                     font="Bitstream Vera Sans",
                     halign="center",
                     valign="center");
        }
}
//

// Module call
RightNumber(".8");
// Module defined
module RightNumber(letter, size=6) {
        translate([5,0,1]) {
            color("black") linear_extrude(height=2, convexity=4)
                text(letter,
                     size=size*22/30,
                     font="Bitstream Vera Sans",
                     halign="center",
                     valign="center");
        }
}
//

// Module call
LowerNumber(".9");
// Module defined
module LowerNumber(letter, size=6) {
        translate([0,-5,1]) {
            color("black") linear_extrude(height=2, convexity=4)
                text(letter,
                     size=size*22/30,
                     font="Bitstream Vera Sans",
                     halign="center",
                     valign="center");
        }
}
//

// Simple list comprehension for creating N-gon vertices
function ngon(num, r) =
[for (i=[0:num-1], a=i*360/num) [ r*cos(a), r*sin(a) ]];
// "ngon" function from "Polygon areas.scad" example. Written in 2015 by Marius Kintel <marius@kintel.net>
//     


Scott

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6858
  • 2013 UCA Awardee
Re: 3D Printing : Arcade Edition Thread
« Reply #144 on: March 09, 2018, 07:36:16 pm »
Happ-sized (55mm) dust washer based on the Ikari Warriors joystick surround artwork.

Print the .stl using a 0.4mm nozzle or use the .scad, .dxf, and .svg files to make custom-size washers and/or change the line thicknesses.

Details are in the enclosed Readme file.


Scott
EDIT: On line 20 of the SCAD file, you may need to increase the variable "FineThick" (fine line width) to 0.6 to generate a STL that works with your slicer software and printer.

I tried 0.41 and 0.45, but both resulted in the slicer missing some of the lines.   :banghead:
« Last Edit: April 14, 2018, 07:04:51 pm by PL1 »

Nephasth

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 933
  • Bitches love Centipede
Re: 3D Printing : Arcade Edition Thread
« Reply #145 on: March 09, 2018, 07:52:06 pm »
Is it a jig to measure rounded corners?  I'm actually cutting myself several in different sizes.

Very close, brother.

Itís a jig to help me re-Bondo and putty the rounded corners on my Dynamo cab. Iíll apply the putty, then press down on the round part, let it dry, then sand. Beats shaping it by hand.

You expected us to guess THAT!?!
%Bartop

yotsuya

  • Trade Count: (+21)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 18045
  • 2014 UCA Winner, 2014, 2015, 2016 ZapCon Winner
    • forum.arcadecontrols.com/index.php/topic,137636.msg1420628.html
Re: 3D Printing : Arcade Edition Thread
« Reply #146 on: March 09, 2018, 07:54:21 pm »
Is it a jig to measure rounded corners?  I'm actually cutting myself several in different sizes.

Very close, brother.

Itís a jig to help me re-Bondo and putty the rounded corners on my Dynamo cab. Iíll apply the putty, then press down on the round part, let it dry, then sand. Beats shaping it by hand.

You expected us to guess THAT!?!

Put the yayo down and actually LOOK at it.... ;)
***Build what you dig, bro. Build what you dig.***

Nephasth

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 933
  • Bitches love Centipede
Re: 3D Printing : Arcade Edition Thread
« Reply #147 on: March 09, 2018, 08:03:02 pm »
Is it a jig to measure rounded corners?  I'm actually cutting myself several in different sizes.

Very close, brother.

It’s a jig to help me re-Bondo and putty the rounded corners on my Dynamo cab. I’ll apply the putty, then press down on the round part, let it dry, then sand. Beats shaping it by hand.

You expected us to guess THAT!?!

Put the yayo down and actually LOOK at it.... ;)

LOL... Yeah, cuz my guess of it being a tool to press t-molding into a corner is nothing like it being a tool to shape bondo into a corner... ::)

Dude, I stared at that ---smurfing--- thing for far too long.

But kudos on making the 3D printer to the ---steaming pile of meadow muffin--- work.
« Last Edit: March 09, 2018, 08:04:39 pm by Nephasth »
%Bartop

yotsuya

  • Trade Count: (+21)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 18045
  • 2014 UCA Winner, 2014, 2015, 2016 ZapCon Winner
    • forum.arcadecontrols.com/index.php/topic,137636.msg1420628.html
Re: 3D Printing : Arcade Edition Thread
« Reply #148 on: March 09, 2018, 08:10:35 pm »
Is it a jig to measure rounded corners?  I'm actually cutting myself several in different sizes.

Very close, brother.

Itís a jig to help me re-Bondo and putty the rounded corners on my Dynamo cab. Iíll apply the putty, then press down on the round part, let it dry, then sand. Beats shaping it by hand.

You expected us to guess THAT!?!

Put the yayo down and actually LOOK at it.... ;)

LOL... Yeah, cuz my guess of it being a tool to press t-molding into a corner is nothing like it being a tool to shape bondo into a corner... ::)

Dude, I stared at that ---smurfing--- thing for far too long.

But kudos on making the 3D printer to the ---steaming pile of meadow muffin--- work.

Yeah, Iím all about printing functional items. No tugboats for me!
***Build what you dig, bro. Build what you dig.***

HaRuMaN

  • Supreme Solder King
  • Global Moderator
  • Trade Count: (+45)
  • Full Member
  • *****
  • Online Online
  • Posts: 10205
  • boom
    • Arcade Madness
Re: 3D Printing : Arcade Edition Thread
« Reply #149 on: March 09, 2018, 08:15:20 pm »
Is it a jig to measure rounded corners?  I'm actually cutting myself several in different sizes.

Very close, brother.

Itís a jig to help me re-Bondo and putty the rounded corners on my Dynamo cab. Iíll apply the putty, then press down on the round part, let it dry, then sand. Beats shaping it by hand.

You expected us to guess THAT!?!

I guessed it.  lol

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16651
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: 3D Printing : Arcade Edition Thread
« Reply #150 on: March 09, 2018, 11:26:02 pm »
Is it a jig to measure rounded corners?  I'm actually cutting myself several in different sizes.

Very close, brother.

Itís a jig to help me re-Bondo and putty the rounded corners on my Dynamo cab. Iíll apply the putty, then press down on the round part, let it dry, then sand. Beats shaping it by hand.

You expected us to guess THAT!?!

Put the yayo down and actually LOOK at it.... ;)

LOL... Yeah, cuz my guess of it being a tool to press t-molding into a corner is nothing like it being a tool to shape bondo into a corner... ::)

Dude, I stared at that ---smurfing--- thing for far too long.

But kudos on making the 3D printer to the ---steaming pile of meadow muffin--- work.

Yeah, Iím all about printing functional items. No tugboats for me!

See this is why we get along so well... you totally get me man.  Work smarter, not harder.  :)

yotsuya

  • Trade Count: (+21)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 18045
  • 2014 UCA Winner, 2014, 2015, 2016 ZapCon Winner
    • forum.arcadecontrols.com/index.php/topic,137636.msg1420628.html
Re: 3D Printing : Arcade Edition Thread
« Reply #151 on: March 10, 2018, 12:30:13 am »
Is it a jig to measure rounded corners?  I'm actually cutting myself several in different sizes.

Very close, brother.

Itís a jig to help me re-Bondo and putty the rounded corners on my Dynamo cab. Iíll apply the putty, then press down on the round part, let it dry, then sand. Beats shaping it by hand.

You expected us to guess THAT!?!

Put the yayo down and actually LOOK at it.... ;)

LOL... Yeah, cuz my guess of it being a tool to press t-molding into a corner is nothing like it being a tool to shape bondo into a corner... ::)

Dude, I stared at that ---smurfing--- thing for far too long.

But kudos on making the 3D printer to the ---steaming pile of meadow muffin--- work.

Yeah, Iím all about printing functional items. No tugboats for me!

See this is why we get along so well... you totally get me man.  Work smarter, not harder.  :)

I still owe you a drink of choice for introducing me to the Anet A8...
***Build what you dig, bro. Build what you dig.***

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6858
  • 2013 UCA Awardee
Re: 3D Printing : Arcade Edition Thread
« Reply #152 on: September 15, 2018, 12:47:03 am »
The ones that I'm aware of don't print the outer part of the wheel, they just do the teeth.  Post a link if you know of one that does that outer ring.

Been years, but a quick google search turned up this one:


This download link looks legit, but I haven't verified.
http://www.societyofrobots.com/downloads/

EDIT: now get on that 3D printed 720į controller with it's unique encoder wheel
If anyone wants to make a custom 720į-style encoder wheel, I've remixed the OpenSCAD Customizable Optical Encoder generator here to include a 6mm (d=6) indexing hole.

Inserted this code just before the last line. (new lines 281 and 282)
Code: [Select]
   translate ([0, outer_diameter/2 - rim_width - slit_length * 2, 0])
    cylinder (wheel_height + 1 ,d=6,center=true);

Translate means move, so if you want to move the index hole along the Y-axis, add to or subtract from the Y-axis value.

Current Y-axis location value:     "outer_diameter/2 - rim_width - slit_length * 2"
Move 3mm closer to the rim:     "outer_diameter/2 - rim_width - slit_length * 2 + 3"
Move 5mm closer to the center: "outer_diameter/2 - rim_width - slit_length * 2 - 5"

Full remix code:
Code: [Select]
//customizable optical encoder
// James Wickware - 7/18/2016

// preview[view:north east, tilt:top diagonal]

/* [Encoder] */
// the outer diameter of the optical encoder in millimeters.
outer_diameter = 150; //[0:150]

// the height of the encoder wheel in millimeters.
wheel_height = 2; //[0.1:0.1:20]

// the length of the slits in millimeters.
slit_length = 6; //[0:0.5:75]

// the number of slits in the encoder.
slit_count = 72; // [2:100]

// the ratio of the slit opening to the solid section between the slits. (0.5 is equal )
slit_ratio = 0.5; // [0.05:0.05:0.95]

// the distance between the outer diameter and the opening of the slits in millimeters.
rim_width =  1.8; // [0:0.25:25]



/* [Hub] */
// the diameter of the inner hub in millimeters.
hub_diameter = 12; // [0:0.25:25]

// the length that the hub shaft extends from the encoder wheel in millimeters.
hub_height = 4; // [0:0.5:50]


/* [Shaft] */
// the type of shaft 0 for circular shaft, 1 d shaft (circular with 1 flat, 2 double d shaft (circular with 2 flats), 3 for square shaft 4 for hex shaft, 5 for octagonal shaft.
shaft_type =2; //[0:Cylindrical Shaft, 1:D Type Shaft,2:Double D type Shaft,3:Square Shaft, 4:Hexagonal Shaft, 5:Octagonal Shaft]

// the diameter of the hole for the shaft in millimeters.
shaft_diameter = 4.5; //[0:0.1:20]

// Choose whether or not you want the shaft to go all the way through the encoder wheel.
shaft_goes_through_encoder =0 ; // [0:False,1:True]

// the depth of the flat from the outside edge of the shaft in millimeters (for d and double d shaft type only).
shaft_flat_depth = 1; // [0:0.1:10]


/* [Set Screw] */
// choose whether to include a hole for a set screw
set_screw = 1; // [0:False,1:True]

// the size of the set screw in millimeters
set_screw_diameter = 3; // [0:0.5:10]

// choose whether to include a slot for a set screw nut (automatically disabled when there is not enough room for it).
set_screw_nut = 1; // [0:False,1:True]

// the set screw nut diameter in millimeters. (for hex nuts, the distance from one corner to the opposite corner)
set_screw_nut_diameter = 5; // [1:0.25:14]
 
//  the set screw nut thickness in millimeters
set_screw_nut_thickness = 2; //[0.25:0.25:10]

/* [Hidden] */

// the outer radius
outer_radius = max(outer_diameter/2, hub_diameter/2);

// the hub radius.
hub_radius = hub_diameter/2;
shaft_radius = shaft_diameter/2;

// the depth of the hole for the shaft in millimeters.
shaft_depth = hub_height + (wheel_height*shaft_goes_through_encoder); 

// calcuate whether or not the set screw and or nut can safely be included.
min_set_screw_nut_diameter = set_screw_diameter + 0.5;
max_set_screw_nut_diameter = (hub_diameter - shaft_diameter) * 0.6; // allow 60% of distance between shaft and hub
max_set_screw_nut_thickness = (hub_radius - shaft_radius) * 0.6; // allow 60% of distance between shaft and hub

can_have_screw =  (hub_height-0.99 > set_screw_diameter)  ? 1:0 ;
 
can_have_nut =  ((set_screw_diameter > 0) ? 1: 0)
                 * ((set_screw_diameter < set_screw_nut_diameter) ? 1:0)
                * ((set_screw_nut_thickness < max_set_screw_nut_thickness) ? 1:0)
                * set_screw_nut
                * can_have_screw;
echo(can_have_screw);
echo(can_have_nut);

set_screw_nut_offset = (((shaft_type == 0) ? 1:0) * .95)
                       +(((shaft_type == 1) ? 1:0) * .85)
                       +(((shaft_type == 2) ? 1:0) * .85)
                       +(((shaft_type == 3) ? 1:0) * .925)
                       +(((shaft_type == 4) ? 1:0) * .925)
                       +(((shaft_type == 5) ? 1:0) * .925)
                       +(((shaft_type == 6) ? 1:0) * .925)
                       +(((shaft_type == 7) ? 1:0) * .925)
                       +(((shaft_type == 8) ? 1:0) * .925)
                       ;
                       
                       
                       echo(set_screw_nut_offset);
// fudge factor to prevent coplanar boolean issues
fudge = 0.01;
difference(){
    union(){
 
        // Setup variables for wheel
        outer_rad = max((outer_radius - rim_width ) + fudge, hub_radius + fudge) ;
        inner_rad = max((outer_radius - rim_width - max(slit_length,0)) + fudge , hub_radius + fudge );
        step = 360/slit_count;
        half_step = step/2;
        qtr_step =  half_step / 2 ;       
       
        echo("step");
        echo (step);
        ratio_angle = (slit_ratio-0.5) * half_step;
        // don't create slits if some touch-hard has made the hub too big
        if(outer_rad > inner_rad){
            // create the wheel
            difference(){
                cylinder(r = outer_diameter/2, h= wheel_height, $fn = slit_count * 2, center = true);
             
                if( slit_count%2 == 0){

                    // create slits
                    for (i = [0 :  step : 360 - fudge  ])
                    {
                        points = [
                        [ sin(i +ratio_angle)*outer_rad, cos(i+ratio_angle)*outer_rad , -wheel_height ], 
                        [ sin(i +ratio_angle)*inner_rad, cos(i+ratio_angle)*inner_rad,  -wheel_height ],
                        [ sin(i+half_step - ratio_angle)*inner_rad , cos(i+half_step- ratio_angle)*inner_rad, -wheel_height ], 
                        [ sin(i+half_step - ratio_angle)*outer_rad,  cos(i+half_step- ratio_angle)*outer_rad, -wheel_height ],
                        [ sin(i+ratio_angle)*outer_rad, cos(i+ratio_angle)*outer_rad,  wheel_height ],
                        [ sin(i+ratio_angle)*inner_rad, cos(i+ratio_angle)*inner_rad,  wheel_height ],
                        [ sin(i+half_step - ratio_angle)*inner_rad , cos(i+half_step- ratio_angle)*inner_rad,  wheel_height ],
                        [ sin(i+half_step - ratio_angle)*outer_rad,  cos(i+half_step- ratio_angle)*outer_rad,  wheel_height ]
                        ];

                        faces = [
                        [0,1,2,3],   
                        [4,5,1,0],   
                        [7,6,5,4],   
                        [5,6,2,1],   
                        [6,7,3,2], 
                        [7,4,0,3]]; 

                        rotate(0,0,i)
                        polyhedron( points, faces ) ;
                    }
                }
                else{   
                    for (i = [0 :  step : 360  - fudge])
                    {
                        points = [
                        [ sin(i-qtr_step)*outer_rad, cos(i-qtr_step)*outer_rad , -wheel_height ], 
                        [ sin(i-qtr_step)*inner_rad, cos(i-qtr_step)*inner_rad,  -wheel_height ],
                        [ sin(i+qtr_step)*inner_rad , cos(i+qtr_step)*inner_rad, -wheel_height ], 
                        [ sin(i+qtr_step)*outer_rad,  cos(i+qtr_step)*outer_rad, -wheel_height ],
                        [ sin(i-qtr_step)*outer_rad, cos(i-qtr_step)*outer_rad,  wheel_height ],
                        [ sin(i-qtr_step)*inner_rad, cos(i-qtr_step)*inner_rad,  wheel_height ],
                        [ sin(i+qtr_step)*inner_rad , cos(i+qtr_step)*inner_rad,  wheel_height ],
                        [ sin(i+qtr_step)*outer_rad,  cos(i+qtr_step)*outer_rad,  wheel_height ]
                        ];

                        faces = [
                        [0,1,2,3],   
                        [4,5,1,0],   
                        [7,6,5,4],   
                        [5,6,2,1],   
                        [6,7,3,2], 
                        [7,4,0,3]]; 

                        rotate(0,0,i)
                        polyhedron( points, faces ) ;
                    }
                }
               
            }
        }
       
        // create hub
        if(hub_height > 0){
            if(set_screw == 1 && set_screw_diameter > 0 && can_have_screw == 1){
                difference(){
                  translate([0,0, ((hub_height/2) + (wheel_height /2))] )       
                  cylinder(r= min(hub_diameter/2, (outer_diameter/2)-fudge ), h = hub_height +(fudge*2), $fn = slit_count *2, center = true);
                   
                    // set screw hole
                    translate([0,0, ((hub_height/2) + (wheel_height/2 ))] )
                    rotate([-90,0,0])
                     cylinder(r=set_screw_diameter/2, h=hub_diameter, $fn=16);
                    if(can_have_nut == 1){
                    // set screw nut
                   translate([0,(hub_radius - ((hub_radius-shaft_radius)/2))*set_screw_nut_offset, ((hub_height/2) + (wheel_height/2 ))] )     
                    rotate([90,00,00])
                    cylinder(r=max(min_set_screw_nut_diameter/2,set_screw_nut_diameter/2), h=max(set_screw_nut_thickness,0.25) +fudge, $fn=6, center = true);
                   
                   translate([0,(hub_radius - ((hub_radius-shaft_radius)/2))*set_screw_nut_offset, ((hub_height/2) + (wheel_height/2 )) +
                    (((hub_height/2) + (wheel_height/2 )+set_screw_nut_diameter /2 )-fudge) /2] ) 
                    cube([max(min_set_screw_nut_diameter ,set_screw_nut_diameter ) ,max(set_screw_nut_thickness,0.25)-fudge,(((hub_height/2) + (wheel_height/2 )+max(min_set_screw_nut_diameter ,set_screw_nut_diameter ) /2 ))  ],center=true);
                    }
                   
                    }
            }
            else {
                translate([0,0, ((hub_height/2) + (wheel_height /2))] )       
                cylinder(r= min(hub_diameter/2, (outer_diameter/2)-fudge ), h = hub_height +(fudge*2), $fn = slit_count *2, center = true);       
            }
        }
    };
 
 // shaft
    // cylindrical shaft
    if(shaft_type == 0){
        translate([0,0, ((shaft_depth/2) + (wheel_height /2) + (hub_height ))]) // move shaft to the top of the hub
        translate([0,0,-min(shaft_depth, hub_height+wheel_height)]) // insert the shaft until it hits bottom >:)

        cylinder(r= shaft_diameter/2, h=shaft_depth + (fudge*4) , $fn = max(slit_count*2, 6) ,center = true);
    }
   
    // d type shaft
    if(shaft_type == 1)
    {
        translate([0,0, ((shaft_depth/2) + (wheel_height /2) + (hub_height ))]) // move shaft to the top of the hub
        translate([0,0,-min(shaft_depth, hub_height+wheel_height)]) // insert the shaft until it hits bottom >:)
   
        difference(){
            cylinder(r= shaft_diameter/2, h=shaft_depth + (fudge*4) , $fn = max(slit_count*2, 6) ,center = true);   
       
            translate([0, max( shaft_diameter - shaft_flat_depth , shaft_diameter/2),0  ])
            cube ( [shaft_diameter*2,shaft_diameter, shaft_depth*2 ], center = true)  ;
       } 
    }

    // double d type shaft -- double D = big breasts --
    if (shaft_type == 2)
    {
        translate([0,0, ((shaft_depth/2) + (wheel_height /2) + (hub_height ))]) // move shaft to the top of the hub
        translate([0,0,-min(shaft_depth, hub_height+wheel_height)]) // insert the shaft until it hits bottom >:)
   
        difference(){
            cylinder(r= shaft_diameter/2, h=shaft_depth + (fudge*4) , $fn = max(slit_count*2, 6) ,center = true);   
         
            translate([0, max( shaft_diameter - shaft_flat_depth , shaft_diameter/2),0  ])
            cube ( [shaft_diameter*2,shaft_diameter, shaft_depth*2 ], center = true);
         
            translate([0, min( -( shaft_diameter - shaft_flat_depth), -(shaft_diameter/2)),0  ])
            cube ( [shaft_diameter*2,shaft_diameter, shaft_depth*2 ], center = true);
        } 
    }
   
    // square shaft
    if (shaft_type == 3)
    {
        translate([0,0, ((shaft_depth/2) + (wheel_height /2) + (hub_height ))]) // move shaft to the top of the hub
        translate([0,0,-min(shaft_depth, hub_height+wheel_height)]) // insert the shaft until it hits bottom >:)
        rotate([0,0,45])
        cylinder(r= shaft_diameter/2, h=shaft_depth + (fudge*4) , $fn = 4 ,center = true);
    }
   
    // hex shaft
    if (shaft_type == 4)
    {
        translate([0,0, ((shaft_depth/2) + (wheel_height /2) + (hub_height ))]) // move shaft to the top of the hub
        translate([0,0,-min(shaft_depth, hub_height+wheel_height)]) // insert the shaft until it hits bottom >:)
   
        cylinder(r= shaft_diameter/2, h=shaft_depth + (fudge*4) , $fn =   6  ,center = true);
    }
   
    // octopus shaft
    if (shaft_type == 5)
    {
        translate([0,0, ((shaft_depth/2) + (wheel_height /2) + (hub_height ))]) // move shaft to the top of the hub
        translate([0,0,-min(shaft_depth, hub_height+wheel_height)]) // insert the shaft until it hits bottom >:)
      rotate([0,0,22.5])
        cylinder(r= shaft_diameter/2, h=shaft_depth + (fudge*4) , $fn =   8  ,center = true);
    }
    translate ([0, outer_diameter/2 - rim_width - slit_length * 2, 0])
    cylinder (wheel_height + 1 ,d=6,center=true);
}


Scott

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 8381
  • ...
Re: 3D Printing : Arcade Edition Thread
« Reply #153 on: September 30, 2018, 05:19:46 pm »
Finally got around to making these:


My attempts at making larger threads failed, so I used a nut and bolt off thingiverse to just get it done.
I envisioned a larger threaded post, but this will do.

HaRuMaN

  • Supreme Solder King
  • Global Moderator
  • Trade Count: (+45)
  • Full Member
  • *****
  • Online Online
  • Posts: 10205
  • boom
    • Arcade Madness
Re: 3D Printing : Arcade Edition Thread
« Reply #154 on: September 30, 2018, 07:50:48 pm »
Hope no one's standing underneath that when it shears off. 

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 8381
  • ...
Re: 3D Printing : Arcade Edition Thread
« Reply #155 on: September 30, 2018, 08:08:01 pm »
The blade is resting on a 5/8" thick arbor and the whole thing is printed at 100% density.
I don't see any reason it would shear off. 

The only way I see it failing is if I were to over-tighten and break the smaller threaded part off.
Time will tell.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16651
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: 3D Printing : Arcade Edition Thread
« Reply #156 on: September 30, 2018, 08:28:44 pm »
I've hung saw blades on penny nails and printed at 100% infill that bolt would be 3x as strong as that.  It'll be fine. 

  
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31