Sebastian Alff

Results 23 issues of Sebastian Alff

Hi, is it possible to use the android studio emulator for testing websites made using three.ar.js? I tried a couple of different AVD's with different settings without any success. I...

Some parts of OCCT return references (and maybe pointers?) that are meant to be mutated, like with [ShapeFix_Shape](https://old.opencascade.com/doc/occt-7.5.0/refman/html/class_shape_fix___shape.html). ```cpp class ShapeFix_Shape : public ShapeFix_Root { // ... //! Returns (modifiable)...

Some OCCT functions use `void*` as arguments or return values, e.g. `V3d_View::SetWindow`. These cannot be used, since Emscripten complains about `void*` not being a type for which bindings exist. As...

The typescript definition for the following usage of `gp_Quaternion::GetEulerAngles` is missing / incomplete: ```js const quat = new oc.gp_Quaternion_1(); quat.SetEulerAngles(oc.gp_EulerSequence.gp_Extrinsic_YXZ.value, 0.1, 0.2, 0.3); const aRes = { current: 0 };...

The following valid code ```ts const quat = new oc.gp_Quaternion_1(); quat.SetEulerAngles(oc.gp_EulerSequence.gp_Extrinsic_XYZ, 0, 0, 0)); ``` results in a typescript error: ``` (property) gp_Extrinsic_XYZ: {} Argument of type '{}' is not...

v2.0.x

This code is valid, but is flagged by typescript, since parameter 3 should be of type `string`. ```js const writer = new oc.STEPCAFControl_Writer_1(); writer.Transfer_1(docHandle, oc.STEPControl_StepModelType.STEPControl_AsIs as any, null, new oc.Message_ProgressRange_1());...

v2.0.x

For example, in `gp_GTrsf::SetValue`, the typescript definitions look like this: ```ts export declare class gp_GTrsf { // ... SetValue(theRow: Graphic3d_ZLayerId, theCol: Graphic3d_ZLayerId, theValue: Standard_Real): void; // ... } ``` That...

v2.0.x

Certain typedef's exist for sub-classes, e.g. in [TopTools_ListOfShape.hxx](https://github.dev/Open-Cascade-SAS/OCCT/blob/e976df232941aae838b8c3dcf4b9f79f79bea705/src/TopTools/TopTools_ListOfShape.hxx#L23-L24) ```cpp typedef NCollection_List::Iterator TopTools_ListIteratorOfListOfShape; ``` These are currently ignored by the build system. Bindings for this class are important, since otherwise a...

v2.0.x

As reported in #33, there are currently no bindings for `TColgp_HArray1OfPnt` (probably affects other classes as well): The bindings are never generated. The build logs show the message ``` cannot...

Those comments will then be visible via "Intellisense" in most editors / IDEs.