ScriptSpot

Script

JigsawMaker

By haavards · 2011-08-26

Version
1.0
Date updated
2011-08-26
Votes
9
Download
Download
Description

(Copypasta from my webpage)
Jigsaw maker

For fun I made a little jigsaw script. Just specify how many pieces you want and optinally draw a template spline for your pieces to generate a fully random jigsaw.

If you want custom pieces, just draw a line following the constraints described in the script's help button.

Above: The custom spline is displayed to the left.

When created, add a bevel modifier to get the splines meshed.

Download: JigsawMaker.ms

Comments (5)

flashalliance · 2017-01-20

good!

haavards · 2011-09-01

lightcube, I think your first suggestion would be hard to do considering how the script is implemented. Now you create 1/8 of 1 piece to start with and the script creates the rest of the 64 (if I remember correctly) different pieces. So assembling the pieces with varying length/height would be hard, but it would look more varied and awesome :)
The other things you mention should not be hard to fix. If you got a cool template just send me the coordinates :D

Glacierise · 2011-08-30

Very fun thing to have, thanks!

lightcube · 2011-08-28

Neat script. Here are some options that might be cool:

 

  1. Allow user to create the bounding spline for the puzzle (so the puzzle boundary can be an arbitrary shape--not just rectangle)
  2. Allow the user to select a list of template shapes instead of just one.

Also, if the user does not create a template piece that is valid, the script fails with:

-- Error occurred in getPiece(); filename: C:\Program Files\Autodesk\3ds Max 2012\Scripts\jigsawMaker.ms; position: 25440; line: 519

...

--   action: undefined
--   jigsawSpline: $ss1
>> MAXScript Rollout Handler Exception:
-- No ""get"" function for OK <<

It might be more convenient if that error was detected or caught.

Nice script, though!

Cool!

rotem · 2011-08-26

This is a really cool and fun script. Could have really saved me time on a project not long ago :)