Skip to main content
Filter by
Sorted by
Tagged with
0 votes
2 answers
111 views

I have this code, which is supposed to make multiple fans which rotate around this circle, however I am unsure what went wrong. Pretty sure it's my bad math, haha. This is what comes out of it: I've ...
eclipse's user avatar
0 votes
0 answers
111 views

I want to upload two stl files, and create a subtraction against the first stl using the second. When I upload a single stl and try to subtract using a Three based geometry it works well, but when I ...
Michael Etzel's user avatar
1 vote
0 answers
95 views

I am working on importing a STEP file and then exporting it back but changing their appearance using color and material. I am able to export color information for Compounds and Solids but when I try ...
Sumil Sood's user avatar
1 vote
0 answers
40 views

I need to use the CGAL convex decomposition algorithm but it seems to only work for a Nef_Polyhedra object. Also, my 3D mesh needs to have face properties (like those provided by the Surface_mesh ...
Mildred's user avatar
  • 485
2 votes
0 answers
122 views

I have strange behaviour that only on some specific angles of my meshes the result is broken. The red meshes are the meshes which cut the cube. Seems only the problem when 2 cutting meshes are near: ...
daniel's user avatar
  • 35.9k
0 votes
0 answers
251 views

I am trying to do (what seems to me) a simple csg operation using three.js and ThreeCSG, but i don't get anywhere. I am using the webgl_buffergeometry_indexed.html example as template for rendering ...
JoseleMG's user avatar
  • 312
0 votes
1 answer
100 views

I was able to make this example working https://sbcode.net/threejs/engraving/. I am now looking to engrave my Mesh previously imported from GLB file in the scene. Below my code: const loader = new ...
Arnaud Coutant's user avatar
8 votes
1 answer
953 views

I have many views that I'm trying to extrude and then intersect in order to create a final polygon. The problem is that the result is not the expected, it has some floating extra parts. I need to ...
Matheus Chaves's user avatar
0 votes
1 answer
625 views

I've put together a simple test using CSG in Babylon. I am trying to subtract the cylinder "hole" from the "upright" panel that I have created. However, It's not working properly....
joeb's user avatar
  • 887
1 vote
1 answer
150 views

I want to write a module that can optionally combine its children as either a union or a difference. module u_or_d(option="d") { if (option == "d") { difference() ...
Adrian McCarthy's user avatar
1 vote
0 answers
517 views

I am trying to transform a solid created in a CAD program (saved in a STEP file) into a CSG object constructed with simple primitives. I am not very familiar with the different geometry file formats ...
Trantidon's user avatar
  • 471
2 votes
1 answer
620 views

I'm trying to compute the intersection between 3 geometries using VTK. I've started with the BooleanOperationPolyDataFilter example and made minor tweaks such as: Adding a third sphere: vtkNew<...
George Profenza's user avatar
0 votes
1 answer
244 views

i am doing some simple CSG operations on cube and sphere.. for that, i am using three-csg.js library form "https://github.com/manthrax/THREE-CSGMesh" after giving operations I am getting ...
naga shankar's user avatar
4 votes
0 answers
413 views

I'm currently using this CSG library to subtract two solids. I chose this particular library in order to work with the .NET Framework 4.5 dependency of my project. My goal is to be able to ...
OGP99's user avatar
  • 169
1 vote
1 answer
203 views

The following 3d model-in stl format-is composed of cuboids and cylinders How can I extract the dimensions and coordinates of these constituent solids from the composite, i.e. the dimensions and ...
Effective_cellist's user avatar
0 votes
1 answer
427 views

I am struggling already a couple of days with a problem regarding Constructive Solid Geometry. Actually I start from a list of 2DLines (with 2DPoints) that I have to extrude in the 3D-space. That is ...
JoachimAlly's user avatar
0 votes
1 answer
250 views

I am trying to create a tee-piece which is a fitting in the plumbing domain. It consist of 2 tubes that are merged together and has 3 openings as shown in this picture. I have written some code in ...
Ali91's user avatar
  • 25
1 vote
1 answer
862 views

I am testing the efficiency of boolean operations in pymesh to see how fast it calculate boolean. But the performance I got using the default engine was extremely slow, comparing to the libigl paper ...
Shizzy's user avatar
  • 499
1 vote
1 answer
342 views

I am using THREE and I am trying to intersect a box mesh with a custom geometry I am creating and converting it to geometry using : const g = new THREE.Geometry().fromBufferGeometry(shape3d) I aim to ...
ThanosSar's user avatar
  • 542
0 votes
1 answer
258 views

I have tried in several ways (even created empty project and installed sabreCSG in my unity). I am using unity 2017.4.3, Unity 2019.3.6 and Unity 2020 latest version as well. It runs normally in ...
USMANHEART's user avatar
1 vote
1 answer
528 views

I'm trying to make use of Csg Tree by libigl to do multiple boolean operations at once. In the linked tutorial, there is just this one line: // Compute result of (A ∩ B) \ ((C ∪ D) ∪ E) igl::copyleft::...
Megidd's user avatar
  • 8,223
2 votes
1 answer
758 views

I tried trim_with_solid method to drill a hole into a 3D model: igl::copyleft::cgal::trim_with_solid(m_VA, m_FA, m_VB, m_FB, m_V, m_F, m_D, m_J); But for hollowed 3D models with inner and outer walls,...
Megidd's user avatar
  • 8,223
2 votes
1 answer
516 views

I'm interested in writing a my own function that subtracts one 2D triangle from another, returning the remainder as a n array of triangles. (not using an existing geometry library) Two examples of ...
ideasman42's user avatar
  • 49.3k
0 votes
1 answer
460 views

I have following scene with csg: https://www.babylonjs-playground.com/#KUM5WC#14 I want to draw only the outside edges of the final plate and the ones of the holes (In playground it needs very long to ...
J. Doe's user avatar
  • 530
2 votes
1 answer
851 views

I want to work with THREE.js and especially with CSG, so that I can subtract two obj models from each other using boolean operations. For this purpose I import the respective local files in a central ...
Mec-Eng's user avatar
  • 199
4 votes
1 answer
690 views

Processing is a creative coding platform - language, IDE & ecosystem - maintained by the Processing community with the backing of the Processing Foundation https://processing.org. Processing Java ...
villares's user avatar
  • 368
10 votes
1 answer
23k views

I have Cube model and Cylinder model. I want to make a hole inside Cube by Cylinder, how can I make it? I have these two models: And I want to make this:
Eloren's user avatar
  • 323
0 votes
0 answers
513 views

When trying to subtract or union two meshes (TextGeometry and BufferGeometry), result meshes have missing faces and opposite results, I am using ThreeCSG that supposedly support buffer geometry, I ...
TimWP's user avatar
  • 3
1 vote
0 answers
327 views

Three.js beginner here, I'm trying to create a 3d-ring like structure composed of separate meshes that I union together using CSG. I managed to place each of the separate meshes along a circle. How do ...
nithinaray's user avatar
0 votes
1 answer
712 views

I have a custom object which is a subtraction of two meshes. This subtraction creates a frame-like object. createFrame (x, y, z) { const frameMesh = new THREE.Mesh(new THREE.BoxGeometry(1,1,1)); ...
Dawid Zbiński's user avatar
0 votes
1 answer
2k views

I am using the HelixToolkit.Wpf library to create some graphics for my application. I know that Helix provides a CuttingPlanesGroup that gives you the ability to create images like this one: https://i....
chamshop's user avatar
3 votes
0 answers
429 views

Hello I have a problem with Carve but I am unsure if it is with the implementation or my usage of it. Here is isolated code which exhibits the issue I have. Essentially I am getting the wrong result, ...
lfgtm's user avatar
  • 1,047
0 votes
1 answer
594 views

I'm very new at Javascript and coding. I use Three.js to make a scene where there is a glass, in which liquid moves depending upon events (mouseMove, click...). I thought about Constructive Solid ...
felixmariotto's user avatar
1 vote
1 answer
2k views

I'm trying to change the number of segments of the sphere, but I can't cut it if I have reached the 45 limit, and there's no other way to make the sphere a little smoother. var result; var sphereG = ...
黄小羽's user avatar
1 vote
1 answer
2k views

I am working on a three.js application where I have to create a building structure (all on ground floor), the height, width, length will be specified by user. User can change wall and roof color (...
Deeps's user avatar
  • 567
1 vote
1 answer
902 views

I am using EdgesGeometry to show the outer edges of the mesh as so : EdgesGeometry( geometry, thresholdAngle ). This normally works as expected but after a using threeCSG to either 'subtract' or '...
treeseal7's user avatar
  • 749
1 vote
1 answer
2k views

I'm using csg.js with three.js and it seems it only supports 3D CSG. Check this I would like to intersect and union 2D (three.js)geometries. Is there any way I can do 2D CSG with three.js ?
hyewon330's user avatar
1 vote
0 answers
84 views

I'm trying to invert a 3D shape using ThreeCSG (get the empty spaces of the original shape) but it looks like they didn't include the inverse function from the original CSG: inverse: function() { ...
shinzou's user avatar
  • 6,272
3 votes
1 answer
8k views

Following the example here: http://learningthreejs.com/blog/2011/12/10/constructive-solid-geometry-with-csg-js/ And using Three.js with https://github.com/chandlerprall/ThreeCSG, I'm trying to do ...
shinzou's user avatar
  • 6,272
0 votes
1 answer
1k views

I want to transform my 3D text to Geometry so I can use it with CSG (I used a Three.js CSG wrapper also) to substract it from another object like in this question. My 3D text : loader.load('...
Gawel91's user avatar
  • 39
1 vote
2 answers
1k views

I'm trying to clone and then scale a mesh, but scaling does not seem to be working immediately on the cloned object, for programming purposes using CSG ThreeBSP. I think I should call a function after ...
chaotive's user avatar
  • 302
1 vote
0 answers
53 views

Say a Tango (Unity) device is used in a controlled room, where all objects and walls are stationary and pre-known. You take a 3DR scan of the room, and have a good ADF. How could you approach ...
Jethro's user avatar
  • 3,449
0 votes
0 answers
151 views

I actually develop a 3D application on Android, and i manipulate 3D object. I want to dig a polygon according to another polygon form such as a cube or a cylinder. In the following image you can ...
Meriemi's user avatar
  • 85
1 vote
0 answers
638 views

I want to use CSG with VTK in python to perform substractions. I already have VTK installed. For the CSG I was thinking to install: https://pypi.python.org/pypi/pycsg . How would I go around using ...
C. Mihai's user avatar
2 votes
1 answer
1k views

OpenVDB seems really amazing, and the addressing of the nodes is really smart. There are some operations that I don't understand, in particular CSG operations. This is a example code. It takes as ...
Matteo Ragni's user avatar
  • 2,974
3 votes
1 answer
452 views

I've been using the standalone ThreeCSG.js (https://github.com/chandlerprall/ThreeCSG) to create different shapes but I'm having errors occur with some shapes I'm trying to create: Maximum call stack ...
Yenza's user avatar
  • 456
0 votes
1 answer
307 views

I can define a CSG.Plane with a normal and a constant w like this: CSG.Plane = function(normal, w) { this.normal = normal; this.w = w; }; How can I now use this CSG plane in a boolean ...
Wilt's user avatar
  • 44.9k
2 votes
0 answers
849 views

I'd like to create a hollow box with some holes in Three.js. Currently I managed to create a hollow box by creating a regular geometry and pushing triangles by hand (I created the inner box and than ...
OzTamir's user avatar
  • 131
0 votes
1 answer
498 views

This my code: var materialNormal = new THREE.MeshNormalMaterial(); var cubeGeometry = new THREE.CubeGeometry( 20, 500, 1000, 1, 1, 1 ); var cubeMesh = new THREE.Mesh( cubeGeometry ); cubeMesh....
Víctor Romário Paz de Jesus's user avatar
0 votes
1 answer
3k views

I'm currently working on a small project with which I need to subtract a rectangular area of a cube on mousemove (think, an indented area for placing a door on a house). The 'door' would be 'placed' ...
ezekg's user avatar
  • 1,163