Skip to content

draw orientation diagrams with interactive svg (Trac #926) #252

@pkienzle

Description

@pkienzle

Orientation diagrams for the different shapes will be easier to understand if the user can adjust the orientation parameters to see how the shape moves with respect to the beam and the detector.

This can be done with an svg diagram, which allows interactors with javascript callbacks. E.g.,

http://www.kevlindev.com/geometry/3D/js3d/index.htm

For generating the pdf, these would have to be converted to png files for the default orientation prior to building the pdf, probably by using convert from ImageMagick:

http://tex.stackexchange.com/questions/2099/how-to-include-svg-diagrams-in-latex

Maybe need a sphinx plugin to automate this.

Migrated from http://trac.sasview.org/ticket/926

{
    "status": "new",
    "changetime": "2019-02-04T22:38:29",
    "_ts": "2019-02-04 22:38:29.461459+00:00",
    "description": "Orientation diagrams for the different shapes will be easier to understand if the user can adjust the orientation parameters to see how the shape moves with respect to the beam and the detector.\n\nThis can be done with an svg diagram, which allows interactors with javascript callbacks.  E.g.,\n\n    http://www.kevlindev.com/geometry/3D/js3d/index.htm\n\nFor generating the pdf, these would have to be converted to png files for the default orientation prior to building the pdf, probably by using convert from ImageMagick:\n\n    http://tex.stackexchange.com/questions/2099/how-to-include-svg-diagrams-in-latex\n\nMaybe need a sphinx plugin to automate this.",
    "reporter": "pkienzle",
    "cc": "",
    "resolution": "",
    "workpackage": "SasView Bug Fixing",
    "time": "2017-04-06T12:49:23",
    "component": "SasView",
    "summary": "draw orientation diagrams with interactive svg",
    "priority": "major",
    "keywords": "",
    "milestone": "sasmodels Next Release +1",
    "owner": "",
    "type": "enhancement"
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions