Puzzlle script #63910

Closed
opened 2019-04-26 14:50:55 +02:00 by Oleg Skripnyak · 22 comments

puzzle_generator.py
Hi !
I can't create a wiki page for my addon on wiki.blender.org, should i create the docs somewhere else ?

[puzzle_generator.py](https://archive.blender.org/developer/F6979122/puzzle_generator.py) Hi ! I can't create a wiki page for my addon on wiki.blender.org, should i create the docs somewhere else ?
Author

Added subscriber: @OlegSkripnyak

Added subscriber: @OlegSkripnyak

Added subscriber: @cwolf3d

Added subscriber: @cwolf3d
Author

puzzle_generator_new.py
make compatible with 2.80 (its not compatible with 2.78, 2.79)

[puzzle_generator_new.py](https://archive.blender.org/developer/F6986727/puzzle_generator_new.py) make compatible with 2.80 (its not compatible with 2.78, 2.79)
Brendon Murphy self-assigned this 2019-04-28 02:43:06 +02:00
Member

hi, you can add a description and pic in this task please. It's acceptable also if you create a github account and maintain and have some docs there and use the address as your wiki page.

hi, you can add a description and pic in this task please. It's acceptable also if you create a github account and maintain and have some docs there and use the address as your wiki page.
Author

Description: Adds a puzzled curve, both 2D and 3D.
puzzle2D.png
puzzle3D.png

Description: Adds a puzzled curve, both 2D and 3D. ![puzzle2D.png](https://archive.blender.org/developer/F6986842/puzzle2D.png) ![puzzle3D.png](https://archive.blender.org/developer/F6986843/puzzle3D.png)
Member

Added subscriber: @EitanSomething

Added subscriber: @EitanSomething
Member

what versions is it currently compatible with?

what versions is it currently compatible with?
Member

hi, this looks like a nice feature, I'll test it out and let you know how we can proceed.

hi, this looks like a nice feature, I'll test it out and let you know how we can proceed.
Member

It needs to be modified so it creates a flat edge on the side pieces.

It needs to be modified so it creates a flat edge on the side pieces.
Author

In #63910#667149, @EitanSomething wrote:
what versions is it currently compatible with?

with 2.80

> In #63910#667149, @EitanSomething wrote: > what versions is it currently compatible with? with 2.80
Author

In #63910#667153, @BrendonMurphy wrote:
hi, this looks like a nice feature, I'll test it out and let you know how we can proceed.

Ok, thanks

> In #63910#667153, @BrendonMurphy wrote: > hi, this looks like a nice feature, I'll test it out and let you know how we can proceed. Ok, thanks
Author

In #63910#667154, @EitanSomething wrote:
It needs to be modified so it creates a flat edge on the side pieces.

Do you mean for cuboid shape ?

> In #63910#667154, @EitanSomething wrote: > It needs to be modified so it creates a flat edge on the side pieces. Do you mean for cuboid shape ?
Member

In #63910#667386, @OlegSkripnyak wrote:

In #63910#667154, @EitanSomething wrote:
It needs to be modified so it creates a flat edge on the side pieces.

Do you mean for cuboid shape ?

yes

> In #63910#667386, @OlegSkripnyak wrote: >> In #63910#667154, @EitanSomething wrote: >> It needs to be modified so it creates a flat edge on the side pieces. > > Do you mean for cuboid shape ? yes
Member

might be interesting to add the curve types "poly, bezier, nurb" in the settings. i was having a play with it and it's ok. Just wondering "where it fits in and some real world use cases"

might be interesting to add the curve types "poly, bezier, nurb" in the settings. i was having a play with it and it's ok. Just wondering "where it fits in and some real world use cases"
Author

In #63910#667502, @EitanSomething wrote:

In #63910#667386, @OlegSkripnyak wrote:

In #63910#667154, @EitanSomething wrote:
It needs to be modified so it creates a flat edge on the side pieces.

Do you mean for cuboid shape ?

yes

It can be done by adjusting properties, however its seems not important because it more likely be changed by "to sphere" or cast modifier where irregularity will disappear

> In #63910#667502, @EitanSomething wrote: >> In #63910#667386, @OlegSkripnyak wrote: >>> In #63910#667154, @EitanSomething wrote: >>> It needs to be modified so it creates a flat edge on the side pieces. >> >> Do you mean for cuboid shape ? > > yes It can be done by adjusting properties, however its seems not important because it more likely be changed by "to sphere" or cast modifier where irregularity will disappear
Author

In #63910#667507, @BrendonMurphy wrote:
might be interesting to add the curve types "poly, bezier, nurb" in the settings. i was having a play with it and it's ok. Just wondering "where it fits in and some real world use cases"

Not sure if its possible to create it with nurb, however not played with it. Poly is just approximation of bezier.
So preferable workflow should be:

  1. Create a puzzle
  2. Adjust spline resolution
  3. Convert to mesh
  4. In edit mode add faces
    Alternatively for cuboid shapes:
  5. Use to sphere transform
  6. Triangulate faces or subdivide

From sphere shape you can create other shapes. In the future code can be easily modified to have other shapes types, like torus, cylinder etc. However i'm not sure if its needed by anyone for now
Here is present i've made to my wife on 20th marriage celebrity
heart2.jpg

heart1.jpg

> In #63910#667507, @BrendonMurphy wrote: > might be interesting to add the curve types "poly, bezier, nurb" in the settings. i was having a play with it and it's ok. Just wondering "where it fits in and some real world use cases" Not sure if its possible to create it with nurb, however not played with it. Poly is just approximation of bezier. So preferable workflow should be: 1. Create a puzzle 2. Adjust spline resolution 3. Convert to mesh 4. In edit mode add faces Alternatively for cuboid shapes: 5. Use to sphere transform 6. Triangulate faces or subdivide From sphere shape you can create other shapes. In the future code can be easily modified to have other shapes types, like torus, cylinder etc. However i'm not sure if its needed by anyone for now Here is present i've made to my wife on 20th marriage celebrity ![heart2.jpg](https://archive.blender.org/developer/F6991129/heart2.jpg) ![heart1.jpg](https://archive.blender.org/developer/F6991128/heart1.jpg)
Author

@BrendonMurphy
Hi !
So, what you think ? Is it suitable for blender, or only few people will use it ?

Btw. Here is an old thread https://blenderartists.org/t/modeling-the-3d-wikipedia-puzzle-ball/365520/34 where guys tried to create a 3D puzzle
Also, someone interested in it on my stackoverflow question https://stackoverflow.com/questions/53015339/what-is-a-method-to-create-an-jigsaw-puzzled-sphere-in-blender

Thanks !

@BrendonMurphy Hi ! So, what you think ? Is it suitable for blender, or only few people will use it ? Btw. Here is an old thread https://blenderartists.org/t/modeling-the-3d-wikipedia-puzzle-ball/365520/34 where guys tried to create a 3D puzzle Also, someone interested in it on my stackoverflow question https://stackoverflow.com/questions/53015339/what-is-a-method-to-create-an-jigsaw-puzzled-sphere-in-blender Thanks !
Author

In #63910#667147, @BrendonMurphy wrote:
hi, you can add a description and pic in this task please. It's acceptable also if you create a github account and maintain and have some docs there and use the address as your wiki page.

Hi !
Just added docs on bitbucket
https://bitbucket.org/ios29A/blender_puzzle_generator

> In #63910#667147, @BrendonMurphy wrote: > hi, you can add a description and pic in this task please. It's acceptable also if you create a github account and maintain and have some docs there and use the address as your wiki page. Hi ! Just added docs on bitbucket https://bitbucket.org/ios29A/blender_puzzle_generator
Member

Hi, thanks for replies, I will have a look again soon, this could work well in the Add Curve addon but seems better as a stand alone. I wonder how far it could be taken. Could some of the workflow be automated?
Are there any functions you can think of? I found it's easy with the addon to run up to millions of points. Possibly this might help: https://developer.blender.org/T53367 as it got the point counts down using afterwards.. Apply to selected object would be nice but could be problematic. All in all these are just suggestions.
I did notice that the ui could be fixed a little by grouping some functions on a single line rather than individual so the operator menu is more compacted.
Thanks again, I think we can look more at this. @cwolf3d any suggestions?

Hi, thanks for replies, I will have a look again soon, this could work well in the Add Curve addon but seems better as a stand alone. I wonder how far it could be taken. Could some of the workflow be automated? Are there any functions you can think of? I found it's easy with the addon to run up to millions of points. Possibly this might help: https://developer.blender.org/T53367 as it got the point counts down using afterwards.. Apply to selected object would be nice but could be problematic. All in all these are just suggestions. I did notice that the ui could be fixed a little by grouping some functions on a single line rather than individual so the operator menu is more compacted. Thanks again, I think we can look more at this. @cwolf3d any suggestions?

Added subscriber: @dfelinto

Added subscriber: @dfelinto

Changed status from 'Confirmed' to: 'Archived'

Changed status from 'Confirmed' to: 'Archived'

Hi, thanks for your patch.

We are undergoing a Tracker Curfew where we are automatically closing old patches.

If you think the patch is still relevant please update and re-submit it. For new features make sure there is a clear design from the user level perspective.

Hi, thanks for your patch. We are undergoing a [Tracker Curfew ](https://code.blender.org/?p=3861) where we are automatically closing old patches. If you think the patch is still relevant please update and re-submit it. For new features make sure there is a clear design from the user level perspective.
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#63910
No description provided.