OSArch Community

Sharing a recent discovery about IfcSpiral

  1. R

    This is probably obvious to all the IFC veterans out there, but it was a new discovery for me so I thought I would share. When I first started learning IFC it was because of infrastructure and alignments. I was under the mistaken impression that a Helmert transition spiral and an IfcSecondOrderPolynomialSpiral were the same thing (and this goes for all the other spirals as well, but easier to stick to a single example). I have since learned that a Helmert transition spiral is a specific instance of IfcSecondOrderPolynomialSpiral with very specifically defined polynomial coefficients. However, in general and IfcSecondOrderPolynomialSpiral is just some cool geometry that can be used for just about anything - including some fanciful roadside art.

    To make this concept real to me, I created a small test file with an alignment having a single Helmert transition spiral and an IfcBuildingElementProxy. The built element has a representation that is an IfcSweptDiskSolid and the directrix is an IfcSecondOrderPolynomialSpiral. This is an example of the same spiral type being used in two very different ways.

    Here are some screenshots from different viewers

    !

    !

    !

    !

    Like I say - this is probably trivial to IFC experts, but as a relative newbie, I think this is pretty cool

  1. M

    Ah yes the IfcJacksonPollockModelIsEmpty spiral.

    Jokes aside this is great and thanks for sharing. There's a lot of geometry types in IFC across different usecases and most of us a only scratching the surface with tessellations and swept solid extrusions.

  1. W

    Yes, very cool!

    @Rick_Brice Could you show us how you managed to assign this representation?

    Not only for infrastructure, I think this would be a very interesting approach for the IfcCable tool.

  1. R

    @walpa - there is an IFC file at the bottom of my post. If you need more information, please let me know.

  1. W

    Hi @Rick_Brice , thanks for the reply, I downloaded the file and tried to reproduce it using a simple Blender bezier curve, also classified as IfcBuildingElementProxy, but I couldn't identify how you assigned the IfcSweptDiskSolid representation through the interface.

  1. R

    I didn't use the UI - made a little python script to generate the file then I viewed it in Bonsai.

  1. W

    Thanks, I thought it was that way.

Login or Register to reply.