How do I auto set stroke weight, stroke colors & fill color?

Hi,
I'd like to make it easier for our 100,000 designers to use AI to make custom products using a laser cutter.
Current Practice
Designers open our AI laser cutting design templates, add their designs using the AI settings our online pricing system can read, then upload their designs to our website for instant pricing, making and shipping.
The Problem
Designers have to manually setup AI with settings that can be read by our online pricing system. If they get these settings wrong, our system can not read their designs. So they are rejected and can not be priced or made. This happens more often that you'd imagine.
The Solution
Designers do not like design rejections. So I'd like to eradicate them by providing our designers with a version of AI that provides the following settings only:
* Set document to RGB
* Stroke weight = 0.01mm
* Stroke colors = RGB 0, 0, 255 and 255, 0, 0
* Fill color = RGB 0, 0, 0
This will mean designers have a very limited number of AI choices, with nothing to distract them or to get wrong. Which will result in less (or zero?) design rejections. And products made faster than before. Rejoice!
Question
How do we program our AI laser cutting design templates so that when they are opened in AI, they auto set AI settings as defined above?
Thanks so much.
Derek

Ponoko wrote:
Your first point - yes, that's what our system does currently. As a result designers get lots of 'how to fix' messages as a result of design rejections. We wish to reduce these rejections and resulting 'how to fix' messages by limiting their choices in AI - because this is where the problems are created.
Ok, yeah gotcha, so customers/designers think they do it right (cough/laugh) upload, then get surprised to find out they didn't by your upload system. That's kind of what I thought. I feel your pain. ;-) I sense you want to reduce this aspect to keep the customers/designers happy and thinking they do nothing but work magic all day right? ;-) So you don't want to lose customers in the midst of frustration of file rejection thinking there files are right and your system is certainly wrong, when in fact it's the opposite. Good luck explaining that to a designer however, right? ;-)
Ponoko wrote:
Your second point - You go on to talk about using a complex "action" we could distribute within the design templates. Although I suspect this is different, the path we're thinking is to include something in the templates that, when imported into AI, sets AI with the color palette we need, line weight we need. Possible?
As Monika hinted at you can't rigidly restrict or control what a user is allowed to do and use in Illustrator. You can try to reduce the parameters by saving the file as a Template.ait file, but even then they can muck about all day until they mess things up again, plus you have no control whatsoever even then as to whether they use fills, the stroke weights, etc. That is why I mentioned various things to manipulate the file once they deem it completed and ready to submit/upload. Basically a method to fix what they messed up or did incorrectly and instead set things as they should be for submission as I previously mentioned. I mentioned you may be able to create a complex Illustrator "action" action.aia that they run to process these requirements. I am not sure if such an action could be accomplished as all inclusive (perhaps though) otherwise you could as stated do it through scripting and a script they run: script.jsx to prepare the requirements, or an actual standalone helper app you create and provide like I mentioned above as well.
I see for CorelDRAW & Inkscape you require SVG, why not change that for Illustrator also so all your 2D app submissions are SVG based? Then manipulate the SVG server side, point out the changes and why and have the customer approve the new modified SVG Preview of the needed changes and move along with the process from there? Make all the requirement changes on the server by manipulating the SVG. You should have access to all of the requirements: RGB color model, stroke weight, stroke colors, fill colors, create font outlines, image tracing? I am just tossing out ideas here, get your programmers busy, tell them to stop playing video games and "make it so". ;-)
But even so, this then begs the question: What are you doing to circumvent the same issues for inept CorelDraw and Inkscape users?
Since, they have the same freedom to do things incorrectly and misaligned with the requirements, just as Illustrator users do.
Regardless though of the approach customers/designers may not like seeing certain things changed even minutely in trivial amounts and thusly be just as upset or up in arms with the changes to their pretty design files that they think were not needed in the first place, how dare you undermine them ;-). Same as seeing the file rejection from your system upon upload. Again I feel your pain. You have your Application/File requirements requirements stated nicely and plainly, it should be pretty easy for most, but sadly I guess not.

