Questions tagged [csg]

Constructive Solid Geometry

CSG tag should be assigned to questions about the formation of complex solid geometries from primitive solids like cuboids, cylinders, prisms, pyramids, spheres or cones. Sample questions can be: How to handle the operation sequence in a tree structure? How to cut a cuboid with a sphere? How to apply boolean operations inbetween arbitrary geometries?

78 questions
1
vote
1 answer

ThreeCSG expand gives faulty mesh

I'm trying to create a rounded cube using the ThreeCSG expand function on a csg model, but the resulting mesh looks wrong. I can't figure out what the problem is though. Does anyone have experience with ThreeCSG and see what's up ? thanks. the…
1
vote
1 answer

How to remain the original color after csg operations (using ThreeCSG.js)

In html, I use JSONLoader to load my obj(.js file exporting from Blender 2.66). After loading my obj, I use ThreeCSG to subtract a cube. The effect I want to achieve is like cross-section. Now csg operations work fine. The problem is that I can't…
1
vote
1 answer

How to remove a section of a CubeGeometry?

At the moment I'm using ThreeCSG/CSG to subtract a small cube from a much larger cube. This works fine, but only the look of it changes not the actual geometry. So when using PhysiJS (Physics engine) on another cube, it doesn't fall into the hole…
Joey Morani
  • 25,431
  • 32
  • 84
  • 131
1
vote
1 answer

setting position with three.js and CSG

when i use this as code for a cube and a sphere which cuts some part of this cube out: