This repository contains tools and a CSG Viewer visualization plug-in that can be used within Galaxy for creating, assembling and to a limited extent, solving equations on 3-dimensional shapes. These tools are written in Python and based upon the following packages.
All of these tools should soon be available in the Galaxy Tool Shed, at which time they can be automatically installed into Galaxy.
Wrapping tools for use in Galaxy is easy! If you want to start, see the Galaxy wiki.
- Create 3D shape - Creates a selected primitive shape where shapes are Box, Cone, Cylinder and Sphere.
- Compose 3D shapes - Creates a shape composed of any number of selected shapes where the composition is based on a mathematical expression consisting of +, - and * operations. The + results in a union of shapes, the - operator removes a shape and the * operator results in an intersection of shapes.
- Refine shape - Refines the discrete, triangulated surface representation of a shape using a maximum edge length criterion, breaking triangles into smaller ones where necessary.
- Coarsen shape - Coarsens the discrete, triangulated surface representation of a shape using a minimum cell area criterion, merging triangles into larger ones where necessary.
- Add texture - Adds a texture to a shape by projecting an image onto the surface of the shape.
- Add surface field - Adds a surface field to a selected shape based on a given mathematical expression consisting of variables x, y, z (shape point coordinates) and t (time).
- Color surface field - Colors a shape's surface field using a selected color map.
- Solve Laplace equation - Solve the Laplace equation given prescribed Dirichlet boundary conditions applied as a surface field. The resulting field corresponds to the electric field in an electrostatic problem.