WIMUv3a Packagaing from OpenSCAD Parametric Packaging Script v2 by M_G 3d model
3dmdb logo
Thingiverse
WIMUv3a Packagaing from OpenSCAD Parametric Packaging Script v2 by M_G

WIMUv3a Packagaing from OpenSCAD Parametric Packaging Script v2 by M_G

by Thingiverse
Last crawled date: 2 years, 12 months ago
WIMUv3a variant 2
This variant of OpenSCAD Parametric Packaging Script v2http://www.thingiverse.com/thing:66030 is use to make a prototype production packaging for WIMUv3a devices
There are a LOT of files here. This is just to give an idea of the amount of back and forth small changes and tweaks that might be involved in the process of a making even a simple design like this for a limited prototype production run.
Author Mark Gaffney
Version 2.6k
Date 2013-07-09
@ToDo:
fix internal radii no-of-sides when using chamfered package to maintain wall thickness
Warning:
Some combinations of values, shapes and locations etc. may lead to an invalid or non-manifold shape beign created, preventing you from exporting a .stl
If this happens try to remove or change some of the features or values until you get a valid shape and then add them back gradually until you find the offending item, then change it so it doesn't cause a problem
Note: This thing uses HarlanDMii's"write.scad" module http://www.thingiverse.com/thing:16193
which you will need to have downloaded and located in the directory if you want to run this on your PC

Generating text can be very slow!

When generating a stacked layout it may look like the top is taller than it should be, this seems to be a visualisation bug in OpenSCAD, if you create a .STL it will be perfect
@note
WIMUv4 variant 2013
This variant is used to make a production packaging for WIMUv3a
Changes from previous versions:
v2.6k
moved and enlarged uUSB & switch holes to prevent fragile structures being formed on advice of i.materialise
moved lables for switch, uUSB and uSD from top to sides of object
v2.6j
added text for indicating switch on/off
added holes and guides for internal reset/bootloader-enable switches
added a hole for screw in screwpost
v2.6i
packaging for WIMUv4 2013 version with small battery (same size as WIMUv3a and WIMUv3
began to fix a bug where interlocking features didn't generate in the correct location if the top_bottom_ratio wasn't 0.5
only implemented and tested for spheroids
v2.6h
added option to choose style of interlocking features
added new style of interlocking features(overlapping spheroid)
Changed depth of uUSB overmold cutout to remove unnecessary features
added cutout beneath uUSB to enahnce visibility of SMT LEDs
Added option to flip the halves if only makigna top or bottom
v2.6g
changed style of interlocking cutouts (overlapping flattened hemi-hexagonal prisms)
added interlocking feature on side with many cutouts
added support for controlling the r1 and r2 and height of the interlocking features (note: the side with cutouts has hardcoded length of 19)
moved switch cutout down 0.5mm
rotate post above zigbee from 30 to 0
remove post_tolerance from "PCB lateral retainers" as fit was very loose on prototypes and they can be easily pared down with a file etc.
v2.6f
modified tolerances from 0.2-0.35 on advice from i.materialise as minimum tolerance is 0.3mm
added simple interlocking feature on centre of lips (slightly interlocking hemispherical tongue & groove)
made corners more rounded (moved from 3 facets to 9)
v2.6e
modified text especially size and depth for i.materialise order 0.4-0.5mm wide and deep
ensure model is output as 2 separate stl files with 1 part each!
v2.6d
Implemented flanges on bottom half based on belt_holder_v3.1.scad
v2.6c
Implemented ability to choose box shape i.e. "cuboid","rounded4sides", "rounded6sides", "chamfered6sides"
Ensured "box_type" module is used in generation of each box_half
v2.6b
investigated and fixed some top lip mis alignment
added wimuv3 stack as imported .stl
v2.6
implements loading external objects (such as .stl files) to place on faces
implemented overlooked translation of text on faces from previous version
fixed box_t in make_cutouts
Note: Top lip seems to be malformed lip_h is 0.5 less than it should be
v2.5 (AKA cutouts_on_faces_for_loop-v0_2.scad)
Implement tolerancing of connection between 2 halves using lip_fit
implement text on faces
Complete documentation
v2.4 (AKA cutouts_on_faces_for_loop-v0_4.scad)
user provides device dimensions and internal clearance(s), packaging dimensions are calculated based on this
preparations to allow for different wall_t in x,y,z
implement posts
mouse ears work properly
2 halves in "beside" layout joined by union
v2.3 2013-03-23 (AKA cutouts_on_faces_for_loop-v0_3.scad)
fixed calls to make_box and half_box modules
added ability to handle "holes" array for making cutouts to make_box and half_box modules
added module for rounded cuboid
fixed errors on rounded cuboid cutouts's use of a_bit
fixed translate errors for making lips on box
ensured all parts generate on z=0
gave top (greenish) and bottom (reddish) different colours for ease of identification
rotated top in "beside" layout to more intuitive orientation
added box cross module and included in hull calculations to ensure box sizes are exact even with low side count
added box_type module to allow choice of different shaped boxes or automatically swap them based on the current variables
added mouse_ears module
Note: In stacked mode you may notice the red half looks like it is the full length, this appears to be a visualisation bug in openscad, the part is generated correctly
v2.2 2013-03-22 (AKA cutouts_on_faces_for_loop-v0_2.scad)
based on My own structure
New format [face_name, shape_name, shape_position[x_pos,y_pos,x_offs,y_offs,rotate,align], shape_size[depth,,,]]

face_name ("N", "S", "E", "W", "T", "B")


shape_name ("Square", "Rectangle" , "Round_Rect", "Cylinder", "Ellipse" , "Cone")


shape_position[x_pos,y_pos,x_offs,y_offs,rotate,align=("inside" or "outside")]



"Square" shape_size[depth, length_breadth]




"Rectangle" shape_size[depth, length, breadth]




"Round_Rect" shape_size[depth, length, breadth, corner_radius, corner_sides]




"Cylinder" shape_size[depth, radius ,sides]




"Ellipse" shape_size[depth, radius_length, radius_breadth, sides]




"Cone" shape_size[[depth, radius_bottom, radius_top ,sides]


pos_x and pos_y are chosen to align with views taken from the North, Top or East faces towards the origin so that they are aligned with [-x,+z], [+x,+y] & [+y,+z] respectively
rotation is clockwise about the plane of the North, Top or East faces as lookign towards the origin this means they are anticlockwise for the opposite faces(i.e. same convention as above)
these 2 conventiosn are chosen to make it easier to position cutouts that align with oppsite sides. e.g. a box that fits around a rotated ellipse pipe
v2.1 2013-03-22 (AKA cutouts_on_faces_for_loop-v0_1.scad)
based on kitlaan's array structure, supporting cones and rectangles
from kitlaan's Customisable Electronic Device Packaging http://www.thingiverse.com/thing:8607

rect [ x-offset, y-offset, x-width, y-width, corner-radius, corner-sides, depth, rotate ]


cylinder [ x-offset, y-offset, inner-radius, outer-radius, sides, depth, rotate ]
@attention
Copyright (c) 2013 Tyndall National Institute.
All rights reserved.
Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without written agreement is hereby granted, provided that the above copyright notice and the following two paragraphs appear in all copies of this software.

IN NO EVENT SHALL TYNDALL NATIONAL INSTITUTE BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF TYNDALL NATIONAL INSTITUTE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
TYNDALL NATIONAL INSTITUTE SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND TYNDALL NATIONAL INSTITUTE HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

Tags