Skip to content

Commit

Permalink
updated part generation
Browse files Browse the repository at this point in the history
  • Loading branch information
jgrizou committed Mar 14, 2015
1 parent 1ce3980 commit b465fcb
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ parts/stl
hardware/parts/stl
hardware/parts/raw/stl
hardware/parts/smart/stl
hardware/poppy_4dof_arm_mini/parts/smart/stl
5 changes: 5 additions & 0 deletions hardware/parts/smart/base.scad
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
include <../../poppy_ergo_jr_def.scad>

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

circular_base_frame(BaseRadius, BaseHeight);
3 changes: 3 additions & 0 deletions hardware/parts/smart/generate_stl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ scadArg="\$fn=$fn"
mkdir -p stl;

# should be automated
echo "Generating base..."
openscad -o stl/base.stl base.scad -D $scadArg

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

Expand Down
5 changes: 5 additions & 0 deletions hardware/poppy_4dof_arm_mini/parts/smart/base.scad
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
include <../../poppy_4dof_arm_mini_def.scad>

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

circular_base_frame(BaseRadius, BaseHeight);
3 changes: 3 additions & 0 deletions hardware/poppy_4dof_arm_mini/parts/smart/generate_stl.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ scadArg="\$fn=$fn"
mkdir -p stl;

# should be automated
echo "Generating base..."
openscad -o stl/base.stl base.scad -D $scadArg

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

Expand Down

0 comments on commit b465fcb

Please sign in to comment.