Module voxelfuse_examples.templates.template_voxcad

Template for creating scripts using VoxCad simulation.


Copyright 2021 - Cole Brauer, Dan Aukes

Expand source code
"""
Template for creating scripts using VoxCad simulation.

----

Copyright 2021 - Cole Brauer, Dan Aukes
"""

# Import Library
import voxelfuse as vf

# Start Application
if __name__=='__main__':
    # Create Models
    model = vf.sphere(5)

    # Process Models
    modelResult = model.dilate(3, vf.Axes.XY)
    modelResult = modelResult.translate((0, 0, 20))

    # Create simulation and launch
    simulation = vf.Simulation(modelResult)
    simulation.runSimVoxCad()