Skip to content

eljeko/Parametric-OpenScad-movement-tray-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parametric OpenScad Movement tray generator

Movement tray generator

This is an OpenScad script that can generate a movement tray to adapt the Old school warhammer 20mm square base to the new Old World 25mm square base system.

The script is absolutely parametric and can generate a custom tray for rows/cols tray.

I merged and enanched a new contribution with a script that can genrate bases plese follow the guide here Parametric base generator

How to use

You can use the script and run it with OpenScad desktop app.

You can also generate trays from cli, for example this command:

openscad -o tray.stl -D "cols=6;rows=3;" paremetric_tray_generator.scad

Will generate a tray with 6 cols and 3 rows calculated for default 25mm square base and 20mm insets, the tray will be 150x75 mm.

The script can also generate a tray to adapt round bases setting isRound_adapted to true (default is false)

If you use different values for width and lenght you can generate also adapters for cavalry

Important notes

Tolerance

When setting the value for adapted_base_widthand adapted_base_length add 1mm of tolerance eg: set 21mm for an old 20mm square base. The final "fit" depends also on you printer settings and calibration.

Parameters

cols Number of columns for this tray

rows Number of rows for this tray

height heigh (thickness) of the tray

new_base_width new base width

new_base_length new base length

adapted_base_width existing base width of adapted models

adapted_base_length existing base length of adapted models

height_offset minimum bottom height (thickness) of the insets for the bases

inset Inset of the top of the tray: greater the value greater the slope of the tray

isRound_adapted if base adapted are round (in this case adapted_base_size is considered as the diameter of the round base)

magnets_height magnets height (if greater than zero will generate the insets)

magnets_radius magnets radius

isLanceFormation if the tray is for lance formation, use only the number of rows to genrate the tray

createEmptyMovementTray Create a standard (non an adpater) movement tray for given new_base_length x new_base_width

markBases Put a mark to show the new base widh/length on the adapter

What you can do with the script

Here you can find a paremetric saved profiles file for openscad: place it in the same folder where you use the script, then you should see a list of profiles:

profiles

Square 20mm to 25mm sample:

“square”

Round 25mm to 25mm sample:

“round”

Rectangular 25x50mm to 30x60mm sample:

“cavalry”

Adapter with marked bases to identify better minis contact in combat

marked_base

marked_base_02

Holed tray

This is particularly useful to glue a metal plate under the tray to use magnetized minis

To obtain it just use a negative number for height_offset like -1

“holed”

Magnets 3x1mm insets

“magnets”

Lance Formation

“lance”

Empty standard movement tray

With 3 walls

“standardmovement”

With 4 walls

“standardmovement”

Empty standard Lance movement tray

With 3 walls

lance_movement_standard

With 4 walls

lance_movement_standard

Magnetized Tray (support for 4,5,7,9 magnets)

With lower_Movement_tray_magnets you can set the number of magnets holes to magnetize your tray/adapter for transportation

lower_magnets_5

lower_magnets_9

One mini adapter

This example shows how to setup a single base adapter (remeber to add tolerance acconrding to your printer settings)

one_base_cavalry

License

Parametric OpenScad movement tray generator is under Apache 2 license.

About

Parametric OpenScad movement tray generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published