# Additional Transform option - Align pin to hole

**URL:** <https://prepomax.discourse.group/t/additional-transform-option-align-pin-to-hole/1128>\
**Category:** Feature Requests\
**Created:** [September 28, 2023, 7:56pm UTC](https://prepomax.discourse.group/t/additional-transform-option-align-pin-to-hole/1128 "2023-09-28T19:56:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gunnar](https://avatars.discourse-cdn.com/v4/letter/g/ed655f/32.png) [@Gunnar](https://prepomax.discourse.group/u/Gunnar)\
**Post date:** [September 28, 2023, 7:56pm UTC](https://prepomax.discourse.group/t/additional-transform-option-align-pin-to-hole/1128/1 "2023-09-28T19:56:42Z")

</div>

Hi,

I would appreciate to have an advanced option for aligning parts to each other - “Pin to hole”. This would make creating assemblies much more comfortable. The graphic shows what I’m thinking of:

 ![Unbenannt](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/1/1fc89aaceacc6460fc7589d9e16af116f0e44766.png)

---

<div class="post-metadata">

**Author:** ![FEAnalyst](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/feanalyst/32/688_2.png) [@FEAnalyst](https://prepomax.discourse.group/u/FEAnalyst)\
**Post date:** [September 28, 2023, 8:37pm UTC](https://prepomax.discourse.group/t/additional-transform-option-align-pin-to-hole/1128/2 "2023-09-28T20:37:55Z")

</div>

Then more assembly constraints would be needed but this is meant to be done in CAD software before importing the geometry to PrePoMax. You can use e.g. FreeCAD for this purpose.

---

<div class="post-metadata">

**Author:** ![Gunnar](https://avatars.discourse-cdn.com/v4/letter/g/ed655f/32.png) [@Gunnar](https://prepomax.discourse.group/u/Gunnar)\
**Post date:** [September 28, 2023, 9:02pm UTC](https://prepomax.discourse.group/t/additional-transform-option-align-pin-to-hole/1128/3 "2023-09-28T21:02:12Z")

</div>

I understand what you mean but that’s not my point. For assemblies, it does not make sense to import and mesh every screw based on the CAD model. It makes more sense to add screws later as beam elements (not available) or to represent them using separately created, structured hexahedral elements.  
I don’t think any associative constraints are needed for this.

---

<div class="post-metadata">

**Author:** ![synt](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/synt/32/4658_2.png) [@synt](https://prepomax.discourse.group/u/synt)\
**Post date:** [September 28, 2023, 10:44pm UTC](https://prepomax.discourse.group/t/additional-transform-option-align-pin-to-hole/1128/4 "2023-09-28T22:44:34Z")

</div>

Indeed, also bolt have end nut and different body/shank length. Probably, bolt with beam element model is more convenient to implement.

---

<div class="post-metadata">

**Author:** ![Gunnar](https://avatars.discourse-cdn.com/v4/letter/g/ed655f/32.png) [@Gunnar](https://prepomax.discourse.group/u/Gunnar)\
**Post date:** [October 1, 2023, 11:35am UTC](https://prepomax.discourse.group/t/additional-transform-option-align-pin-to-hole/1128/5 "2023-10-01T11:35:24Z")

</div>

Alternatively it would be nice to have the selection menu for creating reference points also for the transform options:

 ![1](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/5/5dec508b564646d8627558b40a09384ebed5445b.png)

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [October 2, 2023, 11:31am UTC](https://prepomax.discourse.group/t/additional-transform-option-align-pin-to-hole/1128/6 "2023-10-02T11:31:51Z")

</div>

Currently, there is no plan to add support for assembly constraints. But in the future, there is a plan to add support for simple geometry modeling. At that time something like part positioning will become a must.

---

<div class="post-metadata">

**Author:** ![synt](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/synt/32/4658_2.png) [@synt](https://prepomax.discourse.group/u/synt)\
**Post date:** [November 15, 2023, 7:01pm UTC](https://prepomax.discourse.group/t/additional-transform-option-align-pin-to-hole/1128/7 "2023-11-15T19:01:27Z")

</div>

since bolt are widely used, it seems some specific module is required when it needed to implement. Most CAD software have this feature also, it can defined based on drill hole diameter and depth.

PrePoMax can take the advantages of CAD approach, but generate structured hex mesh instead. Additional to given option in pre-tension and predefined contact surface can be great and useful.
