jtramm / constructivesolidgeometry.jl Goto Github PK
View Code? Open in Web Editor NEWA Constructive Solid Geometry (CSG) and ray tracing package for Julia
License: Other
A Constructive Solid Geometry (CSG) and ray tracing package for Julia
License: Other
PR #8 updated the syntax used to allow for running on modern 1.5.2 Julia. However, since 0.7 when this package was originally developed, significant changes have been made to how packages are organized in the Julia package manager and how packages interact with Travis. In particular, it appears that a new "Project.toml" file is required. I've added a placeholder for this, but it needs to be filled in to get Travis to work again.
(v1.2) pkg> add ConstructiveSolidGeometry
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package ConstructiveSolidGeometry [58134239]:
ConstructiveSolidGeometry [58134239] log:
├─possible versions are: [0.0.1-0.0.2, 0.1.0] or uninstalled
├─restricted to versions * by an explicit requirement, leaving only versions [0.0.1-0.0.2, 0.1.0]
└─restricted by julia compatibility requirements to versions: uninstalled — no versions left
Is this package still in use? Has it been superseded by something else?
As described in https://discourse.julialang.org/t/ann-plans-for-removing-packages-that-do-not-yet-support-1-0-from-the-general-registry/ we are planning on removing packages that do not support 1.0 from the General registry. This package has been detected to not support 1.0 and is thus slated to be removed. The removal of packages from the registry will happen approximately a month after this issue is open.
To transition to the new Pkg system using Project.toml
, see https://github.com/JuliaRegistries/Registrator.jl#transitioning-from-require-to-projecttoml.
To then tag a new version of the package, see https://github.com/JuliaRegistries/Registrator.jl#via-the-github-app.
If you believe this package has erroneously been detected as not supporting 1.0 or have any other questions, don't hesitate to discuss it here or in the thread linked at the top of this post.
Awesome package, many thanks for making it public.
I'm playing with the examples, and everything works.
One minor comment: "transmission" and "vacuum" are nouns, while "reflective" is an adjective. It would be more intuitive if they were all adjectives.
What's the difference between vacuum and transmission? Are you planning to add partial transmission?
Hi,
I'm trying to make a Cell
with only one Region
, and I'm having some trouble.
Cell takes an array of Regions and a Julia Expr
. No trouble with the array of Regions. The problem is that Julia converts :(1)
to an Int
Surf = Sphere(Coord(0,0,0), 50.0)
Regions = [Region(Surf, -1)]
Cells = Cell(Regions, :(1))
returns the error:
ERROR: MethodError: Cannot `convert` an object of type Int64 to an object of type Expr
Closest candidates are:
convert(::Type{T}, ::T) where T at essentials.jl:171
Expr(::Any...) at boot.jl:224
Would a quick fix be?
Cells = Cell(Regions, :(1 ^ 1))
Any idea if that would break anything down the line for me?
Cheers,
Ander
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.