After many tries I think I am closer now, but not done. I am getting the 
following error message in the console:
    
    
    Uncaught (in promise) TypeError: opencascade_469762091.makePolygon is not a 
function
        at HEX3Aanonymous_469762090 (index.js:107:72)
    
    
    Run

It is referring to 
[L107](https://github.com/mantielero/opencascadejs.nim/blob/e8f71aa2eb51e7012b8d7d6ebdd20d97d6f000f6/src/index.js#L107).

The original line would be 
[here](https://github.com/donalffons/opencascade.js-examples/blob/d0e73b17d9bc6edd4f4c72ba43b19e862fca8323/src/demos/polygon/index.js#L8).

I think I am messing things up 
[here](https://github.com/mantielero/opencascadejs.nim/blob/e8f71aa2eb51e7012b8d7d6ebdd20d97d6f000f6/src/index.nim#L45-L48)
 with the `async`, `await`, `then`, ... which I am not familiar with.

Any advise?

Reply via email to