SofaPython3 icon indicating copy to clipboard operation
SofaPython3 copied to clipboard

A python plugin for Sofa offering a pythonic interface and python3 support.

Results 85 SofaPython3 issues
Sort by recently updated
recently updated
newest added

In https://github.com/sofa-framework/SofaPython3/blob/master/bindings/Sofa/package/__init__.py, the code checks the existence of files relative to `SOFA_ROOT`. However, on Windows, the bin folder is not `sofa_root + "\\bin"`, but `sofa_root + "\\bin\\"`. For example `bin/RelWithDebInfo`,...

issue: bug

This issue is linked to [this discussion](https://github.com/SofaDefrost/SoftRobots/discussions/139#discussioncomment-2720667) in the SoftRobots Plugin. When defining a _**Prefab**_ object, zero(s) will be concatenated to the end if a property of vector type is...

During our weekly coding sprint it was reported that this kind of pattern is failing: ```python with rootNode.mechanicalObject.position.writableArray() as w: w[0] = rootNode.otherObject.position.value[0] ``` Should be investigated quickly.

issue: bug

Depends on https://github.com/sofa-framework/sofa/pull/2554 Since an intermediate node is created, the path from the root Node is no longer valid

pr: status wip

So now all tests needed to validate that PRs are not breaking is integrated and reported into gtest.

pr: status wip

Implement a control mecanism to activate/de-activate feature of the SofaPython3 binding so we have more freedom to experiment. Example of use (taken from PR #173): ```python from Sofa.Lifecycle import __feature__...

pr: status wip
pr: new feature

Linked with the discussion #226 User has to define explicitly the path of SofaPython3 python package into the env.var PYTHONPATH. IMO it is not really straight-forward, and should be done...

enhancement

### Sofa's PluginManager does not find the "python3" dir **Description** The plugin Manager looks for a "python3/" dir inside the folder ../sofa/build/bin but this folder is in fact located in...

What should be the behavior when passing other data field as argument during object creation. Example: ```python def createScene(root): root.addObject("MeshObjLoader", filename="mesh/cube.obj", name="loader"); a = root.addObject("PointSetTopologyContainer", position=root.loader.position, name="topo") b = root.addObject("PointSetTopologyContainer",...