Commit Graph

16 Commits

Author SHA1 Message Date
philippe lhardy
81441d7f17 Add reverse that allow to switch interior/exterior of a labyrinth
- invert create a new labyrinth walls are path of previous.
  - grow then new labrynth is bigger, else shrink.
2020-12-09 23:02:29 +01:00
philippe lhardy
6c9800047c load .we with layers
- and fix some bug : max is within range ( perhaps not as many as those added ...)
- quick hack in CharProvider to skip spaces ... ( bad it applies to strings too ...)
2020-11-05 21:31:28 +01:00
philippe lhardy
bf918333bf wall half closure control + layers
- add onewaywall option to create a wall if there is not step back
- add layers of maze
- load minetest scheme .we with onewall option
2020-11-05 19:50:42 +01:00
philippe lhardy
52a2d3f1e3 read a .we minetest schema
- use ground has maze walls
2020-11-04 22:12:17 +01:00
philippe lhardy
41067707bc generate .we maze
- export maze as .we ( still hlf boundaries missing )
2020-11-03 17:49:58 +01:00
philippe lhardy
8211147b28 minetest worledit .we format export
- harcoded generation of lua content of .we export
- export something, but not yet correct ( walls are points ... )
2020-11-03 17:33:25 +01:00
philippe lhardy
94b4a0ce66 read osm format longitude and latitude bounds, separate ways and buildings
- read longitude and lattude boundaries
- separate ways ( open ways ) from buildings ( closed )
- save as .imc and .drawing ( raw format ) [ since .imc seems buggy )
- read uncompressed drawing format
2020-11-01 12:44:05 +01:00
philippe lhardy
8af19bdb59 first .osm format import
- import osm convert it to Drawing and use it as resolved path.
- Not ready , first test over lab/valbonne_oct_2020.osm
2020-10-31 15:44:23 +01:00
philippe lhardy
99716e57d3 don't redrawn each cell when loading and by redraw at end
- hide status update
- don't redraw each point during file loading
2020-10-21 14:03:25 +02:00
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
philippe lhardy
1a7e64c139 When drawing a path within maze, restart a newline after 200ms delay
- 200 ms is hardcoded for gragTimeout
- when drawing a line and wanting to start a new line, it is enough to wait dragDelay wihout move
2020-10-19 21:58:05 +02:00
philippe lhardy
c69d068caf add Save Text support and rework package
- move maze within package maze
2020-10-17 21:08:16 +02:00
philippe lhardy
6dfcea5647 add load menu and a status line
- don't print to console but add a status line
- add a load menu to load raw
2020-10-14 22:21:46 +02:00
philippe lhardy
046a7767a8 Settings for stl export
- set cells size and wall thickness
- set reverse for path :
  when reverse is set then resolved path is higher ground
  else (default) it is lower ground.
2020-10-13 16:49:00 +02:00
philippe lhardy
f07767dcfd fix normals for vertices
- now stl output can be porcessed directly by slic3r without intermediate fix wihtin blender
- created Wall3dStream instead of keeping all within Wall3d
- can save only stl output ( 'Save stl' )
2020-10-11 22:14:10 +02:00
philippe lhardy
0f1a15916c move Display in gui package
- and some code indentation
2020-10-11 15:30:28 +02:00