Box-pleating designing program
Forum rules
READ: The Origami Forum Rules & Regulations
READ: The Origami Forum Rules & Regulations
Box-pleating designing program
I've been working on this for a week now.
The features I want to implement are :
- square packing
- cp generation
- advanced BP techniques (level shifters, pythagorean stretches, combs, ...)
- folded base visualization
- hex pleating
For the moment, only the square packing works, and it has a few bugs I'm still trying to fix.
But I've had positive feedbacks on it, so I think it's worth giving a link for it already
http://h3md.free.fr/travaux/BPMaker/index.html
It should be easy to use.
You have a button to draw a new grid, whith an input for the size.
You can add polygons the same way you make a rectangle with Paint.
You can extend the edges by drag n' dropping them, and thus make pretty much any shape.
You can move the circles inside the polygon (useless for the moment, will serve for CP generation), you can also increase its size by clicking it, or decrease its size by clicking while holding the shift key.
You can add rivers like you would draw a line in Paint.
There's also an input for the width.
You can extend the rivers by drag n' dropping the green parts after selecting them.
You can delete stuff with the Delete key.
Don't hesitate to share any feedback/criticism/suggestion.
The features I want to implement are :
- square packing
- cp generation
- advanced BP techniques (level shifters, pythagorean stretches, combs, ...)
- folded base visualization
- hex pleating
For the moment, only the square packing works, and it has a few bugs I'm still trying to fix.
But I've had positive feedbacks on it, so I think it's worth giving a link for it already
http://h3md.free.fr/travaux/BPMaker/index.html
It should be easy to use.
You have a button to draw a new grid, whith an input for the size.
You can add polygons the same way you make a rectangle with Paint.
You can extend the edges by drag n' dropping them, and thus make pretty much any shape.
You can move the circles inside the polygon (useless for the moment, will serve for CP generation), you can also increase its size by clicking it, or decrease its size by clicking while holding the shift key.
You can add rivers like you would draw a line in Paint.
There's also an input for the width.
You can extend the rivers by drag n' dropping the green parts after selecting them.
You can delete stuff with the Delete key.
Don't hesitate to share any feedback/criticism/suggestion.
-
- Moderator
- Posts: 1657
- Joined: October 25th, 2011, 2:51 pm
- Location: Senoia, GA
- Contact:
Re: Box-pleating designing program
Dude. This is an awesome idea! I have been thinking of writing a program like this for a while, I just haven't found the time. What are you using to write it?
Re: Box-pleating designing program
Flash
I'm a Facebook game developer, so I'm very confortable with it
I'm a Facebook game developer, so I'm very confortable with it
- JamesOrigami490
- Super Member
- Posts: 131
- Joined: August 21st, 2013, 12:18 am
- Location: Athens, Greece
- Contact:
Re: Box-pleating designing program
Wow, thanks! I'll definitely bookmark this! It's amazing!
Unfortunately, I have no experience with making BP-Cp's. I'll have to read that chapter in ODS2 again. This will make my life so much easier!
One question--How do you delete a rectangle?
Unfortunately, I have no experience with making BP-Cp's. I'll have to read that chapter in ODS2 again. This will make my life so much easier!
One question--How do you delete a rectangle?
Re: Box-pleating designing program
I really like this! If the other features you suggest are implemented it could be awesome! I think it would be nice if the tool you just used was still selected after being used (after drawing a box you must select the circle thing on the left again to make a new one) I would prefer it if you kept the tool and could stop using it with escape. Also perhaps if there was an option to draw out a river which follows your cursor? I think this could speed up box pleated design quite a lot
Re: Box-pleating designing program
Thanks for your support, it really encourages me to keep up
I uploaded a new version today which fixes many bugs.
I'm currently working on the CP generation.
But feel free to continue making any suggestion that may come to your mind
I uploaded a new version today which fixes many bugs.
I'm currently working on the CP generation.
Select it, then press the DEL keyJamesOrigami490 wrote:One question--How do you delete a rectangle?
I'll do something about it, thanks for pointing it out.Rickygami wrote:I think it would be nice if the tool you just used was still selected after being used
For several reasons I'm not going to detail, this is actually a bad idea.Rickygami wrote:Also perhaps if there was an option to draw out a river which follows your cursor?
But feel free to continue making any suggestion that may come to your mind
- JamesOrigami490
- Super Member
- Posts: 131
- Joined: August 21st, 2013, 12:18 am
- Location: Athens, Greece
- Contact:
Re: Box-pleating designing program
Thanks Kicker! I tried that, and it turned out that the problem is that Mac's equivalent to the PC "Delete" key is "fn+delete", not just "delete".
Re: Box-pleating designing program
http://h3md.free.fr/travaux/BPMaker/index.html
I uploaded a new version which fixes a few remaining bugs, improves the zone selection and dragging, and allows to creates several polygons in a row, by holding the shift key (as requested by Rickygami).
The CP generation is still work in progress (though it's well on the way).
This is mainly because tracing the straight skeleton for any non-convex polygon is not trivial
It also occured to me that with my way of making corners, some rivers of constant width are impossible to trace (at least not easily); a fix for this will come along with the CP generation feature.
I uploaded a new version which fixes a few remaining bugs, improves the zone selection and dragging, and allows to creates several polygons in a row, by holding the shift key (as requested by Rickygami).
The CP generation is still work in progress (though it's well on the way).
This is mainly because tracing the straight skeleton for any non-convex polygon is not trivial
It also occured to me that with my way of making corners, some rivers of constant width are impossible to trace (at least not easily); a fix for this will come along with the CP generation feature.
Re: Box-pleating designing program
Here's a glimpse of what the next feature currently looks like :
It only works for very simple polygons, though.
It's still very glitchy, and when I try crazy shapes, it fails miserably...
I'm far from finished, but it already looks pretty cool
Also, shorter URL : http://ho.io/BPMaker
It only works for very simple polygons, though.
It's still very glitchy, and when I try crazy shapes, it fails miserably...
I'm far from finished, but it already looks pretty cool
Also, shorter URL : http://ho.io/BPMaker
Re: Box-pleating designing program
I won't be able to work on the software this weekend, so I uploaded an early version of the CP generator.
For the moment, only hinge and ridge creases are visible, and this :
...doesn't work... yet
I'll need to do something to make it easier to shove polygons in corners and edges... right now, it's a pain is the ass
For the moment, only hinge and ridge creases are visible, and this :
...doesn't work... yet
I'll need to do something to make it easier to shove polygons in corners and edges... right now, it's a pain is the ass
Re: Box-pleating designing program
Ok, I'm currently working on the axial lines, and I have a problem :
I'm not sure what should happen in this case :
Should I do this :
Or this ? :
(I'm more confident with this one)
ODS doesn't say anything about this case, but it looks a lot like the Y case...
I know it can happen, but I'm not sure what to do.
I also need to treat this similar case :
Again, my guts are telling me to do this :
But I'm not sure...
Thanks in advance to anyone who can help me.
I'm not sure what should happen in this case :
Should I do this :
Or this ? :
(I'm more confident with this one)
ODS doesn't say anything about this case, but it looks a lot like the Y case...
I know it can happen, but I'm not sure what to do.
I also need to treat this similar case :
Again, my guts are telling me to do this :
But I'm not sure...
Thanks in advance to anyone who can help me.
Re: Box-pleating designing program
http://ho.io/BPMaker
The CP generation is out and working !
The level lines are still missing but will come very soon.
I've barely had the time to test it though, so please let me know if you find any bugs.
Enjoy !
edit : I added a useful option : when you hold the ctrl key, the selection rectangle, the square you clicked is not considered a corner of the selection, but the center of it.
Thus, you can know create polygons directly in a corner or an edge, instead of having to create them inside the grid, and then move their center to the corner (or the edge).
The CP generation is out and working !
The level lines are still missing but will come very soon.
I've barely had the time to test it though, so please let me know if you find any bugs.
Enjoy !
edit : I added a useful option : when you hold the ctrl key, the selection rectangle, the square you clicked is not considered a corner of the selection, but the center of it.
Thus, you can know create polygons directly in a corner or an edge, instead of having to create them inside the grid, and then move their center to the corner (or the edge).
Re: Box-pleating designing program
New version online, with lots of fixes for lots of stuff, including CP generation for ridge and axial creases (non-axial contour lines coming soon).
Here's an example of what can be done :
Here's an example of what can be done :
- Razzmatazz
- Forum Sensei
- Posts: 892
- Joined: March 20th, 2009, 6:25 pm
- Location: Canada
Re: Box-pleating designing program
Pretty chill.
Glad to see someone is working on something like this. Of course there will be a point where complexity breaks past possibility, but you seem to have the basics down and I don't doubt you can expand very much.
Great job.
Glad to see someone is working on something like this. Of course there will be a point where complexity breaks past possibility, but you seem to have the basics down and I don't doubt you can expand very much.
Great job.
- Foldtastic
- Junior Member
- Posts: 99
- Joined: October 8th, 2014, 5:34 pm
- Location: New York, NY
- Contact: