LandXML and Clothoid

zerotouch
python

#1

Is anybody seriously trying to understand how to import a landxml file and draw clothoid curves in Dynamo? I managed to import the xml and read all the data but still I’m struggling to find a solution to draw the spiral curves and the cubic curves based on these data.


#2

Unless you want to compute the clothoid from scratch, I would suggest approximating using a parabola…only there’s no node to create a parabola…because Dynamos geometry engine is so basic. My suggestion therefore would be to stick with Grasshopper or Generative Components for a task like this.


#3

I think that because of the way it’s described in the XML you have to compute it from scratch and then you can probably approximate it with a nurbs curve. Or at least this is the approach I can imagine.


#4

Probably the best way is to compute from scratch…and that is a very difficult task :slight_smile:


#5

I know :wink:


#6

Hi

Did you manage to solve this problem? Im working om this exact problem now. Any insight would be greatly appreciated.


#7

Yes, you can have a look to my AU class and download the handout

If you have any question, let me know.
Cesare


#8

“MEP modeling made easy” just doesn’t cut it for the content in that video! Thanks! :slight_smile:


#9

You’re right! And I’m so sorry but I tried to put as much as I could!


#10

I meant that as the biggest possible compliment. You literally give away how to translate clothoids into Dynamo Geometry among a range of other valuable insights! :wink: Again, huge thanks!


#11

Thank you so much!

I will most certainly have a lot of questions, but it will take the better part of the Chirstmast holiday to wrap my head around all of this. With the late night help form @jostein_olsen i will reach my goal og bridge modelling by early next year :slight_smile:


#12

Good luck!


#13

May be help you!


#14

I have solved this, but any extra insight is usefull. What package is used here?


#15

This package is created by me. The clothoid is build by group points. I use a formula:
formula

Current, it’s not complete. it covert for Alignment and profile (not cross section and sperelevation)

if it is usefull i will send the nodes for you to test.