# Align vs mirror

**URL:** <https://forums.sketchup.com/t/align-vs-mirror/258238>\
**Category:** Trimble Creator (Beta)\
**Created:** [February 4, 2024, 6:35am UTC](https://forums.sketchup.com/t/align-vs-mirror/258238 "2024-02-04T06:35:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![vlapredbv](https://avatars.discourse-cdn.com/v4/letter/v/c5a1d2/32.png) [@vlapredbv](https://forums.sketchup.com/u/vlapredbv)\
**Post date:** [February 4, 2024, 6:35am UTC](https://forums.sketchup.com/t/align-vs-mirror/258238/1 "2024-02-04T06:35:08Z")

</div>

Hi,

please help.

see this graph:  
[https://creator.trimble.com/graph?layout=right&asset=whp:b7af58f4-c8b3-4a6f-b12b-faee63332f77](https://creator.trimble.com/graph?layout=right&asset=whp:b7af58f4-c8b3-4a6f-b12b-faee63332f77)

I do want to align the “box” to each corner of the bottom (parameter “stair position” - corner\_1/corner\_2…), the dimensions of the bottom are adjustable and so I have used the nodes “geometry center” / “mirror” /“get primitive” to get the box i the corner I need.  
But if I make the final alignment between box and bottom (the last node “align” on the right), the box rotates but stays in one corner and does not change the position.  
I think the final alignment “fights” with the “mirror” function, because the X/Y alignment is fixed in the last align node…

thank you

---

<div class="post-metadata">

**Author:** ![ArayaCAD](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/arayacad/32/146649_2.png) [@ArayaCAD](https://forums.sketchup.com/u/ArayaCAD)\
**Post date:** [February 4, 2024, 6:19pm UTC](https://forums.sketchup.com/t/align-vs-mirror/258238/2 "2024-02-04T18:19:24Z")

</div>

It looks like you have too many align nodes. Have you seen my post tutorial that I wrote on this? After I learned how to use the align node pretty well, I made a post about it. Be on the lookout for those kinds of tutorials if they manage to help you. I think personally you could do a better job at the align part, a lot to explain or rather rexplain what i posted in my tutorial post on this, i can also google meet with if you’d like just pm me.

> [@Align multiple parts together (tutorial) - Graphs attached](https://forums.sketchup.com/t/align-multiple-parts-together-tutorial-graphs-attached/256849):
>
> After 2 days of experimentation, I’ve cracked the code. Here’s my advice for aligning multiple parts: Begin with two pieces of geometry, connect them to a single align node, and thoroughly comprehend how each input of the align node functions. Once you’ve grasped that, you can smoothly devise the logic and sequence of connections to align other geometry nodes. It might appear straightforward in the end, but grasping the fundamentals is crucial. Rushing through random connections, as I did, can p…

---

<div class="post-metadata">

**Author:** ![vlapredbv](https://avatars.discourse-cdn.com/v4/letter/v/c5a1d2/32.png) [@vlapredbv](https://forums.sketchup.com/u/vlapredbv)\
**Post date:** [February 4, 2024, 7:21pm UTC](https://forums.sketchup.com/t/align-vs-mirror/258238/3 "2024-02-04T19:21:47Z")

</div>

Hi Araya,

yes I know your graph…but my graph is slightly different because of the mirror nodes…  
it only works if I change the “x align target” and “y align target” of the last ALIGN NOTE.  
If I set these targets to “none”, the graph works - stairs jump to the desired corner.  
But if the targets in the last node are fix given then I actually tell the graph:  
jump with the stairs to corner\_3 from the corner\_1 - BUT LET THE STAIRS STILL ALIGN to CORNER\_1 !! and that is nonsense…

---

<div class="post-metadata">

**Author:** ![ArayaCAD](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/arayacad/32/146649_2.png) [@ArayaCAD](https://forums.sketchup.com/u/ArayaCAD)\
**Post date:** [February 4, 2024, 7:23pm UTC](https://forums.sketchup.com/t/align-vs-mirror/258238/4 "2024-02-04T19:23:01Z")

</div>

I think the way you’ve setup your nodes in the first place is incorrect and I’m sure we can find you a solution that’s quite easy given what you want to do. Pm me and we can google meet now if you’d like.

---

<div class="post-metadata">

**Author:** ![ArayaCAD](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/arayacad/32/146649_2.png) [@ArayaCAD](https://forums.sketchup.com/u/ArayaCAD)\
**Post date:** [February 5, 2024, 5:35am UTC](https://forums.sketchup.com/t/align-vs-mirror/258238/5 "2024-02-05T05:35:39Z")

</div>

Found quite a fun way to solve creating a simple staircase like you were trying to do @vlapredbv. I know it’s different then what you were doing with the align nodes, which as I mentioned could be fixed, however to get a result of a staircase that can create infinite amount of stairs without needing more nodes, check this out. The fun thing I tried was just putting a simple box boolean together against the offset stairs. Click through the graph to check it out, the box cuts the stairs off when it goes over where the box is aligned too, then you can group the box and stairs (other boxes) together and move them around as one object (a staircase). Plenty of ways to improve the graph for custom parameter functions but wanted to keep it simple here and not wander off the topic. Get creative with your solutions!! This was fun, and now it’s late, time for bed.

[Graph example](https://creator.trimble.com/graph?layout=right&asset=whp:302af707-91d3-4051-b677-14004f84fac7)

 ![Screenshot 2024-02-05 002831](https://global.discourse-cdn.com/sketchup/original/3X/2/3/23baf712cdedae775a7825cb962926f76c629faf.jpeg)  
 ![Screenshot 2024-02-05 002904](https://global.discourse-cdn.com/sketchup/original/3X/5/6/56333b604e976e72f80fd6c2306f44bb09e84f75.jpeg)  
 ![Screenshot 2024-02-05 002925](https://global.discourse-cdn.com/sketchup/original/3X/1/f/1f1d99bb05855ab3370f545f8575c92c1daf6361.jpeg)

---

<div class="post-metadata">

**Author:** ![vlapredbv](https://avatars.discourse-cdn.com/v4/letter/v/c5a1d2/32.png) [@vlapredbv](https://forums.sketchup.com/u/vlapredbv)\
**Post date:** [February 6, 2024, 6:40am UTC](https://forums.sketchup.com/t/align-vs-mirror/258238/6 "2024-02-06T06:40:28Z")

</div>

now it works 😉  
[https://creator.trimble.com/graph?layout=right&asset=whp:251c2d86-7179-473e-bf80-d1a6239b3d39](https://creator.trimble.com/graph?layout=right&asset=whp:251c2d86-7179-473e-bf80-d1a6239b3d39)

stairs rotate and “jump” into the right corner…

---

<div class="post-metadata">

**Author:** ![ArayaCAD](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/arayacad/32/146649_2.png) [@ArayaCAD](https://forums.sketchup.com/u/ArayaCAD)\
**Post date:** [February 6, 2024, 2:46pm UTC](https://forums.sketchup.com/t/align-vs-mirror/258238/7 "2024-02-06T14:46:16Z")

</div>

Oh I get it now, it was hard for me to understand what you were trying to do, but I see it now. Great job!

Also, one more way you can make the graph smaller and more flexible is using a copy node with 1 box instead of the 4 or 5 you have, then a get primitive or maybe even better a delete primitives combined with a boolean list which would simply get primitives you wanted to redimension off of one paramater. For example you could setup a custom stair dimension paramater effecting riser height or tread depth or both, then 1 more paramater to toggle the stair number you wanted to custom redimension and adjust it, that’s what the delete primitives combined with the boolean list would let you do. This way you could have infinite stairs and adjustments with 50-90% less nodes in the graph making it more parametric.
