JCSG icon indicating copy to clipboard operation
JCSG copied to clipboard

Java implementation of BSP based CSG (Constructive Solid Geometry)

Results 21 JCSG issues
Sort by recently updated
recently updated
newest added

Hi, We're working with your library and noticed something curious, why does the "substract" function keep parts that don't intersect with the given part? Imho if they don't intersect then...

i runned several times into the stackoverflow issue (which also people reported https://github.com/miho/JCSG/issues/48 ) and i am still not sure what it is causing. fact is, that under certain circumstances...

Hello and thanks for your work, I am struggling with a little problem. Is it possible to split an object in two by building the difference with another object. ![Screenshot...

Hi Does the lib support these operations on 2D polygons?

I've written this code: ``` public class Main { public static void main(String[] args) throws IOException { CSG cube = STL.file(Paths.get("cube.stl")); CSG union = cube; for (int x = 0;...

I have many instances over stackoverflow exception _Exception in thread "JavaFX Application Thread" java.lang.StackOverflowError at java.util.HashSet.add(HashSet.java:220) at java.util.stream.DistinctOps$1$2.accept(DistinctOps.java:174) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)...

This is a fix to the stack overflow issue in the plane split function. If a plane that comes in that is not as flat as the fixed Plane.EPSILON value,...

[Disclaimer, I may have only had trouble because I'm dumb] The .jar download link was a bit hard for me to find. There's the very small link to bintray from...

Can anyone tell me whether cylinder rotation in Z axis is working or not? It seems to fail for me - not sure if I'm doing something wrong. In this...

Hello, I want to generate a simple polyhedron (L shape) with the following code: List listPoint = new ArrayList(); listPoint.add(Vector3d.xyz(0, 10, 0)); listPoint.add(Vector3d.xyz(2, 10, 0)); listPoint.add(Vector3d.xyz(2, 5, 0)); listPoint.add(Vector3d.xyz(10, 5,...