scrgiorgio / Plasm.jl

MIT License
0 stars 0 forks source link

Plasm

Build Status

This repo:

Run tests

julia --project=.  test/bbox.jl
julia --project=.  test/points.jl
julia --project=.  test/plane.jl

julia --project=.  test/hpc.jl
julia --project=.  test/structural_frames.jl

# lar
julia --project=.  test/lar.jl
julia --project=.  test/random-tetgen.jl
julia --project=.  test/simplexn.jl

julia --project=.  test/arrange2d.jl
julia --project=.  test/arrange3d.jl
julia --project=.  test/boolean.jl

julia --project=.  test/building.jl

Developing Plasm.jl

Links:

Always remember to activate the current project (in the current directory):


# from here use
julia --project=. whatever...

# clone the current repository
cd ~
mkdir -p github.com/scrgiorgio
cd github.com/scrgiorgio
git clone https://github.com/scrgiorgio/Plasm.jl
cd Plasm.jl

julia

using Pkg
Pkg.activate(".")

Pkg.add([
  "Combinatorics", 
  "GLFW", 
  "ModernGL", 
  "PyCall", 
  "StaticArrays", 
  "Test", 
  "LinearAlgebra", 
  "DataStructures", 
  "SparseArrays", 
  "NearestNeighbors", 
  "Triangulate", 
  "IntervalTrees",
  "CoordinateTransformations", 
  "Rotations",
  "GeometryBasics",
  "Colors",
  "FileIO",
  "MeshCat",
  "IJulia",
  "Random",
  "Statistics"
])

# update the manifest too
Pkg.resolve()

exit()

Viewer options

(OPTIONAL) Julia notebooks

To test notebooks:

For Jupyter Notebooks alternatives see :

using IJulia
notebook(dir=pwd())
# jupyterlab() (OPTIONAL) if you want to install lab

# force to use julia internal jupyter
ENV["JUPYTER"]=""
Pkg.build("IJulia")

exit()

# for Alberto's laptop: use `lab` instead of notebook
# ~/.julia/conda/3/bin/jupyter notebook --ip='*' --NotebookApp.token='' --NotebookApp.password=''