You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, great lib!
Secondly, I know I really should give you a jsfiddle for this, but wanted to just do a sanity check before I go through the pain of abstracting it into a fiddle
I have a problem where I have a mesh (say 300x300x20 box)
From that I subtract objects (example screenshot) meshes
Working from the outside in, the first cut (subtract) works fine. The second shape I subtract from a shape that was "inside" the first subtraction, does the subtraction, but doesnt fill in any geometry inside this mesh
Desired result (drawn in sketchup to illustrate the point)
Result with threejs and ThreeCSG.js
Applies to any shapes I throw at it, by the way, circles, triangles, rectangles, anything
The "subtracted" geometry is a 2d shape with holes, that gets extruded using threejs.
So my question is
a) Am i barking up the wrong tree, can this lib do what I need?
b) Am i doing something wrong (suspect you'll need a jsfiddle after all)
c) Am i just missing some extra steps like computing something between first subtraction and second subtraction?
The text was updated successfully, but these errors were encountered:
Sorry, I'm not quite clear what the result you're looking for is, or the steps you're taking to try and get there. A fiddle would be very appreciated :)
First off, great lib!
Secondly, I know I really should give you a jsfiddle for this, but wanted to just do a sanity check before I go through the pain of abstracting it into a fiddle
I have a problem where I have a mesh (say 300x300x20 box)
From that I subtract objects (example screenshot) meshes
Working from the outside in, the first cut (subtract) works fine. The second shape I subtract from a shape that was "inside" the first subtraction, does the subtraction, but doesnt fill in any geometry inside this mesh
Desired result (drawn in sketchup to illustrate the point)
Result with threejs and ThreeCSG.js
Applies to any shapes I throw at it, by the way, circles, triangles, rectangles, anything
The "subtracted" geometry is a 2d shape with holes, that gets extruded using threejs.
So my question is
a) Am i barking up the wrong tree, can this lib do what I need?
b) Am i doing something wrong (suspect you'll need a jsfiddle after all)
c) Am i just missing some extra steps like computing something between first subtraction and second subtraction?
The text was updated successfully, but these errors were encountered: