I was trying to make the simple chair model shown in one of the tutorials run from a program and ran into a problem with PushPull.
I started with a rectangular cube based on the overall dimensions.
- Pushed the seat down from the cube top. Okay.
- Pushed the space between the legs side view through the cube. Okay.
- Pushed the space between the legs front view to the intersecting space from step 2. Fail.
It creates the projected rectangle but does not remove it.
My numbers look correct. I am creating faces for the PushPull.
How do I do this?
#pseudo code
wt = width
dp = depth
ht = height
stht = seat height
ss = stock material size (Leg side)
cube = wt x dp x ht
Top cube face
face_1 = [0,0,ht], [0,dp-ss,ht], [wt,dp-ss,ht], [wt,0,ht]
push face1 -(ht-stht)
Right side cube face
face_2 = [wt,ss,0], [wt,ss,stht-ss], [wt,dp-ss,stht-ss], [wt,dp-ss,0]
push face_2 -(wt)
Front side cube face
face_3 = [ss,0,0], [ss,0,stht-ss], [wt-ss,0,stht-ss], [wt-ss,0,0]
push face_3 -(ss)
#Fails to remove space at this point.