Giter Site home page Giter Site logo

p-mcg / bt-matml-editor Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 0.0 130.39 MB

Material Text Editor for the xml MatML schema (https://www.matml.org)

License: GNU General Public License v3.0

CMake 0.70% Shell 0.01% XSLT 0.50% C++ 98.62% C 0.16% HTML 0.02%
c-plus-plus gui gui-application materials-science matml wxwidgets-applications

bt-matml-editor's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @P-McG
  • ๐Ÿ‘€ Iโ€™m interested in Material Engineering related topics and programs.
  • ๐ŸŒฑ Iโ€™m currently GitHub related topics.
  • ๐Ÿ’ž๏ธ Iโ€™m looking to collaborate on Material Data Transfer projects.
  • ๐Ÿ“ซ How to reach me ...

bt-matml-editor's People

Contributors

p-mcg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

bt-matml-editor's Issues

Library of elements

Looking to create a library of elements for the user to cut and paste into their tree and to have them add elements to the library.

Sent a message to CodeSynthesis:

I'm looking to save sequences without requiring having to save the whole tree. The rationale behind this is to create a library of elements that can be then cloned into a tree.

Regards,

BumpUp and BumpDown fixes

BumpUp and BumpDown don't work on:
-ParameterValue
-Material - conflicts with the GUI tree sorting algorithm. XOR bumpup/down and sorting.

validate Data1

need to validate Data1 input against the Data1::format()-int, float, string are done. But what exactly is mixed?

Crashing on Strongly Typed elements

Program crashes when selecting the Strongly Typed elements:

STRONGLY_TYPED_DEF(GlossaryTerm::Definition_type, Definition);
STRONGLY_TYPED_DEF(GlossaryTerm::Abbreviation_type, Abbreviation);
STRONGLY_TYPED_DEF(GlossaryTerm::Synonym_type, Synonym);
STRONGLY_TYPED_DEF(Geometry::Shape_type, Shape);
STRONGLY_TYPED_DEF(Geometry::Dimensions_type, Dimensions);
STRONGLY_TYPED_DEF(Geometry::Orientation_type, Orientation);
STRONGLY_TYPED_DEF(ProcessingDetails::Result_type, Result);
STRONGLY_TYPED_DEF(Class::ParentSubClass_type, ParentSubClass);
STRONGLY_TYPED_DEF(Form::Description_type, Description); // Form::Description is Name.  Use Name instead;
STRONGLY_TYPED_DEF(BulkDetails::Subclass_type, Subclass);
STRONGLY_TYPED_DEF(ComponentDetails::Subclass_type, Subclass1);

During the wxTreeCtrl creation in the TreeTraveral functions in the strongly typed are not correctly created.

	//Convert to a strongly typed required for the specialization of the functor
	auto element_strongly_typed{ std::make_shared<Definition>(element).get() };

Does not transfer element to strongly typed classes t member.

Subclass implementation

Implement Subclass type in BulkDetails and ComponentDetails. Subclass contains the component's subclass(es) and may occur zero or more times within the ComponentDetails element. For additional information, see the documentation for the SubClass type.

validator for the condition that Id cannot be a pure UUID

Create a validator for the condition that Id cannot be a pure UUID. Must have a Alpha begining not a numeric. This will throw a parse error. xs:IDs cannot have : characters anywhere in the name and cannot have a digit as the first character of the name.

Required MatML elements

do we allow insert, delete, paste? e.g. BulkDetails->Name(). If the user forgets to add them the file will be unloadable as it will be not as per schema

Undo and Redo

Currently, there is no implementation of Undo and Redo

Unit Name - treated as an attribute

Unit Name - treated as an attribute//Currency - treated as an attribute POPUP_LINK(UnitInsertCurrency,Currency) //POPUP_CONNECT(UnitInsertCurrency) //The following are treated as MatML Attributes due to casting (e.g. reinterpret_cast) from one cardinality to _optional cardinality not working properly (Authority portion is miscast). The consquence of this is that both Unit->Name and Unit->Currency don't have a authority.

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.