Fusion of traits with a compound path

Hey all,.

I'm new (ish) to Illustrator, and I do not know how to merge the tracks. I call on a form, then a single line path suddenly and want to merge the two without converting the route of the path form (see the screenshot attached). Is this possible?

Any help is appreciatedScreen Shot 2015-02-02 at 10.29.44.png

N °

Mylenium

Tags: Illustrator

Similar Questions

  • Make a group of clipping with a compound path

    So, as of today, I am new to scripting for Illustrator, I use the ExtendScript Toolkit. However, I am not new to my own script solutions and I do not have any experience with JavaScript.

    What I'm trying to do is the following: for all selected items-> duplicate selected item and make a group of simple clipping with it

    What I'm left with visually does not change the picture, but gives me a lot of clipped colored areas that I then can I change in isolated mode, which allows me good shading faster and better. That the doing by hand takes hours on some pictures, it would take a second with a script.

    The script itself is already works for normal PathItems. As evident in the title, as soon as I have to apply the same thing to CompundPathItems things stop working. My question is a bit like this old thread [problem with clipping path transparent], but I couldn't find a solution because I get different behavior.

    When I run the same script that works perfectly with the normal PathItems with CompoundPathItems I get this: 9046 error: the top element in the group must be a path element to create a mask

    Well, it's a problem. There is absolutely no difference between making a clipping with a simple path mask and a compound path in the GUI. Frankly reference guide not helped with this problem at all, the only thing that I learned from it is that the CompoundPathItem object is an attribute of cutting, but those included PathItems.

    Here's what I have so far:


    If ([i] selected. TypeName == 'PathItem') {}
    newGroup var = doc.groupItems.add ();
    copy is selected [i] .duplicate (newGroup, ElementPlacement.PLACEATEND);.
    Selected [i] .moveToBeginning (newgroup);
    newGroup.clipped = true;

    }

    As I said, this part is exactly what it is supposed to do for normal paths.

    For CompoundPaths, I use this work around.

    If ([i] selected. TypeName == 'CompoundPathItem') {}
    newGroup var = doc.groupItems.add ();
    copy is 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 works in so far that it ignores that annoying error and evil and composite clipping path also works with the only problem being that created composite clipping path as it is always displayed in its original colours in the layers section and is always selectable. When I lock the composite clipping path I can work with it, but still...

    So the question is, what am I missing here? Surely, there must be a good way to do this.

    app.executeMenuCommand ()? That is me away so far, might be just the right thing. I will definitely take a look, now just to find a ref about it, because unfortunately official documents Ref I do not mention this command. Any place with a list of possible commands?

    Ah, also of course I only do for the isolation mode. If you care to hear the background, it is here:

    As I said it's for photos of shading, I'm working on. I repeated and tried through a bunch of techniques. For example, gradient mesh on my first few true works. Now these cracks don't do well with complex shapes, which previously I mitigated by using a simple square or rectangle gradient mesh and using the original form as a color clipping mask. It worked, but it was a huge field of work.

    After a lot of attempts that I went to the use of simple gradients as a background for the form, and then I do the shading freehand with the blob Brush tool, using a graphic style and filters to make it look like to the right. Is better, but do it right all the clipping masks takes me much more time than anything else.

    Now the problem is that shading is not supposed to cross the lines, it's impossible to do correctly without messing up the order, either using clipping masks, where the script. Because you know, if you use a form of the task with a strong Gaussian blur near the lines, you'll find yourself with stuff on both sides. If you do not start close to the line that the shading will be not look right if the darker the shade needs to be close to the line. And that's where magic of clipping masks.

    And finally, here's an example of how I work with the script and the result:

    After that I drew a sketch, adjust the line widths and at the neatness I turn the paths to sketch the lines and then turn them into a live paint Group (which would ruin the line widths, unless you put the paths in first contour lines).

    With this live paint group need me a few minutes to color my piece dish. Then I develop the live paint group, in case of doubt, spend a few more minutes to make transparent traces of all regions, I need the shadow in one piece, and then I select all areas and use my script to activate the neat clipping masks. Then I can click on any field, enter the isolation mode, and go up one level, so I'm in the appropriate group, where I can shadow freely without the problem beyond the lines.

    At the end which allows me to apply shading complex and comprehensive, without wasting time to get there.

    PS: well, I just found out that draw inside is really close to what I want to do, and oddly enough, it produces the same Visual discrepancy with transparent traces that produces my script. I'll take a closer look that, while my script is a little more than just the stuff of clipping mask, so maybe I'll go for a hybrid solution. Everything that makes for a better workflow.

  • A compound path to access/clipping mask, or something else?

    Hello

    Basically, I'm changing this.

    in a mouth with teeth.

    I am trying to get rid of the surplus lines and leave the black lines in the white space.

    I've tried highlighting all and make a mask of clipping and even with the compound path, and it does not produce the results that I need. Does anyone have an idea what to do?

    Thank you

    Sally

    Hi Sally,

    Using a mask, he would do what you want.

    Select all the black lines and group them (Ctrl + G).

    Then duplicate the white object Ctrl + C (copy) and paste Ctrl + F (stick it in place), make sure that the duplicate is in the front.

    Then by selecting the black lines, you can see and the white shape/object that you have brought to the front (now shift), press Ctrl + 7 (mask) and you will get the result you want.

    Let us know how you get on?

    Edit: Quick help Video:

  • How to unite the traits with the ends of loos to a path which I can then color?

    How do I me United these traits so I can the color of the dog?

    Min hund.JPG

    You already created a compound path in the later LG. Revert that. Select all, then use the live paint tool.

    And please, read the instructions on how to use it. There are a lot of pictures in the manual. It may take a certain time to read together, but no need to repeat it here.

  • cut out a shape with compound path?

    Hello Cs6 here... I'm trying to cut out a simple shape to allow the area as transparent or Alpha. As a mask. Except when I use the mask for this, he must make and mask the area where is the shape and hide or delete areas not covered by the mask. I tried the compound path, but I don't get any results from it. My form remains just above my work and do not "cut out" to allow the background shine as an alpha channel. See photos for more clarity please. No matter what specific path or steps would be appreciated.

    Thanks in advance.

    NORTH CAROLINAshapeaway.PNGmask cut.PNG

    I want to reverse this trend where the circle is cut off and the rest remains visible...

    NORTH CAROLINA,

    In the second image of the OP, you have placed at the ellipse, and then you have made an object > clipping mask > make.

    Instead, you can simply select the ellipse and the work and transparency palette flyout > make opacity mask and she, with a reverse mask for a white ellipse.

    Or instead, you can:

    (1) create a rectangle that extends beyond the work behind the ellipse;

    (2) select the ellipse and the rectangle and object > compound path > make;

    (3) select the compound path and the work and the object > clipping mask > make.

  • How can I add a stroke inside a compound path?

    Hello

    I have a problem, making adjustments to my way/form composed, as I would expose you the inside of the form of a trait - but this seems not possible that the line always surrounds the outside too.

    So: I have a simple rectangle with a white background, with a die cut window rectangle hole by using the action of compound path, so you can see the layers under. Now I want to caress the hole window, but NOT outside all of the rectangle. I'd be happy to split the top shape and I tried various options such as split, edit in isolation mode, extend (the button is grey), all the Scouts - but none of them allow me to do only inside a part of the path.

    Anyone know how I can do this? I work in CS5 and CS6.

    Thank you!

    Alexander,

    To freely use things on the external path, it would be more convenient for:

    (1) object > Compound Path > Release.

    (2) copy the internal path in front of you and hide the copy,

    (3) change the colour of the original inner lane black (black if you the Document Color Mode is RGB RGB) or white if he isn't already, then select the two traces of origin and in the transparency palette dialog box click make opacity mask, with unchecked Clip and mask Invert unchecked or checked (for the inner path black or white) ,

    (4) apply any effect desired in the hidden path.

    (5) show the copy of the inner lane and the fill set to None and the race as you wish.

    (4 and 5) can be done whenever you want, and do not hide the copy in 2), make sure you use the right one for the opacity mask.

  • Make compound path in Adobe Illustrator by script

    There are a few compoundPathItems in myfile.ai

    How can I run "object > Compound Path > Make" or send «ctrl + 8 "jsx?» In line with comment that MISTAKE HERE I get the error message "a new object could not be created at the specified location.

    #target illustrator
    
    if (app.documents.length > 0) {
      var idoc = app.activeDocument; 
      var cp = idoc.compoundPathItems.add();
      var allPaths = activeDocument.pathItems;
      //Select objects
      for(var i = 0;i < allPaths.length;i++){
      allPaths[i].selected = true;
      }
    
      var selection = app.activeDocument.selection;
      for (var i=0; i<selection.length; i++) {
      selection[i].move (cp, ElementPlacement.PLACEATEND); // move selected path inside the compound path ERROR HERE 
      selection[i].evenodd = true; // necessary to determine "insideness" or to make holes.  
      }
    
      alert(selection);
    

    "Object > Compound Path > make" as

    app.executeMenuCommand("compoundPath");
    
  • Connecting two points on the compound path

    Hi guys,.

    First time posting and had a little research but could not know what I needed - forgive me if the answer is and I am looking with the wrong keywords!

    I'm trying to change a font, that I turned into an object. I don't want the tail down to cross during the rest of the letter and I want also to shorten the tail, so I want to join paths, so I can modify it all as one. If you look at the pictures, I'm hoping to join them at the pink line; the second image shows the current paths.

    He is currently a compound path, if that makes a difference.

    Is it possible to get this happening, or is my best bet to trace it?

    Thank you!

    Illustrator.PNG

    illustrator2.PNG

    tashacarolina,

    IF I (put) understand it, if you initially return a compound path, then:

    (1) with the line Segment tool ClickDrag between Anchor Points where you would like the tail to be cut, then object > path > divide objects below, then a compound path output if necessary (unlikely);

    Now you have a simple path;

    (2) cut the ponytail where you want and remove the line to the main part.

    (3) you can adjust the shape of the tip where you cut in 1), if you want to curve.

  • Compound path problem

    Hello

    I'm having a problem with two tracks transparent, based on the same original piece of geometry. When I export to JPG, PNG or TIFF, I'm endangered art. PDF seems very well handle it. I would like to solve the problem, so I hope that someone here has the answer.

    (1) the "badge" is a compound path, I've tried to not a compound path, because my two transparent traces in the document are where the problem occurred. I can't do anything to NOT be a compound path. Illustrator does automatically transparent traces for each Boolean subtraction? If I release the it, the track breaks. None of the pathfinding tools give me subtracted geometry I want.

    Untitled-1.jpg

    Same shape, new problem:

    Untitled-3.jpg

    Does make sense to anyone?

    Thank you!

    p.s. I just noticed doing weird rendering in preview, as well. Look at the icon "Layer 1".

    Screen Shot 2015-06-16 at 4.55.17 PM.png

    Subtraction only works with transparent traces.

    You can check if the white fills overprint a your forms. Open the attributes Panel.

  • What is the difference between object &gt; contour line, Object &gt; expand... and oppose &gt; Compound Path/do?

    Could someone explain the differences between these three commands? I created a circle with a stroke, applied all the three commands and ended up with the same thing, a compound path. Are there situations where this is not the case, or situations where one of these commands is more appropriate?

    Cleveland,

    In the case of the accident vascular cerebral/nofill right, object > describe vascular accidents, cerebral and object > expand seem to do the same thing.

    In the layers palette, you can see three different results to develop if you have so much background and outline ticked, ticked off just about fill, and only STROKE checked. Only the last corresponds to the contour line.

    You use Outline Stroke that more simple if it's what you need. Trace to create something with one or more holes of several paths, either to raise subsidized the Clipping Path of a clipping mask paths. Expand is for the rest.

  • Compound path question

    Apart from their use to cut holes in the forms, are there other reasons to create a compound path? They seem to be similar to a grouping of the railways so I was just wondering.

    They are not at all like groups. Transparent tracks get a trace in the layer panel, no container with sub-paths (as a group of the East). You will need desperately transparent trace when you want to make several paths clipping mask. Also for some operations of pathfinder with multiple paths

    There is a chapter in the manual which compared groups for the compound path for compound forms.

  • Apply the compound path

    Hello

    I had a problem to apply a compound path in a row group. I want the place before green ' to cut a square hole"orange so that all background is seen under the lines. Please take a glance at my screen turned to a better understanding. Thank you.

    compound path.jpg

    David,

    You can either,.

    (1) create a rectangle that is larger than the Group of line,

    (2) select the rectangle and the square and the object > compound path > make.

    (3) select the compound path and the Group of curves and object > clipping mask > make.

    or

    (1) change the color of the black square,

    (2) select the square and the line group and in the transparency palette dialog box click the opacity with Clip mask and mask Invert unchecked.

  • Making objects in a compound path then the clip

    Hey everyone, I'm pretty new to Java and Illustrator, so any help would be appreciated.

    I'm trying to set up a script that will retrieve a group of objects and turn them into a compound path, and then apply a clipping for the trace mask and the next group to the layer.

    for this snippet, I typed the letter 'o', he described and separated with a unique path, then I drew a narrow rectangle through the O, no line, black fill. The rectangle selected, run the script

    var idoc = app.activeDocument;
    var cp = idoc.compoundPathItems[0]; // the topmost existing compound path
    var sel = idoc.selection[0]; // select the path you wish to add to the existing compound path
    
    sel.move (cp, ElementPlacement.PLACEATBEGINNING); // move selected path inside the compound path
    sel.evenodd = true; // necessary to determine "insideness" or to make holes.
    
  • How to divide this compound path into segments?

    This yellow buoy is a compound path. I want to divide it into 10 segments, in places where the black lines cross. Can you tell me how to proceed?

    Screen shot 2013-07-13 at 8.07.54 PM.png

    Mary,

    Or you can select each of the lines and the object > divide objects below, that will leave the paths as independent parts.

    It may be faster to Pathfinder > divide as suggested by Guy - OS, especially if you want to have the paths together. You can drag with the selection tool (Direct) on the Center and remove nostroke objects inside.

  • create a compound path clipping mask

    Is it possible to put the stars colorful under "Softbrands '? "Softbrands' one traced clipping, colorful stars is the background image to be cut... It's just a prototype.

    I tried several times, clipping path was made, but the stars will appear in any case behind the frame. Enjoy all the support here!

    mask_test.jpg

    Here is the source file to test with:

    http://support.fs.com.CN/Myles/fitness/lesmills/upload/mask_test.AI

    Thank you in advance.

    Kpolo,

    I just tried.

    The letters were separated; When I chose each other, made the object > compound path > make and moved them on top stars (both on the work plan and in the stacking order), the object > clipping mask > Make worked well.

    Do you have both

    (a) make a path composed of letters, and

    (b) have in front of the Star Group (as shown in the layers panel)?

Maybe you are looking for

  • macOS Sierra downloaded but no prompt to install it.

    Was able to download macOS Sierra, but do not have a prompt to install it.  Mac App Store says it is downloaded, but nothing more.  Ideas?

  • Backup bookmarks to restore old FF?

    I've updated my OS Ubuntu 12.04 and now have the latest Firefox (Windblows crashed and had to).I have some old FF backups of my favorites (bookmarks... json), which are essential for my business.When I followed the instructions to restore here I don'

  • Images which appear in random places

    Basically what happens is on most Web sites I find random to say facebook photos or newspaper of battlefield battlefield 3 instead of the good photos, text in the wrong place and generally just a mess. Also facebook photos peoples will be mixed so so

  • 9791 Bridge does not connect with windows7

    I want to connect my gateway WSN with my PC directly. So I used crossover cable to connect and also set my IP. I have Windows7 as my operating system. But, after you connect to it, it's show no network access and a yellow triangle on the network icon

  • the component I am trying to use is on a network resourse which is not available, try the other way?

    When I try to install silverlight I get this error message, the function, I am trying to use is on a network resourse which is not available, try the other way? What now?