I want to be able to draw an object that has a stroke and a fill, and then slice a line through the object so I can give it two separate fills. This is effectively what I'm trying to do: http://imgur.com/Obqwg
What is the easiest, most efficient way to do this? Right now I have two fill-only objects (the top color object and bottom color object) framed by another stroke-only object on top. The method I'm using makes it very difficult to edit the shape later since I'm now dealing with three separate parts.
I don't think you have much more options than that. Not sure if this will make it any easier but you can limit the objects to two by using one rectangle with a stroke set to outside alignment option. Then copy, paste in front, remove stroke, change color, and the shape of the different side.
I certainly would not splice the object. Though I suppose you can.
Your image is composed of 3 objects. Top colored object, bottom colored object and a rectangle used for the border.
Just over lap the two colored objects and make sure both objects have a stroke of none.
To get that curved look, you can either use the ellipse tool or the pen tool.
As for the edges behind the border you basically have two choices, either make the edges match exactly with the border object, or clip the object inside the border object. If you make a clipping path, you may have to re apply the stroke to the border object. Just make sure the border is the object on top of the remaining object.
And you will get something like the following...
In the attached, when creating the curved part, I used a rectangle, then used the pen to to apply a point to the center, in the top tool bar, I changed the point to a curve. Then move the control handle with the direct selection tool. (The white Arrow on the tool panel)
I'm not sure if this would be qualified as easier but that particular shape you can do with one object using 3 fills in the appearance panel. The first fill will be the shape of one of the colors, the second fill behind can have different color and convert to rectangle shape effect with Relative Extra Width set to 0 and Height to some more, plus a transform effect to move it up. Then copy this fill behind and make it larger with the same effects and with the color of the frame.
This is actually possible below is a rectangle with one stroke two fills on of the fils has a tranfsform effect scaling it vertically and and moving it downward
then I made a Envelope Distort with mesh giving it 2 columns and 12 rows so that I only had to work with some of the rows that were positioned where I want to create the bend or wave.
I could do avideo if the OP cannot figure it out.
Thanks, I was able to follow this and it works. It seems the only catch is that if the object has curves (instead of being a rectangle), it takes some fiddling to make sure the transformed fill doesn't bleed outside of the stroke as you distort the curves.
Yes of course I had problems a while back when I first tried this and when I tried it agin I kind of did not have my steps quite toogether had i had it the first time I figured this out.
So the secret is to use the shift key with when maipulating the mesh.
I wanted to clarify one of the steps i took which was to put the stroke behind which was done so that the viewer can see thaat by using the shift key the fill will not effect the stroke by changing the shape of the fill.