Open MuTsunTsai opened 2 years ago
There has not been a new release to this project recently, since i've been working on other projects. What features are you interested in adding to BP studios functionality? Ig i remember correctly bp studios didn't have auto optimization for large tree structures. I'm happy to help in any way I can. Right now I'm developing Phenix 2.0, which would work for general tiltable pozgons, and multi polygon tileable patterns, but that project is still in it's infancy.
On Sun, Feb 13, 2022 at 10:31 AM Mu-Tsun Tsai @.***> wrote:
Hello, I'm the author of BP Studio (which I believe has been brought to you by others before), and today I just noticed this project of yours, which seems quite interesting as it covers some funtionality not provided by BP Studio. I also noticed, however, that there hasn't been any new commit or release for a while. I wonder if you are still working on it? Also, is there any other channel that I may reach you? I believe there's a lot I can learn from your project!
— Reply to this email directly, view it on GitHub https://github.com/bmwettle/bluePhoenixFolding/issues/18, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOO4QZPF5R2CDHOJAZJT7X3U27FFNANCNFSM5OJFWLXQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
Regarding auto optimization, the current approach used by BP Studio is by allowing the users to import TreeMaker file format, and the app will try to approximate the circle/river packing on BP grid using pythas. That way I don't have to re-implement the TreeMaker algorithm into BP Studio. If I'm not mistaken, Blue Phoenix seems to be dealing with pure box pleating only (i.e. without pythas), yes? In that case I'm kinda curious how you perform the optimization, as I would imagine that the algorithm to be quite different from that of TreeMaker. I'm also interested in how you generate the flat-foldable M/V CP, as that is also one of the things missing in BP Studio. In particular, how would you automatically generate meandering rivers if there are empty spaces left?
I did not have much success with rounding TM files into box pleating, so i did end up writing my own algorithm. For large tree structures, leaf nodes in the middle of the paper often cant be rounded to nearby locations, and there is still a bi of searching to be done to find a good optimization. If you want to copy my algorithm, you can if you credit me. For the crease patterns, i stuck to a solid grid of mountain and valley creases for the horizontal and vertical lines. It's defiantly possible to generate these after you have the diagonals worked out, but its a lot harder in my opinion to read the crease pattern, and the artist is probably going to pre crease the whole grid anyway ( at least at first). To get the diagonals, i just assign a square to each leaf node, based on size. i start with one leaf node, and geometrically add each leaf or river node by traversing the tree, breadth first. at each step, i have a polygon, and i subtract the polygon from the previous step (ei, the polygon without all the nodes before it). then I find the angle bisectors of that new polygon, and save them as the diagonals of the node i just added. As a last step, i take the polygon of all the nodes, and subtract that from the total square of the paper, to get a polygon of unused space. i then add those diagonally to the crease pattern, along with those from the nodes. That bit of the code is a lot more complex looking than it really is, as there is a bit of trickery to deal with rounding errors and zero size polygons. Its only dealing with pure box pleating as well, so yours may need to be a bit fancier.
On Mon, Feb 14, 2022 at 3:05 AM Mu-Tsun Tsai @.***> wrote:
Regarding auto optimization, the current approach used by BP Studio is by allowing the users to import TreeMaker file format, and the app will try to approximate the circle/river packing on BP grid using pythas. That way I don't have to re-implement the TreeMaker algorithm into BP Studio. If I'm not mistaken, Blue Phoenix seems to be dealing with pure box pleating only (i.e. without pythas), yes? In that case I'm kinda curious how you perform the optimization, as I would imagine that the algorithm to be quite different from that of TreeMaker. I'm also interested in how you generate the flat-foldable M/V CP, as that is also one of the things missing in BP Studio. In particular, how would you automatically generate meandering rivers if there are empty spaces left?
— Reply to this email directly, view it on GitHub https://github.com/bmwettle/bluePhoenixFolding/issues/18#issuecomment-1038771388, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOO4QZPP3EZ4OIB7J7LN3LLU3CZULANCNFSM5OJFWLXQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID: @.***>
Hello, I'm the author of BP Studio (which I believe has been brought to you by others before), and today I just noticed this project of yours, which seems quite interesting as it covers some funtionality not provided by BP Studio. I also noticed, however, that there hasn't been any new commit or release for a while. I wonder if you are still working on it? Also, is there any other channel that I may reach you? I believe there's a lot I can learn from your project!