[Question] Smart part "special" beam


Hi, does anyone know how to make a beam smartpart where it is possible to move points 1 and 2 in x,y,z?

Attachments (1)

Type: image/jpeg
Downloaded 134 times
Size: 57,03 KiB

Show most helpful answer Hide most helpful answer

Point1 = Insertation Point / Local origin of SmartPart
Place Handle at Point2
Calc rotation anlges in 2D and 3D
Add rotations with calced angles
Create BOX

Attachments (2)

Type: text/xml
Downloaded 418 times
Size: 34,46 KiB
Type: video/mp4
Downloaded 456 times
Size: 503,62 KiB
1 - 10 (31)

Point1 = Insertation Point / Local origin of SmartPart
Place Handle at Point2
Calc rotation anlges in 2D and 3D
Add rotations with calced angles
Create BOX

Attachments (2)

Type: text/xml
Downloaded 418 times
Size: 34,46 KiB
Type: video/mp4
Downloaded 456 times
Size: 503,62 KiB

Quote by Nemo
Point1 = Insertation Point / Local origin of SmartPart

Place Handle at Point2

Calc rotation anlges in 2D and 3D

Add rotations with calced angles

Create BOX


Thank you very much Nemo for information and smartpart! In your example you insert only andle at point 2...it's possible insert andle also in point 1?

No, because the moving of this handle (at insertation point) has to move the whole SmartPart.
This logic is not implemented in SmartPart! Therefore you need a special kind of handle...

Quote by Nemo
No, because the moving of this handle (at insertation point) has to move the whole SmartPart.

This logic is not implemented in SmartPart! Therefore you need a special kind of handle...


Thank you Nemo for clarification. Too bad it can't be done, it would have been one more possibility to be able to move both points in space.

Of course you can add a second point as handle, and calculate the angles between these 2 points.
But before the construction you would have to pack the coordinates of this point as offset displacement into a TRANS command.
The instertation point stays somewhere in the space. In order for the SmartPart selection to work, you still need to check the "Automatic calculation of bounding box".

Quote by Nemo
Of course you can add a second point as handle, and calculate the angles between these 2 points.
But before the construction you would have to pack the coordinates of this point as offset displacement into a TRANS command.

The instertation point stays somewhere in the space. In order for the SmartPart selection to work, you still need to check the "Automatic calculation of bounding box".


Thank you for clarification! It's too complicated for me.

Don't worry, you can do it!

Look at the modified SmartPart Beams2.smt.
It has 2 Points :-)

Attachments (2)

Type: text/xml
Downloaded 434 times
Size: 36,31 KiB
Type: video/mp4
Downloaded 430 times
Size: 452,14 KiB

Quote by Nemo
Non preoccuparti, ce la puoi fare!
Guarda lo SmartPart Beams2.smt modificato.

Ha 2 punti :-)


Thank you very much Nemo!
I can do it yes... but thanks to Nemo!

Quote by Nemo
Don't worry, you can do it!
Look at the modified SmartPart Beams2.smt.

It has 2 Points :-)


Hi Nemo , for special cuts on heads it is better work with group_diff or prism_?

Attachments (1)

Type: image/png
Downloaded 48 times
Size: 67,44 KiB
1 - 10 (31)

https://campus.allplan.com/ uses cookies  -  More information

Accept