[Frage] Smartpart: Wiederholender runter Querschnitt mit Revolve Funktion


Guten Tag, ich bastel mir gerade ein ein Smartpart wo ich einen "Längsschnitt" habe, welcher mit Revolve erstellt wird, und dann mit einer Schleife hintereinander erzeugt wird. Leider wird daraus nicht ein Körper, sondern mehrere. Kann man also irgenwie vereinfach revolve einen Querschnitt mitgeben, den es x-mal ausführt?

Grüße Paul

Anhänge (2)

Typ: image/png
58-mal heruntergeladen
Größe: 5,65 KiB
Typ: image/png
47-mal heruntergeladen
Größe: 23,29 KiB

Hello Paul,

Use PUT function to send data to buffer and then you can use FOR...NEXT function.

Something like that:

FOR ii = 0 to i_max
   PUT ii * 0.25 , r_out , 0 
   PUT ( ii * 0.25 ) + 0.05 , r_out , 0 
   PUT ( ii * 0.25 ) + 0.05 , r_in , 0 
   PUT ( ii * 0.25 ) + 0.2 , r_in , 0 
   PUT ( ii * 0.25 ) + 0.2 , r_out , 0 
NEXT ii 
! Last point
PUT ( i_max + 1 ) * 0.25 , r_out , 0 

REVOLVE NUM_SP / 3 , 360 , 15 , GET ( NUM_SP )

With "15" ( 1 + 2 + 4 + 8 ), you will get a full volume, not only surfaces.


Hey Bertrand,

now it works perfectly, thanks!

Hey, probably you can give me a tipp, whether allplan provides a function i can "sweep" a profile a long any path and generate a boby?

bg Paul

Anhänge (1)

Typ: image/png
33-mal heruntergeladen
Größe: 16,75 KiB

Hello,

You can use TUBE for that.
Look at the online help. You have the description for all functions.



https://campus.allplan.com/ verwendet Cookies  -  Mehr Informationen

Akzeptieren