Giter VIP home page Giter VIP logo

Comments (3)

dschuermans avatar dschuermans commented on September 25, 2024

In the SDK, instead of validating it as a required property, we set a default value of "Length" if the property is NULL.
Is this still OK?

from structuralanalysisformat-doc.

MartinSalak avatar MartinSalak commented on September 25, 2024

The current solution works, but it is not clean and precise. I would suggest making it precise:

Required value for Location: YES IF Coordinate system = Global

I would also not export anything (in SDK) if Coordinate system = Local and validate it as a required property if the condition is met, to keep it consistent.

Easier option would be just to change the note under table to be more clear and leave everything as it is. What do you think? @sonkaste17 @dschuermans

from structuralanalysisformat-doc.

MartinSalak avatar MartinSalak commented on September 25, 2024

We will use the simplest fix:

  • Leave required value of Location to yes
  • Update description with all the possible option:

    Aplicable options are:

    • for Coordinate system = local: Lenght
    • for Coordinate system global: Length, Projection
  • Update note below the table by deleting the line that states 'location is used only for global coordnate system'

Leave SDK as it is.

from structuralanalysisformat-doc.

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.