API - Cladding and panels creation

API - Cladding and panels creation

Anonymous
Not applicable
1,696 Views
11 Replies
Message 1 of 12

API - Cladding and panels creation

Anonymous
Not applicable

Hi,

 

What is the API code that create some cladding elements ?

 

Actually my question would be, is there a API code that I can use in order to create panels from nodes ?

 

Since we can easilly create a panel from cladding, my idea is to import a set of node, to generate the cladding trough the API and then to manually create the panels form the cladding.

 

To be more precise, I would like to generate the panels from a grasshopper mesh.

For example, here is a moebius mesh, composed of quadrangle and triangle elements.

I can build the node tabs and the bar tabs but since the cladding or panels tab is not awailable,

I would like to use an API.

 

MOEBIUS_1.png

 

MOEBIUS_2.png

 

Thanks for your help,

 

Guillaume

0 Likes
Accepted solutions (1)
1,697 Views
11 Replies
Replies (11)
Message 2 of 12

Anonymous
Not applicable

Not to mention that doing it manually would take decades !

 

Cladding.PNG

0 Likes
Message 3 of 12

Rafal.Gaweda
Autodesk Support
Autodesk Support
0 Likes
Message 4 of 12

Anonymous
Not applicable

It seems to me that the converter only triangulate a quadrangle panel...

 

I just would like to import / generate panels from the nodes or from a Grasshopper mesh !

 

Convert-Triangulate.PNG

 

 

Here I tried to import the bars then to generate the panel by the objects selection, but it bug when you select them all.

All-Panel.PNG

 

 

 

Then I tried by selecting parts of the bars but it still don't work and some local bug appears.

 

 

Local-Bug.PNG

 

 

Can you help me please ? What the API ? How can we do ?

 

Thanks,

 

Guillaume

0 Likes
Message 5 of 12

Rafal.Gaweda
Autodesk Support
Autodesk Support

Sorry for misleading you.

My intention was to show you example code for creating panels - you can find it it this project files.

 

Maybe without API this way : http://screencast.com/t/ibcxmM7EMKw

 

 



Rafal Gaweda
0 Likes
Message 6 of 12

Anonymous
Not applicable

Hi,

 

Thanks for the video but selecting "ALL" objects didn't work for my particular case.

 

I guess the curvature is too high. Otherwise, the triangulating plug-in worked perfectly.

 

So this time I made it manually, which was quite boring, and, I'm still interested in the API Code.

 

Guillaume

 

 

0 Likes
Message 7 of 12

Rafal.Gaweda
Autodesk Support
Autodesk Support

 I'm still interested in the API Code.

 

So write it.

 

 



Rafal Gaweda
Message 8 of 12

Anonymous
Not applicable

Hi,

 

My question was :

 

What syntax can I use to create a quadrangle panel when I know the nodes that define that panel ?

0 Likes
Message 9 of 12

Rafal.Gaweda
Autodesk Support
Autodesk Support
Syntax?
You have to write your own code.
From nodes get coordinates, then create contours \ claddings using these coordinates etc


Rafal Gaweda
0 Likes
Message 10 of 12

Anonymous
Not applicable

Hi, 

 

I would also like to know how to create a cladding element from 4 points and define its load distribution direction using the API. I have established a connection to the robot API using a python node in Dynamo but I don't know how to call the cladding function and what arguments it needs. Any help would be greatly appreciated.

 

Kind regards

Richard 

0 Likes
Message 11 of 12

stone_hunter2
Explorer
Explorer

Checking in 6 years later with this exact question. Finding a solution for this will determine whether or not I can make use of RSA + Dynamo...

0 Likes
Message 12 of 12

Stephane.kapetanovic
Mentor
Mentor
Accepted solution

hi @stone_hunter2 

First of all, you start with generated nodes, but they are not necessary for the panels. There is not a single solution to this question. For instance, you can identify a pattern in the generation of nodes and replicate this sequence for the generation of panels. Alternatively, you can base it on the coordinates, find the nearest points, and triangulate from that node.

You need to create your own algorithm.

Best Regards

Stéphane Kapetanovic

Did you find this post helpful? If it gave you one or more solutions,
don't forget to accept the solution and leave a < like !
EESignature