philippe lhardy 3690482728 add drawing imc import as a path that will be openned in maze
- importing an imc will create a open path folowwing the given drawing
( very slow due to addStatus string notification ? )
2020-10-20 10:24:08 +02:00
2020-10-14 22:21:46 +02:00
2016-03-24 22:01:41 +01:00
2016-03-24 22:01:41 +01:00
2020-10-11 22:26:35 +02:00
2018-06-15 22:47:23 +02:00

This is a personal project to generate a 2D maze using in depth path generation.

Download the 'latest' laby.zip containing java jar from my blog http://blog.artisanlogiciel.net/public/tech/laby.zip

this can generate a stl file, overall goal was to print it with a 3D printer.
After years i finaly printed one maze, find it at https://www.thingiverse.com/thing:2814655

This is the very first usable part.
It was developped under debian 7/8 but since it is java based it might be very easily recompiled or even just copied on other platform.

there is a console gui menu base with ./doit.sh

requirement : you need a java jdk environment installed ( java + javac ) and ant

ex ubuntu : sudo apt-get install default-jdk ant

run it by :

________Linux distribution_____________________

mkdir github
cd github
git clone https://github.com/artlog/labystl.git
cd labystl
./init.sh
# will create build scripts from artlog_toolbox
# ./doit.sh
# depends on sharedrawweb for stl export
./fetch_dependencies.sh
ant dist
source ./specificdoit.sh; create_zip_package
unzip laby.zip; cd artloglaby ; ./laby.sh
_______________________________________________

Save raw will actualy create a stl file
together with raw file
______________________________________________

it ask for three integers :

X Y maxpath

ex :

10 10 7

will generate a 10x10 labyrinth with trying to fork a different path every 7 steps.

then it saves labyrinth under lab or java/lab (depending if run or test respectively) directory under two format :
- one reusable by this tool that contains all solutions. ( .lab )
- one in stl that can :
  - be viewed with blender
  - or sliced with slic3r to feed a 3D printer ( not yet tested ).

buttons left,right,up,left can be used to walk the labyrinth. resolve will display solution.
and there is a control for sizing cells.

It was tested up to 1000x1000 labyrinth and can realy generate huge labyrinth.

Entry of labyrinth is upper left corner, exit is lower right ( this is different in 3D since Y axis where reversed ).

BUGS are numerous, and every bug was cleverly designed to drive you mad.
DOCUMENTATION is self contained in code an was in my brain, currenlty vanishing...

Description
Un logiciel 'historique' utilisé pour des ateliers d'impression 3d et minetest.
Readme 2.5 MiB
Languages
Java 53.7%
C 36.2%
Shell 9.1%
Makefile 1%