Coder Social home page Coder Social logo

Comments (3)

dogukankaratas avatar dogukankaratas commented on August 21, 2024

Hi @MaximilianFranz,

Thanks for reaching us out. After my investigation, you're right. thickness_type should be returned as 1 in the script generator. We started to working on it, I'll let you know asap when it's fixed 🚀

from rfem_python_client.

MaximilianFranz avatar MaximilianFranz commented on August 21, 2024

In RFEM in the model it says under "Dicke" for the layer "Direkt" - so I am confused as to what is expected under thickness_type? Can you explain that?

We went back and used 0 now again and it worked to yield the "Direkt" but then we get a

Server raised fault: 'Objekt: Dicke Nr. 1\nAttribut: Dickentyp\nFehler: Ung\xc3\xbcltiger Objekttyp.'

error.

for this object:

 Thickness(
            no=1,
            params={
                "type": "TYPE_LAYERS",
                "name": "Test-CLT-Thickness",
                'layers_total_thickness': 0.1,
                'layers_total_weight': 420.0,
                "layers_reference_table": {
                    "thickness_layers_reference_table": [
                        {
                            "no": 1,
                            "row": {
                                "layer_no": 1,
                                "layer_type": "E_LAYER_TYPE_LAYER",
                                "thickness_type": 0,
                                "material": 1,
                                "thickness": 0.04,
                                "angle": 0.0,
                                "integration_points": 9,
                                "connection_with_other_topological_elements": False,
                                "specific_weight": 4200.0,
                                "weight": 168.0,
                            },
                        },
                        {
                            "no": 2,
                            "row": {
                                "layer_no": 2,
                                "layer_type": "E_LAYER_TYPE_LAYER",
                                "thickness_type": 0,
                                "material": 1,
                                "thickness": 0.02,
                                "angle": 1.5707963267948966,
                                "integration_points": 9,
                                "connection_with_other_topological_elements": False,
                                "specific_weight": 4200.0,
                                "weight": 84.0,
                            },
                        },
                        {
                            "no": 3,
                            "row": {
                                "layer_no": 3,
                                "layer_type": "E_LAYER_TYPE_LAYER",
                                "thickness_type": 0,
                                "material": 1,
                                "thickness": 0.04,
                                "angle": 0.0,
                                "integration_points": 9,
                                "connection_with_other_topological_elements": False,
                                "specific_weight": 4200.0,
                                "weight": 168.0,
                            },
                        },
                    ]
                },
                "D11": 922286.7639684491,
                "D12": 20009.006511038864,
                "D13": 0.0,
                "D16": -2.3283064365386963e-10,
                "D17": -8.36735125631094e-11,
                "D18": 0.0,
                "D22": 38449.739538780086,
                "D23": 0.0,
                "D27": -1.0186340659856796e-10,
                "D28": 0.0,
                "D33": 57499.99999999996,
                "D38": -2.3283064365386963e-10,
                "D44": 10458816.501368133,
                "D45": 0.0,
                "D55": 8731292.26656216,
                "D66": 899796911.0420213,
                "D67": 24010807.813246638,
                "D68": 0.0,
                "D77": 253086893.16665372,
                "D78": 0.0,
                "D88": 68999999.99999997,
                "is_generated": False,
            },
        )

from rfem_python_client.

dogukankaratas avatar dogukankaratas commented on August 21, 2024

The thickness_type attribute have type OBJECT_INDEX and usually in Webservices operations it is converted to user_id. This user_id always starts from 1, so you cannot set it 0. It's a bug that it returns a value 0. We started to work on it to fix this issue already.

from rfem_python_client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.