Skip to content

Commit

Permalink
added new raspberry base to visa and in parts generation and BOM
Browse files Browse the repository at this point in the history
  • Loading branch information
jgrizou committed May 5, 2015
1 parent 1de2db5 commit cdf2460
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 20 deletions.
15 changes: 8 additions & 7 deletions hardware/parts/BOM.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
| Part Name | Quantity | Note |
| --------------:|:--------:|:--------:|
| base | 1 | |
| U_horn_to_horn | 1 | |
| U_side_to_horn | 1 | |
| shift_one_side | 6 | |
| pen_holder | 1 | Optional |
| Part Name | Quantity | Note |
| --------------:|:--------:|:---------------:|
| U_horn_to_horn | 1 | |
| U_side_to_horn | 1 | |
| shift_one_side | 6 | |
| pen_holder | 1 | Optional |
| base | 1 | Select one base |
| raspberry_base | 1 | Select one base |
3 changes: 3 additions & 0 deletions hardware/parts/generate_stl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ openscad -o stl/U_side_to_horn.stl U_side_to_horn.scad -D $scadArg

echo "Generating pen_holder..."
openscad -o stl/pen_holder.stl pen_holder.scad -D $scadArg

echo "Generating raspberry_base..."
openscad -o stl/raspberry_base.stl raspberry_base.scad -D $scadArg
3 changes: 3 additions & 0 deletions hardware/parts/raspberry_base.scad
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
use <../specific_frames/raspberry_pi_Bplus_base_frame.scad>;

raspberry_pi_Bplus_base_frame();
28 changes: 20 additions & 8 deletions hardware/poppy_ergo_jr.scad
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
include <robotis-scad/ollo/ollo_def.scad>
include <robotis-scad/dynamixel/xl320_def.scad>
include <specific_frames/specific_frame_def.scad>
include <poppy_ergo_jr_def.scad>

use <robotis-scad/dynamixel/xl320.scad>;
use <robotis-scad/dynamixel/xl320.scad>

use <specific_frames/base_frame.scad>;
use <specific_frames/pen_holder_frame.scad>;
use <specific_frames/base_frame.scad>
use <specific_frames/pen_holder_frame.scad>
use <specific_frames/raspberry_pi_Bplus_base_frame.scad>

use <robotis-scad/frames/side_to_side_frame.scad>;
use <robotis-scad/frames/three_ollo_to_horn_frame.scad>;
use <robotis-scad/frames/U_horn_to_horn_frame.scad>;
use <robotis-scad/frames/U_three_ollo_to_horn_frame.scad>;

use <MCAD/rotate.scad>;
use <robotis-scad/frames/side_to_side_frame.scad>
use <robotis-scad/frames/three_ollo_to_horn_frame.scad>
use <robotis-scad/frames/U_horn_to_horn_frame.scad>
use <robotis-scad/frames/U_three_ollo_to_horn_frame.scad>

use <MCAD/rotate.scad>

module poppy_ergo_jr(){
xl320();
Expand Down Expand Up @@ -65,4 +68,13 @@ p = 1;
if (p==1) {
circular_base_frame(BaseRadius, BaseHeight);
poppy_ergo_jr();

translate([100,0,0]) {
translate([0, - RaspberryPiBplusWidth/2 - RaspberryPiBplusFrameDistanceBoardToMotor - MotorLength + MotorAxisOffset, -MotorHeight/2-ollo_segment_thickness(1)])
raspberry_pi_Bplus_base_frame_with_raspberry_board();

poppy_ergo_jr();
}


}
14 changes: 10 additions & 4 deletions hardware/specific_frames/raspberry_pi_Bplus_base_frame.scad
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ module raspberry_pi_Bplus_base_frame(boardHeight=5, holeType="spike", cornerRadi

}

module raspberry_pi_Bplus_base_frame_with_raspberry_board(boardHeight=5, holeType="spike", cornerRadius=RaspberryPiBplusFrameCornerRadius, nLayer=1) {

raspberry_pi_Bplus_base_frame();

translate([0,0,ollo_segment_thickness(nLayer)+boardHeight])
add_raspberry_pi_Bplus();

}

// Testing
echo("##########");
echo("In raspberry_pi_Bplus_base_frame.scad");
Expand All @@ -65,8 +74,5 @@ use <../robotis-scad/dynamixel/xl320.scad>

p = 1;
if (p==1) {
raspberry_pi_Bplus_base_frame();

translate([0,0,ollo_segment_thickness(1)+5])
add_raspberry_pi_Bplus();
raspberry_pi_Bplus_base_frame_with_raspberry_board();
}
2 changes: 1 addition & 1 deletion hardware/specific_frames/specific_frame_def.scad
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ PenHolderInnerDiameter = 12;
RaspberryPiBplusFrameWidth = RaspberryPiBplusLength;

RaspberryPiBplusFrameDistanceBoardToMotor = 10;
RaspberryPiBplusFrameDistanceMotorToEnd = 10;
RaspberryPiBplusFrameDistanceMotorToEnd = 20;
RaspberryPiBplusFrameEndWidth = MotorWidth + 10;

RaspberryPiBplusFrameLenght = RaspberryPiBplusWidth + RaspberryPiBplusFrameDistanceBoardToMotor + MotorLength + RaspberryPiBplusFrameDistanceMotorToEnd;
Expand Down

0 comments on commit cdf2460

Please sign in to comment.