Help with creating an inward offset for a roof in Dynamo

Hi everyone, I’m new to using Dynamo and currently learning.

I managed to create a roof from room boundary lines using Dynamo, but now I want that roof to be offset inward by 0.04 meters (4 cm)—so the roof perimeter is slightly smaller than the original lines.

Could someone share a basic example of how to do this correctly?

Thanks a lot

I’m adding a picture to show what I’m trying to achieve:

I already have a Dynamo graph that creates the roof, but I’m not sure how to apply the offset correctly. Could someone help me fix the graph so it offsets inward and works properly?

Hi Yamir, welcome :wave:
You seem to be pretty close to the solution - what is the warning on the node creating the ceiling?

Check your units - are you in metres? or mm?
You may have to use a negative value for the offset
Convert your room outline into a PolyCurve and use the associated node


1 Like

Thanks a lot! It worked just as I needed. Really appreciate the guidance!