Forum de la communauté Allplan

[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?

Pièces-jointes (1)

Type: image/jpeg
Téléchargé 134 fois
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

Pièces-jointes (2)

Type: text/xml
Téléchargé 427 fois
Size: 34,46 KiB
Type: video/mp4
Téléchargé 465 fois
Size: 503,62 KiB
21 - 30 (31)

Cité par Nemo
Don't worry, you can do it!
Look at the modified SmartPart Beams2.smt.

It has 2 Points :-)


Hi Nemo, I don't know make a Handle for rotate vertical axis. Can you help me?

Pièces-jointes (1)

Type: image/jpeg
Téléchargé 28 fois
Size: 61,63 KiB

Rolling Beams...

Pièces-jointes (2)

Type: video/mp4
Téléchargé 228 fois
Size: 909,21 KiB
Type: text/xml
Téléchargé 204 fois
Size: 37,24 KiB

Cité par Nemo
Rolling Beams...

Very good! Thank you very much Nemo! Goodbye

Cité par Bertrand_C
Hello Danilos,
In my point of view, use PUT instead.

You can define the points of your different heads as sub (GOSUB) and call up the one selected before creating the prism.

This will be executed faster and you can control the thickness and the length of the beam independently.

In addition, you can use a factor to be able to change the size of the shape of the head if needed.


Hi Bertrand, if section of the beam is not rectangular/square but other shapes (IPE,HE ecc) is it still possible use PUT to generate the beam or is it better to use extrude/prism?

Hello Danilos,
PUT can store values for anything.
So you can use PUT to define your shape and the path of the extrusion.


Cité par Bertrand_C
Hello Danilos,

PUT can store values for anything.

So you can use PUT to define your shape and the path of the extrusion.


Thank you for clarification!

Cité par Nemo
Don't worry, you can do it!
Look at the modified SmartPart Beams2.smt.

It has 2 Points :-)


Hi Nemo, if I want add one or more similar prism ?
I add, in 3D script, before of TRANS dx0, dy0, dz0
...
HANDLE dx1 + 0.25 , dy1 , dz1 , id , "n_beam" , 8 (handle which increases the beam)

In Parameter I add parameter "n_beam" (number of beam)
But I don't know how to manage the coordinates of the subsequent points (dx2...dxn, dy2...dyn, dz2...dzn)

Which "subsequent points"?

Cité par Nemo
Which "subsequent points"?

...coordinates point 3 and subsequent (see sketch)

Pièces-jointes (1)

Type: image/jpeg
Téléchargé 33 fois
Size: 103,31 KiB

Cité par Danilos

Quotato da: NemoWhich "subsequent points"?

...coordinates point 3 and subsequent (see sketch)

Hi, see code with news istruction

Pièces-jointes (1)

Type: application/pdf
Téléchargé 191 fois
Size: 206,81 KiB
21 - 30 (31)

https://connect.allplan.com/ utilise des cookies  -  Plus d'informations

Accepter