Compound path (or similar) but without "holes"

Hi guys
I'm designing a logo in which I use the letter C but I would like to "extend" the upper part of it with an extra "curl".
So I expanded the C (text to outlines) and added a line which should be the extension. Now I would like them to be one item together. I tried compound path but that makes the overcrossing parts of the letter "blank". How do I solve this?
See print screens below.
Thanks!
Bob

Hi John Mensinger,
Indeed, it worked!! Thanks! I forgot to use the Pathfinder! I should learn to use it more
Thanks!!!
Bob

Similar Messages

  • Can someone explain to me what are the benefits of compound path when it comes to text?  I can understand one or two lines but a whole paragraph?

    Every year we do a fundraiser to help my job, but my co-worker is getting frustrated.  We receive outside files laid out in Illustrator, but the person who does the file sets all of the text using compound path. These aren't one or two lines of text to be manipulated but whole paragraphs of text.  This person does this every year, and it is time consuming if my co-worker can't manipulate a paragraph without going to each individual layer that has a letter. Is there a way to make these compound paths merge as one without altering the document i.e. make some element disappear. Any kind of help is appreciated.

    ikaika,
    As I (mis)understand it, you should simply ask this outside person to keep all text as Live Type, using a font that you have on your machines (in the exact same version) so there will be no font substitution issue(s).
    That way, you could get the job done without silly waste of time.
    Failing to comply would seem quite uncooperative.
    I presume there is no copyright question onvolved in this.

  • How to release Compound Path in Adobe illustrator javascript

    Hi,
      How to release Comound path with java script

    Thanks For answer
    Actually i want to take .PNG image for compound path Items.
    But when i release compound path Items then it is break in small small object.
    When i save compound path items separately it saved as a blank image...
    What am i do now.

  • Punch hole without compound path?

    I have a shape where I then need to punch a hole in that shape. If I do that it then creates a compound path.
    The problem is I am want to use the Area Type Tool to then paste some text within the shape - but it won't allow me to do that as you can't do that on a compound shape.
    But what I would like to do is make the text flow in and around the shape I've created. So as you can see below I need to remove the triangle in the center so the text flows around to form the letter A.
    Any ideas or help would be greatly appreciated.

    greencode,
    You could cheat and create two shapes, the upper one ending at the bottom of the counter (the hole) i the A (You may have to adjust exactly where you cut between the two simple closed paths) and let the Type flow from one to the other. I am still with 10, so I am unable to describe exactly how to do the latter. Hopefully, someone else will give the instructions.
    Someone?

  • How to cut a hole that is part of a compound path

    I have spent many hours using all the tools available in Illustrator CS4 to reshape the hole that is part of a compound path with no success.
    The compound path consists of a square with a round hole, I want to for example, cut the round hole in half. Erase, Knife, Pathfinder do not work. I can do it if first release the compound path, cut the round hole, then make compound path again. While this method is easy for this example but not good for very complex drawing, because it would be too time consuming to convert back and forth the compound paths and remembering which holes belong to which compound path. Please help. I am to the point where I am willing to spend money to get a good cutting tool plugin, any reccomendation?

    Sure....
    Place or Open raster image.
    Live trace (whatever settings you like) I'm assuming it's a 1 color trace (line art) and not a photo or color image
    Click the "Expand" button in the Control bar
    Everything should be selected/highlighted
    Click the Merge button on the Pathfinder Panel (3rd from left, bottom row)
    *optional -- Choose Object > Ungroup from the menu (Using Pathfinder command creates Groups for some reason. These groups aren't always needed.)
    Deselect all (Command-Shift-A or Ctrl-Shift-A or just click somewhere empty to deselect the artwork)
    Select the Direct Selection Tool (the white arrow)
    Click the center of a "hole" or counter. This will select one of the superfluous white shapes.
    Choose Select > Same > Fill & Stroke from the menu. All the extra shapes should highlight.
    Hit delete.
    You should be left with just black compound paths with no superfluous shapes anywhere. In fact, after this if you Select All, the color panel shoudl show a simple black fill and no stroke. Of course, this somewhat depends upon your Live trace settings.
    What this does is merge all black and white shapes into the simplest form and at the same time it cuts through bottom objects with top objects. So if you have a white shape sitting on top of a black shape, it cuts that white shape out of the black. This ensures all the black has the correct compound shape assignments. Sometimes with Live Trace you can get white fill areas and not get the corresponding compound hole below it. Or the compound hole will not be exactly the same shape as the white object sitting on top of it. Using Merge corrects that. Then deleting the white shapes just removes all the unnecessary objects. If you want a color for the compound holes, just draw a rectangle or shape below the black and fill it with any color. All you need to is alter the counters or compound holes now to correct anything. No more double paths.
    All these steps are not always necessary. But it's sometimes good practice depending upon what you are tracing. Once you do it once or twice you'll see it's only about a 1-2 minute processes and most of that will be waiting for the Merge command to complete.

  • Compound Path without border on inner path

    Hi Guys,
    I'm trying to create a shape with text that has to be transparent.
    I fixed this by creating a compound path but it inherits all the elements of the shape (which is logical) but since the shape has a border it now get an innner border as well.
    Is there a way to discard the inner border and just have the outside one?

    Or you may:
    1) With the type on top of the shape, select the type.
    2) In the Transparency panel set the opacity to 0.
    3) Select type and shape; group.
    4) With the group selected, in Transparency Panel click Knockout Group once  or twice, as needed, until the check (tick) mark appears.
    The transparency (or opacity) of the type is then infinitely variable by again selecting the type in the Layers Panel and adjusting the opacity setting in the Transparency Panel. I think (though I may be mistaken) that in CS5 it's adjustable in the Appearance Panel.
    Peter
    Hello, Jacob.

  • Compound Path Without Fills

    I have been trying and trying to turn this whole design into a compound path so I can add a texture to it with the minus front feature. However, every time I attempt it fills in circles or changes the stroke width of lines. I have attached the file so it can be tinkered with. I really want to learn how to do this.  https://www.mediafire.com/?88qnk8wwqxepdwy

    You could use a transparency mask to add the texture. Group your logo, and use it to mask your texture.

  • Making a clipping group with a compound path

    So, as of today I'm new to scripting for Illustrator, I'm using the ExtendScript Toolkit. However I'm not new to scripting my own solutions and I do have some experience with JavaScript already.
    What I'm trying to do is this: For all selected Items->Duplicate selected item and make a simple clipping group with it
    What I end up with visually doesn't change the picture, but gives me a lot of clipped colored areas which I then can edit in the isolated mode, allowing me far faster and better shading. Doing that by hand takes hours on some pictures, it'd take a second with a script.
    The script itself already perfectly works for normal PathItems. As obvious in the title, as soon as I have to apply the same to CompundPathItems things stop working. My issue is somewhat similar to this old thread [Problem with compound path clipping], but I couldn't find a solution there because I get different behavior.
    When I run the very same script that perfectly works with the normal PathItems with CompoundPathItems I get this: Error 9046: The top item in the group must be a path item to create a mask
    Well that's a problem. In the GUI there is absolutely no difference between making a clipping mask with a simple path and a compound path. The reference guide has frankly not helped me with this issue at all, the only thing I learned from that is that the CompoundPathItem object doesn't have a clipping attribute, but those included PathItems do.
    Here's what I have so far:
    if ( selected[i].typename == "PathItem" ) {
    var newGroup = doc.groupItems.add();
    copy = selected[i].duplicate(newGroup,ElementPlacement.PLACEATEND);
    selected[i].moveToBeginning(newGroup);
    newGroup.clipped = true;
    As I said, this part perfectly does what it's supposed to do for normal Paths.
    For CompoundPaths I use this workaround.
    if ( selected[i].typename == "CompoundPathItem" ) {
    var newGroup = doc.groupItems.add();
    copy = selected[i].duplicate(newGroup,ElementPlacement.PLACEATEND);
    selected[i].moveToBeginning(newGroup);
    compoundItems = selected[i].pathItems;
    compoundIndex = compoundItems.length;
    for ( f = 0; f < compoundIndex; f++ ) {compoundItems[f].clipping=true;}
    var lineList = new Array(10);
    for ( l = 0; l < lineList.length; l++ ) {lineList[l] = new Array( i * 10 + 50, ((i - 5) ^ 2) * 5 +50);}
    newPath = app.activeDocument.pathItems.add();
    newPath.setEntirePath(lineList);
    newPath.moveToBeginning(newGroup);
    newGroup.clipped = true;
    newPath.remove();
    Mind you, this workaround does work in so far that it bypasses that annoying and wrong error, and the Compound Clipping Path also works, with the only problem being that the Compound Clipping Path created like this is still displayed in its original colors in the Layers section, and is still selectable. When I lock the Compound Clipping Path I can work with it but still...
    So the question is, what am I missing here? Surely there must be a proper way to do this.

    app.executeMenuCommand()? That one eluded me so far, might be just the right thing. I'll definitely take a look, now just to find a ref on that, as unfortunately the official ref documents I have don't mention that command. Any place with a list of possible commands?
    Ah, also of course I'm not only doing it for the isolation mode. If you care to hear the background, here is it:
    As I said it's for shading the pictures I'm working on. I've iterated and tried through a bunch of techniques. For example gradient meshes on my first few real works. Now those meshes don't do well with complex shapes, which previously I alleviated by using a simple square or rectangle gradient mesh and using the original colored shape as a clipping mask. That did work, but it was a huge lot of work.
    After a bunch of attempts at that I went over to using simple gradients as a background for the shape and then I'm doing the shading freehand with the blob brush tool, using a graphic style and filters to make it look right. That's better, but properly making all the clipping masks takes me much longer than anything else.
    Now the problem is that the shading is not supposed to go over the lines, which is impossible to do properly without either messing up the order, or using clipping masks, hence the script. Because you know, if you use a blob brush with a strong Gaussian blur close to the lines you'll end up with stuff on both sides. If you don't start close to the line the shading won't look right if the darkest part of the shade needs to be close to the line. And that's where clipping masks do magic.
    And finally here's an example how I work with the script and the result:
    After I have traced a sketch, adjusted the line widths and everything to look neat I turn the paths to outline strokes and then make them into a live paint group (which would mess up the line widths, unless you turn the paths into outline strokes first).
    With that live paint group it takes me just a few minutes to flat color my piece. Then I expand the live paint group, in case of doubt spend some more minutes to make compound paths from all areas I need to shade in one piece, then I select all the areas and use my script to turn them into neat clipping masks. Then I can click any area, enter the isolation mode and go up one level so I'm in the appropriate group, where I can shade freely without the problem of going over the lines.
    At the end that allows me to apply a complex and in-depth shading, without wasting any time to get there.
    PS: Well, I just found out that Draw Inside is pretty darn close to what I want to do, and oddly enough it produces the same visual discrepancy with compound paths that my script produces. I'll be taking a closer look at that, though my script does a little more than just the clipping mask stuff, so maybe I'll go for a hybrid solution. Whatever makes for a better workflow.

  • Compound Path Question

    Aside from using them to cut holes in shapes, are there any other reasons to create a compound path? They seem to be similar to a grouping paths so I just wondered.

    Thanks for the reference to the manual. Made things much clearer.
    I saw in the manual that you can move items inside a compound path so I tried it and found something interesting: I drew 2 rectangles, one inside the other. If you use the Group Selection tool, you can move the inner rectangle around by grabbing it by it's side or corner anchor point. If you use the Direct Selection tool, you can move it by clicking in the exact center and after that (as long as it's still selected) you can click by it's side or corner anchor point and move it. If you don't click the center first, then the Direct Selection tool will just move a side or an anchor point but not the rectangle. If that isn't interesting enough, if you are using the Direct Selection tool and hold down the Option key, the cursor changes to the Group Selection tool but if you try to grab the inner rectangle and move it, you will duplicate it instead??

  • Adding multiple paths into a compound path

    If I use the gui to add multiple paths into a compound path all I have to do is select multiple paths and choose Object->Compound Path->Make (or ctrl-8). When I do this then the bottom path which is filled has holes 'punched through' creating a window in the shape of the smaller paths which were on top of the larger one. For example, a large rectangle with a white fill color is the bottom item and two smaller paths are on top. I create a compound path and whatever is below the new compound path shows through in the largest shape of the previous two smaller paths.
    If I use JavaScript and create a new compoundPathItem and move 3 paths into it, with the largest being first, then I get a compound path but only the first of the smaller objects creates a transparent space.
    Here is a simplified example:
        var grpMask = doc.groupItems['mask group'];
        var compound = grpMask.compoundPathItems.add();
        var pathobj = grpMask.pathItems['bigbox'];
        pathobj.move(compound,ElementPlacement.INSIDE);
        pathobj = grpMask.pathItems['PathLeft'];
        pathobj.move(compound,ElementPlacement.INSIDE);
        pathobj = grpMask.pathItems['PathRight'];
        pathobj.move(compound,ElementPlacement.INSIDE);
    In the above example the 'bigbox' path has the left and right paths on top of it but only the left path creates a transparent space in the original box.
    I also tried using PLACEATEND instead of INSIDE and grouping the two smaller paths together and moving the group to the compound path.
    Merging path items together won't work - I want to keep the original path's closed and intact without drawing a line between them so I can't just add their pathpoints together.
    Is move() the best way to add existing paths to a new compound path?
    Thanks!

    Im at work at the moment so only have access to CS2 where the second script works… The first script worked at home with CS5…
    here were my test files… Before
    and After…
    As you can see with this I did not change the polarity of the last path as in this test case I knew it was the largest of the shapes not sure if that had any bearing on my results…?

  • Help needed to make a compound path of text in rectangle

    Hello, I hope some one will really solve my problem.
    Im trying to make a compound path (text inside a rectangle). I had done this previously with success but now the whole shape and text is showing same color. Although text should be transparent! And now due to the similarity in colors i cannot see any font.
    I don't know why this is happening?
    I made outlines of text, ungrouped it, released their compound paths, placed all fonts and rectangle in seperated layer and then made it a compound  path.
    Please let me know if im following all the steps.
    Also, please forgive my bad English as im not native.

    adobied,
    As you know now, Larry answered the Compound question while you were still typing.
    We do have quite a few cross postings in this busy forum, especially at this time of day with natives present both over there and over here.
    You can use Opacity Masks for a whole range of purposes, and they can act as (inverted) Clipping Masks, and also for partial/varying transparency.
    In this case, the suggested use corresponds to an inverted Clipping Mask.
    I quite understand your wish to have the Compound under control, and I believe that is sorted with the advice from Larry.

  • [AI CS4 Mac] How to create a Compound Path?

    Hi Folks,
    I'm trying to create a compound path in AI CS4 for Mac, but I have not been successful. One would think this would be easy, so maybe I'm missing the obvious solution...
    What is best way to create a compound path using the SDK? I just need to make a compound path out of two non-overlapping rectangles so that I can create a clipping mask. Nothing tricky.
    The SDK is not clear about the best way to go about creating a compound path, but I figured that programmitically selecting the two rectanlges and then using the built in "adobe_makeCompound" action would work, but it doesn't.
    err = sAIActionManager->PlayActionEvent("adobe_makeCompound", kDialogNone, NULL);
    When the above code is called while I'm debugging, I get a dialog box that reads: The object "Make Compound Path" is not currently available.
    If I click the "Stop" button while debugging, the value of err is 1346458189 which is 'PARM'. So, maybe I need to set a parameter? The crazy thing is that there appears to be no parameters needed for the "adobe_makeCompound" action event. When I created the action manually, the resulting .aia file (see its contents below) has a parameterCount == 0. I've tried passing a parameter block without adding any parameters to it (instead of NULL), but still no joy.
    /version 2
    /name [ 5
              5365742031
    /isOpen 1
    /actionCount 1
    /action-1 {
              /name [ 12
                        436f6d706f756e6450617468
              /keyIndex 0
              /colorIndex 0
              /isOpen 0
              /eventCount 1
              /event-1 {
                        /internalName (adobe_makeCompound)
                        /localizedName [ 18
                                  4d616b6520436f6d706f756e642050617468
                        /isOpen 0
                        /isOn 1
                        /hasDialog 0
                        /parameterCount 0
    Any help or suggestions on how to create a compound path would be greatly appreciated!
    Thanks in advance!
    -- Jim

    Actually, here's a more useful variation
    // rectangle1 & rectangle2 are the AIArtHandles for your existing paths
    AIArtHandle compound = 0;
    sArt->NewArt(kCompoundPathArt, kPlaceAbove, rectangle1, &compound);
    sArt->sReorderArt(rectangle1, kPlaceInsideOnTop, compound);
    sArt->sReorderArt(rectangle2, kPlaceInsideOnTop, compound);
    // this will create the compound right next to wherever rectangle1 is, much simpler and more likely what you want

  • Compound path selection in Photoshop CC

    Hi
    I have a compound path (item silhouette together with inner hole). But for some reason am not able to make selection with the hole excluded from outer path selection any more as I was able to do in previous versions of Photoshop (photoshop selects outer path only). Please let me know if it's still possible to do.

    Now it's OK. nvm

  • Compound Path - determine  winding rules

    I have a compound path, and i need to parse all points, for export to CANVAS HTML , for this I wrote this script:
    But the problem is how to detect the holes. I find information, and i think that i need the fill rule or clockwise fill, but in the reference doesn't exist.
    Somebody can help me. Thanks
    Compound Path fill rules:  http://forums.adobe.com/message/4507598?tstart=0#4507598
    Nonzero winding fill rule
    Uses mathematical equations to determine if a point is outside or inside a shape. Illustrator uses the nonzero winding rule as the default rule.
    Even-odd fill rule
    Uses mathematical equations to determine if a point is outside or inside a shape. This rule is the more predictable rule because every other region within an even‑odd compound path is a hole, regardless of path direction. Some applications, such as Adobe Photoshop, use the even‑odd rule by default, so compound paths imported from these applications will use the even‑odd rule.
    http://help.adobe.com/en_US/illustrator/cs/using/WS714a382cdf7d304e7e07d0100196cbc5f-6462a .html#WS714a382cdf7d304e7e07d0100196cbc5f-644ea
    http://www.fireworkszone.com/tuts/476/fill_rules.pdf
    /*bool*/ Polygon.prototype.collideShapes = function(/*Polygon*/ _poly)
    // Ret. TRUE if the shapes intersect
    // slow method
    try {
         this.intersectPath(_poly);
         app.activeDocument.undo();
         return(true);
    catch(ex)
         return(false);
    var selection = app.activeDocument.selection;
    var a= selection[0]
    var b= selection[1]
    //alert( a.collideShapes(b))
    function inArray(agulla, paller){
        var length = paller.length;
        for(var i = 0; i < length; i++) {
            if(paller[i] == agulla) return true;
        return false;
    var item  = app.activeDocument.selection;
    var items = item[0].releaseCompoundPath();
    var restantes = items;
    var groups={}
    var i = items.length;
    //          while( i-- )
    for (var i=0;i< items.length;i++)
                        a = items[i];
                        try{
                        $.writeln( items[i].LocalDisplaySetting          )
                        }catch(e){$.writeln( e)}
    for (var s=0;s< restantes.length;s++){
    var b = restantes[s]
    if(a!=b){
    if(inArray(b, restantes)== true){
    try{
    if(a.collideShapes(b)){
    if(typeof groups[i]== "undefined"){
    groups[i]=[]
    groups[i].push(i)
    groups[i].push(s)
    restantes[i]= "void";
    items[i]= "void";
    restantes[s]= "void";
    items[s]= "void";
    catch(e){}
    app.activeDocument.undo();
    for (var t=0;t< restantes.length;t++){
    if(restantes[t]!= "void")
    $.writeln ( "_" + t +",");
    for(var g  in groups){
    var group = groups[g]
    $.writeln ("var compoundPath = new CompoundPath( _" + group.join(", _") +").fillColor = 'red';");

    I just want all inner shape and overlapping shape areas to be considered the composite fill of the compound shape - so in my example above, the three red rectangles lacking a centerpoint I want to contribute to compound path's composite fill, instead of knocking it out.
    BTW, that example up there has a big outer stroke, no fill. Maybe confusing, but that's how I'm currently using the shape (to mask the outsides of 3 different designs).

  • How to create multiple gradients in a compound path?

    Hi, I am trying to color a compound path with multiple colors? Kinda similar to the effect here
    I tried using the blend tool and replace the spline but it does not give the desired effect.
    Any tips as to how to approach this?
    I have made the G by creating a compound path.
    Thank you!

    namk,
    You may:
    1) Create a simple stroke/nofill path, with a stroke at least as wide as the semicircular end parts, which follows and fully covers the G shape of the compound path;
    2) Ctrl/Cmd+X+B to bring it to the back, then give it the desired gradient along the stroke/path;
    3) Select all and Object>Clipping Mask>Make.
    If you wish to get the stroke back on top, you may:
    4) Click the compund path with the Direct Selection Tool and reapply its stroke with the original weight.

Maybe you are looking for