pythonocc-generator icon indicating copy to clipboard operation
pythonocc-generator copied to clipboard

C# Generator

Open cesarecaoduro opened this issue 1 year ago • 2 comments

Hi, I’m not familiar with SWIG and I’m trying really hard to understand how to create a configuration file to wrap OCCT for c#. Would this python generator, able to generate code for c# as well? Thanks in advance and thanks for all the hard work you’ve invested for the community.

cesarecaoduro avatar Feb 27 '24 08:02 cesarecaoduro

swig is able to generate c# wrappers. There are many python specific customizations in pythonocc-generator, however it should be possible to use most of the interface files to generate c#, however I have not experimented c# wrapping using swig

tpaviot avatar Feb 29 '24 04:02 tpaviot

Thanks for answering my question. Unfortunately I have zero experience in this space, hence I was asking. Not sure if it is of your interest to build a C# wrapper, but I can assure you that would be really well received by the community. Cheers, Cesare

On Thu, Feb 29, 2024 at 3:39 PM Thomas Paviot @.***> wrote:

swig is able to generate c# wrappers. There are many python specific customizations in pythonocc-generator, however it should be possible to use most of the interface files to generate c#, however I have not experimented c# wrapping using swig

— Reply to this email directly, view it on GitHub https://github.com/tpaviot/pythonocc-generator/issues/90#issuecomment-1970382771, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGJG6A356V65YB35YMIL4FLYV2YIXAVCNFSM6AAAAABD3U4BPCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZQGM4DENZXGE . You are receiving this because you authored the thread.Message ID: @.***>

cesarecaoduro avatar Feb 29 '24 09:02 cesarecaoduro