Scenegraph graphics has been in FriCAS since FriCAS 1.1.1 but I sometimes update this code so if you need the latest version you can install it as follows.
To install this code goto github https://github.com/martinbaker/fricas/blob/master/src/algebra/scene.spad.pamphlet and download the file:
scene.spad.pamphlet
Then, from that file, split them into individual SPAD files:
- document --tangle="category SPTCAT SPointCategory" --output=sceneptc.spad scene.spad.pamphlet
- document --tangle="domain SCRT SCartesian" --output=scenecart.spad scene.spad.pamphlet
- document --tangle="domain SARGND SArgand" --output=scenearg.spad scene.spad.pamphlet
- document --tangle="domain SCONF SConformal" --output=scenecf.spad scene.spad.pamphlet
- document --tangle="domain SCIFS SceneIFS" --output=sceneifs.spad scene.spad.pamphlet
- document --tangle="domain SCNP SceneNamedPoints" --output=scenenp.spad scene.spad.pamphlet
- document --tangle="domain STR STransform" --output=scenetr.spad scene.spad.pamphlet
- document --tangle="domain SBOUND SBoundary" --output=scenebd.spad scene.spad.pamphlet
- document --tangle="domain XMLAT XmlAttribute" --output=xmlat.spad scene.spad.pamphlet
- document --tangle="domain XMLEL XmlElement" --output=xmlel.spad scene.spad.pamphlet
- document --tangle="package XML ExportXml" --output=xml.spad scene.spad.pamphlet
- document --tangle="domain SCENE Scene" --output=scene.spad scene.spad.pamphlet
where 'document' is the script that you find in the build directory of your fricas compilation.
build/scripts/document.
Then compile them:
)co sceneptc )co scenecart )co scenearg )co scenecf )co sceneifs )co scenenp boot $bootStrapMode := true co scenetr boot $bootStrapMode := false )co scenetr )co scenebd )co xmlat )co xmlel )co xml )co scene |
|
If you have previosly compiled the files on your computer then, each time you start FriCAS, you need to load them as follows:
)library SPTCAT )library SPTCAT- )library SCRT )library SARGND )library SCONF )library SCIFS )library SCNP )library STR )library SBOUND )library XMLAT )library XMLEL )library XML )library SCENE |
|