sample bridge.cdrI would appreciate any help with using back minus front , or similar method in order to remove an image composed of unconnected artistic media strokes and or brushes from the background. The design is for printing shirts so the tshirt color can show thru the printed area. The entire bridge area will be removed from the grey so the shirt color can show through All I have been able to accomplish is to group the strokes, I have been unable to combine or convert to one single object. In the lower drawing, the white would be the color of a white shirt showing through
Thanks for the reply, I was hoping there was a method to do them all at once instead of having to go through the steps for each line/stroke.
Robert2/7 said:Thanks for the reply, I was hoping there was a method to do them all at once instead of having to go through the steps for each line/stroke.
Macros can help with some of the drudgery.
1. Start with the original. Status bar reports 66 objects.
2. "Ungroup All". Status bar reports 83 objects.
3. Select all of it, then run a macro that breaks apart the artistic media groups and adds an outline to those shapes. I've used 0.004" in the macro, but that number could be changed to suit your taste.
Sub bridge_work() Dim s As Shape Dim sr As ShapeRange Set sr = ActiveSelectionRange For Each s In sr If s.Type = cdrArtisticMediaGroupShape Then Set sr = s.BreakApartEx sr(1).Outline.Width = 0.004 End If Next sEnd Sub
A sample of how it looks now in wireframe:
4. Select all of it, then run another macro that deletes everything with a line thickness of 0.003".
Sub bridge_work_2() Dim s As Shape Dim sr As ShapeRange Set sr = ActiveSelectionRange For Each s In sr If s.Outline.Width = 0.003 Then s.Delete End If Next sEnd Sub
The 0.003" is the "hairline" thickness that is present on the control curves for the artistic media. With those gone, it looks like this in wireframe:
5. Select everything, then use Convert Outline to Object.
6. Select all of it, then Weld. The result is one curve with 511 nodes. A sample in wireframe:
7. Position it in front of a background, then use Back Minus Front.
Save