Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Why doesn't this csg code work?

Author
Message
Bursar
16
Years of Service
User Offline
Joined: 17th Sep 2008
Location:
Posted: 15th Mar 2009 00:27 Edited at: 15th Mar 2009 00:29
I create a cube, I create a larger sphere that's slightly offset, and then I subtract the sphere from the cube.

The result should be half a cube with a curving right hand edge, but what actually happens is nothing.

Is it because I end up with a concave shape? If so, is there a way around it without modelling?

If it helps, what I'm after is something that looks like the left side of this halfpipe, but without the lip.
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 15th Mar 2009 00:56
As you found out sphere does not work correctly, there is away to this.

1. make a cylinder and rotate to the position you need
2. fix the object then save the object out as x
3. delete the cylinder.
4 load the cylinder object back in.
5. make cube or box
6. then perform csg

Dark Physics makes any hot drink go cold.
Bursar
16
Years of Service
User Offline
Joined: 17th Sep 2008
Location:
Posted: 15th Mar 2009 02:12
I had trouble seeing the cylinder from DBP, as it actually creates a tube without ends. Once I'd rotated it, it more or less disappeared.

Cylinders I can model though, so I got there in the end. Thanks.

Login to post a reply

Server time is: 2024-11-25 10:49:24
Your offset time is: 2024-11-25 10:49:24