Sebastian Alff

Results 53 comments of Sebastian Alff

The previous syntax in the "valid code" was incorrect. Instead, this should be: ```js const quat = new oc.gp_Quaternion_1(); quat.SetEulerAngles(oc.gp_EulerSequence.gp_Extrinsic_XYZ.value, 0, 0, 0)); ``` It's tricky to figure this out,...

Hi, it's probably best to download a fresh copy of the [starter template](https://ocjs.org/starter-templates). Then to run the application in development mode: ```sh cd ocjs-create-nuxt-app npm install npm run dev ```...

Re-designing this should also support the following use case: ```js // myView is of type V3d_View myView.ChangeRenderingParams().IsAntialiasingEnabled = true; console.log(myView.ChangeRenderingParams().IsAntialiasingEnabled); // false ```

The following bind-code can be used to achieve the desired functionality: ```cpp class Foo { int _j; public: Foo(int j) : _j(j) {} void setJ(int j) { _j = j;...

Hey, interesting project! Are you aware of [pyOCCT](https://github.com/trelau/pyOCCT) and [python-occ](https://github.com/tpaviot/pythonocc-core) (the latter might now be unmaintained, I believe)?! Wouldn't those be easier solutions for what you want to achieve? References...

Sounds good. > I am targeting pyodide, a port of CPython to WebAssembly/Emscripten. My understanding is then that pyOCCT and python-occ are not applicable, and only this project is... is...

The class [`TypescriptBindings`](https://github.com/donalffons/opencascade.js/blob/master/src/bindings.py#L361) has all the methods to generate typescript definitions. It "returns" the bindings using the string `self.output`. A good place to start might be the method [`processClass`](https://github.com/donalffons/opencascade.js/blob/master/src/bindings.py#L383), which...

That's not a docker limitation, but an issue with the current implementation. (To be fair though: OCCT is a huge library and the process of generating bindings is also very...

...additionally, it might make sense to introduce wrapper lambda functions for known template arguments, like those of type `opencascade::handle` which can convert from the underlying type to the typedef'd type...

Thanks for the note! `TopTools_ListIteratorOfListOfShape` is defined [here](https://github.dev/Open-Cascade-SAS/OCCT/blob/56b495d93bc70a96c9f07a6025b83e2e5e70eef7/src/TopTools/TopTools_ListOfShape.hxx#L24). What makes this tricky (and is probably part of the reason it is not auto-generated) is that it is a template specialization...