Giter VIP home page Giter VIP logo

Comments (2)

DSCaskey avatar DSCaskey commented on July 26, 2024 1

Much of that is outdated info.... other than most of the ToolType tags - which will eventually be updated to reflect the updated tool names. The Seamly2D (and SeamlyMe to a lesser degree) have drastically diverged from the Val schema.

That being said I would just run one of the XML Schema documentation tools out there to generate the schema docs. KISS.

from seamly2d.

stefan123t avatar stefan123t commented on July 26, 2024

Could you give an example of the documentation you would expect ?
I am currently looking into the XML file formats and could contribute something:

Object type

Point
  • . single Base point
  • .---. endLine Point at distance and angle
  • .--.---. alongLine Point at distance along line
  • |_ normal Point along perpendicular
  • ./ bisector Point along bisector
  • /. shoulder Special point on shoulder
  • |_\ triangle Triangle tool
  • .+. pointOfIntersection Point from X and Y of two other points / Tool to make point of x _y of two other points
  • | height Perpendicular point along line
  • |/ lineIntersectAxis Point intersect line and axis
  • -.- alongLine length="CurrentLength/2" Midpoint between two points
Line
  • Line between points
  • lineIntersect Point at line intersection
Curve
  • .). simpleInteractive Simple curve / Curve tool
  • Segmenting a simple curve
  • Curve tool which uses point as control handle
  • .).).). pathInteractive Curved path / Tool for path curve
  • Segment a curved path
  • cubicBezierPath Curved path tool which uses point as control handle / Tool cubic bezier curve
  • pointOfIntersectionCurves Point intersection curves
  • curveIntersectAxis Point intersect curve and axis
Arc
Elliptical Arc
Operations
  • -/- trueDarts True darts
Detail
Layout

Line Attributes

typeLine / penStyle

I think here .val and .sm2s files diverge on the typeLine / penStyle attributes

  • - .. - .. dashDotDotLine
  • - . - . - dashDotLine
  • - - - - - dashLine
  • . . . . . dotLine
  • --------- hair
  • none
color
  • black
  • blue
  • corn flower blue
  • dark blue
  • dark green
  • dark red
  • dark violet
  • deep pink
  • deep sky blue
  • goldenrod
  • green
  • light salmon
  • lime
  • medium sea green
  • orange
  • violet
  • yellow

mx="0.\d+" my="0.\d+"
mx="0.5" my="0.5"

from seamly2d.

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.