#Remove crystal from a shape (MAM)

1 messages · Page 1 of 1 (latest)

vocal moth
#

Hi,
I'm building my first MAM and for my shape checker (before stacking) I need to remove crystal from the layer to check if my layer without crystal is ok and then I can add the crystal.

for exemple on the screen. I need to create CuccCucc
so I create first Cu--Cu-- but I want to check if this form is valid.
How can I do that ? Thank you 🙂

civic creek
#

basically the bottom shape is invalid and will instantly collapse/shatter, allowing the top shape to fall down (and also shatter)

vocal moth
#

ho nice ! did'nt know that. I was trying to stack but not is a good way

civic creek
#

be warned about layers that contain all crystal. you will need pins for those to force the crystals to appear

vocal moth
#

yes indeed. I still need to check that

vocal moth
#

Thank you ! 🙂

junior aurora
# vocal moth Hi, I'm building my first MAM and for my shape checker (before stacking) I need ...

For a simple solution, try this:
Take your base shape (always "the current single layer that this level of the mam is building").

||Pin it, and stack the pinned one on the original. All crystal shapes will break, leaving gaps with pins underneath. All empty segments won't have gotten pins, so there is now a gap with no pin underneath for each of those.||

||Stack a layer of pins on top: Anything solid will hold up the pins. Anything that WAS crystal will have a pin fall one level down. Anything that was empty will have a pin fall three levels down, all the way to the floor where we will never look at it again.||

||Remove the top layer of the shape (any pins that were held up by solid objects).|| Look at the remaining top layer, it is your original shape with pins where the crystals were.

Was your layer all crystal? Then you have ||pins on pins|| and the result of ||removing the top layer|| is "all pins". Did your layer have pins but not crystals? They didn't go anywhere. Was it all solid? You ||dropped pins on it then took them off, leaving|| the original.

#

The image I posted is in Hex mode, but the technique works identically in both Hex and Quad.

vocal moth
junior aurora
# vocal moth Sorry, I didn’t understand ^^" It seems complicated compared of Lue’s tips.

Take a look at the picture. 6 machines total, including the shape producer. It will always, 100% accurately, take any single layer shape and replace all crystal segments with pins, with no other changes. It will work on 100% crystal layers. It will work on layers that have gaps or non-crystal pins.

That's what I was getting at. The rest is just a longwinded explanation of how it works.

vocal moth
#

but on your screen you have one stacker without the top layer so it's not working ?

junior aurora
vocal moth
#

hooo ok i don't have my glasses haha

junior aurora
#

Because I don't care about the top layer, I remove the top layer and throw it away. 🙂

#

Like using a shape analyser to get only the shape or only the colour.

vocal moth
#

ok i'l try your way

junior aurora
#

I believe the original is FatCat's, but that particular pattern of machines has been going around the discord for a long time. It's aggravatingly simple, the kind of thing I wish I'd thought of.

vocal moth
#

ok i see it. really nice and cleaner that wat i did 🙂 thx

#

I made this ^^"

junior aurora
# vocal moth I made this ^^"

Mine was worse than that. Between that and a bit of crystal detection/dissection logic, the Discord took me from "three layers of spaghetti logic occupying about 2/3 of a 1x1 area" to "uh, the entire setup, in Hex, is a single layer 8x12 and that's a lot more space than I need because I put in a bunch of labels"

#

Sometimes you come to the Discord and someone shows you something simple, elegant, and just better, and then you think "Why didn't I think of that?" and then you never, ever forgive them for it.

#

Happens to me about once a day.

vocal moth
#

for sure !
happy to see a better and cleaner way to do the same job

#

I just add a check if it's empty that way I have a Zero and the filtering belt can work