Similar Messages

  • Set Stroke weight for a frame not working in CS4.

    Hi All,
    How to set Stroke weight for a frame.
    I tried using CreateStrokeWeightCommand of IGraphicAttributeUtils, but its not working in CS4.
    Regards,
    Jasmine
    Message was edited by: Jasmine_Shaikh

    Hi All,
    CreateStrokeWeightCommand of IGraphicAttributeUtils works only when if the frame has some stroke weight already applied to it.
    So do i need to set something else before using CreateStrokeWeightCommand to make it work programatically on a frame with no stroke weight.
    Jasmine

  • Setting stroke weight of adiacent cell

    Hello,
    I would like to know if there's a way to do this:
    I have a series of tables which have to be formatted in a specific way. Unfortunately, with the table formatting options I'm able to do only a part of these formattings; so the question is: how can I set the stroke weight of a cell border based on an adiacent cell?
    See attached image for explanation
    Hope someone can help me!
    Thanks in advance

    Hi,
    since nobody gave me answer, I answered myself with this JavaScript:
    var myDoc = app.activeDocument;
    var totTxtFrames = myDoc.textFrames;
    for(i=0; i<totTxtFrames.length; i++){
        myTxtFrame = totTxtFrames[i];
        totTables = myTxtFrame.tables;
        for(j=0; j<totTables.length; j++){
            myTable = totTables[j];
            totRows = myTable.rows;       
            for(k=0; k<totRows.length; k++){
                myRow = totRows[k];
                myRowIndex = myRow.index;
                totCells = myRow.cells;
                for(n=0; n<totCells.length; n++){
                        myCell = totCells[n];
                        if(myCell.rowSpan > 1){
                            myCellSpan = myCell.rowSpan;
                            if(myCell.bottomEdgeStrokeWeight == 0.5){
                                    totRows.item(myRowIndex + myCellSpan - 1).bottomEdgeStrokeWeight = 0.5;
                        else{
                            myCellSpan = myCell.rowSpan;
                            if(myCell.bottomEdgeStrokeWeight == 0.5){
                                    totRows.item(myRowIndex + myCellSpan - 1).bottomEdgeStrokeWeight = 0.5;
    Hope might help someone with the same problem
    Cheers!

  • Setting the default object style or stroke weight of a document

    i can select items and apply created object styles, but i want to change a documents defaults BEFORE i create something?
    backgorund - i need to add my logo to the bleed area of my document but i find that if a document has a default of say 5pt stroke weight then it fails when trying to draw my logo before I have a chance to change it saying
    "Adobe InDesign CS2 got an error: Requested operation would cause one or more objects to be too small.
    Please check whether the stroke weight is too large."

    Could you be please more precise ?
    If I got the idea, you want to place everytime your logo in the bleed area.
    I will first set the bleed area with these instructions :
    app.activeDocument.documentPreferences.documentBleedUniformSize = true;
    app.activeDocument.documentPreferences.documentBleedTopOffset = 5;
    then i will create a rectangle at the point -5,-5
    var myframe = app.activeDocument.rectangles .add({geometricBounds:["-5","-5","0","25"]});
    //dimensions are what you want
    then place the logo.
    var myfile = File("logo");
    //logo is a filepath "/c/..."
    myframe.place(myfile);
    Here you are,
    A+ Loic

  • How to adjust path stroke weight?

    I'm unable to adjust the weight of a path. Here's a 40 sec video (no audio, 1920x1080) that demonstrates I know how to adjust the stroke weight on a path, followed by a demo of it not working when I try to adjust it:
    http://stephenbuck.org/adobe/il-point-width/point-width.html
    Here's what I do in the video:
    First, on a path that allows the change:
    Select an elipse.
    Increase the stroke weight of the elipse.
    Control-Z to undo.
    Decrease the stroke weight of the elipse.
    The above demonstrates I know how to adjust the path weight (at least I think it does).
    Next, on the path that doesn't allow the stroke width to be reduced:
    Select path.
    Increase stroke weight to demonstrate it increases.
    Control-Z to undo.
    Decrease the stroke weight to .25 to demonstrate it does not reduce in size.
    And that's the problem.
    What do I need to do to decrease the weight of the path I am trying to adjust?
    Thanks,
    Buck

    Hi Jacob.
    Yes, thank you and I've figured out what has happened. The layers panel included a layer titled "Meridians" and a sublayer titled "<Path>". Each item has an effect applied through the appearance panel, and that is what was causing the problem. I had been meatballing only the <Path> item in the layer panel, which is behind the Meridians layer item. Decreasing <Path> was not noticable because the Meridians layer item was the 5 point weight in front of it... I changed each item to contrasting colors, increased the weight of <Path> to 20pt, and then it was apparent that the Meridian layer effect was the item that needed to be resized.
    Somewhere in this process I mistakenly applied the same effect to the Layer and the Path, and that's what caused my little dilemma.
    Thanks to you and everyone else who participated in researching this problem. It's solved.
    Buck

  • How to stop changing stroke weights when changing the size of an object in CS5 on Windows 7?

    I'm not sure what I did to make this happen or how to change it back, but for some reason when I change the size of an object/line it changes the stroke weight as well. (For example, if I drew an ellipse with stroke weight 2 pt, and then increased the size the stroke weight would be 2.856 pt or some such number instead of 2 pt.) Does anyone know how to change this back?
    Thanks!

    Take a look at the Scale Strokes and effects preference either in the general programme preferences or in the flyout menu of the Transform palette.

  • How can I apply a current fill color to a stroke, then adjust that stroke color's build?

    Hi all, I'm trying to figure out a way to automate a simple, yet repetative process I do countless times a day. Ideally, I'd like to tie it to a keystroke to speed up my workflow.
    I work on line art and colorways for footwear, so the way I'm coloring these shapes and strokes helps to break apart the different materials and pieces of the shoe.
    While coloring line art, I work with Pantone spot colors as fills for closed path objects. I then have to manually apply that same color to the stroke, set the stroke to 0.5px weight, convert that spot stroke color to CMYK, and add 15% to the K value.
    I found some code in an older post for applying the actively selected object's fill color to the stroke, but I'm having but I'm having trouble with the next step of figuring out how to take that spot stroke color and convert it to a CMYK build that I can then add 15% black to. Is this something that's even possible? I've spent about an hour playing with the script and have only had luck matching the fill color or turning the stroke white. Thanks for the help!

    ok try this one, I added the spot color option
    // make stroke color same as fill color + 15% black increase
    if ( app.documents.length > 0 && app.activeDocument.pathItems.length > 0) {
        for (var a=0; a<app.selection.length; a++) {
            try {
                    var sel = app.selection[a];
                    var fillcolor = sel.fillColor;
                    if (fillcolor.typename == "CMYKColor")
                        var cmkycolor = fillcolor;
                    else if (fillcolor.typename == "SpotColor")
                        var cmkycolor = fillcolor.spot.color;
                    var col = new CMYKColor;
                    col.cyan = cmkycolor.cyan;
                    col.magenta = cmkycolor.magenta;
                    col.yellow = cmkycolor.yellow;
                    var black = cmkycolor.black + cmkycolor.black +15;
                    col.black = black>100 ? 100 : black;
                    sel.strokeColor = col;
                    sel.strokeWidth = 0.5;
            catch (e){alert(e)

  • Illustrator CS5 stroke weight problem

    Hi,
    I have a problem with my new illustrator cs5. So for example, if I make a box and I want to change the stroke weight to .25 (anything less than 1) it keeps changing back to 1pt, and I cannot reduce the size of the weight. I tried to reinstall it and the problem still there. What should I do? or how to reset all the setting to the original setting? I'm so frustrated right now.
    Thank you very much for your help, I really appreciate it

    This recent discussion might be helpful:
    http://forums.adobe.com/message/2961586#2961586
    If not, let us know. And please identify your OS.

  • Automatically set the stroke color as fill color

    Hello all,
    I have a file with two squares with red and blue fill colors respectively and transparent surrounding strokes. I'm trying to find a way to automatically set the stroke color of each square to the respective fill color.
    Is there an Illustrator script somewhere that would achieve that? I am not aware of an internal Illustrator command for this purpose.
    Thank you

    I'm not a scripting guy at all, but getting an object's fill color and applying it elsewhere sounds like it should be scriptable. You should post the question in the AI Scripting Forum.
    The hitch I see here is your assertion that your objects have "transparent surrounding strokes." I could be wrong, but I believe there is actually no such thing in Illustrator. Through some simple experimenting, I conclude that an object's stroke set to "no color" by choosing the blank swatch actually becomes a stroke of undetermined, or perhaps zero, weight.
    Take an object with a stroke color and weight and set its stroke to no color. The weight goes away as well. One can't exist without the other, and vice-versa, with repect to stroke weight and color. Now enter a weight for that colorless stroke, and it again receives color; defaulting to black regardless of what it may have been previously.
    Similarly, if you assign a color where there is no weight, a 1-point weight appears by default.
    I'm not sure how/if that plays into your plans, but I just thought I'd ramble on about it here in case it's something you hadn't considered.

  • Stroke Weights when resizing

    I have made a logo design which uses both filled sections and a 1pt weighted line.
    But when I resize the logo the stroke weight doesnt shrink accordingly with the design so I have a massive fat line in the design.
    I know theres a setting to choose to fix strokes to shrink or expand inkeeping with the design... How???

    Thanks very much, you've just saved me a night of looking through Illustrator for Dummies :)
    How appropriate :)

  • Stroke weight

    I am new to Illustrator CS4 (win XP)
    When I draw/select a line I see the stroke weight im MM
    however when I click in the weght box to change the line thickness they are all in points.
    I have set the defaults to be mm in edit preferences, yet I cannot see that in the weight window.
    How do I see mm in the weight window of stroke please?
    Thanks

    Thanks fir your reply Wade,
    I was hoping that there was some way to display mm in the drop down menu,
    but obviously there is not.
    Do you know if there is a relationship between points and mm?
    Regards
    Eddie Frankel
    Technical Officer
    Department of Primary Industries
    55 Collins Street
    Melbourne
    GPO Box 4440
    Melbourne
    Vic. 3001
    Phone: 03 9 658 4539
    Fax: 03 9 658 4555
    Email: [email protected]
    This e-mail and any attachments may contain information that is
    confidential, legally
    privileged and/or copyright. If you are not the intended recipient, any
    use, disclosure
    distribution or reliance on the information contained in this e-mail is
    unauthorised.
    You should only re-transmit or distribute the information if you are
    authorised to do so.
    If you have received this e-mail in error please notify the Department of
    Primary Industries
    by return e-mail and destroy all copies printed or held on any computer.
    DPI does not warranty that this e-mail and any attachments are free of
    viruses.
    Wade_Zimmerman <[email protected]>
    15/05/2009 04:22 PM
    Please respond to
    [email protected]
    To
    eddie frankel <[email protected]>
    cc
    Subject
    Stroke weight
    If you go to the preferences there is a settig for units and display
    performance and you set the weight to mm there.
    In the stroke weight field you manually input the weight measurement in
    order t see mm. If you use the drop down that remains for some
    mysterious reason in pts and there is nothing you can do about it  that I
    know of.

  • Stroke weight trigger in adjusment tool

    I cannot figure out how to trigger the 'stroke weight' tool for  text. I stumbled on it accidentally once,but cannot repeat. It remains grayed out and I cannot adjust. thanks.

    PCNoviceMesa
    Thanks for the reply. The details were from me personally, the Adobe document, and my blog post that is all my work and original thinking on these matters. I have not read any of SG's books.
    Styles
    http://www.atr935.blogspot.com/2013/07/pe-titler-part-2-styles.html
    In this blog post, also see OBSERVATIONS/"Creating and Saving User Created Style and Setting it as Default Style" where I reference the Adobe document http://help.adobe.com/en_US/premiereelements/using/WS4B05EC56-1783-4c58-ACE5-F4D9657DF46B. html
    Text Animations
    http://www.atr935.blogspot.com/2013/07/pe-titler-part-1-text-animations.html
    I do not write or sell books and am not affiliated with Adobe in any way. Please let us know if you have further questions or need clarification on anything written.
    Thanks.
    ATR

  • Need some help in finding a specific stroke weight...

    My preflight program is flagging illustrations with less than a .2 stroke weight and finding these instances can be a reall bugger. The preflight will give the >.2 value so I tried going back to the illustration and creating a line with the offending pt value and selecting same stroke weight but it won't select them. Once I have manually found the small stroke weight I've compared the two strokes for any differences but it won't select even when the color is the same and stroke=default appearance. Once I select the original line and do the select same stroke than it finds the other instances just fine. Anyone know whats going on? I'm using Illustration CS4 and the files are all .ai.
    Any help would be much appreciated!

    For anyone looking at thread I found a quick solution on the forum...
    17. Jan 6, 2009 10:26 AM in response to: (Alesclandre)
    Re: Thousands of paths take a huge time to treat !
    > So what I wanted to do is to force all the paths that were thinner than 0.25 to 0.25. I think I can't do it inside Illustrator. But maybe I'm wrong ?  1. Line Tool: Draw a line. Give it a stroke of .01 pt.
    2. Magic Wand Palette: Set Stroke Weight Tolerance to ".24 pt"
    3. Magic Wand Tool: Click the line you drew in step 1.  Paths with stroke weight of .25 pt or less should be selected.  JET

  • "Save as PDF" stroke weight

    When I save an Illustrator file as a PDF, the stroke weights often look substantially heavier than the original when the document is viewed in Acrobat or Reader. It almost looks like all strokes less than 1pt. are displaying at 1pt no matter how small they actually are. If I open the PDF in Illus. stroke weights are correct. Is there a way to fix this, possibly something having to do with transparency and/or flattening?
    I often have files in which the same artwork is used both at full scale and substantially reduced, and the heavier stroke weights distort the appearance. Turning the strokes to outlines fixes the PDF display problem but screws up the source file.
    Thanks, Susan

    Found another related discussion thread (the phrasing was different enough it didn't show up when I searched the forum initially) which has this solution for the viewer:
    "over on the indesign forum, someone suggested turning off the "enhance  thin lines" option (in reader), and that does the trick.  Unfortunately,  other viewers won't know to do this without some instruction---  I  wonder if there is some line weight threshold where the "enhance" effect  kicks in?"
    So I did a little test, looks like the threshold is 1pt. Made a test file with line weights of 0.1pt, .25pt, .5pt, 1pt, 2pt. At 100% zoom 1pt and everything smaller looked the same. At 400% zoom line weights looked proportional down to .25pt.
    I wish there was a way to turn off the enhance thin lines option in the file itself.

  • Line shifts when I increase stroke weight

    Hi,
    I'm using strokes in a document. I have a series of lines that are centered on grid lines; however, when I increase the stroke weight, the line moves as if the top edge of the stroke is anchored and not the center of the line.
    I am unable to find any setting to change this, but it is really making my work difficult. Can anyone help with this?
    Thanks!

    gleake,
    In cases like this, the first guess is Align to Pixel Grid.
    You may select everything and then untick Align to Pixel Grid in the Transform palette, and also untick Align New Objects to Pixel Grid in the flyout options.
    You may avoid document types with that as default (RGB for web and the like) or change the default for such documents.

Maybe you are looking for