Fusion4Energy / SCtools

This is a package grouping a set of useful routines to manipulate/analyse/modify CAD files in SpaceClaim environment.
Other
4 stars 3 forks source link

Lost Particles: from CSV to Spaceclaim Script file #3

Open Radiation-Transport opened 1 year ago

Radiation-Transport commented 1 year ago

Insert the capability to read a CSV (in the following format) to generate a dedicated Spaceclaim python script to create the LP point and direction over a geometry. (a) Size of the points, (b) color/shading of the spheres and (c) line dimension should be possible inputs from the user. Default option to be inserted.

CSV structure (6 columns x N rows ) X Y Z direction cosines $\phi$ direction cosines $\theta$ direction cosines $\psi$

dodu94 commented 1 year ago

partially implemented (only loading points as spheres) with commit 371365b9492c51d154f0d553a07cf52cb810e763. It should be easily expandable.