Python - Plate Fold

Hi All,

I’m fairly new to Dynamo (in Advance Steel), I’ve come up with a few useful solutions, but I’ve hit a roadblock that could put an end to my project.

I need to create folded plate relationships en masse. I realise there’s no existing node, so I’m looking for work arounds. Is there a way to create folded plate relatinoships via Python? I have been looking through the SDK and other online resources, and it appears that Python can do basic geometry, but I can’t find any references that show how to reference/modify the Advance Steel objects like Plates and Beams. I’m wondering if I’m looking for something that doesn’t exist.

Any suggestions?

Hi All,

Bumping this one up. Any guidance on where to start with this would be greatly appreciated.

Regards

Here’s an example DWG file containing a set of 3 plates created by the attached Dyanamo file - and a copy of the same files created by the user which does include the folded plate relationships.

Folded Plate Test.dwg (49.5 KB)
Plate By Coordinates 2.dyn (81.5 KB)

The CSV file required as input to the dynamo file looks like this (upload not allowed):

X Y Z
PLATE 1 P1 0.0 0.0 0.0
PLATE 1 P2 800.0 0.0 0.0
PLATE 1 P3 800.0 2000.0 0.0
PLATE 1 P4 0.0 2000.0 0.0
PLATE 2 P1 0.0 0.0 0.0
PLATE 2 P2 0.0 2000.0 0.0
PLATE 2 P3 0.0 2000.0 100.0
PLATE 2 P4 0.0 0.0 100.0
PLATE 3 P1 810.0 0.0 0.0
PLATE 3 P2 810.0 2000.0 0.0
PLATE 3 P3 810.0 2000.0 100.0
PLATE 3 P4 810.0 0.0 100.0

Thanks

1 Like

@gerrardhickson,

i did some edits — you have to simplify your list

#X;Y;Z  Integer
0,0,0
800,0,0
800,2000,0
0,2000,0
0,0,0
0,2000,0
0,2000,100
0,0,100
810,0,0
810,2000,0
810,2000,100
810,0,100

try a way like this…

KR

Andreas

Thanks for that. Thats helpful, but the original problem is, how do I add a folded plate relationship with dynamo? I believe I need some API help.