Support Forum

[Frage] Creating the geometry using VERT, EDGE, BODY


Hello everyone,

does anyone know how to create solid geometry using these functions? When I try to use EDGE there have to be passed two vertices (more specifically their indexes as an integer value). I cannot find that index value anywhere. When I use VERT I do something like:
VERT 100,200,300 I have tried also to do it like this
vert1 = VERT 100,200,300 but then an error occurs, the syntax is incorrect. So, how to assign the VERT to anything that would have held the index of that certain VERT?

I have looked through all available SP in the standard library and I did not find a solution. No one used the VERT function there.

Best regards

Hello

have a look at the attached example.
You have to consider the normal of the surfaces (PGON). These are defined by the order and direction of the edges.

I think there is a problem with the BODY function.
I get broken bodies when I use the status code 1 (closed body). Therefore I create the faces with the normal in the wrong direction. With the status code 256 (invert orientation) the surfaces are then turned around again. And I get a functional body.

Greetings

Anhänge (2)

Typ: text/xml
646-mal heruntergeladen
Größe: 8,82 KiB
Typ: image/png
46-mal heruntergeladen
Größe: 129,70 KiB